This is an old revision of the document!
Table of Contents
Automatically Connect To A WPA Protected Access Point at Boot
Prerequisites
A prerequisite is to read the instructions here: Easy Way: wicd.
To use this guide, one must follow the instructions under the More Advanced Setup: using wireless tools section and the Connecting to a WPA-PSK secured access point.
Specifically you must have a “wpa_configure.conf” file and these commands must connect you to the desired access point.
wpa_supplicant -i*interface* -c/opt/wpa_configure.conf & udhcpc -i *interface*
Locate commands
We need to find the absolute locations of 2 commands wpa_supplicant and udhcpc.
We can do this using the find command.
find / -name'filename' 2> /dev/null
For me:
find / -name 'wpa_supplicant' 2> /dev/null
Results in:
/tmp/tcloop/wpa_supplicant /tmp/tcloop/wpa_supplicant/usr/local/sbin/wpa_supplicant /usr/local/sbin/wpa_supplicant /usr/local/tce.installed/wpa_supplicant
And
find / -name'udhcpc'
Results in:
/sbin/udhcpc /usr/share/udhcpc