[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/init.d/network is too simple?



> the other direction is also simple:
> #!/bin/sh
> ifconfig lo 127.0.0.1
> ifconfig eth0 192.168.1.57 netmask 255.255.255.0 gateway 192.168.1.1

This script is simple and efficient.
Right.
But it doesn't allow to shut down and up one interface independed of
others. Then it is hard to parse by configurators (some like control-panel).
Next - this way is kernel specific. What about Debian GNU/Hurd or maybe
Debian BSD?

I see a good solution - what do you think about standalone package
similar to file-rc? file-rc is a free to use replacement for original rcX.d.

If someone find fstab style very useful, then he'll install network-tab.deb
If another one like 'dot' style, should install network-dot.deb,
etc. 
For Linux-gurus the best way is to clean default /etc/init.d/network and
put their own ifconfig/route script.

-- 

Piotr "Dexter" Roszatycki
mailto:dexter@fnet.pl


Reply to: