- Сетевая карта RTL8101E. Драйвера. Установка
- Rtl810xe pci express linux
- About
- Arch Linux
- #1 2020-05-22 16:32:56
- [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #2 2020-05-23 13:00:21
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #3 2020-05-23 15:29:24
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #4 2020-05-24 10:16:45
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #5 2020-05-24 14:40:18
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #6 2020-05-24 17:51:09
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #7 2020-05-25 20:37:59
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- #8 2020-05-26 04:11:19
- Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
- Wireless network configuration
- 1. Find the wireless network card
- 2. Scan nearby WiFi
- 3. Connect to WiFi
- Intelligent Recommendation
- PCI-Express card PCB Design
- Linux CentOS6 command line configures network connection
- Embedded Linux-WIFI network card
- [Linux network source code 3] PCI layer and network interface card
- Linux command line WIFI Management
- More Recommendation
- PCI bus scan and PCI network card driver
- Linux system View network card corresponding PCI address
- Raspberry Pi tutorial-command line connection to wifi
- Andriud studio command line WIFI connection debugging
- ajax and fetch (media for front-end and back-end interaction)
Сетевая карта RTL8101E. Драйвера. Установка
Здравствуйте. Я новенький в линукс. Поэтому много вопросов. Большинство вопросов решаются с помощью гугла и пары часов экспериментов. Но сейчас не могу найти решение. У меня нетбук lenovo s10-2. Привода в нем нет. Я решил на него воткнуть линукс. Хотел сначала убунту. Но всетаки захотелось KDE. Так как Kubuntu мне не нравится пошел искать другие простые дистрибутивы. Решил поставить Debian. Так как привода нет решил ставить через интернет. Залил на флешку образ netinstal (или как то так. 150 мб) Поставил. Долго пытался настроить интернет. Не вышло. Как оказалось потому что нет дров на сетевую. Я даже не знал какая там именно карта. Залил на другую флешку убунту лайв сиди. Загрузился и ввел lspci (debian говорил что команду не знает такую)
root@ubuntu:/home/ubuntu# lspci 00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 02:00.0 Network controller: Intel Corporation WiMAX/WiFi Link 5050 Series 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Источник
Rtl810xe pci express linux
Realtek R8101 linux driver source
This is the official linux driver source for Realtek RTL8101E/RTL8102E/RTL8103E/RTL8105E/RTL8106E/RTL8107E FE 100M NICs, obtained from here. Tested on Ubuntu 20.04 in my Dell Inspiron 1440 laptop, ethernet works flawlessly with a speed of 95 Mbps upload and download.
Since Ubuntu 18 these NICs are being used with the default r8169 driver (which is for the R8169 gigabit ethernet controller only), which causes terrible download and upload speeds. Installing the official driver for 810xE series fixes it.
Driver version: 1.035.03
Release date: 26/05/2020
NOTE: I upgraded to another laptop few months ago so I’m no longer maintaining this repo.
How to install this driver?
- First of all, clone this repo to some folder and cd into that folder
- Install basic dependencies for compiling the driver: sudo apt install build-essential linux-headers-$(uname -r)
- Unload the existing r8169 driver: sudo modprobe -r r8169
- Block the r8169 driver in modprobe: sudo sh -c ‘echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf’
- Run the automatic build & install script: sudo ./autorun.sh . Ignore errors if any.
- Check if the driver is loaded: lsmod | grep r8101 , it will return a single line like r8101 204800 0
- If the driver is not loaded, then run sudo modprobe r8101 .
- Now try connecting. If you don’t see the connection then you might need a reboot.
- Enjoy ethernet speeds upto 100Mbps!
Some additional info
/r8101, the link status can be forced to one of the 4 modes as following command. # insmod ./src/r8101.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION where SPEED_MODE = 100 for 100Mbps = 10 for 10Mbps DUPLEX_MODE = 0 for half-duplex = 1 for full-duplex NWAY_OPTION = 0 for auto-negotiation off (true force) = 1 for auto-negotiation on (nway force) For example: # insmod ./src/r8101.ko speed=100 duplex=0 autoneg=1 will force PHY to operate in 100Mpbs Half-duplex(nway force). 2. Force the link status by using ethtool. a. Insert the driver first. b. Make sure that ethtool exists in /sbin. c. Force the link status as the following command. # ethtool -s ethX speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION where SPEED_MODE = 100 for 100Mbps = 10 for 10Mbps DUPLEX_MODE = half for half-duplex = full for full-duplex NWAY_OPTION = off for auto-negotiation off (true force) = on for auto-negotiation on (nway force) For example: # ethtool -s eth0 speed 100 duplex full autoneg on will force PHY to operate in 100Mpbs Full-duplex(nway force). RTL8101E, RTL8102E and RTL8103E do not support Jumbo Frame. «>
About
Official linux driver source for Realtek R810xE 100M ethernet controllers
Источник
Arch Linux
You are not logged in.
#1 2020-05-22 16:32:56
[Solved] Ethernet only during install, not on fresh system. RTL810xE
I consistently have a working Ethernet connection when booting from a USB pendrive with the `archlinux-2019.07.01-x86_64.iso` image on it, but there is consistently no ethernet when booting the installed system afterwards. Even the PCI device is missing.
This is on a quite old Toshiba Satellite C660-10E.
I have logged the outputs of `journalctl -b`, `lsmod`, and `lspci` for my various attempts to fix that, but they are 500kB uncompressed and 40k compressed. I have not found an option to attach a compressed file. Shall I post them as plain text in the forum?
It looks like the device is not even found on the installed system, but was present previously. The first file is `lspci` output from the installation system booted of the `archiso` image, the second file was created on the newly installed system:
The difference in kernel modules loaded is as follows:
So the modules `r8169` and `realtek` are loaded when booting from the ArchLinux install ISO, but not on the installed system. I have no idea whether the other differencs are relevant. I’ve tried to enforce loading `r8169` by
and got a system booting with `r8169` and `realtek` loaded, but still
no ethernet device. Comparing `lsmod` as before:
And the same for `lspci` output:
Again, the device is not there.
Searching for `r8169` in the jpournal after booting `archiso`, the “normal” installed system, and the system with enforced loading of `r8169`, I’ve found:
So just loading `r8169` did not do the trick.
I have also tried to load module `r8168` instead of `r8169`, and blacklisted the latter (as was suggested somewhere on the internet, but I cannot find it again), but anyways, the `r8168` module is not available:
Any help would be apreciated. Thank you very much!
Last edited by stefan (2020-05-28 19:59:57)
#2 2020-05-23 13:00:21
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
Have you installed the linux-firmware package?
#3 2020-05-23 15:29:24
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
Yes, `linux-firmware-20200421.78c0348-1` is installed.
#4 2020-05-24 10:16:45
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
Does the most recent Arch ISO image also offer a working connection? Perhaps there has been a kernel regression affecting your ethernet device since July last year.
EDIT: you should probably post the full output of ‘journalctl -b’ here, I’m not downloading that log (but somebody else might if you prefer to wait).
Last edited by Head_on_a_Stick (2020-05-24 10:18:01)
#5 2020-05-24 14:40:18
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
Interesting. I’ve just tried this with booting from a pendrive with `archlinux-2020.05.01-x86_64.iso`, and here the ethernet device is *not* present.
So you’re right, something whith «being newer» triggers this problem. But I can’t tell if it’s a “kernel regression”, or the configuration of the system used when booting the archiso image has changed. Anything I could look at?
I’ll post the output of `journalctl -b` of the system booted from `archlinux-2020.05.01-x86_64.iso` below. Out of curiosity: What stops you from downloading? Don’t work? Security considerations?
#6 2020-05-24 17:51:09
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
For now you could try to install arch linux with linux-lts as the kernel.
#7 2020-05-25 20:37:59
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
linux-lts? I’ll try that, but may be not before Thursday.
For the time being, shall I rename the thread into sth. like “archiso regression for Realtek RTL810xE [renamed]”?
If it works with linux-lts, what would be the next steps?
#8 2020-05-26 04:11:19
Re: [Solved] Ethernet only during install, not on fresh system. RTL810xE
linux-lts? I’ll try that, but may be not before Thursday.
For the time being, shall I rename the thread into sth. like “archiso regression for Realtek RTL810xE [renamed]”?
If it works with linux-lts, what would be the next steps?
if it works use it. LTS is LTS for a reason. Newest kernels tend to focus on newest features. If you have a kernel that is brand new and supporting every device from the past 50 years, imagine the size of that beast! And who is using the newest kernel with that 50 year old gear? no one i assure you. I have run into this problem with an old gigabyte brix with an amd apu that hasnt been supported with proprietary drivers for like 5 years. Thing still works, not throwing it away. It has arch linux on it right now but fr how much longer? Eventually i’ll be on LTS kernel as well. I will be sad to see it fall into disuse before it quits functioning but such is often the way of things. You’ll be good with LTS i bet. Lots of life left in your Toshiba.
BTW, I also use arch, gentoo, artix & manjaro
Источник
Wireless network configuration
1. Find the wireless network card
You must first find the name of the wireless network card to operate it
wlp3s0 is the name of the local wireless network card.
2. Scan nearby WiFi
The SSID is the WiFi name, find the name you are familiar with and start to connect
3. Connect to WiFi
There are two tools here: wireless-tools and wpa_supplicant. Since my machine comes with wpa_supplicant, wireless-tools is skipped here.
Seeing connected to indicates that the connection is successful!
wpa_supplicant introduction:
WPAIt is the abbreviation of WiFi Protected Access, which means «WiFi network security access» in Chinese. wpa_supplicant is an open source project that has been ported to Linux, Windows, and many embedded systems. It is the WPA application layer authentication client, responsible for completing the authentication-related login, encryption and other work.
-B refers to using the daemon to execute this option in the background.
-c (lowercase) specifies to use the configuration file: /etc/wpa_supplicant/wpa_supplicant.conf. If there is no configuration file, use this command
Intelligent Recommendation
PCI-Express card PCB Design
PCI-Express card PCB Design Editor:https://www.cnblogs.com/chenman/p/3647604.html woaichengdian In like PCIE frequency environment, the transmission line appears on the signal line w.
Linux CentOS6 command line configures network connection
At my own environment, under VMware14, CentOS6.2, the kernel is 2.6 Network configuration is critical, you must ensure that each NIC MAC address is consistent in all edit files, otherwise it may resul.
Embedded Linux-WIFI network card
CSDN is only used to increase the weight of Baidu’s inclusion, the layout is not optimized, and it is not maintained daily. Please visit:www.hceng.cn View comments. The corresponding address of this b.
[Linux network source code 3] PCI layer and network interface card
PCI layer and network interface card First, the main data structure pci_driver int (*suspend) (struct pci_dev *dev, pm_message_t state); Mainly stops the device export queue, the device cannot be tran.
Linux command line WIFI Management
Related Commands List all wifiiwlist scan || iwlist wlan0 scan The current wifiiwconfig Related wifi connectionwpa_cli Generates an encrypted passwordwpa_passphrase Wifi connection using wpa_supplican.
More Recommendation
PCI bus scan and PCI network card driver
This article describes the hardware architecture based on the Intel bus architecture as an example to illustrate how linux scans PCI devices on the bus. The CPU is connected to the North Bridge Chip (.
Linux system View network card corresponding PCI address
Linux system View network card corresponding PCI address Install Ethtool Tool View the Name Name View all PCI addresses Install Ethtool Tool View the Name Name Output as follows View all PCI addresses.
Raspberry Pi tutorial-command line connection to wifi
Original link:https://blog.csdn.net/itisyang/article/details/79980517 sudo iwlist wlan0 scan lists all connectable wifi sudo vi /etc/wpa_supplicant/wpa_supplicant.conf Add the following at the bottom .
Andriud studio command line WIFI connection debugging
To say that android studio has a wifi debugging plug-in, but downloading a few is not easy to use, and I don’t know where the problem occurred, and finally connected with the command line. Record it: .
ajax and fetch (media for front-end and back-end interaction)
ajax step: 1. Create an xmlhttprequest instance 2. Make an http request 3. Receive data from the server 4. Update the data on the webpage Advantages and disadvantages: It is programming for MVC, which.
Источник