ndiswrapper device for SMC2802W stopped working after reboot
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ndiswrapper device for SMC2802W stopped working after reboot
Hi, I have just installed a wireless g card on my Fedora core 6 pc and found out that it did not have a compatible linux driver, thus i decided to use ndiswrapper version 1.31 that i downloaded and installed by following the instructions that i found by googling a bit...
It was working perfectly, my card was connecting and i was able to access my local network and the internet, but after rebooting when i tried to activate the device i got this error:
Code:
ndiswrapper device wlan0 does not seem to be present, delaying initialisation.
when i type ndiswrapper -l , the device is just as it was, that is correctly installed:
Hi jakev383, Thanks for your reply...
Yes i did those:
ndiswrapper -m
modprobe ndiswrapper
but not
echo ndiswrapper >> /etc/modules
as the file /etc/modules does not exist.
I already tried reinstalling the driver but not ndiswrapper, Do you think that it is necessary to reinstall ndiswrapper?
What about the eth1 that can be seen from the output of iwconfig? I never configured eth1 and if ever i try to ifup eth1 it tells me that no configuration has been written for that device. Do you think that i should configure eth1 instead of wlan0?
Hi jakev383, Thanks for your reply...
Yes i did those:
ndiswrapper -m
modprobe ndiswrapper
but not
echo ndiswrapper >> /etc/modules
as the file /etc/modules does not exist.
I already tried reinstalling the driver but not ndiswrapper, Do you think that it is necessary to reinstall ndiswrapper?
What about the eth1 that can be seen from the output of iwconfig? I never configured eth1 and if ever i try to ifup eth1 it tells me that no configuration has been written for that device. Do you think that i should configure eth1 instead of wlan0?
Sorry, /etc/modules was for Ubuntu.
You shouldn't have to recompile it. What looks to have happened is that it originally configured wlan0, and when you rebooted it changed to eth1. I'd say go ahead and configure that device.
Hi i went to configure eth1 and found out that it was not using ndiswrapper but the prism54 driver itself just as i first installed the card! This means that eth1 also is not working! But while following the steps that i found on the net, there was a line that added prism54 to a blacklist! So how is it possible that eth1 is still using prism54 driver?
Is there an alias for the prism54 device still in /etc/modprobe.conf or one of the files in /etc/modprobe.conf/?
"egrep '(prism|eth1)' /etc/modprobe.conf /etc/modprobe.d/*" may be useful in finding relative lines. If there is commment it out. ( Add a comment line before or after so you can undo it easier if you need to later. Something like your initials and the date in the comment may make maintainence easier, plus supply a grep target for later)
Double check that /etc/modprobe.d/ndiswrapper exists. Does it say "alias wlan0 ndiswrapper"?
Try "depmod -a". It may have been interupted perhaps during the ndiswrapper installation. However, this is a Hail Mary attempt.
I don't know if Fedora Core uses an /etc/modules file to identify modules to lead early. If it does, see if prism54 is listed and remove it or comment it out. See if there is an equivalent listing somewhere that might contain a reference to the prism driver.
Hurray! My wireless card is now working!!! I think the problem was with eth1 loading using the prism54 driver... though there was no entry in /etc/modprobe.conf for prism54 it was still being loaded! Then, i thought why the blacklist that i added in /etc/hotplug/blacklist was not working! Thus i vied the file and found out that the only entry was prism54. I deduced that this file was invalid, thus i decided to browse the folder /etc/modprobe.d/ and i found 2 interesting files 'blacklist' and 'balcklist-compat' that had identical contents. Thus, i added the line:
blacklist prism54
at the end of both files, and did 'ndiswrapper -r 2802w' to remove the wireless driver from ndiswrapper and rebooted.
This time no eth1 was found and no prism54 loaded!
thus i did 'ndiswrapper -i 2802W.inf' to add mny driver again
then 'ndiswrapper -l' to check if its correctly loaded
and continued with the configuration of ndiswrapper as i did the first time.
Then i tried 'ifup wlan0' and it worked!
I had my internet connection working correctly!
I rebooted my pc, and the configuration was still the same!
So now there is no problem, except a little nag....
During configuration, i made sure that the device would load at boot time and it does i see the message
Bringing up interface: wlan0 [ok]
However, when i log-in the device is not active! And the problem is that i have to activate it manually each time!, the plus side is that i have put the flag wich says that users are allowed to control the device to yes and i can activate it just by pressing activate on the screen 'network device control'
But, is there a way to make the device activate automatically during boot or when i log in?
Note that when i am not logged as root i cannot use ifup! it says command not found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.