I can't seem to have whereami get a lock on the DHCP server... anytime
it tries, it somehow 'cripples' the DHCP client for the session, and
only reloading the ipw module seems to solve this. This happens with
pump, dhclient and dhcpcd. What's even weirder is that the following
sequence actually does what is intended:
rmmod ipw2200
modprobe ipw2200
iwconfig eth1 essid my_essid
export INTERFACE=eth1
/usr/share/whereami/tests/testdhcp restart

Running with --debug seems to yield non-interesting results, but they
are attached anyway, as is detect.conf. Much thanks to any helpers.

testdhcp_proper - running testdhcp restart with INTERFACE=eth1,
DEBUGWHEREAMI=1, after loading the module and setting the ESSID
myself.
whereami_improper - running whereami --debug - note that the module is
correctly reloaded, the essid is correctly set, iwconfig shows good
link quality, and DHCP fails anyway.


--
To necessity... and beyond!

Ohad Lutzky

Attachment: testdhcp_proper
Description: Binary data

Attachment: detect.conf
Description: Binary data

Attachment: whereami_improper
Description: Binary data

Reply via email to