hi,
just wanted to add that if you are on Mandrake (I'm on 9.1 but not sure whether it works on the Mandriva stock now) you might want to try the following to bring the new ip up automatically on bootup by doing the following to a certain run-level script:
cd /etc/sysconfig/network-scripts/
cp ifcfg-eth0 ifcfg-eth0:1
(edit the copy which will serve as a reference)
vi ifcfg-eth0:1
(and type the following into the file)
DEVICE=eth0:1
#BOOTPROTO=static
IPADDR=xx.xx.xx.xx
NETMASK=255.255.255.0
ONBOOT=yes
I've commented out the BOOTPROTO and not sure whether that is a good thing.
now reboot and your new ip should be up.
You might want to call the lish shell to see the boot-up sequence and see whether processes are up and running. (just ssh
yourregisteredname@hostxy.linode.com replace xy with the number from the linode.com LPM console).
If /etc/sysconfig/network-scripts/ does not seem right for your mandrake dist then you might want to grok into /etc/rc.d/init.d or for some of you /etc/init.d and find the
network shell executable. It will clue you in to that particular directory where ifcfg or ifconfig definitions are stored, then add into that file like the above.
The following links are helpful too.
http://www.linode.com/forums/viewtopic.php?t=159 (this is useful to set up another ip that you bought)
http://www.nacs.uci.edu/~iglesias/multiboot-linux.html (i like the way he boots up different network setups like for work, home and wireless contexts)
http://www.itworld.com/Open/4877/lw-01-geek_1/ (explains run-levels and why you can't just plug in a ifconfig eth0:1 xx.xx.xx.xx netmask 255.255.255.0 up into one of those startup scripts and expect it to work the first time)
maven