LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0 (https://www.linuxquestions.org/questions/linux-software-2/%5Bgentoo%5D-ndiswrapper-problem-failed-to-configure-wireless-for-wlan0-380844/)

freek sanders 11-07-2005 01:28 PM

[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 ESSID:off/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 key:off
Power Management:off
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

ssfrstlstnm 11-08-2005 11:43 AM

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"

ssfrstlstnm 11-08-2005 11:44 AM

Woops, here is the real link
http://ndiswrapper.sourceforge.net/m...p/Installation

freek sanders 11-08-2005 11:50 AM

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

ssfrstlstnm 11-08-2005 03:02 PM

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


freek sanders 11-10-2005 02:01 AM

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)

fouldsy 11-10-2005 03:33 AM

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!

ssfrstlstnm 11-10-2005 07:53 AM

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.

freek sanders 11-11-2005 02:12 AM

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


All times are GMT -5. The time now is 06:21 AM.