Connecting to my network at boot
I managed to get ndiswrapper, wireless tools and dhclient all running and working on my LFS-6.2 system, and now I can connect to my network by giving the command "modprobe ndiswrapper && iwconfig wlan0 essid "SSID" key XXXXXXXXXX && dhclient". Doing that, I'm connected to my network, I have full internet access, etc. However, I can't seem to get this working at boot. The first problem lies in loading ndiswrapper at boot. When I add ndiswrapper to /etc/sysconfig/modules, I get loads of errors when I boot up, all saying that the filesystem is read only. How could I fix this?
|
You may be trying start the network too early. My guess is that it is trying to create /var/run/wpa_supplicant/ before the filesystem is remounted rw.
|
It says that it's trying to create /dev/ndiswrapper...but I do think you're right, I think that it's loading the module way too early. How could I go about fixing that then?
[EDIT:] I got the module to load at the right time now by moving the symbolic link rather than moving the actual file in /etc/rc.d/init.d. Now I just need to get iwconfig configured during the boot process. [EDIT:] I just got it working. Turns out copying and pasting a script in Windows and then moving it over to LFS was the problem because of the way it was encoded. Or something like that. Sorry for the trouble. |
All times are GMT -5. The time now is 09:00 AM. |