Netctl has a feature called
wifi-menu that we’ll use, but this program depends on another one not installed by default:
# pacman -S dialog
Once it’s done, run :
# wifi-menu -o wlan0
Of course, change
wlan0 by the name of the interface set up on your system.
The command allows
wifi-menu to build a network profile for your Wifi, and will hash the pass-phrase with the option
Answers the questions asked by the big blue screen, and if everything is good, you should take back your prompt.
Now run :
# netctl enable PROFILENAME
Here PROFILENAME is built by default as
I let you make the changes, and press ‘Enter’.
Now you can reboot as many times as you want, your Pi is supposed to connect itself at startup, to the Wifi.
Actually it’s not entirely finished, ‘cause the official documentation advises us to change the permissions on profiles containing secrets :
# chmod 0600 /etc/netctl/PROFILENAME