3 ms·
The kernel already supports acquiring a DHCP lease via the “ip=dhcp” boot option. Why does this need to be a feature of init?
by mmarx 11y ago
The kernel already supports acquiring a DHCP lease via the “ip=dhcp” boot option. Why does this need to be a feature of init?
- pjmlp 11y agoBecause init is common to several UNIXes and ip=dhcp is a Linux specific feature?
- mmarx 11y ago> Because init is common to several UNIXes and ip=dhcp is a Linux specific feature? And yet the author seems to be comfortable using those linux-specific features: “Also, the kernel paremeters must have the rw flag or you have to remount the /dev/sda1 as rw, but changing kernel parameters are much more easier.” (from the follow-up post).
- CSDude 11y agoI did not know we could have ip=dhcp option, but I will need to create a network manager now or later, but for trying out some stuff, I can use that flag. Also, I will not bundle services to init, it will be just forking, signaling and waiting. All the other utitilies will be small independent code exercises for me.