You are not logged in.

#1 2018-04-10 03:10:21

edeustua
Member
Registered: 2016-07-01
Posts: 4

[SOLVED] IPv6 SLAAC not working with netctl

Hi!

I'm having this very weird problem. I can't seem to get a SLAAC IPv6 with netctl. I know that the RA is working properly because all other devices in the network are able to receive an IP and I can even get one in the problematic computer if I manually run dhcpcd. I've tracked the problem down to

net.ipv6.conf.INTERFACE.accept_ra=1

not being set in sysctl. But the weirdest part of all this, is that if I try to restart the netctl profile, the ipv6 link-local address would not even come back, so I'm guessing there is a bigger issue here. I've been digging into the netctl scripts in order to troubleshoot this problem, but I can't seem to find the problem.

The profile looks like this,

Description='Automatically generated profile by wifi-menu'
Interface=wlp4s0
Connection=wireless
Security=wpa
ESSID=The-White-Visitation
IP=dhcp
IP6=stateless

the journalctl log,

Apr 09 22:53:33 cottonmouth systemd[1]: Stopping Networking for netctl profile wlp4s0-The-White-Visitation...
Apr 09 22:53:33 cottonmouth network[22221]: Stopping network profile 'wlp4s0-The-White-Visitation'...
Apr 09 22:53:33 cottonmouth network[22221]: DEBUG: network_stop: eval
Apr 09 22:53:33 cottonmouth network[22221]: DEBUG: dhcpcd_stop: dhcpcd -4 -q -x wlp4s0
Apr 09 22:53:33 cottonmouth dhcpcd[22226]: sending signal TERM to pid 17029
Apr 09 22:53:33 cottonmouth dhcpcd[22226]: waiting for pid 17029 to exit
Apr 09 22:53:33 cottonmouth dhcpcd[17029]: received SIGTERM, stopping
Apr 09 22:53:33 cottonmouth dhcpcd[17029]: wlp4s0: removing interface
Apr 09 22:53:33 cottonmouth dhcpcd[17029]: dhcpcd exited
Apr 09 22:53:33 cottonmouth network[22221]: DEBUG: wpa_destroy_config_file: rm -f /run/netctl/wpa_supplicant-wlp4s0.conf
Apr 09 22:53:33 cottonmouth network[22221]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant terminate
Apr 09 22:53:33 cottonmouth kernel: wlp4s0: deauthenticating from f4:f2:6d:a2:81:78 by local choice (Reason: 3=DEAUTH_LEAVING)
Apr 09 22:53:33 cottonmouth kernel: wlp4s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
Apr 09 22:53:33 cottonmouth network[22221]: DEBUG: network_status: systemd-notify --status=
Apr 09 22:53:33 cottonmouth network[22221]: Stopped network profile 'wlp4s0-The-White-Visitation'
Apr 09 22:53:33 cottonmouth systemd[1]: Stopped Networking for netctl profile wlp4s0-The-White-Visitation.
Apr 09 22:53:33 cottonmouth systemd[1]: Starting Networking for netctl profile wlp4s0-The-White-Visitation...
Apr 09 22:53:33 cottonmouth network[22241]: Starting network profile 'wlp4s0-The-White-Visitation'...
Apr 09 22:53:33 cottonmouth network[22241]: DEBUG: wpa_start: wpa_supplicant -q -B -P /run/wpa_supplicant-wlp4s0.pid -i wlp4s0 -D nl80211,wext -c/run/netctl/wpa_supplicant-wlp4s0.conf
Apr 09 22:53:34 cottonmouth kernel: IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
Apr 09 22:53:34 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:34 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:34 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:34 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:34 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:35 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:35 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:35 cottonmouth ntpd[2332]: Deleting interface #12 wlp4s0, 192.168.1.136#123, interface stats: received=52, sent=52, dropped=0, active_time=892 secs
Apr 09 22:53:35 cottonmouth ntpd[2332]: 172.98.193.44 local addr 192.168.1.136 -> <null>
Apr 09 22:53:35 cottonmouth ntpd[2332]: 142.4.196.99 local addr 192.168.1.136 -> <null>
Apr 09 22:53:35 cottonmouth ntpd[2332]: 50.22.155.163 local addr 192.168.1.136 -> <null>
Apr 09 22:53:35 cottonmouth ntpd[2332]: 162.210.110.4 local addr 192.168.1.136 -> <null>
Apr 09 22:53:35 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:35 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:35 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:36 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:36 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:36 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:36 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:37 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:37 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: authenticate with f4:f2:6d:a2:81:78
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: send auth to f4:f2:6d:a2:81:78 (try 1/3)
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: authenticated
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: associate with f4:f2:6d:a2:81:78 (try 1/3)
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: RX AssocResp from f4:f2:6d:a2:81:78 (capab=0x31 status=0 aid=10)
Apr 09 22:53:37 cottonmouth kernel: wlp4s0: associated
Apr 09 22:53:37 cottonmouth kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
Apr 09 22:53:37 cottonmouth network[22241]: DEBUG: wpa_call: wpa_cli -i wlp4s0 -p /run/wpa_supplicant status
Apr 09 22:53:37 cottonmouth network[22241]: DEBUG: network_ready: systemd-notify --ready
Apr 09 22:53:37 cottonmouth systemd[1]: Started Networking for netctl profile wlp4s0-The-White-Visitation.
Apr 09 22:53:37 cottonmouth sudo[22216]: pam_unix(sudo:session): session closed for user root
Apr 09 22:53:37 cottonmouth network[22241]: DEBUG: dhcpcd_start: do_readable dhcpcd -4 -q -t 30 -L wlp4s0
Apr 09 22:53:37 cottonmouth dhcpcd[22371]: DUID 00:01:00:01:22:1e:69:2f:e8:b1:fc:9d:1b:83
Apr 09 22:53:37 cottonmouth dhcpcd[22371]: wlp4s0: IAID fc:9d:1b:83
Apr 09 22:53:37 cottonmouth dhcpcd[22371]: wlp4s0: rebinding lease of 192.168.1.136
Apr 09 22:53:37 cottonmouth dhcpcd[22371]: wlp4s0: probing address 192.168.1.136/24
Apr 09 22:53:42 cottonmouth dhcpcd[22371]: wlp4s0: leased 192.168.1.136 for 6241 seconds
Apr 09 22:53:42 cottonmouth dhcpcd[22371]: wlp4s0: adding route to 192.168.1.0/24
Apr 09 22:53:42 cottonmouth dhcpcd[22371]: wlp4s0: adding default route via 192.168.1.1
Apr 09 22:53:42 cottonmouth dhcpcd[22371]: forked to background, child pid 22418
Apr 09 22:53:43 cottonmouth network[22241]: DEBUG: network_start: eval
Apr 09 22:53:43 cottonmouth network[22241]: DEBUG: network_status: systemd-notify --status=online
Apr 09 22:53:43 cottonmouth network[22241]: Started network profile 'wlp4s0-The-White-Visitation'
Apr 09 22:53:44 cottonmouth ntpd[2332]: Listen normally on 13 wlp4s0 192.168.1.136:123
Apr 09 22:53:44 cottonmouth ntpd[2332]: new interface(s) found: waking up resolver

and sysctl

net.ipv6.conf.wlp4s0.accept_dad = 1
net.ipv6.conf.wlp4s0.accept_ra = 0
net.ipv6.conf.wlp4s0.accept_ra_defrtr = 1
net.ipv6.conf.wlp4s0.accept_ra_from_local = 0
net.ipv6.conf.wlp4s0.accept_ra_min_hop_limit = 1
net.ipv6.conf.wlp4s0.accept_ra_mtu = 1
net.ipv6.conf.wlp4s0.accept_ra_pinfo = 1
net.ipv6.conf.wlp4s0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.wlp4s0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.wlp4s0.accept_ra_rtr_pref = 1
net.ipv6.conf.wlp4s0.accept_redirects = 1
net.ipv6.conf.wlp4s0.accept_source_route = 0
net.ipv6.conf.wlp4s0.addr_gen_mode = 1
net.ipv6.conf.wlp4s0.autoconf = 0
net.ipv6.conf.wlp4s0.dad_transmits = 1
net.ipv6.conf.wlp4s0.disable_ipv6 = 0
net.ipv6.conf.wlp4s0.disable_policy = 0
net.ipv6.conf.wlp4s0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.wlp4s0.drop_unsolicited_na = 0
net.ipv6.conf.wlp4s0.enhanced_dad = 1
net.ipv6.conf.wlp4s0.force_mld_version = 0
net.ipv6.conf.wlp4s0.force_tllao = 0
net.ipv6.conf.wlp4s0.forwarding = 0
net.ipv6.conf.wlp4s0.hop_limit = 64
net.ipv6.conf.wlp4s0.ignore_routes_with_linkdown = 0
net.ipv6.conf.wlp4s0.keep_addr_on_down = 0
net.ipv6.conf.wlp4s0.max_addresses = 16
net.ipv6.conf.wlp4s0.max_desync_factor = 600
net.ipv6.conf.wlp4s0.mc_forwarding = 0
net.ipv6.conf.wlp4s0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.wlp4s0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.wlp4s0.mtu = 1500
net.ipv6.conf.wlp4s0.ndisc_notify = 0
net.ipv6.conf.wlp4s0.ndisc_tclass = 0
net.ipv6.conf.wlp4s0.optimistic_dad = 0
net.ipv6.conf.wlp4s0.proxy_ndp = 0
net.ipv6.conf.wlp4s0.regen_max_retry = 3
net.ipv6.conf.wlp4s0.router_probe_interval = 60
net.ipv6.conf.wlp4s0.router_solicitation_delay = 1
net.ipv6.conf.wlp4s0.router_solicitation_interval = 4
net.ipv6.conf.wlp4s0.router_solicitation_max_interval = 3600
net.ipv6.conf.wlp4s0.router_solicitations = -1
net.ipv6.conf.wlp4s0.seg6_enabled = 0
net.ipv6.conf.wlp4s0.seg6_require_hmac = 0
sysctl: reading key "net.ipv6.conf.wlp4s0.stable_secret"
net.ipv6.conf.wlp4s0.suppress_frag_ndisc = 1
net.ipv6.conf.wlp4s0.temp_prefered_lft = 86400
net.ipv6.conf.wlp4s0.temp_valid_lft = 604800
net.ipv6.conf.wlp4s0.use_oif_addrs_only = 0
net.ipv6.conf.wlp4s0.use_optimistic = 0
net.ipv6.conf.wlp4s0.use_tempaddr = 0

Thanks in advance for the help!

Last edited by edeustua (2018-04-10 12:37:26)

Offline

#2 2018-04-10 07:50:26

progandy
Member
Registered: 2012-05-17
Posts: 5,191

Re: [SOLVED] IPv6 SLAAC not working with netctl


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2018-04-10 12:37:12

edeustua
Member
Registered: 2016-07-01
Posts: 4

Re: [SOLVED] IPv6 SLAAC not working with netctl

I upgraded dhcpcd to 7.0.2-1 and all problems are gone.

Thanks a lot!

Offline

Board footer

Powered by FluxBB