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

Dirk von Suchodoletz dirk at goe.net
Sun Aug 15 14:33:17 PDT 2004


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

and the example given in the README does not work too:

ipconfig/static/ipconfig ip=127.0.0.1::::lo:none
SIOCGIFINDEX: No such device
ipconfig/static/ipconfig: no devices to configure

(I tried without "ip=" too, but no differences)

I got a version from Olaf Hering of SuSE which at least was able to set 
the IP number statically the way examples above. Unfortunately this 
version does not honour the netmask settings :-( So I'm running into 
trouble because the automatic setting of the 132.X.Y.Z delivers a class B 
netmask (and not class C as required).

Any ideas?

	Dirk



More information about the klibc mailing list