Tiny Core Base > TCB Q&A Forum

[solved] eth0.sh not running on boot?

(1/1)

vr:
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?

roberts:
Are you booting with the option of nodhcp as might be conflicting with your IP request.

vr:
cool, that did the trick, thank you!

Navigation

[0] Message Index

Go to full version