I have my network setting stored in /etc/wpa_supplicant.conf and my /etc/network/interfaces looks like this:
auto lo, eth0, wlan0
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
To connect to the network I have to run sudo ifconfig wlan0 up followed by sudo ifup wlan0 after every boot. Not ideal as im running raspbmc
How can I get wlan0 up and connect on boot, I have tried added the commands to /etc/rc.local but that didn't work.
wpa-conf /etc/wpa.confbewpa-conf /etc/wpa_supplicant.confto point to your wireless network settings? I just got WiFi working onraspbmclast night. When I get home today I'll test how my setup behaves across reboots. – HeatfanJohn Oct 15 '12 at 19:06/etc/network/interfacespoints to the/etc/wpa_supplicant.conf– iiSeymour Oct 15 '12 at 19:11iface iface lo inet loopbackis also a typo, should beiface lo inet loopback. Loopback interface configuration. – HeatfanJohn Oct 16 '12 at 02:00