Hi guys,

It seems the /etc/rc.d/init.d/network script has changed from the version I've been using (an older version of lfs-bootscripts mind you, which may explain it all).

In this "old" version I created a directory /etc/sysconfig/network-devices/ifconfig.eth0 and in that directory placed a number of files that specified which IP addresses to add to an interface, which static routes to add, and more.

The script on the livecd expects ifconfig.eth0 to be a file so I can only add a single IP address or route per interface now?

Again I do realize that should be alright for this type of CD and if I need more IP addresses and routes added, I'll just have to do this manually, or add a different network script and override it like I'm doing with a number of other files.

However, would it be a bad idea to make that the default network script on the livecd? It doesn't add any "bloat," it's just a slightly different script that can accept directories called ifconfig.eth0 and use files underneath it if ifconfig.eth0 itself is not a file.

That allows for both simple and more complex network setups.



--
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to