Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 06-29-2007, 03:03 PM   #1
LQ Newbie
Registered: Jun 2007
Distribution: LFS 6.2 and Debian Lenny
Posts: 6

Rep: Reputation: 0
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?
Old 06-29-2007, 03:23 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.
Old 06-29-2007, 03:31 PM   #3
LQ Newbie
Registered: Jun 2007
Distribution: LFS 6.2 and Debian Lenny
Posts: 6

Original Poster
Rep: Reputation: 0
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.

Last edited by -Ay-; 06-29-2007 at 05:31 PM.


boot, lfs, modules, ndiswrapper

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to our UK network. roders22 Linux - Networking 3 04-05-2007 08:23 AM
Connecting my PC to a network adilturbo Linux - Networking 8 10-14-2006 06:01 PM
Connecting two Network Together m4st3rc1p0 Linux - Networking 2 10-13-2006 12:25 AM
Connecting to a Network rgarg Linux - Newbie 1 06-19-2003 05:47 AM
connecting to network mxw320 Linux - Networking 1 02-12-2001 06:32 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration