Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now, I can connect automagically (with roaming) to "default" and "schoolnet", but not to the other two. However if I enter the following on the command line manually I can connect to the other two networks just fine:
So how come my roaming to these networks doesn't work automatically? Also, where can I find log outputs for ifplugd and wpa_supplicant? I have looked in /var/log and neither seems to have it's own log file, and neither one seems to write anything useful to /var/log/syslog or /var/log/messages
If there was a problem with the conf, that wouldn't work, the problem is in the connection between ifplugd and wpa_suppllicant I believe, I just don't know where and I can't find the appropriate log file output. Any ideas?
As far as I know, wpa_supplicant complains to the ususal log files you've looked at. The only other place I can think of to look is dmesg.
I don't use ifplugd, so I may be off the mark here, but does wpa_supplicant need to be running in daemon mode for this to work? Try adding the -B flag to the wpa_supplicant startup commands and see if that makes a difference.
Hrm... tried adding that. Still no dice. Turning my laptop on at home, now results in it connecting immediately to a network called "linksys" (apparently one of my neighbours has left their WiFi AP in all default settings).
I can get it to connect to my home network by issuing the command line, which makes it connect immediately to my home network with WEP I still can't figure out why it is connecting to "linksys" rather than "home_net" on boot though...
"linksys" isn't even in my wpa_supplicant conf file!!! but "home_net" is?
I can get it to connect to my home network by issuing the command line, which makes it connect immediately to my home network with WEP I still can't figure out why it is connecting to "linksys" rather than "home_net" on boot though...
The only thing that makes any sense to me (and since I don't use ifplugd, it may be completely off base) is that wpa_supplicant really isn't starting at boot time. Do your log files show any indication that it has or has not?
One thing that might work would be to write a small script that starts wpa_supplicant and then starts ifplugd. If that works, then something is definitely going funny at boot time.
Quote:
"linksys" isn't even in my wpa_supplicant conf file!!! but "home_net" is?
wpa_supplicant will grab open networks, even if you don't have them listed in your .conf file, and apparently it is stumbling into the linksys network and finding it an easier connect.
You might try adding the priority statement to your wpa_supplicant.conf entries (see my earlier post for an example). In theory, the higher the integer in that field, the higher the priority that network has in connecting.
Ok, my wireless connection roaming works ok, with unsecured networks, but when I try to access networks with WEP or WAP security it doesn't work.
Go to my thread on installing and configuring broadcom adapters. Find the reply titled "For those who are interested...". That will give you some information on a little something that ships with wpa_supplicant, but is undocumented. That little gem is called wpa_gui.
What it does is allow you to scan for and set up secured wireless networks on the fly. While it still hasn't fixed one of my problems (which I will write about unless I find it mentioned here), it does allow you to configure your wireless setup on the fly. Check it out and try it for yourself.
The instructions are there for how to compile and set up wpa_gui. I won't bother reposting them here. Go to my thread and check it out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.