ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

IPv6 issues #47

Open PhotoJim opened 6 years ago

PhotoJim commented 6 years ago

Hi,

I'm having some IPv6 issues . Here's the concise version, and I'll copy/paste the logs from the IRC channel where it was discussed.

IPv6 does not work, except for local connections using the fe80:: local stateless addresses. (IPv6 works normally on the rest of my LAN's devices. Address prefixes and routes are supplied by radvd, and set by stateless autoconfiguration.)

If you look on NetworkManager on the title bar, and click Connection Information, IPv6 addresses are supplied (I have a wired NIC as well as the WiFi connection, both of which are configured). If you look via ip -6 addr ls or ifconfig, however, the only IPv6 addresses visible on the NICs are the fe80:: ones.

Updating the kernel and uImage did not help. Logs below (2017/09/09, UTC-6):

21:13 < PhotoJim> any suggestions of how to get IPv6 working on the default Ubuntu install on the Pinebook? stateless autoconfig works on other machines on the LAN. the NetworkManager popup window shows IPv6 addresses but they don't show up in ifconfig or ip -6 addr ls, and only local traffic works on IPv6 (and it uses the fe80:: addresses) 21:20 -!- Bill [bill@EF2C6D98.B0C14C17.B2EAD268.IP] has quit [Quit: Konversation terminated!] 21:23 -!- kuku [Thunderbir@EE61BE71.39FA62E9.D53DBA0.IP] has joined #Pine64 21:28 <@marcushh777> PhotoJim: what do you mean "default Ubuntu install" ? 21:33 < PhotoJim> marcushh777: the one that was on the device when shipped 21:34 < PhotoJim> marcushh777: the BSP image 21:34 <@marcushh777> ok 21:34 <@marcushh777> please update the image 21:35 <@marcushh777> the default image is badly broken 21:35 <@marcushh777> all of the issues have been fixed by the recent community images 21:36 < PhotoJim> as in install from scratch? or running the kernel and uImage etc. scripts, and doing apt-get update etc.? 21:36 <@marcushh777> use the Pine Installer and load the Pinebook from scratch 21:36 < PhotoJim> ahh, darn, that sucks :) 21:36 <@marcushh777> ... you can try the images first by booting from SD 21:36 <@marcushh777> PhotoJim: it does not suck 21:37 < PhotoJim> I've got everything nicely set up except for IPv6, so yeah, it does suck :) I have to do it all again. 21:37 <@marcushh777> just for grins, please do uname -a for me ? 21:37 <@marcushh777> and post 21:37 < PhotoJim> Linux tanani 3.10.105-bsp-1.2-ayufan-77 #1 SMP PREEMPT Sun Jul 9 12:09:30 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux 21:38 <@marcushh777> hmmm 21:38 <@marcushh777> that's the image it was shipped with ? 21:39 <@marcushh777> interesting 21:39 < PhotoJim> no, that's after running pine64_update_kernel.sh and ..._package and ..._uboot 21:39 <@marcushh777> oh ok 21:39 <@marcushh777> because that's my kernel too; 21:39 < PhotoJim> 0.6.2 I believe 21:40 <@marcushh777> right 21:40 <@marcushh777> that should be ok... 21:40 < PhotoJim> it works perfectly. except for IPv6. 21:40 <@marcushh777> before you do anything to it, you need to talk it over with ayufan 21:40 <@marcushh777> don't screw around with it until you talk to him 21:40 < PhotoJim> ok 21:41 <@marcushh777> I mean, use the Pinebook, just don't mess with the stack 21:41 <@marcushh777> or upgrades or anything like that; 21:41 <@marcushh777> to be honest , I have not even tried IPV6 on mine yet 21:42 <@marcushh777> we need to find out if he's tested it either 21:42 < PhotoJim> it's odd that NetworkManager shows IPv6 addresses if you look in Connection Information, but ip -6 addr ls and ifconfig show nothing but the fe80:: addresses 21:42 <@marcushh777> he was having problems with ethernet ; and got them fixed yesterday 21:43 <@marcushh777> he may still have an issue with IPV6; although, I have not heard anyone speak of it 21:43 <@marcushh777> report it to him, and lets see what he says 21:43 <@marcushh777> ayufan 21:43 <@marcushh777> or ayufan1 21:43 < PhotoJim> where best to notify him? 21:43 < PhotoJim> it's not urgent, this is just an experimental machine 21:43 <@marcushh777> on the github site, or the forum, or find him here 21:44 <@marcushh777> he lives in Poland so, sound asleep right now 21:44 < PhotoJim> k, I'll try to talk to him in here tomorrow (we're UTC-6 here)

ghost commented 6 years ago

Can confirm this is a thing. IPv6 still doesn't work, even after these updates: uname -a: Linux pinebei 3.10.105-bsp-1.2-ayufan-77 #1 SMP PREEMPT Sun Jul 9 12:09:30 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux lsb_release -a: Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty