PINE64
IPv6 autoconfig not working on new pinebook - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: General Discussion on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=77)
+--- Thread: IPv6 autoconfig not working on new pinebook (/showthread.php?tid=6756)



IPv6 autoconfig not working on new pinebook - acruhl - 11-08-2018

Not sure if this is the right place for this but I'll try.

I got my new 1080p 11.6" pinebook yesterday, I'm typing this post on it. Fun.

It still has the OS it shipped with (don't even know what it's called).

IPv6 autoconfig is not working. I don't get a global address. It works on my Mac on the same networks (meaning I get a global address on it). I'm more of a BSD guy than Linux, so I'm probably missing something.

I wiresharked the router solicitation and advertisement. The solicitation is not the same as the Mac and I'm not sure if that matters. The advertisement from the router is the same one the Mac uses successfully though.

IPv6 does work, I can ping the link local address on other systems. Just no global address so I can get to the internet with IPv6.

Hopefully someone can point me in the right direction?

Thanks.


RE: IPv6 autoconfig not working on new pinebook - Luke - 11-08-2018

Sadly I am not the right person to address your issue (someone with answers will likely show up soon), just here to comment that all major *BSDs are available for the Pinebook, since you mentioned you're more of a BSD guy. Most recant NetBSD can be found here.


RE: IPv6 autoconfig not working on new pinebook - acruhl - 11-08-2018

Thanks.

Yeah there's some chatter on the NetBSD mailing list about the latest 1080p pinebook. I might try it on a microsd at some point.

I tried another thing. I used the GUI network configuration tool to add a static IPv6 address and it never showed up if I did ip a.

Something seems broken or not set to accept global addresses. Link local still works.


RE: IPv6 autoconfig not working on new pinebook - evilbunny - 11-09-2018

(11-08-2018, 10:55 PM)acruhl Wrote:  if I did ip a


I did the same, and nothing showed up so I did:


Code:
ip -6 ro



and my ipv6 address shows up but it isn't usable. I'm kinda stumped why it doesn't work properly though, usually it just works.


RE: IPv6 autoconfig not working on new pinebook - acruhl - 11-09-2018

I see my 2 /64 prefixes which are coming from router advertisements, but not actual addresses.


RE: IPv6 autoconfig not working on new pinebook - cvmiller - 11-15-2018

This is a systemd bug (there are many for IPv6, btw). Not a great solution, but restarting systemd-networkd will get SLAAC working again. Oh, btw, you will need to do that after every sleep (gotta love systemd). I have created an alias to make things go faster.

# fix stupid systemd
alias 6fix='sudo systemctl restart systemd-networkd'


RE: IPv6 autoconfig not working on new pinebook - acruhl - 11-17-2018

That doesn't work for me. Already tried it.

I started to dig into this but then gave up. I know it can work because my RPIs work fine. They are using dhcpcd which handles SLAAC. This one (KDE Neon) is using dhclient and some other stuff I haven't seen before.

IPv6 works on the Pinebook with NetBSD just fine.


RE: IPv6 autoconfig not working on new pinebook - cvmiller - 11-18-2018

Yeah, sorry, you have to enable _dhcp_ in the /etc/systemd/network/wlan0.network file. Create the file and then restart systemd-networkd (as stated above) Here's that you need in the file:

[match]
Name=wlan0

[Network]
DHCP=yes

"Pv6 works on the Pinebook with NetBSD just fine. "

That's because NetBSD is smart enough to _NOT_ use systemd.


RE: IPv6 autoconfig not working on new pinebook - acruhl - 11-19-2018

(11-18-2018, 12:14 PM)cvmiller Wrote: Yeah, sorry, you have to enable _dhcp_ in the /etc/systemd/network/wlan0.network file. Create the file and then restart systemd-networkd (as stated above) Here's that you need in the file:

[match]
Name=wlan0

[Network]
DHCP=yes

"Pv6 works on the Pinebook with NetBSD just fine. "

That's because NetBSD is smart enough to _NOT_ use systemd.

Wow look at that, global IPv6 works now... Thanks.

Maybe someone should do this when they package the OS? Is there somewhere to open a bug?


RE: IPv6 autoconfig not working on new pinebook - cvmiller - 11-21-2018

This seems to be an issue with systemd version 237 (which is what Neon KDE is running). It appears to be fixed in systemd v239 (which is in another image, forget which). You can see which version of systemd you are running by typing:

/lib/systemd/systemd --version