Ah, yes, testing for root is not necessary (again saved two cpu-cycles
).
Ok, when running
$ sudo udhcpc -i eth0
eth0 fires up and after that dmesg says:
e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Before there are only the following two lines:
e1000 0000:02:00.0 eth0: (PCI:66MHz:32-bit) 00:0c:29:a5:60:99
e1000 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
But I have to invoke udhcpc from the command line. It has no effect when
called from bootlocal.sh
Also tried waitusb- and net.ifnames-bootcode with no effect.
Any hints?