riskable Posted November 29, 2016 Share Posted November 29, 2016 I just booted up a fresh install of Armbian 5.24 (Armbian_5.24.161128_Orangepizero_Ubuntu_xenial_3.4.113) on my Orange Pi Zero and I can't seem to get IPv6 working. It worked fine on Armbian 5.22. It's like the dhclient command isn't able to set the address or the address is silently getting dropped or something. Setting ipv6 address via dhclient fails for both eth0 and wlan0. I ran dhclient by hand to see if a problem would be listed in the output but there's nothing: root@orangepizero:/var/lib/NetworkManager# /sbin/dhclient -d -v -6 -N -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient6-wlan0.pid -lf /var/lib/NetworkManager/dhclient6-1cfb9f48-cd01-4176-b6e1-bd69daabe363-wlan0.lease -cf /var/lib/NetworkManager/dhclient6- wlan0.conf wlan0 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on Socket/wlan0 Sending on Socket/wlan0 PRC: Confirming active lease (INIT-REBOOT). XMT: Forming Confirm, 0 ms elapsed. XMT: X-- IA_NA 6d:ba:2b:45 XMT: | X-- Confirm Address fd69:removed XMT: V IA_NA appended. XMT: Confirm on wlan0, interval 980ms. RCV: Reply message on wlan0 from fe80::removed. RCV: X-- IA_NA 6d:ba:2b:45 RCV: | X-- starts 1480454860 RCV: | X-- t1 - renew +0 RCV: | X-- t2 - rebind +0 RCV: | X-- [Options] RCV: X-- Server ID: 00:00:00:00:00:00:00:00:00:00 message status code NotOnLink. PRC: Soliciting for leases (INIT). XMT: Forming Solicit, 0 ms elapsed. XMT: X-- IA_NA 6d:ba:2b:45 XMT: | X-- Request renew in +3600 XMT: | X-- Request rebind in +5400 XMT: Solicit on wlan0, interval 1060ms. RCV: Advertise message on wlan0 from fe80::removed. RCV: X-- IA_NA 6d:ba:2b:45 RCV: | X-- starts 1480454860 RCV: | X-- t1 - renew +21600 RCV: | X-- t2 - rebind +34560 RCV: | X-- [Options] RCV: | | X-- IAADDR fd69:removed RCV: | | | X-- Preferred lifetime 4294967295. RCV: | | | X-- Max lifetime 4294967295. RCV: X-- Server ID: 00:03:00:01:a0:04:60:15:57:ca RCV: Advertisement recorded. PRC: Selecting best advertised lease. PRC: Considering best lease. PRC: X-- Initial candidate 00:00:00:00:00:00:00:00:00:00 (s: 154, p: 0). XMT: Forming Request, 0 ms elapsed. XMT: X-- IA_NA 6d:ba:2b:45 XMT: | X-- Requested renew +3600 XMT: | X-- Requested rebind +5400 XMT: | | X-- IAADDR fd69:removed XMT: | | | X-- Preferred lifetime +7200 XMT: | | | X-- Max lifetime +7500 XMT: V IA_NA appended. XMT: Request on wlan0, interval 1030ms. RCV: Reply message on wlan0 from fe80::removed. RCV: X-- IA_NA 6d:ba:2b:45 RCV: | X-- starts 1480454861 RCV: | X-- t1 - renew +21600 RCV: | X-- t2 - rebind +34560 RCV: | X-- [Options] RCV: | | X-- IAADDR fd69:removed RCV: | | | X-- Preferred lifetime 4294967295. RCV: | | | X-- Max lifetime 4294967295. RCV: X-- Server ID: 00:00:00:00:00:00:00:00:00:00 PRC: Bound to lease 00:00:00:00:00:00:00:00:00:00. PRC: Renewal event scheduled in 21600 seconds, to run for 12960 seconds. For reference: Yes, IPv6 works just fine on my network thank you very much. Just not the Orange Pi Zero (with yesterday's build: 5.24). I checked to see if there were any errors in /var/log/syslog or dmesg to indicate what the problem might be but there's nothing! It's baffling. Link to comment Share on other sites More sharing options...
Igor Posted November 30, 2016 Share Posted November 30, 2016 Strange. I don't find anything suspicious in our work. Can you try self build version? I'll cleanup all build cache and let's see if this will fix anything. What about without Network manager? Link to comment Share on other sites More sharing options...
ErwinH Posted November 30, 2016 Share Posted November 30, 2016 My OrangePi zero running: "Linux orangepizero 4.9.0-sun8i #7 SMP Fri Nov 25 09:59:31 CET 2016 armv7l armv7l armv7l GNU/Linux" with megi's branch is perfectly able to communicate via IPv6: root@orangepizero:~# ping6 -c 4 ipv6.google.com PING google.com(ams16s22-in-x0e.1e100.net) 56 data bytes 64 bytes from ams16s22-in-x0e.1e100.net: icmp_seq=1 ttl=56 time=5.24 ms 64 bytes from ams16s22-in-x0e.1e100.net: icmp_seq=2 ttl=56 time=4.62 ms 64 bytes from ams16s22-in-x0e.1e100.net: icmp_seq=3 ttl=56 time=4.24 ms 64 bytes from ams16s22-in-x0e.1e100.net: icmp_seq=4 ttl=56 time=4.39 ms --- google.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3005ms rtt min/avg/max/mdev = 4.242/4.624/5.243/0.387 ms I'm not running a DHCPv6 server but using Router Advertisements and my Zero is connected via ethernet only. Link to comment Share on other sites More sharing options...
g3ntleman Posted July 10, 2017 Share Posted July 10, 2017 I'm seeing global IPv6 addresses coming in from dhclient, but those are not getting added to the respective interfaces (both ethernet and wlan connected to my home lan), which has perfect ipv6 connectivity from my provider NetCologne. This is on ARMBIAN 5.30 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i. I omitted the latest upgrades via apt because they break the internal wlan support. root@orangepi:~# /sbin/dhclient -d -v -6 -N -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient6-wlan0.pid -lf /var/lib/NetworkManager/dhclient6-1cfb9f48-cd01-4176-b6e1-bd69daabe363-wlan0.lease -cf /var/lib/NetworkManager/dhclient6-wlan0.conf wlan0 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on Socket/wlan0 Sending on Socket/wlan0 Created duid \000\001\000\001 \365\376\335\334Dm\027\260\363. PRC: Soliciting for leases (INIT). XMT: Forming Solicit, 0 ms elapsed. XMT: X-- IA_NA 6d:17:b0:f3 XMT: | X-- Request renew in +3600 XMT: | X-- Request rebind in +5400 XMT: Solicit on wlan0, interval 1090ms. RCV: Advertise message on wlan0 from fe80::3681:c4ff:fe02:bd0. RCV: X-- Preference 0. RCV: X-- IA_NA 6d:17:b0:f3 RCV: | X-- starts 1499677278 RCV: | X-- t1 - renew +1800 RCV: | X-- t2 - rebind +2880 RCV: | X-- [Options] RCV: | | X-- IAADDR 2001:4dd1:9e0d:0:de44:6dff:fe17:b0f3 RCV: | | | X-- Preferred lifetime 3600. RCV: | | | X-- Max lifetime 7200. RCV: X-- Server ID: 00:03:00:01:34:81:c4:02:0b:d0 RCV: Advertisement recorded. PRC: Selecting best advertised lease. PRC: Considering best lease. PRC: X-- Initial candidate 00:03:00:01:34:81:c4:02:0b:d0 (s: 154, p: 0). XMT: Forming Request, 0 ms elapsed. XMT: X-- IA_NA 6d:17:b0:f3 XMT: | X-- Requested renew +3600 XMT: | X-- Requested rebind +5400 XMT: | | X-- IAADDR 2001:4dd1:9e0d:0:de44:6dff:fe17:b0f3 XMT: | | | X-- Preferred lifetime +7200 XMT: | | | X-- Max lifetime +7500 XMT: V IA_NA appended. XMT: Request on wlan0, interval 950ms. RCV: Reply message on wlan0 from fe80::3681:c4ff:fe02:bd0. RCV: X-- Preference 0. RCV: X-- IA_NA 6d:17:b0:f3 RCV: | X-- starts 1499677279 RCV: | X-- t1 - renew +1800 RCV: | X-- t2 - rebind +2880 RCV: | X-- [Options] RCV: | | X-- IAADDR 2001:4dd1:9e0d:0:de44:6dff:fe17:b0f3 RCV: | | | X-- Preferred lifetime 3600. RCV: | | | X-- Max lifetime 7200. RCV: X-- Server ID: 00:03:00:01:34:81:c4:02:0b:d0 PRC: Bound to lease 00:03:00:01:34:81:c4:02:0b:d0. PRC: Renewal event scheduled in 1798 seconds, to run for 1080 seconds. PRC: Depreference scheduled in 3598 seconds. PRC: Expiration scheduled in 7198 seconds. q^C root@orangepi:~# ifconfig eth0 Link encap:Ethernet HWaddr ee:33:84:c2:bb:85 inet addr:192.168.178.65 Bcast:192.168.178.255 Mask:255.255.255.0 inet6 addr: fe80::ec33:84ff:fec2:bb85/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4228 errors:0 dropped:177 overruns:0 frame:0 TX packets:57 errors:1 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:559510 (559.5 KB) TX bytes:7488 (7.4 KB) Interrupt:114 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:178 errors:0 dropped:0 overruns:0 frame:0 TX packets:178 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:12073 (12.0 KB) TX bytes:12073 (12.0 KB) wlan0 Link encap:Ethernet HWaddr dc:44:6d:17:b0:f3 inet addr:192.168.178.72 Bcast:192.168.178.255 Mask:255.255.255.0 inet6 addr: fe80::de44:6dff:fe17:b0f3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2129 errors:0 dropped:5 overruns:0 frame:0 TX packets:219 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:279429 (279.4 KB) TX bytes:45057 (45.0 KB) wlx60e3271cfcf4 Link encap:Ethernet HWaddr 60:e3:27:1c:fc:f4 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@orangepi:~# ping6 -c 4 ipv6.google.com PING ipv6.google.com(ams15s29-in-x0e.1e100.net) 56 data bytes From ams15s29-in-x0e.1e100.net icmp_seq=1 Destination unreachable: Beyond scope of source address Link to comment Share on other sites More sharing options...
Haringstad Posted August 5, 2017 Share Posted August 5, 2017 I wonder if the IPv6 option is actually in the kernel, or compiled as a module. I don't seem to find it anywhere on my brand new 5.31 install. Link to comment Share on other sites More sharing options...
Menion Posted August 22, 2017 Share Posted August 22, 2017 Same problem here, happened with some kernel upgrade on the 4.11.y branch, on Allwinner H5 The dhcpclient just don't get any IPv6 address. It was working few weeks ago, but unfortunately I cannot say when it stopped to work, since I didn't care of IPv6 at all the update I did Link to comment Share on other sites More sharing options...
Recommended Posts