AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[realtek](ubuntu)

Martin Hope
Jim_HiTek
Asked: 2023-12-12 23:38:07 +0800 CST

升级到 23.04 无法显示或识别 Realtek Wifi 适配器

  • 5

PC最近升级到23.04和Mate桌面。Mate 不显示 Wifi 图标。重新启动到 Ubuntu Gnome 桌面,显示并连接到 USB Wifi 适配器:

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 048d:5702 Integrated Technology Express, Inc. ITE Device
Bus 001 Device 005: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 004: ID 045e:0047 Microsoft Corp. IntelliMouse Explorer 3.0
Bus 001 Device 003: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 002: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

重新启动到 Mate 后,它仍然没有显示在网络或任务栏中。虽然硬件出现了:

sudo lshw -C network
[sudo] password for jimtek4: 
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: enp6s0
       version: 16
       serial: 18:c0:4d:3f:72:dc
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.2.0-39-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.8.244 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:37 ioport:f000(size=256) memory:fcd04000-fcd04fff memory:fcd00000-fcd03fff

然后 Ubuntu 显示更新已准备就绪,所以我安装了它。无线网络仍然没有显示。所以重新启动到 Gnome...然后它就没有显示在那里。因此,在升级和不升级之间,Wifi 在 Gnome 中停止工作,并且在 Mate 中仍然无法工作。

有人知道如何让 Mate 和 Gnome 再次识别 Realtek USB Wifi 硬件吗?

谢谢!

PS 搜索期间 Askubuntu 上的所有其他链接都较旧,似乎不适用于 23.04。

附加信息:

Sudo apt-get -y install rtl8812au-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
rtl8812au-dkms is already the newest version (4.3.8.12175.20140902+dfsg-0ubuntu20~23.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

如上图所示。

realtek
  • 1 个回答
  • 56 Views
Martin Hope
Rollem Neb
Asked: 2022-01-31 06:22:39 +0800 CST

如何在新笔记本电脑上激活wifi

  • 1

我刚刚在一台新的华硕笔记本电脑上安装了 Ubuntu studio 21.10。它现在带有 W10 的双引导。Wifi 在 W10 中按预期工作,但在 ubuntu 中没有。适配器是 Realtek RTL8821CE。当我执行 sudo lspci 时会出现,但除此之外我迷失在终端中。任何帮助安装正确的驱动程序将不胜感激

benm@Bens-asus:~$ lspci -nnk | grep 0280 -A3
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        DeviceName: WLAN
        Subsystem: AzureWave RTL8821CE 802.11ac PCIe Wireless Network Adapter [1a3b:3040]
        Kernel modules: rtw88_8821ce
benm@Bens-asus:~$ sudo dmesg | grep 8821
[sudo] password for benm: 
[    3.899773] rtw_8821ce 0000:03:00.0: enabling device (0000 -> 0003)
[    3.901991] rtw_8821ce 0000:03:00.0: Firmware version 24.8.0, H2C version 12
[    3.924396] rtw_8821ce 0000:03:00.0: rfe 4 isn't supported
[    3.924819] rtw_8821ce 0000:03:00.0: failed to setup chip efuse info
[    3.924824] rtw_8821ce 0000:03:00.0: failed to setup chip information
realtek
  • 2 个回答
  • 591 Views
Martin Hope
Jim_HiTek
Asked: 2020-12-22 10:05:27 +0800 CST

Realtek Wifi 适配器在 20.04.1 更新后停止工作

  • 0

原帖在这里:Restored Realtek Adapter Operation

Realtek 适配器在 20.04.1 安装后工作了 3-4 个月,直到 11 月 ubuntu 20.04.1 升级。之后它立即停止工作。按照第一个线程中的建议,能够恢复操作,并且相信 DKMS 安装可以防止将来出现故障。但是前几天又失败了。升级后。我有 2 台几乎相同的计算机,它已在 #2 中修复,但在这台计算机 #1 中没有,我被要求发布一些测试:

dkms 状态

rtl8188fu, 1.0, 5.4.0-52-generic, x86_64: installed
rtl8812AU_8821AU_linux, 1.0, 5.4.0-52-generic, x86_64: installed

sudo lshw -C 网络

[sudo] password for jim-hitek:           
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 11
       serial: 10:c3:7b:9d:af:b3
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII
       resources: irq:40 ioport:e000(size=256) memory:fea00000-fea00fff memory:d0800000-d0803fff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@2:1
       logical name: wlx1cbfce112175
       serial: 1c:bf:ce:11:21:75
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=5.4.0-52-generic firmware=0.36 ip=192.168.43.108 link=yes multicast=yes wireless=IEEE 802.11

lsusb

Bus 002 Device 006: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter
Bus 002 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 007: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 1267:0103 Logic3 / SpectraVideo plc G-720 Keyboard
Bus 003 Device 002: ID 275d:0ba6  USB OPTICAL MOUSE 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

在这台我称之为 #1 的计算机上,Realtek 无法正常工作。在我称为 #2 的另一台计算机上,操作已按照链接中显示的说明恢复。我相信专家们试图弄清楚的是为什么安装 DKMS 不能通过升级来保护 Realtek 驱动程序?

realtek
  • 1 个回答
  • 868 Views
Martin Hope
Jim_HiTek
Asked: 2020-11-16 08:34:50 +0800 CST

最新的 20.04 更新淘汰了 Realtek Wifi 驱动程序...如何恢复?

  • 1

Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN 适配器

几周前安装了 20.04 并使用 RALink USB 设备访问互联网,因为 20.04 不支持开箱即用的 Realtek 设备。当时安装了 RTL8811au 驱动程序并一直使用那个高增益 USB 加密狗,直到 2020 年 11 月 12 日我自动升级 20.04 并重新启动。重新启动后,没有任何 Wifi 源连接。Realtek USB 驱动程序被淘汰,USB 加密狗不再工作......但它显示:

lsusb \snip

Bus 001 Device 007: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 009: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter

我已经检查过,我发现解决这个问题的所有线程都是旧的,主要适用于 RTL8812au 驱动程序。我的设备是 8811au。当然,我已经尝试过这些建议,但到目前为止,它们都不起作用,而且我担心我的系统会被所有无处可去的安装堵塞。

有人对在哪里获得工作驱动程序和安装它们有什么建议吗?一步步?一些最新的方法适用于 20.04.1?

我发现了一个先前的问题和一个“我找到了!” 显示此链接到较新驱动程序的评论:https ://github.com/aircrack-ng/rtl8812au

但我想在那里做什么?那里的信息太多了,我该如何安装我需要的东西???

谢谢。


@heynnema 感谢您的帮助......我正处于电子项目的最后,所以我分心了。对不起,我这么晚才回到这里。以下是您的答案:

dkms 状态 - 返回 null。没有列出任何内容。

sudo lshw -C 网络

  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: enp4s0
       version: 09
       serial: 08:60:6e:74:7a:96
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168f-1_0.0.5 06/18/12 latency=0 link=no multicast=yes port=MII
       resources: irq:18 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:4
       logical name: wlx1cbfce112175
       serial: 1c:bf:ce:11:21:75
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=5.4.0-53-generic firmware=0.36 ip=192.168.43.109 link=yes multicast=yes wireless=IEEE 802.11

unname -r

5.4.0-53-generic

@heynnema 然后我按照您的说明在您的帖子中显示如下,但收到此错误消息:

sudo dkms remove rtl8812au/5.6.4.2 --all
Error! There are no instances of module: rtl8812au
5.4.0-53 located in the DKMS tree.

@heynnema 我继续下载 zip 并尝试安装。收到消息,

'Kernel preparation unnecessary for this kernel.  
Skipping...' &  'No original module exists within this kernal' and finally,

dkms 状态

Error! Could not locate dkms.conf file.
File: /var/lib/dkms/rtl8812au/5.6.4.2/source/dkms.conf does not exist.

那么现在怎么办?

@heynnema 我们不断收到显示 8812 但我的是 8811 的驱动程序标头是否重要?另外,需要指出的是,在最后一次 Ubuntu 软件自动升级之前,该设备运行良好。我很少关注正在下载和安装的内容,但没有注意到与 Realtek 有任何关系。

@heynnema 按照您的要求这样做了...想要在上面吗?在执行您在下面要求的所有其他事情之前回答。谢谢您的帮助。

ls -al /usr/src/rtl8812au-5.6.4.2/ ls: 无法打开目录'/usr/src/rtl8812au-5.6.4.2/': 权限被拒绝

drivers usb realtek
  • 2 个回答
  • 2370 Views
Martin Hope
Gilles Bassière
Asked: 2020-11-08 13:05:24 +0800 CST

无法让我的外部/USB wifi 天线 (Alfa AWUS036ACH) 与 Ubuntu 20.04.1 一起使用

  • 2

我正在尝试使用外部 wifi 天线。我可以插上它,但它似乎没有启动(天线上没有闪光灯)。天线在我妻子的 macbook 上工作正常。

我的系统是:

$ lsb_release -sd
Ubuntu 20.04.1 LTS
$ uname -a
Linux poulpito 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

没有双启动,只有这台计算机上的这个操作系统。

硬件已连接:

$ lsusb | grep -i wlan
Bus 001 Device 008: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter

我想我对司机没问题:

$ apt list rtl8812au-dkms
rtl8812au-dkms/focal,focal,now 4.3.8.12175.20140902+dfsg-0ubuntu12 all  [installé]
$ dkms status | grep 8812
rtl8812au, 4.3.8.12175.20140902+dfsg, 5.4.0-52-generic, x86_64: installed
$ lsmod | grep 8812
8812au               1290240  0
cfg80211              704512  2 8812au,8821ce

每次插入天线的 USB 电缆时,我都会将其插入dmesg(我无法真正解释它,但我可以阅读“找到 USB 设备”):

[ 1737.888170] usb 1-3: New USB device found, idVendor=0bda, idProduct=8812, bcdDevice= 0.00
[ 1737.895453] Modules linked in: rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm edac_mce_amd snd_seq_midi snd_seq_midi_event kvm_amd ccp snd_rawmidi kvm crct10dif_pclmul uvcvideo snd_seq ghash_clmulni_intel videobuf2_vmalloc btusb videobuf2_memops amdgpu btrtl videobuf2_v4l2 btbcm videobuf2_common aesni_intel btintel snd_seq_device crypto_simd cryptd glue_helper asus_nb_wmi serio_raw bluetooth videodev asus_wmi hid_multitouch nls_iso8859_1 8812au(OE) sparse_keymap 8821ce(OE) wmi_bmof k10temp snd_timer joydev mc input_leds amd_iommu_v2 gpu_sched ecdh_generic ttm ecc snd cfg80211 drm_kms_helper i2c_algo_bit fb_sys_fops syscopyarea sysfillrect soundcore sysimgblt mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 usbhid hid_generic crc32_pclmul ahci nvme i2c_piix4 libahci r8169 realtek
[ 1737.895589]  ? _rtw_malloc+0x2d/0x2f [8812au]
[ 1737.895622]  ? _rtw_memcpy+0x10/0x12 [8812au]
[ 1737.895657]  ? rtw_5g_rates_init+0x1a/0x1c [8812au]
[ 1737.895690]  ? rtw_spt_band_alloc+0xb0/0xb2 [8812au]
[ 1737.895723]  rtw_wdev_alloc+0xf6/0x29c [8812au]
[ 1737.895755]  rtw_usb_if1_init+0xf0/0x20c [8812au]
[ 1737.895786]  rtw_drv_init+0x246/0x2d3 [8812au]

在这一点上,我相信我应该看到天线上的灯在闪烁,并且应该出现一个 WLAN 接口,但它不是:

$ iwconfig
lo        no wireless extensions.

enp4s0    no wireless extensions.

wlp3s0    IEEE 802.11bgn  ESSID:"giluxphone"  Nickname:"<WIFI@REALTEK>"
      Mode:Managed  Frequency:2.432 GHz  Access Point: 8A:36:5F:BF:0A:B4   
      Bit Rate:72.2 Mb/s   Sensitivity:0/0  
      Retry:off   RTS thr:off   Fragment thr:off
      Power Management:off
      Link Quality=100/100  Signal level=-32 dBm  Noise level=0 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

$ nmcli device status
DEVICE  TYPE      STATE         CONNECTION   
wlp3s0  wifi      connecté      giluxphone 1 
enp4s0  ethernet  indisponible  --           
lo      loopback  non-géré      --           

$ 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: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 04:d4:c4:e5:9c:a1 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether c0:e4:34:1b:80:0b brd ff:ff:ff:ff:ff:ff

(请注意,这wlp3s0是我的内部无线网卡,而不是我尝试使用的外部 USB 天线)。

那我现在该怎么办?输出中是否有某些dmesg内容表明某些内容不起作用?

对我来说,似乎一切都很好,但我一定错过了什么......

networking wireless realtek
  • 2 个回答
  • 1668 Views
Martin Hope
modicum
Asked: 2020-10-30 04:40:20 +0800 CST

无法让 RTL8125 Realtek 驱动程序在 20.04 版上运行

  • 6

我在一台新 PC 上安装了 Ubuntu 20.04,最初通过安装 Realtek 驱动程序设法使 RTL8125 NIC 驱动程序正常工作。但是,更新后它停止工作,我无法让它再次工作。

sudo lshw -C network 的输出是:

*-网络无人认领

   description: Ethernet controller
   product: RTL8125 2.5GbE Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:06:00.0
   version: 05
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list
   configuration: latency=0
   resources: ioport:f000(size=256) memory:fcd00000-fcd0ffff memory:fcd10000-fcd13fff

的输出lspci -knn | grep Eth -A3是:

06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
    DeviceName: RTL8111E Giga LAN
    Subsystem: Gigabyte Technology Co., Ltd RTL8125 2.5GbE Controller [1458:e000]
    Kernel modules: r8169

我已经从https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software的 realtek 网站下载了驱动程序

并按照自述文件中的说明进行操作。但是,当我运行命令时sudo ./autorun.sh,出现错误:

Check old driver and unload it.
Build the module and install
make[3]: *** No rule to make target 'information'. Stop.
make[2]: *** [Makefile:340: __build_one_by_one] Error 2
make[1]: *** [Makefile:167: clean] Error 2
make: *** [Makefile:48: clean] Error 2

我对 Linux 还很陌生,所以我不明白这个错误是什么意思,所以任何帮助都将不胜感激

networking drivers realtek
  • 3 个回答
  • 15307 Views
Martin Hope
codywohlers
Asked: 2020-10-21 10:37:42 +0800 CST

r8169 Realtek 以太网模块在内核升级后未检测到设备 >5.4.0-48-generic 是错误吗?

  • 1

在我的服务器上,从(和)内核升级后5.4.0-48-generic,未检测到板载 realtek 以太网卡。奇怪的是,虽然在具有相同主板、网卡修订版和 bios 版本的游戏平台上,使用相同的 ubuntu 内核 ( ) 运行 KDE Neon,它工作正常。5.4.0-525.4.0-515.4.0-52-generic

lshw:
description: Motherboard
product: X470 GAMING PLUS (MS-7B79)
vendor: Micro-Star International Co., Ltd
dmidecode -s bios-version: A.50
lspci -nnv:
18:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Kernel driver in use: r8169
lsb_release: Ubuntu 20.04.1 LTS focal
uname:Linux 5.4.0-52-generic x86_64

dmesg |grep 8169(5.4.0-48):

[    0.000000] kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[    0.000000] kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[    0.703027] kernel: libphy: r8169: probed
[    0.703613] kernel: r8169 0000:18:00.0 eth0: RTL8168h/8111h, 00:d8:61:10:37:54, XID 541, IRQ 65
[    0.704030] kernel: r8169 0000:18:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    0.739820] kernel: r8169 0000:18:00.0 p1p1: renamed from eth0
[    7.140575] kernel: Generic FE-GE Realtek PHY r8169-1800:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-1800:00, irq=IGNORE)
[    7.253204] kernel: r8169 0000:18:00.0 p1p1: Link is Down
[   10.768877] kernel: r8169 0000:18:00.0 p1p1: Link is Up - 1Gbps/Full - flow control rx/tx

dmesg |grep 8169(5.4.0-52):

[    0.000000] kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[    0.000000] kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=b33c1eb8-59d7-479e-977c-cff95aff44e9 ro nomodeset
[    0.705941] kernel: libphy: r8169: probed
[    0.706490] kernel: r8169 0000:18:00.0 eth0: RTL8168h/8111h, 00:d8:61:10:37:54, XID 541, IRQ 62
[    0.706876] kernel: r8169 0000:18:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]

这次rmmod r8169 && modprobe r8169realtek 解决方法不起作用。

我应该提交错误还是在 Ubuntu Server 中发生了发行版网络配置更改,但在 KDE Neon 中没有发生?

编辑:附加信息

r8168-dkms如果我有机会再次关闭服务器,我也会尝试该软件包并使用结果更新问题。

# modinfo r8169 | grep -i 10ec(5.4.0-48):

alias:          pci:v000010ECd00003000sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008125sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008161sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002600sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002502sv*sd*bc*sc*i*

sudo lshw -C network(5.4.0-48):

  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:18:00.0
       logical name: p1p1
       version: 15
       serial: 00:d8:61:10:37:54
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:34 ioport:f000(size=256) memory:fe604000-fe604fff memory:fe600000-fe603fff
  *-network:0
       description: Ethernet interface
       physical id: 1
       logical name: vnet0
       serial: fe:54:00:cb:bd:03
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: virbr0
       serial: 52:54:00:b3:57:96
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
  *-network:2
       description: Ethernet interface
       physical id: 3
       logical name: br0
       serial: 74:d4:35:53:6e:59
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.16.11 link=yes multicast=yes
  *-network:3 DISABLED
       description: Ethernet interface
       physical id: 4
       logical name: virbr0-nic
       serial: 52:54:00:b3:57:96
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s

cat /etc/network/interfaces(5.4.0-48):

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

auto lo
iface lo inet loopback

#auto eth0

#iface eth0 inet static
#       address 192.168.16.10
#       netmask 255.255.255.0
#       gateway 192.168.16.2

#auto p1p1
iface p1p1 inet manual

auto br0
iface br0 inet static
        address 192.168.16.11
        netmask 255.255.255.0
        broadcast 192.168.16.255
        network 192.168.16.0
        gateway 192.168.16.2
        bridge_ports p1p1
        bridge_stp off
        bridge_fd 3
        bridge_maxwait 0
        post-up ip link set br0 address 74:d4:35:53:6e:59
        up route add -net 192.168.1.0/24 gw 192.168.20.80

iface br0:0 inet static
        address 192.168.16.10
        netmask 255.255.255.0

cat /etc/netplan/*.yaml(5.4.0-48):No such file or directory

networking kernel realtek 20.04
  • 2 个回答
  • 3567 Views
Martin Hope
Pavel V.
Asked: 2020-10-04 00:41:42 +0800 CST

r8168/r8169 - 我应该使用哪一个?

  • 3

我找到了很多答案,例如"you need r8168"或"you need r8169",但没有任何解释。我知道这取决于 linux 内核,但是在 Google 的前两页中我没有找到任何内核首选的列表。所以我的子问题:

  1. 如何为任何特定的 Ubuntu 内核找到合适的驱动程序?
  2. r8168 和 r8169 之间的主要区别是什么,而不是使它们仅在某些内核上稳定?
  3. 编辑:如果没有明确的清单,“如果有问题并且你没有 r8168,你可能需要它”和“如果有问题并且你已经有 r8168,你可能需要清除它”后面是否有任何规则“?

我有内核 4.15.0-118-generic 的 16.04,但我对一般原则比现在应该使用的更感兴趣。

networking drivers kernel realtek
  • 1 个回答
  • 9580 Views
Martin Hope
Voxeldoodle
Asked: 2020-09-28 04:24:33 +0800 CST

Ubuntu 20.04.1 LTS 中 RTL8723BE 的 Wifi/驱动程序问题

  • 1

我最近在笔记本电脑上安装了 Ubuntu 20.04 LTS。除了不时出现几次冻结之外,一切看起来都很好。它们是由于许多 acpi 错误造成的,所以我将 grub 配置文件更改为 acpi=off。在此之后wifi停止工作,我的意思是它无法找到任何无线网络。

我尝试了我知道的旧解决方案,即 type sudo modprobe rtl8723be ant_sel=1,但它不起作用。

通过互联网查看,我发现了几篇指向驱动程序的帖子,其中包含安装和运行它们的所有说明。我尝试了所有这些都没有运气。

以下是一些规格(希望是相关的):

$ sudo lshw -c network
  *-network
       description: Wireless interface
       product: RTL8723BE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlo1
       version: 00
       serial: 54:8c:a0:c0:4a:57
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723be driverversion=5.4.0-47-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:11 ioport:3000(size=256) memory:b1400000-b1403fff

$ lspci -knn | grep -A 2 -i net
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
    DeviceName: WLAN Realtek RTL8723BE b/g/n 1x1 + BT 4 LE PCIe+USB M.2 WW
    Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
    Kernel driver in use: rtl8723be
    Kernel modules: rtl8723be, wl

$ sudo modprobe rtl8723be && dmesg | grep -i rtl
[    0.490322] r8169 0000:02:00.0 eth0: RTL8106e, ec:8e:b5:31:2a:c0, XID 449, IRQ 21
[    3.249380] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[    3.250236] Bluetooth: hci0: RTL: rom_version status=0 version=1
[    3.250237] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[    3.259315] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin
[    3.259336] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[    3.259341] Bluetooth: hci0: RTL: cfg_sz -2, total sz 22496
[    3.921969] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[    3.925410] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    3.927407] rtlwifi: rtlwifi: wireless switch is on
[    4.062246] Bluetooth: hci0: RTL: fw version 0x0e2f9f73
[    4.276854] rtl8723be 0000:03:00.0 wlo1: renamed from wlan0
[    7.523502] RTL8208 Fast Ethernet r8169-200:00: attached PHY driver [RTL8208 Fast Ethernet] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)

$ rfkill list all
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

如果有人可以提供一些帮助或指出正确的方向,我会很高兴,因为现在我不知所措,我唯一的解决方案是尝试重新安装旧版本的 Ubuntu(可能是 18.04 LTS)。

networking wireless drivers realtek 20.04
  • 1 个回答
  • 1282 Views
Martin Hope
anlag
Asked: 2020-09-27 10:20:09 +0800 CST

启动时没有无线网络,暂停后工作

  • 0

在我妻子的 Ubuntu 20.04 HP 笔记本电脑上遇到一个奇怪的无线网络问题。今天安装了几个月的更新后(这台笔记本电脑不常使用),我发现wifi在启动后没有自动连接。检查 wifi 托盘菜单,我看到没有可用的网络。然而,我碰巧发现,如果暂停系统并将其恢复,无线可以正常工作并愉快地自行连接。

该芯片组是 Realtek 芯片组,使用 RTL8188EE 驱动程序,以防万一。此外,该系统之前已从 18.04 升级到 20.04,并且之前存在 wifi 问题,遗憾的是我现在无法记住其解决方案。

无论如何,由于它在暂停后工作,我想芯片和驱动程序可能没问题,我只是在启动脚本中遗漏了一些东西。有什么建议么?

networking wireless suspend realtek 20.04
  • 1 个回答
  • 38 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve