You are not logged in.

#1 2013-01-18 21:15:44

kMaiSmith
Member
Registered: 2013-01-18
Posts: 1

Ethernet not working.

I am installing Arch for the first time, followed the beginers guide and when i finally got my system set up the ethernet adapter doesn't appear to be working.  there is no eth0, but there is a nice fancy little enp7s0, which is definetly the ethernet adapter (there is only one network adapter on my computer).  i checked the logs and the kernel module is being loaded for my ethernet adapter.  the funny part is that it was working just fine before i installed it.  now if this question has already been asked then i will be thrilled to have this closed, if not, i sure need some help.

On second note, i'm not sure who's bright idea it was to make a linux command a captcha question

Offline

#2 2013-01-18 21:26:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ethernet not working.

Welcome to the boards.

There is a stickied thread in Networking explaining the change to systemd that impacts network device names (and how to change them, should you wish to).

The captcha was put in after we were overrun by spammers; it has proved singularly effective so it was, in fact, a very good idea.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-01-22 08:51:04

Necitral
Member
Registered: 2013-01-14
Posts: 6

Re: Ethernet not working.

First bring up your interface:

 ip link set dev enp7s0 up 

Then when it is up run Dhcp to pull an IP from the server:

 dhcpcd enp7s0 

That should get you connected.

Offline

#4 2018-05-31 00:37:44

amanesis
Member
Registered: 2018-05-31
Posts: 7

Re: Ethernet not working.

Hey, i have the same problem with my ethernet connection, but i cant find a solution. Wifi connection is working.


$ lspci -v

        03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
    Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 90
    I/O ports at 1000 [size=256]
    Memory at 90404000 (64-bit, non-prefetchable) [size=4K]
    Memory at 90400000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8168
    Kernel modules: r8169, r8168


$ dmesg | grep r8168

        [    0.246909] pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000
        [    0.258168] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
        [   12.768998] r8168: loading out-of-tree module taints kernel.
        [   12.773084] r8168 Gigabit Ethernet driver 8.045.08-NAPI loaded
        [   12.773109] r8168 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
        [   12.787764] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
        [   12.787775] r8168  Copyright (C) 2017  Realtek NIC software team <nicfae@realtek.com>
        [   15.327680] r8168 0000:03:00.0 enp3s0: renamed from eth0


$ ip link set dev enp7s0 up

$ dhcpcd enp7s0
   
      enp3s0: waiting for carrier
      timed out
      dhcpcd exited

Offline

#5 2018-05-31 00:46:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ethernet not working.

Please read the Code of Conduct, as you agreed to during the registration process.

Notably regarding necrobumping (this thread is over five years old): https://wiki.archlinux.org/index.php/Co … bumping.22

And using code tags: https://wiki.archlinux.org/index.php/Co … s_and_code



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB