You are not logged in.

#1 2013-08-12 11:02:30

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Networking (eth) not working after update

I recently updated my system using:

sudo pacman -Syy

Now since then I'm unable to connect to my LAN (and don't have a proper WiFi connection here so can't check whether this is also a problem for WiFi).

Can someone help me on track getting my stuff working again?

Info about my system:

ArchLinux
SLiM
Cinnamon
NetworkManager
IBM Thinkpad T520

(dump of /var/log/pacman.log -> http://hastebin.com/ludenenava.coffee)

[USER@wks-021 ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether f0:de:f1:be:1b:96 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 74:e5:0b:a6:ea:34 brd ff:ff:ff:ff:ff:ff
[USER@wks-021 ~]$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=561 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=50 time=555 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=50 time=565 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 555.675/560.983/565.761/4.224 ms
[USER@wks-021 ~]$ ping -c 3 google.nl
ping: unknown host google.nl
[USER@wks-021 ~]$ systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled)
   Active: inactive (dead)
[USER@wks-021 ~]$ lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0
    Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0, IRQ 44
    Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 5000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0, IRQ 41
    Memory at f2525000 (64-bit, non-prefetchable) [size=16]
    Capabilities: <access denied>
    Kernel driver in use: mei_me
    Kernel modules: mei_me

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
    Subsystem: Lenovo Device 21ce
    Flags: bus master, fast devsel, latency 0, IRQ 42
    Memory at f2500000 (32-bit, non-prefetchable) [size=128K]
    Memory at f252b000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at 5080 [size=32]
    Capabilities: <access denied>
    Kernel driver in use: e1000e
    Kernel modules: e1000e

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
    Subsystem: Lenovo Device 21cf
    Flags: bus master, medium devsel, latency 0, IRQ 16
    Memory at f252a000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0, IRQ 45
    Memory at f2520000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    Memory behind bridge: f2400000-f24fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=05, subordinate=0c, sec-latency=0
    I/O behind bridge: 00004000-00004fff
    Memory behind bridge: f1c00000-f23fffff
    Prefetchable memory behind bridge: 00000000f0400000-00000000f0bfffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=0
    I/O behind bridge: 00003000-00003fff
    Memory behind bridge: f1400000-f1bfffff
    Prefetchable memory behind bridge: 00000000f0c00000-00000000f13fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
    Subsystem: Lenovo Device 21cf
    Flags: bus master, medium devsel, latency 0, IRQ 23
    Memory at f2529000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
    Subsystem: Lenovo Device 21cf
    Flags: bus master, medium devsel, latency 0
    Capabilities: <access denied>
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04) (prog-if 01 [AHCI 1.0])
    Subsystem: Lenovo Device 21cf
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 40
    I/O ports at 50a8 [size=8]
    I/O ports at 50bc [size=4]
    I/O ports at 50a0 [size=8]
    I/O ports at 50b8 [size=4]
    I/O ports at 5060 [size=32]
    Memory at f2528000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: ahci
    Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
    Subsystem: Lenovo Device 21cf
    Flags: medium devsel, IRQ 18
    Memory at f2524000 (64-bit, non-prefetchable) [size=256]
    I/O ports at efa0 [size=32]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
    Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
    Flags: bus master, fast devsel, latency 0, IRQ 43
    Memory at f2400000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: <access denied>
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

0d:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 08) (prog-if 01)
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f1401000 (32-bit, non-prefetchable) [size=256]
    Capabilities: <access denied>
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci_pci

0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04) (prog-if 10 [OHCI])
    Subsystem: Lenovo Device 21cf
    Flags: bus master, fast devsel, latency 0, IRQ 19
    Memory at f1400000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: firewire_ohci
    Kernel modules: firewire_ohci
[USER@wks-021 ~]$ dmesg | grep enp0s25
[    3.296250] systemd[1]: Expecting device sys-subsystem-net-devices-enp0s25.device...
[    4.982332] systemd-udevd[161]: renamed network interface eth0 to enp0s25
[    7.386245] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[  372.834646] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[  372.834659] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[  372.834705] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
[  732.779505] e1000e: enp0s25 NIC Link is Down
[  774.303023] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[  774.303036] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[  806.595364] e1000e: enp0s25 NIC Link is Down
[  972.466585] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[  972.466595] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO

Is it due DHCP?

Last edited by Anoniem (2013-08-12 11:31:08)

Offline

#2 2013-08-12 11:32:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Networking (eth) not working after update

Your ethernet connection is clearly up.  `ip` says so, and `ping` confirms it.  You just can't resolve domain names.  What commands have you run to connect?  Are you running dhcpcd?  What is is /etc/resolve.conf?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-08-12 12:01:41

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

Bytheway, just runned again:

[USER@wks-021 ~]$ systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled)
   Active: active (running) since Mon 2013-08-12 13:32:46 CEST; 22min ago
  Process: 1952 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
 Main PID: 1953 (dhcpcd)
   CGroup: name=systemd:/system/dhcpcd.service
           └─1953 /sbin/dhcpcd -q -b

Seems ok to me too

And now this:

[USER@wks-021 ~]$ sudo gedit /etc/resolv.conf

Output:

# Generated by resolvconf
nameserver 192.168.43.1

As I understood from here https://wiki.archlinux.org/index.php/Resolv.conf that it is an alternative DNS.
Can I just delete the entry and test again? Should't be needed to have it right? (DHCP)

I have several devices which I connect to (LAN at work, WiFi at home, MiFi and Mobile tether in the train - does it matter?)

Last edited by Anoniem (2013-08-12 12:02:40)

Offline

#4 2013-08-12 12:22:26

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

When I disconnect from my Mobile tether and the resolv.conf will be empty, even then I can't browse to websites.
I entered the DNS myself (192.168.10.21) in the resolv.conf from my working LAN, but also no effect

Offline

#5 2013-08-12 12:50:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Networking (eth) not working after update

Slow down and explain step by step.  If you disconnect from one connection and want to connect to another, you need to rerun dhcpcd.  Dhcpcd will generate /etc/resolv.conf.  I believe you said you deleted /etc/resolv.conf and now can't browse websites ... what do you expect?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-08-12 12:57:46

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

No, let me explain, I didn't know that AFTER a restart (dhcpcd) it clears the file. Now I did it once (clearing out the nameserver 192.168.43.1) and saved the file.
After I reran dhcpcd the nameserver was back again (on the mobile tether). Now I disconnected the mobile tether, only connected LAN, rerun dhcpcd, now the
is empty. Thought it might help to enter the DNS manually in the (192.168.10.21) for my working LAN in the file (and save). That's what I did. But now it's empty
again tongue.

Offline

#7 2013-08-12 12:59:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Networking (eth) not working after update

How did you rerun dhcpcd?  Did you restart the service, killall dhcpcd && dhcpcd, or ...?

If you just ran dhcpcd again, I would not expect it to work.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2013-08-12 13:04:23

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

Now, indeed I just did

$sudo systemctl restart dhcpcd

So I need to do:

$sudo killall dhcpcd
$sudo systemctl start dhcpcd

?

EDIT (15:06)

Just tried but it doesn't help - looks like it still have issues with DNS

EDIT (15:48)

I'm now in the train, just connected to T-Mobile (hotspot), entered 1.1.1.1 in Firefox, accepted, connected, typed google.nl for example > BINGO
So looks like I just have issues with LAN (I'm sure I have no issues with my LAN at work > already checked and besides everything is working link up etc)

Last edited by Anoniem (2013-08-12 13:50:08)

Offline

#9 2013-08-12 15:05:18

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Networking (eth) not working after update

You can just use nameserver 8.8.8.8 to use google's public DNS in the event that crap like this happens.  I am thinking that there must be some kind of PEBKAC though...

What really concerns me is this:

Anoniem wrote:

I recently updated my system using:

sudo pacman -Syy

Are you aware that the command you posted above does not update your system.  In fact this is likely one of the worst things you could do and will lead to breakage sooner or later.

Offline

#10 2013-08-12 15:13:39

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

The fact that I posted this in newbie is because I am a newbie tongue. Yes I know, I have to learn a lot! But eager to learn. So please tell me, besides the fact I made a typ0 (I used # pacman -Syu / https://wiki.archlinux.org/index.php/Ar … intenance) how I can do things better. Shall I make a backup before I update my system? How can I update the system? Or need I take another look at the Wiki?

As for the issue with the LAN, I will try to enter 8.8.8.8 tomorrow when I'm at my working LAN again. For now I'm at home, live on the interwebz through WiFi, that works like a charm to be honest. Strange why LAN (eth0) doesn't work like it should. Maybe I bricked it somehow by updating my system lately?

Offline

#11 2013-08-12 15:14:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Networking (eth) not working after update

I suspect that was a typo - the pacman logs show a recent `pacman -Syu` - though it does show some partial upgrades in the history.  Don't do partial upgrades.  Unless you know exactly what you are doing, and have good reason to do so, never use `pacman -Sy` without a 'u'.

Given the more recent `pacman -Syu`, though, I concluded this wasn't the current issue.  Being clear about what you have actually done, though, is important for the current issue.  I was able to infer that what you said you did was not actually what you did in that case - in other cases, I can't be sure if what you are saying is accurate.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2013-08-12 15:19:11

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

I'm really trying to be accurate Trilby, I've done not so many things yet, I went from LinuxMint recently to ArchLinux, needed a few packages and pieces of software. A few days ago I thought it would be time to update my system - stupid - I've read now that I can break my stuff indeed. But how can I handle this? But indeed, there is explanation for my problem. At least not for the LAN.

(can I vote people here / reputation for useful posts? you guys are helping a lot)

Offline

#13 2013-08-12 15:21:53

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Networking (eth) not working after update

I'm just making sure that you are really updating your system when you think you are updating your system.  Our repo's packages do not have versioned dependencies, so there is the assumption that the system is being kept up to date.

Offline

#14 2013-08-13 00:11:20

Ivoz
Member
From: Australia
Registered: 2013-04-23
Posts: 2

Re: Networking (eth) not working after update

could you paste the results of `ip a`, `ip r` and `ip l` again, and `tracepath -b google.com`

Offline

#15 2013-08-13 06:08:36

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

Hereby:

[[USER@wks-021 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    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: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether f0:de:f1:be:1b:96 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f2de:f1ff:febe:1b96/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 74:e5:0b:a6:ea:34 brd ff:ff:ff:ff:ff:ff
[[USER@wks-021 ~]$ ip r
[USER@wks-021 ~]$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether f0:de:f1:be:1b:96 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 1000
    link/ether 74:e5:0b:a6:ea:34 brd ff:ff:ff:ff:ff:ff
[farid@wks-021 ~]$ 

Offline

#16 2013-08-13 06:10:28

Anoniem
Member
Registered: 2013-07-17
Posts: 43

Re: Networking (eth) not working after update

tracepath -b google.com is resulting in an unknown host wink

Offline

Board footer

Powered by FluxBB