| Linux - Wireless Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-17-2007, 11:04 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2006
Location: Golden, CO
Distribution: Sabayon 3.26 x64
Posts: 28
Rep:
|
Command line to bring up wlan0?
For some reason wlan0 is not fully activated when my system boots up. It's a Broadcom 4310 running via ndiswrapper.
KNetworkManager lists all available wifi networks, so the thing is clearly working. But it won't actually connect to one. It gets to 28% 'Configuring Device' and just stops.
KWifiManager on the other hand, will connect. I select a network, give it the root password, and all's well. After this, KNetworkManager also works normally. So clearly KWifiManager is doing some final stage of activation.
So my question is, does anyone know what that extra activation step that wifimgr does is? And how I might go about doing that from a script that runs a boot time?
Thanks.
|
|
|
|
01-17-2007, 11:10 PM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
What type of encryption are you using. If it is wpa-psk, you could run as root:
wpa_cli [-p<path to ctrl sockets>] [-i<ifname>]
On my system, this would be
sudo wpa_cli -p/var/run/wpa_supplicant -iwlan0
From the cli you can monitor the association process, or scan for networks and try to reassociate manually. It might give a clue what the problem is, but my guess is that you need to check the values for ssid or that the key matches the APs key.
|
|
|
|
01-17-2007, 11:15 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2006
Location: Golden, CO
Distribution: Sabayon 3.26 x64
Posts: 28
Original Poster
Rep:
|
thanks for the quick reply.
It's actually an unsecured network. no WPA or encryption or anything. We haven't even gotten around to changing the ssid from the default 'linksys'. I know, it's a bad idea, but it's my housemate's thing, and he's repsonsible for it.
anyway, I'll give your suggestion a look. thanks.
|
|
|
|
01-17-2007, 11:25 PM
|
#4
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
I'm not familiar with your distribution. In suse, you can configure the device in YaST. This creates the file /etc/sysconfig/network/ifcfg-wlan0 which defines variable values used by the startup scripts ifup-wlan0, etal, that SuSE runs. You may want to find a similar program or file, because I think that there is entry that is off. Given that you aren't using encryption, you might try using iwconfig to manually set the essid, frequency and other variables to match the network. You can get this information from "sudo /usr/sbin/iwlist wlan0 scan" if your device is named wlan0.
If you can change one of the wifi parameters to get it to work, then go back and change it in your configuration. Then maybe kwifimanager will be able to connect next time.
Until the latest version, kwifimanager didn't support wpa encryption, so I never used it.
Last edited by jschiwal; 01-17-2007 at 11:50 PM.
|
|
|
|
01-17-2007, 11:32 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2006
Location: Golden, CO
Distribution: Sabayon 3.26 x64
Posts: 28
Original Poster
Rep:
|
I used suse a long time. I miss it, especially yast. but it's not really stable on this new laptop. sabayon is a gentoo-based distro. actually pretty well built and configured.
I'm not exactly sure where the wlan0 configuration is stored. I'll look on the gentoo wiki or something and see if I can adjust any values. That's actually a pretty good idea.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|