grazzolini / mkinitcpio-netconf

Archlinux mkinitcpio hooks for setting up early user space networking.
BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

ip=dhcp fails autoconfiguration, to expect or unexpected? #11

Closed ProBackup-nl closed 6 years ago

ProBackup-nl commented 6 years ago

ip=dhcp

I was expect with ip=dhcp to get a working networking link.

The result is:

ipconfig: no devices to configure

I was expecting autoconfiguration to happen after reading kernel nfsroot documentation:

The parameter can appear alone as the value to the `ip' parameter (without all the ':' characters before). If the value is "ip=off" or "ip=none", no autoconfiguration will take place, otherwise autoconfiguration will take place. The most common way to use this is "ip=dhcp".

and:

\<device>: Default: If the host only has one device, it is used. Otherwise the device is determined using autoconfiguration. This is done by sending autoconfiguration requests out of all devices, and using the device that received the first reply.

Is my expectation incorrect, or is the implementation incomplete?

ProBackup-nl commented 6 years ago

usr/bin/mount and several mounts were missing, resulting in no hardware detection.

After fixing that, there is no more ip=dhcp IP-Config issue.