[klibc] problems with ipconfig command (no static config possible)

H. Peter Anvin hpa at zytor.com
Sun Aug 15 15:00:49 PDT 2004


Dirk von Suchodoletz wrote:
> Hi! I'm using klibc to boot linux diskless clients (slightly modified SuSE 
> distribution) over the network. I like the idea of the klibc concept to 
> have a small and compact ramdisk environment. Unfortunately the ipconfig 
> command is not doing as intended :-(
> 
> Testing on a normal machine just delivers for the last stable:
> 
> klibc-0.157/ipconfig # static/ipconfig ip=132.230.4.50:132.230.4.180:132.230.4.254:255.255.255.0:eth0:none
> SIOCGIFINDEX: No such device
> static/ipconfig: no devices to configure
> 
> same with last testing:
> 
> klibc-0.160 # ipconfig/static/ipconfig 
> ip=132.230.4.50:132.230.4.180:132.230.4.254:255.255.255.0:eth0:none
> SIOCGIFINDEX: No such device
> ipconfig/static/ipconfig: no devices to configure
> 

Again, add an extra : before eth0 and it should work...

Now, if this is a field which the kernel ip= option doesn't use then 
that should be fixed.

	-hpa



More information about the klibc mailing list