LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Yet more ndiswrapper/wlan0 problems (https://www.linuxquestions.org/questions/linux-wireless-networking-41/yet-more-ndiswrapper-wlan0-problems-269211/)

ousouji 12-22-2004 11:14 AM

Yet more ndiswrapper/wlan0 problems
 
Ok here's the deal, and thanks in preview to anyone who can help out.

It seems ndiswrapper has loaded the card fine and an ndiswrapper -l returns driver and hardware present. I've done all the installation steps, and my alias is present for ndiswrapper, etc.

iwconfig returns a proper scan of ssids, and it even recognizes a couple that must be across the street or something. I set the ssid to what it allegedly should be with iwconfig wlan0 essid "etc..."

ifconfig wlan0 up and then ifconfig shows me a nice display.

Here's the issue: I can't ping anything, so it seems something's wrong. My Rx/Tx bytes will either be 0 or some arbitrary number of bytes after I try dhcpcd-ing. This arbitrary number of bytes doesn't change over time and pinging still fails.

And furthermore, dhclient wlan0 returns "no device found."

Is this a configuration problem or a driver problem? Any help/advice is graciously welcomed. I also apologize if this has been dealt with in some other thread or if someone could point me to that other thread.

eno_on 12-23-2004 09:05 AM

What distro are you using? I had that same exact problem with ndiswrapper and a broadcom card on fc2. Check out iwconfig after you set your essid. Did that command actually set the ESSID (It didn't for me)? Try turning off encryption on your access point/router. Ndiswrapper doesn't connect with wpa enabled (even if you give it the key).

Lastly, you could try recompiling your kernel and ndiswrapper - ndiswrapper has worked flawlessly on Gentoo for me. Red Hat doesn't use a 'stock' kernel at all for their distributions.

msmales 12-31-2004 06:06 PM

I use Fedora Core 3 and I have a Belkan card (Broadcom chipset). I set the correct eesid value and the encryption key in ascii like so:

iwconfig wlan0 key restricted s:works

Note that the s: prefix makes the password written in ASCII rather than hex.

Also, the network is in Managed mode.

Once its all done... then the following must be done AFTER the actual configuration.

ifconfig wlan0 up

dhclient wlan0 // if your modem is using dhcp

(or try dhcpcd - if your distro has it)

that's all folks..

oh, if u can ping your router but not anywhere else such as google.com, try

route add default gateway <ip address of you router or access point>


All times are GMT -5. The time now is 12:24 PM.