Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] netbook connects to Internet automatically, desktop doesn't
Date: Tue, 10 Feb 2015 03:36:28
Message-Id: 20150210033619.GD1037@ca.inter.net
In Reply to: Re: [gentoo-user] netbook connects to Internet automatically, desktop doesn't by Neil Bothwick
1 150209 Neil Bothwick wrote:
2 > On Sun, 8 Feb 2015 19:54:07 -0500, Philip Webb wrote:
3 >> I discovered that my ASUS EEE connects automatically to the Internet
4 >> when the physical connection is plugged in,
5 >> while my desktop machine (AMD + Gigabyte mobo) has to be told by 'dhcpcd'.
6 >> I've checked /etc/runlevels/default & /etc/udev in both machines,
7 >> but can't see anything different between the two.
8 > Check /etc/rc.conf, especially the hotplug section.
9
10 There's no difference.
11
12 > Also check whether you have ifplugd or netplug installed on your laptop
13 > but not on the desktop.
14
15 Neither has either installed.
16
17 Looking at a 'gvimdiff' of the 2 extracts from 'syslog',
18 I notice 3 differences : (1) when the connection is broken,
19 the desktop machine receives an ALRM signal,
20 which causes a process to exit (PID 997),
21 whereas the netbook shows only "carrier lost, deleting route" ;
22 (2) when the connection is restored, the netbook says "carrier acquired"
23 & then there's a kernel msg re a NIC link, whereas the desktop is blank ;
24 (3) the kernel msgs refer to different chips 'r8169' 'atl1c'.
25
26 Does any of this ring a bell for anyone ?
27
28 Thanks so far.
29
30 Desktop msgs :
31
32 Feb 8 09:26:09 localhost dhcpcd[980]: version 6.6.7 starting
33 Feb 8 09:26:09 localhost dhcpcd[980]: dev: loaded udev
34 Feb 8 09:26:09 localhost dhcpcd[980]: no interfaces have a carrier
35 Feb 8 09:26:09 localhost dhcpcd[980]: forked to background, child pid 997
36 Feb 8 09:26:09 localhost dhcpcd[997]: enp5s0: waiting for carrier
37 Feb 8 09:26:09 localhost kernel: r8169 0000:05:00.0 enp5s0: link down
38 Feb 8 09:26:09 localhost kernel: r8169 0000:05:00.0 enp5s0: link down
39 Feb 8 09:26:09 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): enp5s0: link is not ready
40 Feb 8 09:26:11 localhost dhcpcd[997]: enp5s0: carrier acquired
41 Feb 8 09:26:11 localhost kernel: r8169 0000:05:00.0 enp5s0: link up
42 Feb 8 09:26:11 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
43 Feb 8 09:26:11 localhost dhcpcd[997]: DUID 00:01:00:01:1a:1b:b4:7e:50:e5:49:c6:10:3a
44 Feb 8 09:26:11 localhost dhcpcd[997]: enp5s0: IAID 49:c6:10:3a
45 Feb 8 09:26:11 localhost dhcpcd[997]: enp5s0: rebinding lease of 192.168.1.2
46 Feb 8 09:26:14 localhost dhcpcd[997]: enp5s0: NAK: from 192.168.1.1
47 Feb 8 09:26:14 localhost dhcpcd[997]: enp5s0: soliciting a DHCP lease
48 Feb 8 09:26:16 localhost dhcpcd[997]: enp5s0: offered 192.168.1.2 from 192.168.1.1
49 Feb 8 09:26:21 localhost dhcpcd[997]: enp5s0: leased 192.168.1.2 for 86400 seconds
50 Feb 8 09:26:21 localhost dhcpcd[997]: enp5s0: adding route to 192.168.1.0/24
51 Feb 8 09:26:21 localhost dhcpcd[997]: enp5s0: adding default route via 192.168.1.1
52 Feb 8 09:26:22 localhost ntpd[837]: Listen normally on 2 enp5s0 192.168.1.2:123
53 ...
54 # PP : 'ioff', remove conn'n
55 Feb 8 18:54:26 localhost dhcpcd[11404]: sending signal ARLM to pid 997
56 Feb 8 18:54:26 localhost dhcpcd[11404]: waiting for pid 997 to exit
57 Feb 8 18:54:26 localhost dhcpcd[997]: received signal ALRM from PID 11404, releasing
58 Feb 8 18:54:26 localhost dhcpcd[997]: enp5s0: removing interface
59 Feb 8 18:54:26 localhost dhcpcd[997]: enp5s0: releasing lease of 192.168.1.2
60 Feb 8 18:54:26 localhost dhcpcd[997]: enp5s0: deleting route to 192.168.1.0/24
61 Feb 8 18:54:26 localhost dhcpcd[997]: enp5s0: deleting default route via 192.168.1.1
62 Feb 8 18:54:26 localhost dhcpcd[997]: exited
63 ...
64 Feb 8 18:54:35 localhost kernel: r8169 0000:05:00.0 enp5s0: link down
65 ...
66 # PP : restore conn'n
67 Feb 8 19:18:11 localhost kernel: r8169 0000:05:00.0 enp5s0: link up
68 # PP : Firefox can't find site
69
70 Netbook msgs :
71
72 Dec 31 19:00:23 localhost dhcpcd[1323]: version 6.4.7 starting
73 Dec 31 19:00:23 localhost dhcpcd[1323]: dev: loaded udev
74 Dec 31 19:00:23 localhost dhcpcd[1323]: no interfaces have a carrier
75 Dec 31 19:00:23 localhost dhcpcd[1323]: forked to background, child pid 1346
76 Dec 31 19:00:23 localhost kernel: atl1c 0000:01:00.0: Unable to allocate MSI interrupt Error: -38
77 Dec 31 19:00:23 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
78 Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: waiting for carrier
79 Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: carrier acquired
80 Dec 31 19:00:23 localhost dhcpcd[1346]: DUID 00:01:00:01:03:c3:b8:97:00:26:18:79:64:16
81 Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: IAID 18:79:64:16
82 Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: carrier lost
83 Dec 31 19:00:29 localhost dhcpcd[1346]: enp1s0: using IPv4LL address 169.254.91.169
84 Dec 31 19:00:29 localhost dhcpcd[1346]: enp1s0: adding route to 169.254.0.0/16
85 Dec 31 19:00:33 localhost dhcpcd[1346]: enp1s0: soliciting a DHCP lease
86 ...
87 Feb 8 18:54:59 localhost dhcpcd[1346]: enp1s0: carrier acquired
88 ...
89 Feb 8 18:54:59 localhost dhcpcd[1346]: enp1s0: IAID 18:79:64:16
90 Feb 8 18:54:59 localhost dhcpcd[1346]: enp1s0: soliciting a DHCP lease
91 Feb 8 18:55:07 localhost dhcpcd[1346]: enp1s0: offered 192.168.1.3 from 192.168.1.1
92 Feb 8 18:55:11 localhost dhcpcd[1346]: enp1s0: leased 192.168.1.3 for 86400 seconds
93 Feb 8 18:55:11 localhost dhcpcd[1346]: enp1s0: adding route to 192.168.1.0/24
94 Feb 8 18:55:11 localhost dhcpcd[1346]: enp1s0: adding default route via 192.168.1.1
95 Feb 8 18:55:11 localhost dhcpcd[1346]: enp1s0: deleting route to 169.254.0.0/16
96 ...
97 # PP : remove conn'n
98 Feb 8 19:14:41 localhost dhcpcd[1346]: enp1s0: carrier lost
99 Feb 8 19:14:41 localhost dhcpcd[1346]: enp1s0: deleting route to 192.168.1.0/24
100 Feb 8 19:14:41 localhost dhcpcd[1346]: enp1s0: deleting default route via 192.168.1.1
101 # PP : restore conn'n
102 Feb 8 19:15:15 localhost dhcpcd[1346]: enp1s0: carrier acquired
103 Feb 8 19:15:15 localhost kernel: atl1c 0000:01:00.0: atl1c: enp1s0 NIC Link is Up<100 Mbps Full Duplex>
104 Feb 8 19:15:15 localhost dhcpcd[1346]: enp1s0: IAID 18:79:64:16
105 Feb 8 19:15:15 localhost dhcpcd[1346]: enp1s0: rebinding lease of 192.168.1.3
106 Feb 8 19:15:23 localhost dhcpcd[1346]: enp1s0: leased 192.168.1.3 for 86400 seconds
107 Feb 8 19:15:23 localhost dhcpcd[1346]: enp1s0: adding route to 192.168.1.0/24
108 Feb 8 19:15:23 localhost dhcpcd[1346]: enp1s0: adding default route via 192.168.1.1
109 # PP : Dillo finds site
110
111 --
112 ========================,,============================================
113 SUPPORT ___________//___, Philip Webb
114 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
115 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] netbook connects to Internet automatically, desktop doesn't Mick <michaelkintzios@×××××.com>