LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-29-2007, 02:03 PM   #1
-Ay-
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, 02:23 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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, 02:31 PM   #3
-Ay-
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 04:31 PM.
 
  


Reply

Tags
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 07:23 AM
Connecting my PC to a network adilturbo Linux - Networking 8 10-14-2006 05:01 PM
Connecting two Network Together m4st3rc1p0 Linux - Networking 2 10-12-2006 11:25 PM
Connecting to a Network rgarg Linux - Newbie 1 06-19-2003 04:47 AM
connecting to network mxw320 Linux - Networking 1 02-12-2001 05:32 PM


All times are GMT -5. The time now is 02:30 PM.

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