Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
No offense intended, but you've got some strange problems here. If you've properly installed a kernel and configured slackware, it shouldn't matter if it is in /boot or /boot-test. However, a default install of Slack usually only uses /boot. That suggests to me that you've got some odd configuration happening. How are you telling Slack to boot from /boot-test as opposed to /boot? Personally, I keep all my kernels in /boot and it hasn't caused any trouble.
As for the card only working when you start Firefox or other services, I'm going to guess (and this is really a guess) that starting one of those is causeing an DHCP request to happen. Once you load ndiswrapper, what do you do to configure the card and get an IP address?
You sound like the most knowledgable person on this issue yet, as far as helping KevKiwi with his 3Com card anyways. I was in his boat exactly until he got to his post on the top of page 2 (removing prism54 module). I've already blacklisted it and tried the modprobe -r, but I still see eth0 in iwconfig and not wlan0
Code:
eth0 IEEE 802.11b ESSID:off/any
Mode:Managed Channel=1 Access Point: Invalid
Sensitivity=0/200
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
(Plus lo and sit0 say no wireless extensions)
I believe the reason it's listed as 'Managed' is that I'm using Network Manager as other forums have suggested this will help.
Also ndiswrapper is not in the /proc/interrupts list
I've already blacklisted it and tried the modprobe -r, but I still see eth0 in iwconfig and not wlan0
A couple of things to look at:
1) check the output of lsmod and see if ndiswrapper is there or if it is still the prism driver (which I believe is called islsm_pci).
2)If you ran ndiswrapper -m, your /etc/modprobe.conf file should have been modified to include a line like alias wlan0 ndiswrapper. If that isn't there, either run ndiswrapper -m or add it by hand.
By the way, I'm assuming that even though you can see eth0, and it has wireless capability, you can't configure it with iwconfig. Is that correct?
Ah you're right! islsm is part of the prism driver (I had tried getting an improved prism driver early on in the piece and had wrongly remembered islsm as being part of ndiswrapper).
Well, modprobe -r islsm_pci should do the trick and you can always blacklist it as well.
Quote:
While there's no /etc/modprobe.conf there does exist /etc/modprobe.d/ndiswrapper, containing only:
Quote:
alias wlan0 ndiswrapper
like you mentioned. (Maybe different file structure because I'm running ubuntu?)
I would bet you're right about ubuntu keeping it in a different location that Slackware. Since the alias line is there, it probably is in the right place.
Quote:
Don't I need to set that to be able to access my WEP-protected router?
Yes, you do need to be able to set that. In fact, Network Manager is probably just a GUI front end for iwconfig.
Just as a test, you could try setting the hex value of the key rather than the ascii value (if you know the hex value).
Usually having two drivers competing for the same card is a bad thing, so if you remove the islsm_pci module, hopefully that will allow ndiswrapper to load and function.
Of course one test you could make since you can set the SSID on the islsm_pci driver is to temporarily turn off WEP encryption on your AP and see if you can connect. If you can, it might be worth chasing down the errors when you try and set the WEP key. The most sane explanation I've seen for the "Set Encode" errors you're getting is that the firmware doesn't support WEP for some reason. If you want to use the prism54 driver, you might want to check that you have the latest firmware.
Fantastic! modprobe -r islsm_pci did the trick and got rid of islsm from lsmod, and after rmmod ndiswrapper then modprobe ndiswrapper I have ndiswrapper in lsmod. My card's light is flashing now too, whereas before it was always on.
I've disabled encryption on my network, but still can't seem to find it. I should be able to ping my router, right?
I've disabled encryption on my network, but still can't seem to find it. I should be able to ping my router, right?
Maybe not. If you haven't associated with the access point and gotten an IP address via DHCP (or configured a static IP), your card may not be able to communicate to send the ping. What you should be able to do (if your router is set to broadcast the SSID) is see it with iwlist wlan0 scan.
If you've disabled WEP, then setting the SSID should allow you to associate with the router (you'll see the MAC address appear in the iwconfig output if the association has happened). If you've associated with the router, you can then go ahead and request an IP address. I think Ubuntu uses ifup, so try this:
ifup wlan0
If that doesn't get you an IP address, you might try dhclient wlan0. If there is still no joy, you can always try to set a static IP address. You do three things:
1) ifconfig wlan0 xxx.xxx.xxx.xxx replacing the xxx with the IP you want to use
2) route add default gw yyy.yyy.yyy.yyy replacing yyy with the IP address of your router
3) Edit your /etc/resolv.conf to contain your ISP's DNS IP addresses. For each DNS, you add a line like this:
nameserver xxx.xxx.xxx.xxx only using the IP address of the server.
I actually just got back from watching a football game and the computer had hung with the main and processor fans not going! Ahhh! I think that was my fault using a random command.
But the long and short of it is that once I got it safely going again, and reinserted the network card, it's all go! The network came straight up and I didn't actually need to do anything from your last post.
Once again, big thanks, and have a great day!
Brad
Just for completeness of the thread, could not connect to my access point (ap; ie router) as it was using a text 'key'. Changing the router's settings to use a hex key worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.