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.conf
bewpa-conf /etc/wpa_supplicant.conf
to point to your wireless network settings? I just got WiFi working onraspbmc
last night. When I get home today I'll test how my setup behaves across reboots. – HeatfanJohn Oct 15 '12 at 19:06/etc/network/interfaces
points to the/etc/wpa_supplicant.conf
– iiSeymour Oct 15 '12 at 19:11iface iface lo inet loopback
is also a typo, should beiface lo inet loopback
. Loopback interface configuration. – HeatfanJohn Oct 16 '12 at 02:00