Some weeks ago (ok, I'm a bit slow to fix things) while changing the home network up a bit, I broke my routing table - and maybe some other things. Now, whenever I restart the machine, I have to set up the network adapter again (I use Mandriva's graphical utility), and then I have to add my router back in as the gateway, which I do by the little script below. This is required every time, and the order can't be changed or else no conn.
Code:
#!/bin/bash
# temp to start up nic
#
/sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0
By the way, Mandy's network setup utility still brings up the correct values, so it hasn't forgotten them. They're just not applying on startup for some reason. I just click through the 'next' and 'ok' buttons and it's good to go.
Any ideas how I've broken this and how to fix it?