Ubuntu Mint Static IP

Set a static IP for WPA wireless network

1. Get the encrypted WPA wireless key
wpa_passphrase <network name> "<passphrase>"
e.g.
wpa_passphrase myNetwork "This is my passphrase"
You will get something like the following:
network={
ssid="myNetwork"
#psk="This is my passphrase"
psk=eca1d01a15186d5bea7548ba6b7fed6b032b3efd79791539ba8b8fffb1fdfa1c
}

Copy the text after psk=

2. Edit the interfaces configuration
sudo nano /etc/network/interfaces

(you can use any text editor you want)

Add the following to the file replacing

Syndicate content Syndicate content Syndicate content