You are not logged in.

#1 2018-10-15 10:20:08

zLKidda
Member
Registered: 2018-10-15
Posts: 4

No ethernet connection

Hi, i've never used a wired connection before, but I'm in a situation that requires a wired connection to a lab in class. The class is 5 days so I need to try and sort this as fast as possible so I can participate with the labs.

I have no problems connecting over wifi.

The arch wiki for my laptop (thinkpad x1 carbon) states that wireless  and wired should work out the box.

Here is some output.
ifconfig

enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 54:ee:75:1b:bb:f1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf0500000-f0520000  

enp0s20u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::9363:51fe:8896:9491  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:4c:69:20:e2  txqueuelen 1000  (Ethernet)
        RX packets 461  bytes 70266 (68.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 84  bytes 7170 (7.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 65  bytes 5720 (5.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 65  bytes 5720 (5.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.5.59.110  netmask 255.255.240.0  broadcast 10.5.63.255
        inet6 fe80::a0e:5446:8016:70c8  prefixlen 64  scopeid 0x20<link>
        ether 28:b2:bd:3a:8b:7b  txqueuelen 1000  (Ethernet)
        RX packets 10338  bytes 10759179 (10.2 MiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 5817  bytes 1049103 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lspci

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)

Not sure what the extra eth interface is.


ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 54:ee:75:1b:bb:f1 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 28:b2:bd:3a:8b:7b brd ff:ff:ff:ff:ff:ff
    inet 10.5.59.110/20 brd 10.5.63.255 scope global dynamic noprefixroute wlp3s0
       valid_lft 3088sec preferred_lft 3088sec
    inet 10.5.59.134/20 brd 10.5.63.255 scope global secondary noprefixroute wlp3s0
       valid_lft forever preferred_lft forever
    inet6 fe80::a0e:5446:8016:70c8/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
5: enp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:e0:4c:69:20:e2 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::9363:51fe:8896:9491/64 scope link 
       valid_lft forever preferred_lft forever

I have updated my kernel in a desperate hope that it would magically fix my issue, but no prevail.

uname -r

4.18.12-arch1-1-ARCH


cat /etc/hosts

# Static table lookup for hostnames.
# See hosts(5) for details.

One thing to note is that I have no ethernet port, so I am using a eth-USB adapter.

dmesg

[   21.166117] usb 2-2: USB disconnect, device number 5
[   21.230336] audit: type=1111 audit(1539597421.947:53): pid=301 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics arg="refresh-rate-ms" pid=831 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[   22.816697] usb 2-2: new high-speed USB device number 6 using xhci_hcd
[   24.057913] usb 2-2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[   24.057915] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[   24.057917] usb 2-2: Product: USB 10/100/1000 LAN
[   24.057919] usb 2-2: Manufacturer: Realtek
[   24.057920] usb 2-2: SerialNumber: 000001
[   24.180431] usb 2-2: reset high-speed USB device number 6 using xhci_hcd
[   24.368931] r8152 2-2:1.0 eth0: v2.10.00 (2018/03/16)
[   24.368940] r8152 2-2:1.0 eth0: This product is covered by one or more of the following patents:
               		US6,570,884, US6,115,776, and US6,327,625.

[   24.402855] r8152 2-2:1.0 enp0s20u2: renamed from eth0
[   24.415961] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[   24.421041] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[   24.449461] audit: type=1111 audit(1539597425.164:54): pid=301 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics arg="refresh-rate-ms" pid=831 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[   25.917571] audit: type=1111 audit(1539597426.634:55): pid=301 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics arg="refresh-rate-ms" pid=831 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[   27.171445] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready
[   27.172146] r8152 2-2:1.0 enp0s20u2: carrier on
[   32.835139] audit: type=1131 audit(1539597433.551:56): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   48.317272] e1000e: enp0s25 NIC Link is Down
[   50.730319] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   53.031061] audit: type=1111 audit(1539597453.747:57): pid=301 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics arg="refresh-rate-ms" pid=831 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[   57.088632] audit: type=1111 audit(1539597457.804:58): pid=301 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics arg="refresh-rate-ms" pid=831 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'


systemctl status dhcpcd.service

● dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2018-10-15 10:56:43 BST; 15min ago
  Process: 300 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
 Main PID: 302 (dhcpcd)
    Tasks: 1 (limit: 4915)
   Memory: 3.2M
   CGroup: /system.slice/dhcpcd.service
           └─302 /usr/bin/dhcpcd -q -b

Oct 15 10:57:05 archlinux dhcpcd[302]: enp0s20u2: IAID 4c:69:20:e2
Oct 15 10:57:05 archlinux dhcpcd[302]: enp0s20u2: carrier lost
Oct 15 10:57:05 archlinux dhcpcd[302]: enp0s20u2: deleting address fe80::9363:51fe:8896:9491
Oct 15 10:57:05 archlinux dhcpcd[302]: wlp3s0: no IPv6 Routers available
Oct 15 10:57:07 archlinux dhcpcd[302]: enp0s20u2: carrier acquired
Oct 15 10:57:07 archlinux dhcpcd[302]: enp0s20u2: IAID 4c:69:20:e2
Oct 15 10:57:07 archlinux dhcpcd[302]: enp0s20u2: adding address fe80::9363:51fe:8896:9491e
Oct 15 10:57:07 archlinux dhcpcd[302]: enp0s20u2: soliciting a DHCP lease
Oct 15 10:57:08 archlinux dhcpcd[302]: enp0s20u2: soliciting an IPv6 router
Oct 15 10:57:21 archlinux dhcpcd[302]: enp0s20u2: no IPv6 Routers available

Hardware

I'm not sure what other information could be helpful. Thank you for ANY help, cheers.


zLKidda

Offline

#2 2018-10-15 10:53:08

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: No ethernet connection

How do you connect to networks?

Offline

#3 2018-10-15 10:57:48

zLKidda
Member
Registered: 2018-10-15
Posts: 4

Re: No ethernet connection

I'm trying to connect by using an eth adapter to USB, and then selecting wired in the connection settings. The connection just tries to connect for ever

Offline

#4 2018-10-15 11:00:08

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: No ethernet connection

Why 2 NICs?
What hostnamectl says ?
What are you using to deal for the connection, wicd, NetworkManager, netctl, else ?


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2018-10-15 11:11:00

zLKidda
Member
Registered: 2018-10-15
Posts: 4

Re: No ethernet connection

Hi, I have no idea why I have two NCIS. This is the first time i have ever tried using the ethernet, I am using netctl

Offline

#6 2018-10-15 11:16:56

zLKidda
Member
Registered: 2018-10-15
Posts: 4

Re: No ethernet connection

Ohh yeahj and the hostnamectl is

hostnamectl

   Static hostname: archlinux
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 3969944f300542d3b86d73a9a9da0cd4
           Boot ID: c4352816b40b479d81d379068cbcb97e
  Operating System: Arch Linux
            Kernel: Linux 4.18.12-arch1-1-ARCH
      Architecture: x86-64

Offline

#7 2018-10-15 11:24:54

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: No ethernet connection

zLKidda wrote:

Hi, I have no idea why I have two NCIS. This is the first time i have ever tried using the ethernet, I am using netctl

If you're using netctl to manage your networking why are you trying to use the conflicting dhcpcd service as well?
Stick to one daemon only to manage your networking as stated in the wiki.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2018-10-16 08:27:19

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: No ethernet connection

Post you netctl configurations and

# netctl status <used_profile>

Have you read the wiki ?
Otherwise you might try a different network management wink

Last edited by TheSaint (2018-10-16 08:28:41)


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB