I installed VL 6.0 recently. Every time I start up (runlevel 4), eth0 is not configured, and I have to run VASM, go to Network, and Netconf to set it up. As soon as I do that, everything is fine. I'm using DHCP, by the way.
How do I get it to do this automatically on boot? I didn't see anything in VASM, and I've been plowing through the initialization files in /etc, but I'm not sure what is the correct way to proceed. I can see that rc.M calls rc.network, which includes these lines:
for i in 0 1 2 3 4; do
if [ -x /etc/rc.d/rc.inet$i ]; then
echonl "Setting up basic network ..."
/etc/rc.d/rc.inet$i start &>/dev/null
I have rc.inet0, which has this:
DEVICE="eth0"
DHCP="yes"
IPADDR=""
NETMASK=""
GATEWAY=""
PROBE="no"
I also have rc.inet1, which has this:
DEVICE='eth0'
DHCP='yes'
IPADDR='127.0.0.1'
NETMASK='255.255.255.0'
GATEWAY=''
PROBE='no'
I tried renaming rc.inet1 to see if it was overwriting the settings from rc.inet0, but still no luck.
I also have a file rc.inet1.conf, but I don't know when that is even looked at.
Here's the weird thing to me: If, instead of going to VASM, I just go to a terminal and run rc.network as root, it sets up fine! So why isn't rc.M's call to it working?
Thanks for your help