Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

With the great help in WLAN using Netgear WNA1000M fails - what am I doing wrong? I managed to get my wireless network working on Raspbian running on my RPi.

But - I need to manually run the wpa_supplicant command

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -Dwext

in order to connect to the wireless network. Once I run this command, an IP address is automatically received via DHCP and everything is fine.

It's just not working automatically when I boot.

How do I change this?

My /etc/network/interfaces file looks like this:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

Am I missing something in here?

share|improve this question

2 Answers

up vote 0 down vote accepted

I got it.

I had to replace wpa-roam by wpa-conf.

If anyone could explain why, I'd be happy ;-)

share|improve this answer

I am not sure why you needed to replace wpa-roam with wpa-conf. I have a wireless lan adapter (as I assume you do too -- wlan0 implies as much).

My setup checks for and connects to a configured network when booting. I am attaching the file below for your consideration.

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Regards, Jeremy

share|improve this answer
As far as I found out so far roam does not work with DHCP, only with manual IP assignment. And this is exactly where our configurations differ. – Golo Roden Dec 8 '12 at 8:25
An easier (and more straight forward configuration would be – Jeremy Harrison Dec 21 '12 at 14:21
This [linux-magazine.com/Online/Blogs/Productivity-Sauce/… provides a much more straight forward configuration. – Jeremy Harrison Dec 21 '12 at 15:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.