On Tuesday 07 October 2008 05:31:23 am zhurungang wrote:
>
> Hi :
> I have resolve it. It's my fault.I just +x to zcip.script, issue is
> resolved.
> But another issue is that once I exceute
> #./busybox zcip -v eth0 examples/zcip.script
> config eth0 169.254.x.x
>
> It seems never return, is it right?
Yes:
# ./busybox zcip --help
BusyBox v1.13.0.svn (2008-10-09 15:50:55 CEST) multi-call binary
Usage: zcip [OPTIONS] ifname script
Manage a ZeroConf IPv4 link-local address
Options:
-f Run in foreground
-q Quit after address (no daemon)
-r 169.254.x.x Request this address first
-v Verbose
Existence of option -q clearly implies that otherwise
it won't exit. It will monitor ARPs and don't let
other hosts to use them. (Not sure this is the best
approach as kernel will do it on its own,
but this is what current code does.)
> When I compulsorily terminate it and execute #./busybox zcip -v eth0
> examples/zcip.script again, I will get the error
> "config eth0 169.254.x.x
> RTNETLINK answers: File exists
> zcip: script examples/zcip.script faulted,exit=2"
> What's wrong with it? What's the File? how I could resolve this ?
zcip obtained the same IP address, and
examples/zcip.script tries to configure it again,
but interface already has it! Kernel returns EEXIST,
and error printing code displays "File exists",
which is somewhat confusing.
> Because it is my first time to use zcip, could somebody help me. Thanks a
> lot!
Use busybox more recent than 1.5.x.
Something is wrong with your mail program, it formats
your mails in bizarre ways.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox