[Novalug] where to put commands to be executed at boot time
pereira at speakeasy.net
Sun Apr 12 10:58:09 EDT 2009
every time I reboot my Ubuntu (8.10) system I have to re-type,
by hand, the addresses of my fixed IP address, the gateway, etc.
sudo ifconfig eth0 xxx.xxx.xxx.xxx
sudo route add xxx.xxx.xxx.1 eth0
sudo route add default gw xxx.xxx.xxx.x
On Redhat/Fedora these commands should be put in a file
like /etc/rc.d/rc.local, I can't find these files.
They may sit in a similarly-looking file in /etc/init.d,
which has all kinds of files with enticing names, but none
that calls out: 'put the IP address info in me'.
Any suggestions? How would you ensure that the fixed IP address
either doesn't disappear or comes back automatically on reboot?
More information about the Novalug