Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.