pcap error

Moritz Warning <[email protected]> Thu, 05 Oct 2006 04:58:57 +0200
Newsgroups gmane.network.zeroconf.workers
Message-ID <[email protected]>
Hi,

I want to remaster a knoppix cd with zcip installed (zcip release 4) to set an IP address
in case the dhcp client can't provide one.
I made an init script that does this (in short terms):
ifconfig eth0 up
zcip -i eth0

When zcip get started at boot time (after the dhcpc),
I get this:
probing for 169.254.3.94
audit(1160028982.449:2): dev=eth0 prom=256 old_prom=0 auid=4294967295
audit(1160028990.466:3): dev=eth0 prom=0 old_prom=256 auid=4294967295
claiming ownership of address 169.254.3.94
not storing IP for eth0 (not implemented yet!)
succesfully acquired an IP address, backgrounding
all subsequent output will go to the syslog
zcip[2929]: watching for collisions
zcip[2929]: pcap error: recvform: Network is down

After startup, I can see that eth0 is really down.
Somehow eth0 get shut down when the dhcp client is off or didn't set an IP,
maybe it's not related to the dhcp client.
When I start the init script from xterm after bootup, everything works as expected.
It doesn't matter if I disable dhcp.

Maybe someone have encountered similar problems and can help me.

Moritz Warning

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV