Modify

Opened 6 years ago

Closed 3 years ago

#11051 closed defect (wontfix)

wide-dhcpv6-client: generating DUID fails

Reported by: fsok_2001@… Owned by: developers
Priority: normal Milestone: Netifd Implementation
Component: packages Version: Trunk
Keywords: Cc:

Description

dhcp6c listens on device "pppoe-wan". Sometimes, when my pppoe link was broken and reconnects again automatically, dhcp6c tries to derive the DUID from the wrong interface. Normally it uses the MAC address of the ethernet interface on which the modem is connected to. (correct interface="eth0.1", wrong interface="pppoe-wan")

Feb 27 21:57:46 gate user.notice dhcp6c: starting dhcp6c
Feb 27 21:57:48 gate user.notice dhcp6c: Unable to derive DUID from interface 'pppoe-wan' and no valid user DUID given
Feb 27 21:57:48 gate daemon.err dhcp6c[5520]: get_duid: DUID file corrupted
Feb 27 21:57:48 gate daemon.err dhcp6c[5520]: client6_init: failed to get a DUID

When I then manually reconnect the link via "ifdown wan" and "ifup wan", the correct DUID is generated.

Attachments (0)

Change History (8)

comment:1 Changed 6 years ago by bogdan.bivolaru@…

Also affects me, router Netgear WNDR 3800.

comment:2 Changed 6 years ago by jow

  • Milestone changed from Attitude Adjustment (trunk) to Netifd Implementation
  • Version changed from 10.03.1 to Trunk

comment:3 Changed 6 years ago by anonymous

Same thing happen to me.

comment:4 follow-up: Changed 6 years ago by jow

Try a build with netifd and see if the issue persists there.

comment:5 in reply to: ↑ 4 Changed 6 years ago by anonymous

Replying to jow:

Try a build with netifd and see if the issue persists there.

How do I find a build with netifd? I assume there isn't something precompiled for my router?
Should I try the snapshots or make my own build from svn sources?

comment:6 Changed 5 years ago by anonymous

A different anonymous here.

I had this problem with stock Backfire 10.03.1. I had a look in "/etc/init.d/dhcp6c" and the problem could have been from line 19: 'config_get device "$interface" device' which does not find a valid configuration.

So, to make line 19 work, I added the following to "/etc/config/dhcp6c"...

config 'interface' 'wan'

option 'device' 'eth0.1'

...but this could be a spectacularly bad idea. I'm sure someone will tell us if that is the case.

comment:7 Changed 5 years ago by anonymous

Replying to anonymous:

Another workaround is to set the DUID manually in "/etc/config/dhcp6c" with "option 'duid'".

comment:8 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

wide-dhcpv6 is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.