You are not logged in.
Hi,
I'm installing arch on a new machine at work, and am having trouble getting the ethernet to work.
Sidestepping dhcp for now, i'm using a static ip address (given to me by the IT administrator) -- dhcp doesn't work.
When i ping 8.8.8.8 i get no reply. Using mtr to trace the route shows that the ping is not getting anywhere.
Here is the output of various commands. The device name is enp0s25.
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default <gateway-ip> 0.0.0.0 UG 0 0 0 enp0s25
<right-ip>.0 * 255.255.252.0 U 0 0 0 enp0s25
ethtool enp0s25:
Settings for enp0s25:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 2
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
ifconfig enp0s25:
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet <myip> netmask 255.255.252.0 broadcast <brdcastip>
inet6 fe80::201:80ff:fe7a:a3bd prefixlen 64 scopeid 0x20<link>
ether <mymac> txqueuelen 1000 (Ethernet)
RX packets 1147 bytes 189213 (184.7 KiB)
RX errors 0 dropped 6 overruns 0 frame 0
TX packets 5 bytes 31736 (30.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfcec0000-fcee0000
journalctl | grep e1000e:
Feb 07 15:58:32 csmatt.<mydomain> kernel: e1000e: Intel(R) PRO/1000 Network Driver - 2.2.14-NAPI
Feb 07 15:58:32 csmatt.<mydomain> kernel: e1000e: Copyright(c) 1999 - 2012 Intel Corporation.
Feb 07 15:58:32 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: setting latency timer to 64
Feb 07 15:58:32 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
Feb 07 15:58:32 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
Feb 07 15:58:33 csmatt.<mydomain> kernel: e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) <mymac>
Feb 07 15:58:33 csmatt.<mydomain> kernel: e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
Feb 07 15:58:33 csmatt.<mydomain> kernel: e1000e 0000:00:19.0 eth0: MAC: 8, PHY: 8, PBA No: FFFFFF-0FF
Feb 07 15:59:47 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
Feb 07 15:59:47 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
Feb 07 15:59:49 csmatt.<mydomain> kernel: e1000e: e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
Feb 07 15:59:49 csmatt.<mydomain> kernel: e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
...
Feb 07 16:00:21 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
Feb 07 16:00:21 csmatt.<mydomain> kernel: e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
Feb 07 16:00:21 csmatt.<mydomain> kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
Feb 07 16:00:23 csmatt.<mydomain> kernel: e1000e: e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
Feb 07 16:00:23 csmatt.<mydomain> kernel: e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
Feb 07 16:00:23 csmatt.<mydomain> kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready
lspci -vvv:
00:19.0 Ethernet controller: Intel Corporation 82567LF Gigabit Network Connection (rev 03)
Subsystem: AOPEN Inc. Device 070f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 42
Region 0: Memory at fcec0000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at fcefe000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at b080 [size=32]
Capabilities: [c8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0300c Data: 41e2
Capabilities: [e0] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: e1000e
And tcpdump -i enp0s25 while pinging 8.8.8.8:
matt@csmatt[~/ethproblem]$ sudo tcpdump -i enp0s25 | grep matt
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp0s25, link-type EN10MB (Ethernet), capture size 65535 bytes
16:15:46.047314 ARP, Request who-has <gateway> tell csmatt<mydomain>,
length 28
16:15:47.049856 ARP, Request who-has <gateway> tell csmatt<mydomain>,
length 28
16:15:48.053193 ARP, Request who-has <gateway> tell csmatt<mydomain>,
length 28
16:15:49.056693 ARP, Request who-has <gateway> tell csmatt<mydomain>,
length 28
16:15:49.746152 IP csmatt<mydomain> > 8.8.8.8: ICMP echo request, id 3144,
seq 4, length 64
16:15:50.056546 IP csmatt<mydomain> > 8.8.8.8: ICMP echo request, id 3144,
seq 5, length 64
16:15:51.056553 IP csmatt<mydomain> > 8.8.8.8: ICMP echo request, id 3144,
seq 6, length 64
16:15:52.056556 IP csmatt<mydomain> > 8.8.8.8: ICMP echo request, id 3144,
seq 7, length 64
16:15:53.056548 IP csmatt<mydomain> > 8.8.8.8: ICMP echo request, id 3144,
seq 8, length 64
Note, tcpdump reports other traffic on the network. It seems to me that receiving works fine, but sending doesn't get anywhere.
I can, however, connect via a tethered smart phone as an internet device, and the machine can obtain an ip address on enp0s25 when running a knoppix live cd. So i'm not sure where the problem is.
Any help will be appreciated since this is driving me a little mad now...
Offline
I think there's definitely a problem with the ethernet card / driver: i bought
myself a usb->ethernet adapter, and the following works just fine with no
additional setup required.
macchanger -m <bad ethernet card mac> <usb interface>
ifconfig <usb interface> up
dhcpcd <usb interface>
Offline