LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2005, 01:28 PM   #1
freek sanders
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Rep: Reputation: 0
[Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0


I have looked on google, as well as multiple posts, but still haven't gotten my wireless working.

The problem is as the following:
* Couldn't associate with any access points on wlan0
* Failed to configure wireless for wlan0



Can anyone please help?
PS: I have a wmp54g card, and am trying to connect to a open (not secured) wrt54g running OpenWRT. Everything works under windows XP



Some extra info:


/etc/init.d/net.wlan0 start

* Caching service dependencies ...
* [ ok ]
* Starting wlan0
* Loading networking modules for wlan0
* modules: iwconfig essidnet iptunnel ifconfig dhcpcd apipa
* iwconfig provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring wireless network for wlan0
* Scanning for access points
* Found "linksys" at 00:0C:41:AA:EA:86
* Connecting to "linksys" (WEP Disabled) ...
* [ !! ]
* Couldn't associate with any access points on wlan0
* Failed to configure wireless for wlan0
* [ !! ]

/etc/conf.d/net commented out

/etc/init.d/wireless
mode_wlan0="managed"
channel_wlan0="11"
associate_test_wlan0="MAC"
preferred_wlan0=("linksys")


iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 18
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

wlan0 IEEE 802.11g ESSIDff/any Nickname:"linksys"
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:24 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link
Quality:100/100
Signal level:-54
dBm Noise
level:-256 dBm
Rx
invalid
nwid:0
Rx
invalid
crypt:0
Rx
invalid
frag:0
Tx
excessive
retries:0
Invalid
misc:35200
Missed
beacon:0
 
Old 11-08-2005, 11:43 AM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
I think the problem is the ESSID says off/any.

There is a very good installation tutorial here

http://www.linuxquestions.org/questi...hreadid=380844

Check the FAQ on that page and look for "I can't set ESSID"
 
Old 11-08-2005, 11:44 AM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Woops, here is the real link
http://ndiswrapper.sourceforge.net/m...p/Installation
 
Old 11-08-2005, 11:50 AM   #4
freek sanders
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Been there, done that, the problem is the following part in the instructions:

Now, setup the network parameters for the interface wlan0. This varies from distribution to distribution. Refer to your distribution's documents on how to do this...

I have set my essid using iwconfig. The problem is getting the connection up
 
Old 11-08-2005, 03:02 PM   #5
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Hmm, i didn't see this:
Code:
* Found "linksys" at 00:0C:41:AA:EA:86
* Connecting to "linksys" (WEP Disabled) ...
maybe essid is configured, but it bothers me that it says essid: off/any on the first line of your iwconfig output.

Have you checked the router settings? But it seems that it is picking up the signal from here:
Code:
Quality:100/100
Signal level:-54
dBm Noise
level:-256 dBm
 
Old 11-10-2005, 02:01 AM   #6
freek sanders
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Never mind solving it. I'm kicking gentoo out (the compile-from-source thing is to time consuming), and am going to try Kubutu (I quite liked debian, but the packages were a bit out-of-date)
 
Old 11-10-2005, 03:33 AM   #7
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
You may end up with a similar problem. As stated before, WEP can be a bit unpredictable depending on your driver, which is usually solved by trying a different wrapper or driver. Could prove me wrong and work first time, but let us know!
 
Old 11-10-2005, 07:53 AM   #8
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Which version of debian were you using. The stable branch is always a bit outdated, but you may want to try testing. Even though it is called testing, it is actually very stable. The only time I ever have to reboot is to recompile the kernel. Although I have not tried kubuntu, my experience with ubuntu was that the package selection is not even close to what we have in debian. I know that you can use packages from the debian repo, but that always seemed to cause problems with apt for me. Maybe there is some kind of unofficial kubuntu repo with more stuff in it, but I'm not sure.
 
Old 11-11-2005, 02:12 AM   #9
freek sanders
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I installed Kubuntu and ndiswrapper yesterdag. Then used my old debian (it was testing) instructions to get it up and running.

Now works without WEP. With WEP on, it keeps trying to get an IP address, and doesn't. It does however set the key, essid and mode right.

PS: my gentoo problem was not one of ndiswrapper, but one of gentoo-network-config-files
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless network problems, ndiswrapper installed will not create wlan0 jackuss_169 Linux - Wireless Networking 6 08-14-2006 11:29 AM
Wireless Linksys -G type loading with dhclient wlan0 after ndiswrapper is loaded but Wireless-G-DSL Linux - Hardware 1 04-01-2005 09:45 PM
Yet more ndiswrapper/wlan0 problems ousouji Linux - Wireless Networking 2 12-31-2004 06:06 PM
ndiswrapper! where is my wlan0? davestyle Linux - Wireless Networking 2 12-31-2004 11:32 AM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration