[Novalug] where to put commands to be executed at boot time
macoafi at gmail.com
Sun Apr 12 14:45:53 EDT 2009
On Sunday 12 April 2009 12:43:48 pm Nino Pereira wrote:
> > You'd want the full stanza:
> > auto eth0 # start eth0 automatically, if this is left out you can
> > still use ifup/ifdown by hand
> > iface eth0 inet static # tell the system that eth0 is a static IP, you
> > can also use "inet dhcp" here
> > address xx.xx.xx.xx # your IP
> > netmask xx.xx.xx.xx
> > gateway xx.xx.xx.xx # default gw
> Thank you, this works.
> I have no idea, though, why the commands in the file
> /etc/network/interfaces differ from the ones that you
> use by hand. I thought that the various executables in
> /etc simply contain the same commands, albeit without
> the 'sudo', that you use yourself.
Because it's a configuration file, not an init script.,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://calypso.tux.org/pipermail/novalug/attachments/20090412/99182616/attachment.bin
More information about the Novalug