[klibc] ipconfig related question (do not get static IP setting)
H. Peter Anvin
hpa at zytor.com
Fri Jun 4 00:51:18 PDT 2004
Olaf Hering wrote:
> On Fri, May 28, Dirk von Suchodoletz wrote:
>>Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to
>>setup a initramfs (pretty cool - much better than initrd) to boot linux
>>diskless clients over the net. All the tools I would need, seem to be
>>there with ipconfig/nfsmount ...
>>I like to use the information I get from PXE/syslinux or Etherboot
>>writing something like:
> 2.6 has a broken SIOCGIFCONF ioctl, it does only return interfaces in UP
> state. So the eth0 is not seen by ipconfig, and your ip= line contains
> no interface. As a result, no config happens if the interface data are
> specified manually.
> this simple patch uses sysfs to find the available interfaces, it adds
> only ethernet links.
Wouldn't it make more sense to fix SIOCGIFCONF in 2.6?
More information about the klibc