Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: vr on April 15, 2010, 12:19:20 PM

Title: [solved] eth0.sh not running on boot?
Post by: vr on April 15, 2010, 12:19:20 PM
I have a problem bringing up eth0 on boot with my usbinstall to an internal flash drive...

I have opt/eth0.sh in /opt/bootlocal.sh.

eth0.sh contains:
ifconfig eth0 10.100.23.55 netmask 255.255.255.0 broadcast 10.100.23.255 up
route add default gw 10.100.23.1
echo nameserver 10.100.24.10 > /etc/resolv.conf
echo nameserver 10.100.24.11 >> /etc/resolve.conf

I have done filetool.sh backup before rebooting.

But when I reboot, route -n only lists the 127.0.0.1 entry. Am I missing a step?
Title: Re: eth0.sh not running on boot?
Post by: roberts on April 15, 2010, 12:35:11 PM
Are you booting with the option of nodhcp as might be conflicting with your IP request.
Title: Re: eth0.sh not running on boot?
Post by: vr on April 15, 2010, 01:21:55 PM
cool, that did the trick, thank you!