ludespeedny
Posts: 103
Joined: Mon Oct 01, 2012 6:55 pm

Wifi on boot

Wed May 15, 2013 2:40 pm

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).

User avatar
joan
Posts: 15110
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Wifi on boot

Wed May 15, 2013 2:48 pm

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

tc0nn
Posts: 2
Joined: Wed May 15, 2013 6:13 pm

Re: Wifi on boot

Wed May 15, 2013 6:20 pm

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..

tc0nn
Posts: 2
Joined: Wed May 15, 2013 6:13 pm

Re: Wifi on boot

Wed May 15, 2013 8:19 pm

Commented out the line in interfaces regarding wpa_supplicant file and now its working. One reboot later..

ludespeedny
Posts: 103
Joined: Mon Oct 01, 2012 6:55 pm

Re: Wifi on boot

Thu May 16, 2013 1:34 pm

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

Return to “Beginners”