Page 1 of 1

Wifi on boot

Posted: Wed May 15, 2013 2:40 pm
by ludespeedny
How can I configure my Pi to connect to my wireless network on boot? I have an Edimax adapter that works with my other Pi running XBMC, but this one will be running the Wheezy build (for an IP cam).

Re: Wifi on boot

Posted: Wed May 15, 2013 2:48 pm
by joan
Edit the file

/etc/network/interfaces

and add the lines

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid your-ssid
wpa-psk your-wpa-passkey

Re: Wifi on boot

Posted: Wed May 15, 2013 6:20 pm
by tc0nn
Should this be concerning:
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Obviously the wlan0 didn't come up either..

Re: Wifi on boot

Posted: Wed May 15, 2013 8:19 pm
by tc0nn
Commented out the line in interfaces regarding wpa_supplicant file and now its working. One reboot later..

Re: Wifi on boot

Posted: Thu May 16, 2013 1:34 pm
by ludespeedny
Thanks! I'll test out tonight!

joan wrote:Edit the file

/etc/network/interfaces

and add the lines

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid your-ssid
wpa-psk your-wpa-passkey