I'm looking for a little advice on getting wifi going on the pandaboard.
I've tried a bunch of combinations, but basically am in this position:
I can start up wifi manually, but can not get it to come up automatically on boot.
After boot, wpa_supplicant is running. Depending on exactly which options are used in the files below, ifconfig will show tiwlan0, but it never has an IP address.
If I execute the following
killall wpa_supplicant
ifdown tiwlan0
wpa_supplicant -itilan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
ifup tiwlan0
the wifi will come up and i can connect. Interestingly, it never picks up the same IP address, but all other interfaces (ethernet on pandaboard or any other computers in the house) maintain their same address - seems like an interesting difference.
It appears there is a race condition somewhere between when the interface is brought up and when wpa_supplicant is started, but I am at a lose where to find it and how to correct it. Any pointers are welcome.
Thanks,
David
Below is my /etc/network/interfaces and my wpa_supplicant.conf. I have tried various combinations of the commented out lines, but they do not seem to have a material effect.
dfm@panda:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto tiwlan0
iface tiwlan0 inet dhcp
auto usb0
iface usb0 inet dhcp
#auto tiwlan0
#iface tiwlan0 inet dhcp
# wpa-driver wext
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#wpa-driver wext
#wpa-ssid Airport\ TNG
#wpa-ap-scan 1
#wpa-proto RSN
#wpa-pairwise CCMP
#wpa-group CCMP
#wpa-key-mgmt WPA-PSK
#wpa-psk <key deleted>
dfm@panda:/etc/wpa_supplicant$ cat wpa_supplicant.conf
network={
ssid="AirPort TNG"
psk=<key deleted>
}
Dave, Sorry, didn't get to send the scripts, here is my workaround: Add this line to /etc/crontab * * * * * root iwconfig 2> /dev/null | awk -f /home/<Your Home Dir>/testnet.awk root=true Change <Your Home Dir> to the folder you have the awk file in. The testnet.awk file is attached, change the <YOR NETWORK SSID> in it to your network SSID. Ralph --- On Wed, 6/15/11, David Murphy <dfm...@gmail.com> wrote: |