#Ethernet not connecting to internet on Debian system

16 messages · Page 1 of 1 (latest)

lean valve
#

Using Debian

WiFi works great, and I connect via wpa_supplicant. However, Ethernet does not work when trying to use it to ping or access the internet. The link is detected by ethtool as shown below.

My ip link response

will@debian:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether d0:67:e5:0c:05:37 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 38:59:f9:73:36:cc brd ff:ff:ff:ff:ff:ff

my /etc/network/interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
#auto lo
#iface lo inet loopback

#enp3s0 is broken, but ethernet cable is plugged in
auto enp3s0
iface enp3s0 inet dhcp
gateway 192.168.0.1

# wifi works fine
auto wlp2s0
iface wlp2s0 inet dhcp
        wpa-ssid "xxx"
        wpa-psk "yyy"

This computer seems to only support 2.4ghz connections, so ethernet is pretty much my only viable option. Help would be appreciated!

#

Ok, so I can't add my ethtool response because discord is a bunch of jackasses and want me to pay to send a 500 character message. Here it is:

will@debian:~$ /usr/sbin/ethtool enp3s0
Settings for enp3s0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
netlink error: Operation not permitted
        Link detected: yes
#

note that ping -I enp3s0 x.com also hangs up on the following message:

ping: Warning: source address might be selected on device other than: enp3s0
PING x.com (160.153.63.10) from 192.168.0.214 enp3s0: 56(84) bytes of data.
jolly stream
#

Post lspci

karmic shard
#

lspci -v preferably

lean valve
#

@jolly stream @karmic shard

jolly stream
#

@lean valve Try to pacman -Sy r8168

#

Or if you are using lts kernel pacman -Sy r8168-lts

#

Then :

# dracut --hostonly --force
# grub-mkconfig -o /boot/grub/grub.cfg
# reboot
#

(As root)

karmic shard
#

why -Sy? aren't partial upgrades not recommended?
-S should be fine I think. or -Syu

lean valve
# jolly stream <@332558233778651146> Try to `pacman -Sy r8168`

sorry for late response--

[    1.279321] r8169 0000:03:00.0 eth0: RTL8168evl/8111evl, d0:67:e5:0c:05:37, X                                                                                                                                                                                                                                             ID 2c9, IRQ 27
[    1.279323] r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx c                                                                                                                                                                                                                                             hecksumming: ko]
[    1.280169] r8169 0000:03:00.0 enp3s0: renamed from eth0
[   86.780085] r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl                                                                                                                                                                                                                                             8168e-3.fw
[   86.780639] RTL8211E Gigabit Ethernet r8169-0-300:00: attached PHY driver [RT                                                                                                                                                                                                                                             L8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-0-300:00, irq=IGNORE)
[   87.001501] r8169 0000:03:00.0 enp3s0: Link is Down
[   88.703155] r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Full - flow contr                                                                                                                                                                                                                                             ol off