Hi, I am running ubuntu 11.10 server, on a home WPA PSK wifi network.
To connect to the wifi network I type these commands.
However I want my server to connect to wifi without me logging in.Code:sudo ifconfig ra0 up sudo wpa_passphrase NetworkName "Password" > ~/WifiSetup/wpa_supplicant.conf sudo wpa_supplicant -B -Dwext -i ra0 -c ~/WifiSetup/wpa_supplicant.conf sudo dhcpcd ra0
Is there a "right" way of doing this?
I have tried putting those commands intoIf I do this, the first line works propperly, and ra0 is up, but the rest of the commands don't seem to work.Code:/etc/rc.local
Also as the server boots it spends 60 seconds waiting for network info. Ideally I would connect to the wifi network at this point?
Any Ideas?
Thank you in advance.
Bookmarks