LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   unable to load ndiswrapper at boot time (https://www.linuxquestions.org/questions/linux-wireless-networking-41/unable-to-load-ndiswrapper-at-boot-time-259099/)

stevenro 11-25-2004 04:45 AM

unable to load ndiswrapper at boot time
 
I have currently managed to get my Linksys WPC11 wireless card working on my IBMT23 with Fedora Core2, but there are just 2 outstanding issues I have and was hoping for some help.

1) I have an entry in /etc/modprobe.conf
alias wlan0 ndiswrapper
But this is not loaded when booted, I have to issue modprobe ndiswrapper to load it??
Any reason why this will not load at boot time?

2) Although I have a link to my AP, this can be seen with iwconfig, I am unable to obtain a dhcp address, so therfore I am unable to connect.

Any solutions for either or both the above would be greatly appreciated.

rjlee 11-25-2004 05:02 AM

1) I don't know why this isn't loaded automatically (without going into a lot more detail anyway). The easiest fix is to add the “modprobe ndiswrapper” command to the end of your rc.boot file, usually found in somewhere like /etc/rc.d/.

2) There are various ways to get a DHCP address. A program called “pump” springs to mind, although others exist. Instructions at http://www.tldp.org/HOWTO/DHCP/index.html

snecklifter 11-25-2004 05:10 AM

Hi stevenro,

Did you issue the
Code:

ndiswrapper -m
command after installing ndiswrapper?

stevenro 11-25-2004 07:12 AM

yes I did use the ndiswrapper -m to add the entry to the /etc/modprobe.conf file.

stevenro 11-25-2004 07:24 AM

rjlee

Thanks for that, I'd already considered adding the modprobe to an rc script as I have one that sets all the iwconfig settings for my wireless network, so I will just add it to the start of that.

I know this is a way around it, but just can't understand why it will not load at boot time!

And thanks also for the stuff on dhcp, I'll check this out this evening and get back to you with how I get on.

Regards

Roy

stevenro 11-25-2004 04:20 PM

First of all this time the ndiswrapper loaded as expected at boot.
I had an entry commented out above the ndiswrapper entry, so I removed this and rebooted and it loaded fine.

Secondly I ran dhclient wlan0 and this obtained me an IP address via dhcp, so now all I need to do is automate this.

Thanks to everyone for their input.

Regards

Roy


All times are GMT -5. The time now is 10:59 PM.