You are not logged in.
My setup is essentially a laptop that sites on my desk at work. I only use it occasionally, so I suspend between uses. When I do wake it up, it has to reconnect to the wireless but to the same SSID. However, some times it'll get a new IP address over DHCP but it won't correctly set the default route. systemctl status netctl-auto@wlp4s0.service shows
[root@yoga enigma]# systemctl status netctl-auto@wlp4s0.service
● netctl-auto@wlp4s0.service - Automatic wireless network connection using netctl profiles
Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2015-07-02 16:14:46 AEST; 1 weeks 0 days ago
Docs: man:netctl.special(7)
Process: 299 ExecStart=/usr/bin/netctl-auto start %I (code=exited, status=0/SUCCESS)
CGroup: /system.slice/system-netctl\x2dauto.slice/netctl-auto@wlp4s0.service
├─334 wpa_supplicant -B -P /run/wpa_supplicant_wlp4s0.pid -i wlp4s0 -D nl80211,wext -c/run/network/wpa_supplicant_wlp4s...
├─336 wpa_actiond -p /run/wpa_supplicant -i wlp4s0 -P /run/network/wpa_actiond_wlp4s0.pid -a /usr/lib/network/auto.acti...
└─419 dhcpcd -4 -q -t 30 -K -L wlp4s0
Jul 02 16:14:51 yoga dhcpcd[376]: wlp4s0: adding route to 10.184.48.0/22
Jul 02 16:14:51 yoga dhcpcd[376]: wlp4s0: adding default route via 10.184.48.1
Jul 02 16:14:51 yoga dhcpcd[376]: forked to background, child pid 419
Jul 03 09:31:09 yoga wpa_actiond[336]: Interface 'wlp4s0' lost connection to network 'eduroam'
Jul 03 09:31:12 yoga wpa_actiond[336]: Interface 'wlp4s0' reestablished connection to network 'eduroam'
Jul 10 08:54:37 yoga wpa_actiond[336]: Interface 'wlp4s0' lost connection to network 'eduroam'
Jul 10 08:54:41 yoga wpa_actiond[336]: Interface 'wlp4s0' reestablished connection to network 'eduroam'
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: removing IP address 10.184.49.207/22
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: deleting route to 10.184.48.0/22
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: deleting default route via 10.184.48.1ip addr gives
$ 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: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 48:51:b7:bf:59:f5 brd ff:ff:ff:ff:ff:ff
inet 10.184.48.166/22 brd 10.184.51.255 scope global wlp4s0
valid_lft forever preferred_lft forever
inet6 fe80::4a51:b7ff:febf:59f5/64 scope link
valid_lft forever preferred_lft foreverand ip route shows
$ ip route
10.184.48.0/22 dev wlp4s0 proto kernel scope link src 10.184.48.166 I checked system logs for what happens immediately on wake up from suspend, and something that seems odd is the following
Jul 10 08:54:41 yoga dhcpcd[15874]: DUID 00:01:00:01:1c:9b:da:eb:48:51:b7:bf:59:f5
Jul 10 08:54:41 yoga dhcpcd[15874]: wlp4s0: IAID b7:bf:59:f5
Jul 10 08:54:41 yoga dhcpcd[15874]: wlp4s0: soliciting an IPv6 router
Jul 10 08:54:41 yoga dhcpcd[15874]: wlp4s0: soliciting a DHCP lease
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: offered 10.184.48.166 from 172.21.130.254
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: leased 10.184.48.166 for 1800 seconds
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: removing IP address 10.184.49.207/22
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: deleting route to 10.184.48.0/22
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: changing route to 10.184.48.0/22
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: changing default route via 10.184.48.1
Jul 10 08:54:47 yoga dhcpcd[419]: wlp4s0: deleting default route via 10.184.48.1
Jul 10 08:54:47 yoga dhcpcd[15874]: forked to background, child pid 16041
Jul 10 08:54:47 yoga dhcpcd[15874]: sending signal HUP to pid 5343
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: waiting for carrier
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: carrier acquired
Jul 10 08:54:47 yoga dhcpcd[15874]: DUID 00:01:00:01:1c:9b:da:eb:48:51:b7:bf:59:f5
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: IAID b7:bf:59:f5
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: soliciting an IPv6 router
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: soliciting a DHCP lease
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: offered 10.184.48.166 from 172.21.130.254
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: leased 10.184.48.166 for 1800 seconds
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: changing route to 10.184.48.0/22
Jul 10 08:54:47 yoga dhcpcd[15874]: wlp4s0: changing default route via 10.184.48.1
Jul 10 08:54:47 yoga dhcpcd[15874]: forked to background, child pid 16041The thing to notice is that there are apparently two concurrent versions of dhcpcd running, on PIDs 419 and 15874. Maybe this is by design, I don't know, but they both seem to be changing the default routes at the same time, which could be a problem. Note that restarting the service always fixes my issue. It also never occurs if I visit some other location/SSID with my laptop before connecting it at work. Has anyone seen anything like this? Is there something obvious I should try to fix it, or debug it further?
Offline
Most likely an eduroam problem. Check your config and open a bug report for netctl, if everything is fine. Eduroam, my immortal enemy...
Offline