ndiswrapper installed, driver installed. No device appears...
FedoraThis forum is for the discussion of the Fedora Project.
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.
ndiswrapper installed, driver installed. No device appears...
So I have just tried to compile ndiswrapper from source. The install went great but when I opened up my network configuration it wouldn't show the wlan(0) ndiswrapper device. Any ideas?
look for the ndiswrapper module in the "lsmod" listing.
Check if the driver is loaded: ndiswrapper -l
Also, did you run the "ndiswrapper -m" step to update the depmod.conf file?
Did you run "modprobe ndiswrapper" as root?
Check if the kernel module exists. "ls /lib/modules/`uname -r`/misc/"
Another thing that could have gone wrong is if you loaded the wrong ndis windows driver.
Part of the build process runs "depmod -a". You could try running this manually as root, incase it wasn't done for some reason. Also, if the installation adds a library path, you could try running "ldconfig".
Make sure that you have the "wireless-tools" and "wpa_supplicant" packages installed.
The command from wireless-tools: "iwlist wlan0 scan" is a good way of seeing if the wireless device is operable.
I am compiling ndiswrapper 1.10 from source and installing the same broadcom inf that was working so beautifully for my FC4 build. I am running an x86_64 architecture in case that matters.
I can see my networks but I can't connect (I am entering the right WEP key as well). One point of note is that wlan0 will not show up under ifconfig. dmesg seems to be showing everything loading just fine. As mellon-ticklers go this one's a honeydew for me.
Ndiswrapper seems to be loaded and working. You need to configure the interface for your network and encryption type. I don't know which wireless network is yours in the iwlist scan. The first one is using wpa encryption. Don't use WEP! Anyone can crack in in 30 minutes time. You have wireless-tools installed. How about wpa_supplicant?
However, I noticed a difference between your lsmod listing and mine:
ndiswrapper 215784 0
usbcore 140596 5 usbhid,ehci_hcd,ohci_hcd,ndiswrapper
This may not be important. The interface not showing up in ifconfig tells me that the interface isn't starting.
For example, if I shutdown an interface ( In SuSE, by " sudo /sbin/rcnetwork stop wlan0", the interface will disappear from the ifconfig listing. ) I think in Fedora, you can run "ifup wlan0". There may be something like "service network start wlan0" but you will need to read your documentation to be sure. First try manually starting the interface, and then see if it shows up in ifconfig. Also look at the "iwconfig" output.
If starting the interface manually causes it to be displayed in ifconfig, the restart the dhcp client and see if you get an IP address assigned. If that works, then look into why the interface isn't being started by the network service when you boot up. You will either have to turn off encryption at the router, to test the dhcp client, or setup encryption first. You will need to be able to associate before you will be assigned an IP address by dhcp.
----
Check in "sudo cat /proc/net/ndiswrapper/wlan0/hw"
for a line like:
encryption_modes=WEP; TKIP with WPA; AES/CCMP with WPA
at the bottom of the listing.
This will give the capabilities of ndiswrapper. If you don't see TKIP with WPA, install a newer version. This is what you would use at home. This uses a pre-shared key, that is entered for all wireless devices in your network.
So I somehow got a connection but it configured very strangely. Somehow wlan0 won't find an IP but eth1 finds one, which is really amazing since eth1 is not physically connected to anything. See ifconfig output below.
ifconfig:
Code:
eth0 Link encap:Ethernet HWaddr 00:0F:EA:89:04:49
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:00:C5:53:BF:1C
inet addr:169.254.214.159 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::200:c5ff:fe53:bf1c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:69 dropped:0 overruns:0 frame:0
TX packets:0 errors:22 dropped:0 overruns:0 carrier:21
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2344 errors:0 dropped:0 overruns:0 frame:0
TX packets:2344 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2713921 (2.5 MiB) TX bytes:2713921 (2.5 MiB)
wlan0 Link encap:Ethernet HWaddr 00:0C:E5:53:2A:E7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Memory:f1004000-f1006000
I think God hates me. I managed to get a traceroute from the router and I can still see the router from my machine it's just trying to go through eth1. Any ideas?
Yes, sometimes the wireless is referred to as eth1. The wired NIC interface is eth0. You want to configure eth1.
You may need to shut down eth0 also before things work.
Also it looks like you have an IP address. Did you configure it for dhcp. If so, then you are probably associated with the Access Point. Try pinging the router.
Also check the /etc/resolv.conf file. With dhcp, the client will overwrite this file with the value of the DNS servers (nameservers).
The output of "route" will display the routing table. You can determine if the default gateway is correct. If it is, you might only need to powercycle the router. It's also a dhcp client on the WAN side, and may need to restart the dhcp client on the ISP side before you can get on the internet.
If you use KDE, I would recommend using KInternet. An icon shows up in the panel tray. You can simply click on it to reconnect to the AP. Also, you can right-click on it and select "wireless connection..." to check the status of the connection or to scan for other networks and select one to associate with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.