Re: Re: Testing dhcpcd against TAHI (ipv6)
Shahid Mahmood
Tue Mar 29 15:33:51 2016
Here it is:
-------------
# cat dhcpcd.*
debug
logfile /xx/dhcpcd.log
interface eth0
ia_na
Mar 29 03:15:54 dhcpcd-6.10.1 starting
Mar 29 03:15:55 forking to background
Mar 29 03:15:55 forked to background, child pid 515
Mar 29 03:15:55 eth0: executing `/libexec/dhcpcd-run-hooks' PREINIT
Mar 29 03:15:55 script_runreason: /libexec/dhcpcd-run-hooks: WEXITSTATUS 127
Mar 29 03:15:55 eth0: executing `/libexec/dhcpcd-run-hooks' CARRIER
Mar 29 03:15:55 script_runreason: /libexec/dhcpcd-run-hooks: WEXITSTATUS 127
Mar 29 03:15:55 DUID 00:01:00:01:1e:85:14:af:6c:a8:49:86:5c:59
Mar 29 03:15:55 eth0: IAID 49:86:5c:59
Mar 29 03:15:55 eth0: delaying IPv6 router solicitation for 0.6 seconds
Mar 29 03:15:55 eth0: reading lease `/var/db/dhcpcd-eth0.lease6'
Mar 29 03:15:55 eth0: confirming prior DHCPv6 lease
Mar 29 03:15:55 eth0: delaying CONFIRM6 (xid 0x6cd09f), next in 0.2 seconds
Mar 29 03:15:55 eth0: broadcasting CONFIRM6 (xid 0x6cd09f), next in 0.9
seconds
Mar 29 03:15:55 eth0: soliciting an IPv6 router
Mar 29 03:15:55 eth0: sending Router Solicitation
Mar 29 03:15:56 eth0: broadcasting CONFIRM6 (xid 0x6cd09f), next in 1.8
seconds
Mar 29 03:15:58 eth0: broadcasting CONFIRM6 (xid 0x6cd09f), next in 3.8
seconds
Mar 29 03:15:59 eth0: sending Router Solicitation
Mar 29 03:16:01 eth0: broadcasting CONFIRM6 (xid 0x6cd09f), next in 4.2
seconds
Mar 29 03:16:03 eth0: sending Router Solicitation
Mar 29 03:16:05 eth0: failed to confirm prior address
Mar 29 03:16:05 eth0: soliciting a DHCPv6 lease
Mar 29 03:16:05 eth0: delaying SOLICIT6 (xid 0x647c28), next in 0.7 seconds
Mar 29 03:16:05 eth0: broadcasting SOLICIT6 (xid 0x647c28), next in 1.1
seconds
Mar 29 03:16:06 received SIGTERM, stopping
Mar 29 03:16:06 eth0: removing interface
Mar 29 03:16:06 eth0: executing `/libexec/dhcpcd-run-hooks' STOPPED
Mar 29 03:16:06 script_runreason: /libexec/dhcpcd-run-hooks: WEXITSTATUS 127
Mar 29 03:16:06 dhcpcd exited
On Tue, Mar 29, 2016 at 10:15 AM, Shahid Mahmood <shahid.avaya@xxxxxxxxx>
wrote:
> sorry, I missed that 'debug' line in the config. I will re-test shortly
> and post the results.
>
>
> Thanks again.
>
>
>
> On Tue, Mar 29, 2016 at 10:02 AM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
>> On 29/03/2016 14:14, Shahid Mahmood wrote:
>> > (I am unable to access http://roy.marples.name or the mailing list
>> > archive, so not sure if my last post ever reached the server. Sending
>> > again).
>> > -----
>> > Full log is not possible as the testing unit take control of the target
>> > device over serial port. I assigned an ipv4 address manually to query
>> > adapter status.
>>
>> A full log is possible.
>>
>> You use this at the top of dhcpcd.conf, before any interface directives:
>> debug
>> logfile /var/log/dhcpcd.log
>>
>> Once the test is done, /var/log/dhcpcd.log should be quite descriptive
>> of what dhcpcd does.
>>
>> I used this config file:
>> debug
>> logfile /var/log/dhcpcd.log
>> interface iwn0
>> ia_na
>>
>> Works fine for me, an address is assigned to iwn0.
>>
>> Roy
>>
>
>
Archive administrator: postmaster@marples.name