You are not logged in.

#1 2015-07-04 12:24:24

wangchong
Member
Registered: 2013-06-25
Posts: 76

[Solved]Cannot get ipv6 address using NetworkManager

On my computer, I cannot access ipv6 site with NetworkManager:

[wangc@wangc-work ~]$ sudo systemctl stop dhcpcd
[wangc@wangc-work ~]$ sudo systemctl start NetworkManager
[wangc@wangc-work ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 60:a4:4c:a9:ac:2e brd ff:ff:ff:ff:ff:ff
    inet 166.111.26.84/23 brd 166.111.27.255 scope global dynamic enp3s0
       valid_lft 3422sec preferred_lft 3422sec

However, using dhcpcd service, I can get access to ipv6 site:

[wangc@wangc-work ~]$ sudo systemctl stop NetworkManager
[wangc@wangc-work ~]$ sudo systemctl start dhcpcd
[wangc@wangc-work ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 60:a4:4c:a9:ac:2e brd ff:ff:ff:ff:ff:ff
    inet 166.111.26.148/23 brd 166.111.27.255 scope global dynamic enp3s0
       valid_lft 3590sec preferred_lft 3590sec
    inet6 2402:f000:1:1a01:9552:77a2:b636:436c/64 scope global noprefixroute dynamic 
       valid_lft 2591999sec preferred_lft 604799sec
    inet6 fe80::30a2:e2b8:c54c:abd8/64 scope link 
       valid_lft forever preferred_lft forever

Why is it this way?

Last edited by wangchong (2015-08-18 12:39:10)

Offline

#2 2015-07-04 12:41:38

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: [Solved]Cannot get ipv6 address using NetworkManager

Who knows?
But if dhcpcd works for you, why bother with something else?

Offline

#3 2015-07-04 13:27:12

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: [Solved]Cannot get ipv6 address using NetworkManager

Just because gnome uses networkmanager

Offline

#4 2015-07-04 13:51:30

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: [Solved]Cannot get ipv6 address using NetworkManager

Luckily there's dhcpcd-gtk which is a GTK+ systemtray application with notifications to monitor the interfaces.
There's also a fairly basic IPv4 setup screen per interface/ssid.
This works very well, on GNOME2, LXDE, XFCE and others.

There's also dhcpcd-qt which does the same, but for Qt based desktops such as KDE4 and LXQT.

I know this is the Arch Linux forum, but GNOME only uses NetworkManager on Linux.
GNOME on other OS's, such as NetBSD, FreeBSD, OpenBSD, QNX, etc have to use something else.  dhcpcd, dhcpcd-gtk and dhcpcd-qt run on those platforms also smile

Offline

#5 2015-07-04 14:33:46

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved]Cannot get ipv6 address using NetworkManager

Did you try telling networkmanager to use dhcpcd?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2015-08-18 11:56:05

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: [Solved]Cannot get ipv6 address using NetworkManager

NetworkManager is using dhclient. However, dhcpcd is disabled in NetworkManager package. (https://projects.archlinux.org/svntogit … 57d17b6cdb)

And:

[wangc@wangc-work ~]$ sudo dhclient -6 -d enp3s0
Internet Systems Consortium DHCP Client 4.3.2
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

no link-local IPv6 address for enp3s0

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.

Last edited by wangchong (2015-08-18 11:59:23)

Offline

#7 2015-08-18 12:38:49

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: [Solved]Cannot get ipv6 address using NetworkManager

I finally solved it by enabling avahi-daemon

Offline

Board footer

Powered by FluxBB