tech-net archive

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

Re: pppoe, dhcpcd v6 and renew



On 14/11/2017 18:35, Manuel Bouyer wrote:
On Tue, Nov 14, 2017 at 04:55:03PM +0000, Roy Marples wrote:
On 14/11/2017 05:06, Roy Marples wrote:
dhcpcd did try and start the interface, but didn't actually do anything.
Can you try the attached patch please?
I've only compile tested it and won't be able to actually try it for a
while.

So that patch caused a few other problems.
This one is more invasive but fixes a whole raft of issues related to not
removing addresses on carrier down, which is exclusive to NetBSD-8.

Let me know how it works!

I had to fix a conflict for netbsd-8, here's the updated patch.

dhcpcd is now more verbose:
Nov 14 19:29:43 chassiron /netbsd: pppoe0: LCP keepalive timed out, going to restart the connection
Nov 14 19:29:43 chassiron dhcpcd[25536]: pppoe0: carrier lost
Nov 14 19:30:48 chassiron /netbsd: pppoe0: connected to lns-1-par-se100
Nov 14 19:30:48 chassiron dhcpcd[25536]: pppoe0: carrier acquired
Nov 14 19:30:48 chassiron dhcpcd[25536]: pppoe0: IAID 00:00:00:06
Nov 14 19:30:48 chassiron dhcpcd[25536]: pppoe0: IAID 00:00:00:00
Nov 14 19:30:50 chassiron dhcpcd[25536]: pppoe0: rebinding prior DHCPv6 lease

But it didn't send anything on the pppoe0 interface (confirmed by a tcpdump).

That's a pity.
I think there's another path needed, but the changelog doesn't give much clue from what's in NetBSD-8 (or from what's in -current).

Can you try my latest git HEAD? I'll be doing an import soon if that fixes :)
https://roy.marples.name/git/dhcpcd.git/

Thanks

Roy


Home | Main Index | Thread Index | Old Index