LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2021, 09:53 AM   #1
Leandrogc
LQ Newbie
 
Registered: Oct 2021
Posts: 4

Rep: Reputation: Disabled
Wired connection problem (Installation of any distro and after)


Hi i have a Lenovo G460 with a problem when installing any distro, from the moment i boot with the usb to start with the installation proccess my wired connection stops working, and then when the distro is installed i can't access internet either, i been throught Ubuntu, Linux mint, now im on Manjaro 21.1.5 but i still have the same problem. Before changing to linux i had Windows 10 and the wired connection worked perfect so im guessing it's a linux problem(?

Im relatively new to linux so i don't know what should be the root of the problem
Code:
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Lenovo driver: r8169
This is my Ethernet Adapter
Here are the outputs for:
ip link list
Code:
: 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: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether  brd ff:ff:ff:ff:ff:ff
lspci -v
Code:
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
	Subsystem: Lenovo Device 392e
	Flags: bus master, fast devsel, latency 0, IRQ 18
	I/O ports at 2000 [size=256]
	Memory at d2410000 (64-bit, prefetchable) [size=4K]
	Memory at d2400000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at d5400000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [ac] MSI-X: Enable- Count=2 Masked-
	Capabilities: [cc] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-00-00-00-00
	Kernel driver in use: r8169
	Kernel modules: r8169

Last edited by Leandrogc; 10-18-2021 at 11:45 AM.
 
Old 10-18-2021, 10:11 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
The Realtek RTL810x series is a) quite old, b) a bit rubbish, and c) quite well supported. It ought to work.

Can you boot one of the installation media (or a Live distribution), run the following commands, and post the results:
Code:
ifconfig -a
This should display all interfaces for which a driver is loaded. It's an old (and in some distributions, deprecated) command, so if it doesn't work, try:
Code:
ip link list
And then run this command to display all PCI/PCIe devices and their respective drivers:
Code:
lspci -v
 
Old 11-02-2021, 07:54 AM   #3
Leandrogc
LQ Newbie
 
Registered: Oct 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Update: i've searching through similar posts and some talk about a problem with the r8169 driver, along with that doing mhwd on the cli i noticed that i had an available driver configuration which was r8168.I tried blacklisting r8169 driver and installing/modprobing r8168 but unfortunately this doesn't work either.
This is the output of lspci -v when i modprobe r8168:
Code:
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 02)
	Subsystem: Lenovo Device 392e
	Flags: bus master, fast devsel, latency 0, IRQ 11
	I/O ports at 2000 [size=256]
	Memory at d2410000 (64-bit, prefetchable) [size=4K]
	Memory at d2400000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at d5400000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [ac] MSI-X: Enable- Count=2 Masked-
	Capabilities: [cc] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-00-00-00-00
	Kernel modules: r8169
It seems that the r8169 kernel module is still being loaded but i don't have any kernel driver.
 
Old 01-25-2022, 07:32 AM   #4
Leandrogc
LQ Newbie
 
Registered: Oct 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Update:
After some time of searching trough forums and posts i didn't found any solution, either way in specific cases the connection do works for a couple of seconds which makes me think that there might be a solution.
I leave the output of inxi -Fz here just in case
Code:
System:
  Kernel: 5.10.93-1-MANJARO x86_64 bits: 64 Desktop: Xfce 4.16.0
    Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 0677 v: Lenovo G460
    serial: <superuser required>
  Mobo: LENOVO model: N/A serial: <superuser required> BIOS: LENOVO
    v: 29CN28WW(V2.05) date: 06/10/2010
Battery:
  ID-1: BAT1 charge: 0 Wh (0.0%) condition: 4.0/4.0 Wh (100.0%) volts: 8.2
    min: 11.1
CPU:
  Info: dual core model: Intel Core i3 M 350 bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 999 min/max: 933/2266 cores: 1: 986 2: 1004 3: 937
    4: 1072
Graphics:
  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel
  Device-2: Chicony Lenovo EasyCamera type: USB driver: uvcvideo
  Display: x11 server: X.Org 1.21.1.3 driver: loaded: modesetting
    resolution: 1366x768~60Hz
  OpenGL: renderer: Mesa DRI Intel HD Graphics (ILK) v: 2.1 Mesa 21.3.4
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio
    driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.10.93-1-MANJARO running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.43 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: N/A
  IF-ID-1: enp0s29u1u4 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Spreadtrum Unisoc Phone type: USB driver: rndis_host
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives:
  Local Storage: total: 465.76 GiB used: 28.9 GiB (6.2%)
  ID-1: /dev/sda vendor: Western Digital model: WD5000LPCX-22VHAT0
    size: 465.76 GiB
Partition:
  ID-1: / size: 28.67 GiB used: 20.55 GiB (71.7%) fs: ext4 dev: /dev/dm-0
  ID-2: /boot size: 965.9 MiB used: 183.7 MiB (19.0%) fs: ext4
    dev: /dev/sda1
  ID-3: /home size: 421.8 GiB used: 7.86 GiB (1.9%) fs: ext4 dev: /dev/dm-1
Swap:
  ID-1: swap-1 type: partition size: 5.86 GiB used: 322.7 MiB (5.4%)
    dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 255 Uptime: 2h 44m Memory: 2.78 GiB used: 2.28 GiB (82.1%)
  Shell: Bash inxi: 3.3.12
 
Old 01-25-2022, 11:59 AM   #5
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
Here is my old clunker, that works on MX 19.4.
Code:
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK M4A785TD driver: r8169 v: kernel port: d800 bus-ID: 02:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
I insalled (then gave away) MX or antiX on several old laptops/PCs without problem yet with Ethernet.
 
Old 01-25-2022, 02:19 PM   #6
Leandrogc
LQ Newbie
 
Registered: Oct 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by leclerc78 View Post
Here is my old clunker, that works on MX 19.4.
Code:
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK M4A785TD driver: r8169 v: kernel port: d800 bus-ID: 02:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
I insalled (then gave away) MX or antiX on several old laptops/PCs without problem yet with Ethernet.
Thanks for replying!, since the problem stayed in those distros i didn't really think of trying others but now that you tell me about MX i'll try it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no access to config on wired access, but modem/router and wired access point work littlejoe5 Linux - Networking 1 10-22-2014 02:40 PM
How to configure PC for wired/static and wired/DHCP networks? catkin Linux - Networking 2 10-27-2010 10:51 AM
bridging a wireless and wired network causes wired to stop working royce2020 Linux - Networking 0 04-21-2009 04:48 PM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
Wired to Wireless back to Wired The_Nerd Linux - Hardware 5 09-15-2004 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration