Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dhcpcd testing



On Sat, 2 Aug 2008, Roy Marples wrote:

On Sat, 2008-08-02 at 09:20 -0700, Hisashi T Fujinaka wrote:
Oh, duh, missed the comment about syslog:

Aug  2 09:05:13 amttest dhcpcd[232]: wm0: dhcpcd 4.0.0-rc3 starting
Aug  2 09:05:13 amttest dhcpcd[232]: wm0: hardware address = 00:16:76:b4:f3:68
Aug  2 09:05:13 amttest dhcpcd[232]: wm0: broadcasting for a lease
Aug  2 09:05:13 amttest dhcpcd[232]: wm0: offered 192.168.1.52 from 192.168.1.21
Aug  2 09:05:13 amttest dhcpcd[232]: wm0: acknowledged 192.168.1.52 from 
192.168.1.21
Aug  2 09:05:13 amttest dhcpcd[232]: wm0: checking 192.168.1.52 is available on 
attached networks
Aug  2 09:05:18 amttest dhcpcd[232]: wm0: leased 192.168.1.52 for 43200 seconds
Aug  2 09:06:17 amttest dhcpcd[232]: wm0: received SIGINT, stopping
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: dhcpcd 4.0.0-rc3 starting
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: hardware address = 00:16:76:b4:f3:68
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: broadcasting for a lease
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: offered 192.168.1.52 from 192.168.1.21
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: acknowledged 192.168.1.52 from 
192.168.1.21
Aug  2 09:06:34 amttest dhcpcd[657]: wm0: checking 192.168.1.52 is available on 
attached networks
Aug  2 09:06:38 amttest dhcpcd[657]: wm0: leased 192.168.1.52 for 43200 seconds

Interesting - no errors reported. Do you have any processes that might
be removing the address? Try adding -d to dhcpcd flags for more debug
output.

Weird. I used the "-d" flag in rc.conf and it doesn't daemonize, of
course. I saw some messages on screen that aren't in the dmesg or the
syslog after the address should have been set about arps being lost and
then the "carrier lost" message comes up.

Aug 2 18:34:50 amttest dhcpcd[404]: wm0: dhcpcd not running Aug 2 18:34:50 amttest dhcpcd[523]: wm0: dhcpcd not running Aug 2 18:34:50 amttest dhcpcd[523]: wm0: dhcpcd 4.0.0-rc3 starting
Aug  2 18:34:51 amttest dhcpcd[523]: wm0: hardware address = 00:16:76:b4:f3:68
Aug 2 18:34:51 amttest dhcpcd[523]: wm0: waiting for carrier Aug 2 18:34:52 amttest dhcpcd[523]: wm0: carrier acquired Aug 2 18:34:52 amttest dhcpcd[523]: wm0: broadcasting for a lease Aug 2 18:34:52 amttest dhcpcd[523]: wm0: offered 192.168.1.52 from 192.168.1.21
Aug  2 18:34:52 amttest dhcpcd[523]: wm0: acknowledged 192.168.1.52 from 
192.168.1.21
Aug  2 18:34:52 amttest dhcpcd[523]: wm0: checking 192.168.1.52 is available on 
attached networks
Aug  2 18:34:58 amttest dhcpcd[523]: wm0: carrier lost
Aug  2 18:35:31 amttest dhcpcd[523]: wm0: timed out
Aug  2 19:56:11 amttest dhcpcd[620]: dhcpcd: no interface specified
Aug  2 19:56:14 amttest dhcpcd[616]: wm0: dhcpcd 4.0.0-rc3 starting
Aug  2 19:56:14 amttest dhcpcd[616]: wm0: hardware address = 00:16:76:b4:f3:68
Aug 2 19:56:14 amttest dhcpcd[616]: wm0: broadcasting for a lease Aug 2 19:56:14 amttest dhcpcd[616]: wm0: offered 192.168.1.52 from 192.168.1.21
Aug  2 19:56:14 amttest dhcpcd[616]: wm0: acknowledged 192.168.1.52 from 
192.168.1.21
Aug  2 19:56:14 amttest dhcpcd[616]: wm0: checking 192.168.1.52 is available on 
attached networks
Aug  2 19:56:19 amttest dhcpcd[616]: wm0: leased 192.168.1.52 for 43200 seconds


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index