You are not logged in.

#1 2015-05-03 08:40:14

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

[SOLVED] Intermittent loss of internet connection

Hi,

I installed Arch a couple of weeks ago and set up my ethernet network as described in the Beginner's Guide and in Network Configuration. I use a dynamic IP address with dhcpcd.
Now the problem is that I frequently loose my connection for ca. 5 seconds before it automatically reconnects.
I checked the journals and this is the entry for today:

Mai 03 10:10:16 cons-arch systemd[1]: Starting dhcpcd on all interfaces...
Mai 03 10:10:16 cons-arch dhcpcd[280]: forked to background, child pid 322
Mai 03 10:10:16 cons-arch systemd[1]: Started dhcpcd on all interfaces.
Mai 03 10:10:16 cons-arch dhcpcd[322]: enp0s25: waiting for carrier
Mai 03 10:10:18 cons-arch dhcpcd[322]: enp0s25: carrier acquired
Mai 03 10:10:18 cons-arch dhcpcd[322]: DUID 00:01:00:01:1c:a5:ad:60:d0:50:99:2e:5f:46
Mai 03 10:10:18 cons-arch dhcpcd[322]: enp0s25: IAID 99:2e:5f:46
Mai 03 10:10:19 cons-arch dhcpcd[322]: enp0s25: rebinding lease of 192.168.178.50
Mai 03 10:10:25 cons-arch dhcpcd[322]: enp0s25: leased 192.168.178.50 for 864000 seconds
Mai 03 10:10:25 cons-arch dhcpcd[322]: enp0s25: adding route to 192.168.178.0/24
Mai 03 10:10:25 cons-arch dhcpcd[322]: enp0s25: adding default route via 192.168.178.1

Mai 03 10:16:49 cons-arch dhcpcd[322]: enp0s25: carrier lost
Mai 03 10:16:49 cons-arch dhcpcd[322]: enp0s25: deleting route to 192.168.178.0/24
Mai 03 10:16:49 cons-arch dhcpcd[322]: enp0s25: deleting default route via 192.168.178.1

Mai 03 10:16:51 cons-arch dhcpcd[322]: enp0s25: carrier acquired
Mai 03 10:16:51 cons-arch dhcpcd[322]: enp0s25: IAID 99:2e:5f:46
Mai 03 10:16:51 cons-arch dhcpcd[322]: enp0s25: rebinding lease of 192.168.178.50
Mai 03 10:16:52 cons-arch dhcpcd[322]: enp0s25: carrier lost
Mai 03 10:16:55 cons-arch dhcpcd[322]: enp0s25: carrier acquired
Mai 03 10:16:55 cons-arch dhcpcd[322]: enp0s25: IAID 99:2e:5f:46
Mai 03 10:16:55 cons-arch dhcpcd[322]: enp0s25: rebinding lease of 192.168.178.50
Mai 03 10:17:04 cons-arch dhcpcd[322]: enp0s25: leased 192.168.178.50 for 864000 seconds
Mai 03 10:17:04 cons-arch dhcpcd[322]: enp0s25: adding route to 192.168.178.0/24
Mai 03 10:17:04 cons-arch dhcpcd[322]: enp0s25: adding default route via 192.168.178.1

As you can see, I lost connection shortly at 10:16:49.
I tried googling the problem with the information at hand, but I haven't been successful yet. When I try a wireless setup I get exactly the same issue.

I would be thankful for any helpful information!

Last edited by Heavy Rain (2015-05-04 17:59:02)

Offline

#2 2015-05-03 10:38:42

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

Hi, i assume that enp0s25 is your wifi card, that you also tried to setup manually (where you said "when i tried a wireless setup"). 
So if i understand automatic config and manually config gives the same result for your wifi connection.

What is your network card model ?

And just before you installed ArchLinux on your computer (laptop i presume), i suppose the connection worked perfectly with your home wifi router, no ?

Offline

#3 2015-05-03 10:51:51

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

Hey, thanks for the reply!

enp0s25 is my ethernet controller (Intel Corporation Ethernet Connection (2) I218-V). I'm connecting via LAN cable. When I said I tried a wireless setup I just plugged in two different USB-Wifi-Sticks and the problem remained, so I concluded that it's not a hardware issue (I can provide further info if required). My router is a Fritz!Box 7312.

Internet connection (both cable and wireless) work just fine under Windows 8.
For what it's worth, I'm on a desktop PC.

Thanks again for the reply.

Rone wrote:

Hi, i assume that enp0s25 is your wifi card, that you also tried to setup manually (where you said "when i tried a wireless setup"). 
So if i understand automatic config and manually config gives the same result for your wifi connection.

What is your network card model ?

And just before you installed ArchLinux on your computer (laptop i presume), i suppose the connection worked perfectly with your home wifi router, no ?

Last edited by Heavy Rain (2015-05-03 10:52:50)

Offline

#4 2015-05-03 11:26:54

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

Heavy Rain wrote:

Hey, thanks for the reply!

With pleasure smile

Heavy Rain wrote:

enp0s25 is my ethernet controller (Intel Corporation Ethernet Connection (2) I218-V). I'm connecting via LAN cable. When I said I tried a wireless setup I just plugged in two different USB-Wifi-Sticks and the problem remained, so I concluded that it's not a hardware issue (I can provide further info if required). My router is a Fritz!Box 7312.

So, in your case, it's better to give the outputs of commands like lspci and lsusb ; e.g for your pci network controller :

$ lspci -v | grep controller
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2/3 SMBus controller
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10 [OHCI])
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10 [OHCI])
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10 [OHCI])
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI])
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA controller])
Heavy Rain wrote:

Internet connection (both cable and wireless) work just fine under Windows 8.
For what it's worth, I'm on a desktop PC.

So welcome to GNU/Linux world ; but just bizarre to know that it worked for Windows.
Just as quick test, you can try some other Live CD distro (e.g ubuntu) and boot from an usb stick to verify if you stay with this problem again.

Offline

#5 2015-05-03 11:35:56

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

Sorry, I should have mentioned that what I put in parentheses was the output for lspci. Anyway, for full disclosure wink:

[cons@cons-arch ~]$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V

00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
00:1c.6 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 7 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller

I will try an old Ubuntu live CD I have lying around, thats a good idea. I'll report the results later.

Offline

#6 2015-05-03 11:37:02

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

E,g if you want to test that you would have the same problem with ubuntu distro, you would have to make an usb-live with ubuntu iso image, like explained here :

http://doc.ubuntu-fr.org/live_usb#creat … uis_ubuntu


And i'm agree with you, it seems not to be an hardware problem at first. I would just quick test with another distro booted from an usb stick.

Offline

#7 2015-05-03 11:50:54

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Intermittent loss of internet connection

Here's a very similar thread smile

You could file a bug on dhcpcd bugzilla.

Personally, I recommend udhcpc (see busybox link in my sig), where it's simple and you're in complete control.

Offline

#8 2015-05-03 12:03:53

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

So, I just tested a Linux Mint 17.1 (so basically Ubuntu 14.04 LTS) install on my harddrive and the problem persists.
Here is what /var/log/mail says:

May  3 13:45:09 cons-mint kernel: [  461.802550] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:24:65:11:fb:9b:db:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
May  3 13:46:47 cons-mint kernel: [  559.826674] [UFW BLOCK] IN=eth0 OUT= MAC=d0:50:99:2e:5f:46:24:65:11:fb:9b:db:08:00 SRC=192.168.178.1 DST=192.168.178.33 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19368 DF PROTO=TCP SPT=51198 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
May  3 13:46:50 cons-mint kernel: [  562.829289] [UFW BLOCK] IN=eth0 OUT= MAC=d0:50:99:2e:5f:46:24:65:11:fb:9b:db:08:00 SRC=192.168.178.1 DST=192.168.178.33 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19369 DF PROTO=TCP SPT=51198 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
May  3 13:46:56 cons-mint kernel: [  568.836415] [UFW BLOCK] IN=eth0 OUT= MAC=d0:50:99:2e:5f:46:24:65:11:fb:9b:db:08:00 SRC=192.168.178.1 DST=192.168.178.33 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19370 DF PROTO=TCP SPT=51198 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0 
May  3 13:47:03 cons-mint NetworkManager[973]: <info> (eth0): carrier now OFF (device state 100, deferring action for 4 seconds)
May  3 13:47:03 cons-mint kernel: [  576.251654] e1000e: eth0 NIC Link is Down
May  3 13:47:07 cons-mint dhclient: Internet Systems Consortium DHCP Client 4.2.4
May  3 13:47:07 cons-mint dhclient: Copyright 2004-2012 Internet Systems Consortium.
May  3 13:47:07 cons-mint dhclient: All rights reserved.
May  3 13:47:07 cons-mint dhclient: For info, please visit https://www.isc.org/software/dhcp/
May  3 13:47:07 cons-mint dhclient: 
May  3 13:47:07 cons-mint dhclient: Listening on LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:07 cons-mint dhclient: Sending on   LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:07 cons-mint dhclient: Sending on   Socket/fallback
May  3 13:47:07 cons-mint dhclient: DHCPRELEASE on eth0 to 192.168.178.1 port 67 (xid=0x563de673)
May  3 13:47:07 cons-mint avahi-daemon[934]: Withdrawing address record for 192.168.178.33 on eth0.
May  3 13:47:07 cons-mint avahi-daemon[934]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.178.33.
May  3 13:47:07 cons-mint avahi-daemon[934]: Interface eth0.IPv4 no longer relevant for mDNS.
May  3 13:47:07 cons-mint avahi-daemon[934]: Interface eth0.IPv6 no longer relevant for mDNS.
May  3 13:47:07 cons-mint avahi-daemon[934]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::d250:99ff:fe2e:5f46.
May  3 13:47:07 cons-mint dhclient: receive_packet failed on eth0: Network is down
May  3 13:47:07 cons-mint avahi-daemon[934]: Withdrawing address record for fe80::d250:99ff:fe2e:5f46 on eth0.
May  3 13:47:07 cons-mint kernel: [  580.084282] e1000e 0000:00:19.0: irq 52 for MSI/MSI-X
May  3 13:47:07 cons-mint kernel: [  580.188168] e1000e 0000:00:19.0: irq 52 for MSI/MSI-X
May  3 13:47:07 cons-mint kernel: [  580.188265] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
May  3 13:47:07 cons-mint dhclient: Internet Systems Consortium DHCP Client 4.2.4
May  3 13:47:07 cons-mint dhclient: Copyright 2004-2012 Internet Systems Consortium.
May  3 13:47:07 cons-mint dhclient: All rights reserved.
May  3 13:47:07 cons-mint dhclient: For info, please visit https://www.isc.org/software/dhcp/
May  3 13:47:07 cons-mint dhclient: 
May  3 13:47:07 cons-mint dhclient: Listening on LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:07 cons-mint dhclient: Sending on   LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:07 cons-mint dhclient: Sending on   Socket/fallback
May  3 13:47:08 cons-mint dhclient: DHCPRELEASE on eth0 to 192.168.178.1 port 67 (xid=0x5a53bb69)
May  3 13:47:08 cons-mint dhclient: send_packet: Network is unreachable
May  3 13:47:08 cons-mint dhclient: send_packet: please consult README file regarding broadcast address.
May  3 13:47:08 cons-mint dhclient: dhclient.c:2365: Failed to send 300 byte long packet over fallback interface.
May  3 13:47:08 cons-mint kernel: [  580.588996] e1000e 0000:00:19.0: irq 52 for MSI/MSI-X
May  3 13:47:08 cons-mint NetworkManager[973]: <info> (eth0): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]
May  3 13:47:08 cons-mint NetworkManager[973]: <info> (eth0): deactivating device (reason 'carrier-changed') [40]
May  3 13:47:08 cons-mint kernel: [  580.692836] e1000e 0000:00:19.0: irq 52 for MSI/MSI-X
May  3 13:47:08 cons-mint kernel: [  580.692986] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
May  3 13:47:08 cons-mint NetworkManager[973]: <info> (eth0): canceled DHCP transaction, DHCP client pid 1302
May  3 13:47:08 cons-mint NetworkManager[973]: <warn> DNS: plugin dnsmasq update failed
May  3 13:47:08 cons-mint NetworkManager[973]: <info> Removing DNS information from /sbin/resolvconf
May  3 13:47:08 cons-mint dnsmasq[1475]: vorgelagerte Server von DBus gesetzt
May  3 13:47:08 cons-mint kernel: [  580.882431] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
May  3 13:47:08 cons-mint NetworkManager[973]: <info> NetworkManager state is now DISCONNECTED
May  3 13:47:08 cons-mint dbus[900]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May  3 13:47:08 cons-mint dbus[900]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): carrier now ON (device state 20)
May  3 13:47:21 cons-mint kernel: [  593.957947] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
May  3 13:47:21 cons-mint kernel: [  593.957955] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
May  3 13:47:21 cons-mint kernel: [  593.957989] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Auto-activating connection 'Kabelnetzwerkverbindung 1'.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) starting connection 'Kabelnetzwerkverbindung 1'
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May  3 13:47:21 cons-mint NetworkManager[973]: <info> NetworkManager state is now CONNECTING
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May  3 13:47:21 cons-mint NetworkManager[973]: <info> dhclient started with pid 22736
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Beginning IP6 addrconf.
May  3 13:47:21 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May  3 13:47:21 cons-mint dhclient: Internet Systems Consortium DHCP Client 4.2.4
May  3 13:47:21 cons-mint dhclient: Copyright 2004-2012 Internet Systems Consortium.
May  3 13:47:21 cons-mint dhclient: All rights reserved.
May  3 13:47:21 cons-mint dhclient: For info, please visit https://www.isc.org/software/dhcp/
May  3 13:47:21 cons-mint dhclient: 
May  3 13:47:21 cons-mint NetworkManager[973]: <info> (eth0): DHCPv4 state changed nbi -> preinit
May  3 13:47:21 cons-mint dhclient: Listening on LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:21 cons-mint dhclient: Sending on   LPF/eth0/d0:50:99:2e:5f:46
May  3 13:47:21 cons-mint dhclient: Sending on   Socket/fallback
May  3 13:47:21 cons-mint dhclient: DHCPREQUEST of 192.168.178.33 on eth0 to 255.255.255.255 port 67 (xid=0x64452de2)
May  3 13:47:23 cons-mint avahi-daemon[934]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::d250:99ff:fe2e:5f46.
May  3 13:47:23 cons-mint avahi-daemon[934]: New relevant interface eth0.IPv6 for mDNS.
May  3 13:47:23 cons-mint avahi-daemon[934]: Registering new address record for fe80::d250:99ff:fe2e:5f46 on eth0.*.
May  3 13:47:24 cons-mint dhclient: DHCPREQUEST of 192.168.178.33 on eth0 to 255.255.255.255 port 67 (xid=0x64452de2)
May  3 13:47:24 cons-mint dhclient: DHCPACK of 192.168.178.33 from 192.168.178.1
May  3 13:47:24 cons-mint dhclient: bound to 192.168.178.33 -- renewal in 422471 seconds.
May  3 13:47:24 cons-mint NetworkManager[973]: <info> (eth0): DHCPv4 state changed preinit -> reboot
May  3 13:47:24 cons-mint NetworkManager[973]: <info>   address 192.168.178.33
May  3 13:47:24 cons-mint NetworkManager[973]: <info>   prefix 24 (255.255.255.0)
May  3 13:47:24 cons-mint NetworkManager[973]: <info>   gateway 192.168.178.1
May  3 13:47:24 cons-mint NetworkManager[973]: <info>   nameserver '192.168.178.1'
May  3 13:47:24 cons-mint NetworkManager[973]: <info>   domain name 'fritz.box'
May  3 13:47:24 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May  3 13:47:24 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
May  3 13:47:24 cons-mint avahi-daemon[934]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.178.33.
May  3 13:47:24 cons-mint avahi-daemon[934]: New relevant interface eth0.IPv4 for mDNS.
May  3 13:47:24 cons-mint avahi-daemon[934]: Registering new address record for 192.168.178.33 on eth0.IPv4.
May  3 13:47:25 cons-mint NetworkManager[973]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
May  3 13:47:25 cons-mint NetworkManager[973]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
May  3 13:47:25 cons-mint NetworkManager[973]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]

Respectively, /var/log/wicd:

2015/05/03 13:37:57 :: ---------------------------
2015/05/03 13:37:57 :: wicd initializing...
2015/05/03 13:37:57 :: ---------------------------
2015/05/03 13:37:57 :: wicd is version 1.7.2.4 768
2015/05/03 13:37:57 :: setting backend to external
2015/05/03 13:37:57 :: trying to load backend external
2015/05/03 13:37:57 :: successfully loaded backend external
2015/05/03 13:37:57 :: trying to load backend external
2015/05/03 13:37:57 :: successfully loaded backend external
2015/05/03 13:37:57 :: Couldn't detect a wireless interface.
2015/05/03 13:37:57 :: setting wireless interface None
2015/05/03 13:37:57 :: automatically detected wired interface eth0
2015/05/03 13:37:57 :: setting wired interface eth0
2015/05/03 13:37:57 :: setting wpa driver wext
2015/05/03 13:37:57 :: setting use global dns to False
2015/05/03 13:37:57 :: setting global dns
2015/05/03 13:37:57 :: global dns servers are None None None
2015/05/03 13:37:57 :: domain is None
2015/05/03 13:37:57 :: search domain is None
2015/05/03 13:37:57 :: setting automatically reconnect when connection drops True
2015/05/03 13:37:57 :: Setting dhcp client to 0
2015/05/03 13:37:58 :: Wireless configuration file found...
2015/05/03 13:37:58 :: Wired configuration file found...
2015/05/03 13:37:58 :: chmoding configuration files 0600...
2015/05/03 13:37:58 :: chowning configuration files root:root...
2015/05/03 13:37:58 :: Using wireless interface...
2015/05/03 13:37:58 :: Using wired interface...eth0
2015/05/03 13:47:07 :: attempting to set hostname with dhclient
2015/05/03 13:47:07 :: using dhcpcd or another supported client may work better
2015/05/03 13:47:07 :: Autoconnecting...
2015/05/03 13:47:07 :: No wired connection present, attempting to autoconnect to wireless network
2015/05/03 13:47:07 :: Unable to autoconnect, you'll have to manually connect
2015/05/03 13:47:07 :: attempting to set hostname with dhclient
2015/05/03 13:47:07 :: using dhcpcd or another supported client may work better
2015/05/03 13:47:08 :: Autoconnecting...
2015/05/03 13:47:08 :: No wired connection present, attempting to autoconnect to wireless network
2015/05/03 13:47:08 :: Unable to autoconnect, you'll have to manually connect
2015/05/03 13:47:13 :: Autoconnecting...
2015/05/03 13:47:13 :: No wired connection present, attempting to autoconnect to wireless network
2015/05/03 13:47:13 :: Unable to autoconnect, you'll have to manually connect
2015/05/03 13:47:18 :: Autoconnecting...
2015/05/03 13:47:18 :: No wired connection present, attempting to autoconnect to wireless network
2015/05/03 13:47:18 :: Unable to autoconnect, you'll have to manually connect
brebs wrote:

Here's a very similar thread :)

You could file a bug on dhcpcd bugzilla.

Personally, I recommend udhcpc (see busybox link in my sig), where it's simple and you're in complete control.

Is it possible to just use udhcpcd instead of dhcpcd or do I have to completely replace systemd? Because I don't know if I'd feel comfortable doing that :P

Offline

#9 2015-05-03 12:07:42

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

@brebs You're right to advise trying another dhcp client, i didn't thought about it, and that will solve this problem/bug, i think also. (very interesting to read your post about busybox...)

Offline

#10 2015-05-03 13:01:37

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

Heavy Rain wrote:

So, I just tested a Linux Mint 17.1 (so basically Ubuntu 14.04 LTS) install on my harddrive and the problem persists.

Here is what /var/log/mail says:

(...)

Respectively, /var/log/wicd:

(...)

ok, thanks for the logs. Probably someone else could help.


brebs wrote:

Here's a very similar thread smile

You could file a bug on dhcpcd bugzilla.

Personally, I recommend udhcpc (see busybox link in my sig), where it's simple and you're in complete control.

Heavy Rain wrote:

Is it possible to just use udhcpcd instead of dhcpcd or do I have to completely replace systemd? Because I don't know if I'd feel comfortable doing that tongue

I read that udhcpc is the dhcp client coming with busybox package.

Can you first install and try the extra/dhclient package ? If that doesn't work, you will have to try another one, and ultimately you will have udhcpc solution.

See all DHCP clients and servers implementations below :

$ pacman -Ss dhcp
core/dhcpcd 6.8.1-1 (base) [installed]
    RFC2131 compliant DHCP client daemon
extra/dhclient 4.3.2-1
    A standalone DHCP client from the dhcp package
extra/dhcp 4.3.2-1
    A DHCP server, client, and relay agent
extra/dnsmasq 2.72-2
    Lightweight, easy to configure DNS forwarder and DHCP server
$

Offline

#11 2015-05-03 13:31:36

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Intermittent loss of internet connection

Heavy Rain wrote:

Is it possible to just use udhcpcd instead of dhcpcd or do I have to completely replace systemd?

Busybox is basically just one executable - it will install alongside, without interfering with anything else. It's kinda like the *opposite* of systemd wink

Please file a bug with dhcpcd - it would be great to get that feedback, should be interesting.

Regarding Ubuntu, I'd just give up - with Avahi and NetworkManager getting involved, there's bound to be bugs.

Offline

#12 2015-05-03 13:32:31

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

To be simple, you will typically have to install with pacman the extra/dhclient or community/busybox package and then use its dhcpd or udhcpc command to try it at a replacement for dhcpcd that is installed by default.

But to maintain a consistant ArchLinux system, before any package install, update your entire system.

Normally you read the docs, starting with the Beginner's guide that lead you to important docs like :

https://wiki.archlinux.org/index.php/Sy … the_system

At the minimum, you should have read the following link, just after the Beginner's guide :

https://wiki.archlinux.org/index.php/Ge … mendations


To be sure that your ArchLinux system is updated up-to-date before you install a package, you can do :

$ sudo pacman -Sy
$ sudo pacman -Su
$ sudo pacman -S <package_name>

or

$ sudo pacman -Syu <package_name>

And you will of course have to have a look at pacman manual with :

$ man pacman

Last edited by Rone (2015-05-03 15:53:40)

Offline

#13 2015-05-03 16:18:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] Intermittent loss of internet connection

Is it possible you've more than one thing trying to control your network hardware?  Post the full output of systemctl --no-pager


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2015-05-03 16:43:05

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

ewaller wrote:

Is it possible you've more than one thing trying to control your network hardware?  Post the full output of systemctl --no-pager

Not that I could see:

UNIT                                                                                     LOAD   ACTIVE SUB       DESCRIPTION
proc-sys-fs-binfmt_misc.automount                                                        loaded active running   Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.1-sound-card1.device                      loaded active plugged   GK104 HDMI Audio Controller
sys-devices-pci0000:00-0000:00:19.0-net-enp0s25.device                                   loaded active plugged   Ethernet Connection (2) I218-V
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device                                   loaded active plugged   9 Series Chipset Family HD Audio Controller
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda1.device loaded active plugged   Samsung_SSD_840_EVO_120GB System_Reserved
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda2.device loaded active plugged   Samsung_SSD_840_EVO_120GB 2
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sda-sda3.device loaded active plugged   Samsung_SSD_840_EVO_120GB Arch
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sda.device      loaded active plugged   Samsung_SSD_840_EVO_120GB
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb1.device loaded active plugged   ST3250310AS 1
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb2.device loaded active plugged   ST3250310AS Arch
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb4.device loaded active plugged   ST3250310AS Data
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sdb-sdb5.device loaded active plugged   ST3250310AS 5
sys-devices-pci0000:00-0000:00:1f.2-ata3-host2-target2:0:0-2:0:0:0-block-sdb.device      loaded active plugged   ST3250310AS
sys-devices-pci0000:00-0000:00:1f.2-ata6-host5-target5:0:0-5:0:0:0-block-sdc-sdc1.device loaded active plugged   SAMSUNG_HD502IJ Storage
sys-devices-pci0000:00-0000:00:1f.2-ata6-host5-target5:0:0-5:0:0:0-block-sdc.device      loaded active plugged   SAMSUNG_HD502IJ
sys-devices-platform-serial8250-tty-ttyS1.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device                                         loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-pnp0-00:06-tty-ttyS0.device                                                  loaded active plugged   /sys/devices/pnp0/00:06/tty/ttyS0
sys-module-configfs.device                                                               loaded active plugged   /sys/module/configfs
sys-module-fuse.device                                                                   loaded active plugged   /sys/module/fuse
sys-subsystem-net-devices-enp0s25.device                                                 loaded active plugged   Ethernet Connection (2) I218-V
-.mount                                                                                  loaded active mounted   /
dev-hugepages.mount                                                                      loaded active mounted   Huge Pages File System
dev-mqueue.mount                                                                         loaded active mounted   POSIX Message Queue File System
mnt-cons-Data.mount                                                                      loaded active mounted   /mnt/cons/Data
mnt-cons-Storage.mount                                                                   loaded active mounted   /mnt/cons/Storage
mnt-cons-Windows.mount                                                                   loaded active mounted   /mnt/cons/Windows
proc-sys-fs-binfmt_misc.mount                                                            loaded active mounted   Arbitrary Executable File Formats File System
run-user-1000-gvfs.mount                                                                 loaded active mounted   /run/user/1000/gvfs
run-user-1000.mount                                                                      loaded active mounted   /run/user/1000
sys-fs-fuse-connections.mount                                                            loaded active mounted   FUSE Control File System
sys-kernel-config.mount                                                                  loaded active mounted   Configuration File System
sys-kernel-debug.mount                                                                   loaded active mounted   Debug File System
tmp.mount                                                                                loaded active mounted   Temporary Directory
systemd-ask-password-console.path                                                        loaded active waiting   Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path                                                           loaded active waiting   Forward Password Requests to Wall Directory Watch
session-c1.scope                                                                         loaded active running   Session c1 of user cons
accounts-daemon.service                                                                  loaded active running   Accounts Service
colord.service                                                                           loaded active running   Manage, Install and Generate Color Profiles
dbus.service                                                                             loaded active running   D-Bus System Message Bus
dhcpcd@enp0s25.service                                                                   loaded active running   dhcpcd on enp0s25
gdm.service                                                                              loaded active running   GNOME Display Manager
kmod-static-nodes.service                                                                loaded active exited    Create list of required static device nodes for the current kernel
polkit.service                                                                           loaded active running   Authorization Manager
rtkit-daemon.service                                                                     loaded active running   RealtimeKit Scheduling Policy Service
systemd-binfmt.service                                                                   loaded active exited    Set Up Additional Binary Formats
systemd-journal-flush.service                                                            loaded active exited    Flush Journal to Persistent Storage
systemd-journald.service                                                                 loaded active running   Journal Service
systemd-logind.service                                                                   loaded active running   Login Service
systemd-networkd.service                                                                 loaded active running   Network Service
systemd-random-seed.service                                                              loaded active exited    Load/Save Random Seed
systemd-remount-fs.service                                                               loaded active exited    Remount Root and Kernel File Systems
systemd-resolved.service                                                                 loaded active running   Network Name Resolution
systemd-sysctl.service                                                                   loaded active exited    Apply Kernel Variables
systemd-tmpfiles-setup-dev.service                                                       loaded active exited    Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service                                                           loaded active exited    Create Volatile Files and Directories
systemd-udev-trigger.service                                                             loaded active exited    udev Coldplug all Devices
systemd-udevd.service                                                                    loaded active running   udev Kernel Device Manager
systemd-update-utmp.service                                                              loaded active exited    Update UTMP about System Boot/Shutdown
systemd-user-sessions.service                                                            loaded active exited    Permit User Sessions
systemd-vconsole-setup.service                                                           loaded active exited    Setup Virtual Console
teamviewerd.service                                                                      loaded active running   TeamViewer remote control daemon
udisks2.service                                                                          loaded active running   Disk Manager
upower.service                                                                           loaded active running   Daemon for power management
urserver.service                                                                         loaded active exited    Unified Remote Server
user@1000.service                                                                        loaded active running   User Manager for UID 1000
-.slice                                                                                  loaded active active    Root Slice
system-dhcpcd.slice                                                                      loaded active active    system-dhcpcd.slice
system-getty.slice                                                                       loaded active active    system-getty.slice
system.slice                                                                             loaded active active    System Slice
user-1000.slice                                                                          loaded active active    user-1000.slice
user.slice                                                                               loaded active active    User and Session Slice
dbus.socket                                                                              loaded active running   D-Bus System Message Bus Socket
dm-event.socket                                                                          loaded active listening Device-mapper event daemon FIFOs
lvm2-lvmetad.socket                                                                      loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket                                                                   loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald-dev-log.socket                                                          loaded active running   Journal Socket (/dev/log)
systemd-journald.socket                                                                  loaded active running   Journal Socket
systemd-shutdownd.socket                                                                 loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket                                                             loaded active running   udev Control Socket
systemd-udevd-kernel.socket                                                              loaded active running   udev Kernel Socket
basic.target                                                                             loaded active active    Basic System
cryptsetup.target                                                                        loaded active active    Encrypted Volumes
getty.target                                                                             loaded active active    Login Prompts
graphical.target                                                                         loaded active active    Graphical Interface
local-fs-pre.target                                                                      loaded active active    Local File Systems (Pre)
local-fs.target                                                                          loaded active active    Local File Systems
multi-user.target                                                                        loaded active active    Multi-User System
network-online.target                                                                    loaded active active    Network is Online
network.target                                                                           loaded active active    Network
nss-user-lookup.target                                                                   loaded active active    User and Group Name Lookups
paths.target                                                                             loaded active active    Paths
remote-fs.target                                                                         loaded active active    Remote File Systems
slices.target                                                                            loaded active active    Slices
sockets.target                                                                           loaded active active    Sockets
sound.target                                                                             loaded active active    Sound Card
swap.target                                                                              loaded active active    Swap
sysinit.target                                                                           loaded active active    System Initialization
timers.target                                                                            loaded active active    Timers
cacheclean.timer                                                                         loaded active waiting   Clean pacman package cache weekly.
logrotate.timer                                                                          loaded active waiting   Daily rotation of log files
man-db.timer                                                                             loaded active waiting   Daily man-db cache update
reflector.timer                                                                          loaded active waiting   Run reflector weekly
shadow.timer                                                                             loaded active waiting   Daily verification of password and group files
systemd-tmpfiles-clean.timer                                                             loaded active waiting   Daily Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

106 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Edit: Or maybe I do. I just disabled dhcpcd.service and dhcpcd@enp0s25.service, rebooted and still have an internet connection. Dhcpcd is not running though.

Last edited by Heavy Rain (2015-05-03 17:13:11)

Offline

#15 2015-05-03 16:52:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] Intermittent loss of internet connection

I don't think you are supposed to have both networkd and dhcpcd services running at the same time.
What are the contents of /etc/systemd/network/wired.network ?

Edit:  You edited while I was posting.  Definitely check the contents of wired.network

Last edited by ewaller (2015-05-03 16:53:38)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#16 2015-05-03 17:12:40

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

ewaller wrote:

I don't think you are supposed to have both networkd and dhcpcd services running at the same time.
What are the contents of /etc/systemd/network/wired.network ?

Edit:  You edited while I was posting.  Definitely check the contents of wired.network

You're right, that's it. Systemd-networkd is running:

/etc/systemd/network/wired.network                  

[Match]
Name=enp0s25

[Network]
DHCP=v4

I had no idea that systemd had its on networking daemon. I will monitor the network, so far it's been running for like half an hour. Seems promising.
Thank you so much!

Offline

#17 2015-05-03 18:02:55

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

Sadly, this did not solve my problem.

[cons@cons-arch ~]$ systemctl status -l systemd-networkd
● systemd-networkd.service - Network Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
   Active: active (running) since So 2015-05-03 18:43:58 CEST; 1h 16min ago
     Docs: man:systemd-networkd.service(8)
 Main PID: 279 (systemd-network)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-networkd.service
           └─279 /usr/lib/systemd/systemd-networkd

Mai 03 18:43:58 cons-arch systemd[1]: Starting Network Service...
Mai 03 18:43:58 cons-arch systemd-networkd[279]: Enumeration completed
Mai 03 18:43:58 cons-arch systemd[1]: Started Network Service.
Mai 03 18:44:01 cons-arch systemd-networkd[279]: enp0s25         : gained carrier
Mai 03 18:44:05 cons-arch systemd-networkd[279]: enp0s25         : DHCPv4 address 192.168.178.36/24 via 192.168.178.1
Mai 03 18:44:05 cons-arch systemd-networkd[279]: enp0s25         : link configured

Mai 03 19:55:29 cons-arch systemd-networkd[279]: enp0s25         : lost carrier
Mai 03 19:55:29 cons-arch systemd-networkd[279]: enp0s25         : DHCP lease lost

Mai 03 19:55:39 cons-arch systemd-networkd[279]: enp0s25         : gained carrier
Mai 03 19:55:41 cons-arch systemd-networkd[279]: enp0s25         : DHCPv4 address 192.168.178.36/24 via 192.168.178.1

I will try to disable it and run something like dhclient or udhcpc and see if that helps.

Offline

#18 2015-05-03 19:44:52

Rone
Member
Registered: 2015-04-27
Posts: 35

Re: [SOLVED] Intermittent loss of internet connection

I think @ewaller has found the key, that is the way you configured your network cards  is not appropriate (misconfiguration), so i would redo "from scratch" the "Configure the network" section of the Beginner's guide.
But to redo it, you will have to undo all the config that activate/enable your cards.

Redoing, try different method/alternative, e.g try static IP setting method instead : it is simpler and you can start with this at first.
Choose alternative methods when you can, like netctl instead of systemd-networkd. For me netctl was easy to configure, and i choosed static IP settings.

Last edited by Rone (2015-05-03 19:47:26)

Offline

#19 2015-05-04 17:58:26

Heavy Rain
Member
Registered: 2011-09-21
Posts: 15

Re: [SOLVED] Intermittent loss of internet connection

Just to update and give you guys closure: after disabling dhcpcd and systemd-networkd, dhclient seems to do the trick. I have no idea why neither dhcpcd nor systemd-networkd run properly on their own, but oh well.

I want to thank everyone who posted in this thread dearly. You've been a great help smile

Offline

Board footer

Powered by FluxBB