Does ndiswrapper work with Slackware? I don't want to switch to Ubuntu.
I need to get ndiswrapper working under Slackware 10.2 (running a 2.6.13.4 customer kernel). Two posts in LQ mention they switched to Ubuntu so I have to ask the question does Slackware not work with ndiswrapper?
Link 1 Link 2 To me Linux is Linux and I am not sure why ndiswrapper would not work with Slackware. My setup is a older Dell Notebook (USB 1.1) with a USB D-Link DWL-G120 which I have installed with ndiswrapper (version 1.2 and 1.4). All the ndiswrapper stuff appears to be working I get a message in "dmesg" with the device's MAC address and I can see the MAC address on my router. I use the following commands to configure the port Code:
iwconfig wlan0 essid ESSID TVR |
Yeah, ndiswrapper does work quite well with Slackware. In fact I'm posting courtesy of ndiswrapper on Slackware. That said, the USB wireless adapters can be a royal pain to get working. Have you tried anything besides ping? What happens if you try using a browser? Are you sure that you got your USB support correct in your custom kernel.
Oh, and on more thing. The 2.6.13 kernels use a new verision of Wireless exentions that isn't really supported by the Wireless Tools that comes with Slackware 10.2. Unless you've done a custom compile of wireless tools, that could be part of the problem. |
I feel confident in my USB support because I can use a USB pendrive. I have _NOT_ compiled the wireless tools so I will try and move back to the 2.4.x kernel. No I have not tried anything but ping because I figured if ping does not work nothing will work.
Which windows driver do you use (win 98, win xp, win 2000)? My usb wireless device has a driver for all the Windows flavors. Thanks for the help, I feel better knowing that Slackware works OK with ndiswrapper because I don't want to switch to Ubuntu. |
if you get an ip address from dhcp, the driver is working.
what is the output of "route " ? there should be a line like this: ----------------- default SpeedTouch.lan 0.0.0.0 UG 0 0 0 eth0 ----------------- this defines the default gateway to use ( here that's my router ) egag |
I use an XP driver. That should probably be the first choice followed by 2000, then 98. By the way, do you know the sites you are pinging actually respond to ping? Not all sites do. And egag's suggestion about looking at route is an excellent idea.
|
Also - can you ping with an ethernet connection? (You may have an iptables firewall that drops pings from any end...)
|
or your resolv.conf is empty so you have no dns servers listed. Read your /etc/resolv.conf file and if it's empty change it to your ISP's provided dns servers.
|
At this point I am not trying to go beyond my internal network, note I have not setup a gateway yet. I should be able to ping the router 192.168.1.1 I can from other computers on the same network. Pinging the router or trying to pull up the admin program from a web browser does not work! I am pinging by IP address. I have tried both the Windows XP and Windows 98 driver. Please help, I am getting ready to freak! If I get a dhcp address it should be working I am so close! Thanks for your help.
Output from ndiswrapper -l Code:
Installed ndis drivers: Code:
wlan0 IEEE 802.11g ESSID:"stargt" Code:
lo Link encap:Local Loopback Code:
Kernel IP routing table Output from dmesg Code:
uhci_hcd 0000:00:07.2: Intel Corporation 82371AB/EB/MB PIIX4 USB |
This is weird. I don't see any problems that would cause you connection trouble. You've obviously connected to your access point, and you have an IP address and your gateway is pointing to your router the way it should be. Unless you have a firewall on this box locking down all access outside of itself (post the output of iptables -L if you don't know) you should be able to point a browser at http://192.168.1.1 and get the config page.
So at this point I'm guessing the firewall. |
Hangdog,
Thanks for the post I appreciate any help that I can get. I can ping my router from another computer on the network so I don't think it is the router. At this point I am just trying to ping computers internal to my network, in this case my router at 192.168.1.1 from another computer on my network I can successfully ping 192.168.1.1 . I am totally confused this should work I am about to give up. TVR |
As I said in my previous post I think it may be a firewall issue on your Slackware box. At very least that is currently the most likely suspect. If you don't know what your firewall is set to do, post the output of iptables -L . You'll have to su to root to run this command.
|
Hangdog42,
I turned iptables off when I compiled the kernel. When I type in the command "iptables -L" as root I get: Code:
FATAL: Module ip_tables not found. |
GOT NDISWRAPPER WORKING!
Yes, I got ndiswrapper working after all with Slackware :-) but I didn't get it working with the DWL-G120. It does work perfectly with the DWL-G122. Thanks for all the help.
|
All times are GMT -5. The time now is 09:07 AM. |