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

Re: Potato networking



On Sun, Apr 30, 2000 at 06:24:34PM -0400, Alec Smith wrote:
> I just installed Potato using the Potato boot disks, and found there's no 
> more /etc/init.d/network for setting things up. As it stands now, the 
> machine is using DHCP to get settings. It appears this also overwrites 
> custom changes to /etc/resolv.conf at the very least.
> 
> Does someone have a sample of /etc/networking/interfaces which allows for 
> static configuration similar to what used to be done in /etc/init.d/network?
> 
> If I were in charge of Debian, I'd go back to doing this the old way....

you still can do it the old way, just comment out everything in
/etc/networking/interfaces (or maybe just delete it) and add you own
/etc/init.d/network script using update-rc.d to add the links.  

i installed potato before this was changed and never `converted' all
is working fine for me.  

the reason it was changed was to allow for easier upgrading of the
network configuration, this is not very easy with the flat script so
for example when you upgrade a slink system to kernel 2.2 you start
getting SIOCCATTR (something like that) errors at boot because the
route command requires different arguments.  (that and you don't
really need the route command anymore on 2.2, except for the localhost
route which never gets created (not that it seems to matter, i just
prefer to see a route for localhost))

at the risk of joey throwing something at me... ;-)  i still prefer the
old way.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpQT35UPgST7.pgp
Description: PGP signature


Reply to: