[klibc] problems with ipconfig command (no static config possible)
H. Peter Anvin
hpa at zytor.com
Sun Aug 15 15:00:52 PDT 2004
Dirk von Suchodoletz wrote:
>
>>Sounds like a bug that needs to be fixed. I'll look at it shortly.
>>
>>A good way to debug klibc programs is to use strace; the sequence of system
>>calls is usually quite clean.
>
>
> lsfks10:/tmp/klibc-0.160 # strace ipconfig/static/ipconfig -c none
> ip=127.0.0.1::::lo:none
This command line is wrong; there is a colon missing.
It should be
"ip=127.0.0.1:::::lo:none"
The format at least according to ipconfig is:
ip=<myip>:<serverip>:<gwip>:<netmask>:<hostname>:<device>:<protocol>
-hpa
More information about the klibc
mailing list