LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-26-2011, 11:02 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
LFS 7.0 without sysconfig?


Is it possible to run LFS without the Redhat-style sysconfig? In particular, I miss the Debian-style /etc/network/interfaces, but would generally prefer not to see /etc/sysconfig, overall. The LFS networking scripts make me feel like I'm on CentOS or something - sort of take the magic out of it for me.
 
Old 11-28-2011, 07:51 AM   #2
magiknight
Member
 
Registered: Oct 2003
Posts: 37

Rep: Reputation: 4
You sure can, you need to rewrite the start up scripts.. I use BSD-Init sytle and have no sysconfig.. I have a rc.inet.conf, rc.inet1 and rc.wireless scripts to make my networking work.
 
Old 11-28-2011, 08:27 AM   #3
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 211Reputation: 211Reputation: 211
Magicknight,

Cool! I was looking further at the bootscripts; looks maybe like a day-long project, not sure. What resources did you use to set that up? Anything documented? Do you have your scripts posted some place?

It could be useful for me to get an understanding also of what you /haven't/ changed, so that I could keep that when reworking ifup/ifdown etc.

Thanks,
Jameson
 
Old 11-28-2011, 04:12 PM   #4
magiknight
Member
 
Registered: Oct 2003
Posts: 37

Rep: Reputation: 4
I used this as a guide and built on top of it. it's not that hard, but you will need a little scripting experience to get everything working the way you want it to.

ifup/ifdown are just scripts... edit them to make them work as you want them to.
I personally use ifconfig but that's me. Here is the way i have it set up.

rc.inet.conf is the configuration of my networks
and rc.inet1 actually looks at the information passed by the above script and uses the tools needed to bring up the network or restart it or stop it based on how rc.inet.conf is setup.
 
  


Reply


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
[SOLVED] How To Gain Access For lfs User To Comply With 3rd Important Note in LFS Man., Sec. 5 gdawg Linux From Scratch 30 05-22-2011 11:53 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration