На Алике заказал вайфайный свисток для сервера. Из коробки не завелся
evgeniy@micro-gen10plus:~$ ip link 1: lo: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: eno1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d0 brd ff:ff:ff:ff:ff:ff altname enp2s0f0 3: usb0: mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000 link/ether de:a3:3f:b4:d8:70 brd ff:ff:ff:ff:ff:ff 4: eno2: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d1 brd ff:ff:ff:ff:ff:ff altname enp2s0f1 5: eno3: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d2 brd ff:ff:ff:ff:ff:ff altname enp2s0f2 6: eno4: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d3 brd ff:ff:ff:ff:ff:ff altname enp2s0f3 evgeniy@micro-gen10plus:~$ lshw |grep -A 5 -n network WARNING: you should run this program as super-user. 142: *-network:0 143- description: Ethernet interface 144- product: I350 Gigabit Network Connection 145- vendor: Intel Corporation 146- physical id: 0 147- bus info: pci@0000:02:00.0 -- 158: *-network:1 159- description: Ethernet interface 160- product: I350 Gigabit Network Connection 161- vendor: Intel Corporation 162- physical id: 0.1 163- bus info: pci@0000:02:00.1 -- 173: *-network:2 174- description: Ethernet interface 175- product: I350 Gigabit Network Connection 176- vendor: Intel Corporation 177- physical id: 0.2 178- bus info: pci@0000:02:00.2 -- 188: *-network:3 189- description: Ethernet interface 190- product: I350 Gigabit Network Connection 191- vendor: Intel Corporation 192- physical id: 0.3 193- bus info: pci@0000:02:00.3 -- 379: *-network:0 380- description: Ethernet interface 381- physical id: 7 382- bus info: usb@1:4 383- logical name: usb0 384- serial: de:a3:3f:b4:d8:70
При этом само USB-устройство видно
evgeniy@micro-gen10plus:~$ lsusb Bus 001 Device 002: ID 03f0:2927 HP, Inc Virtual NIC Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 0424:2660 Microchip Technology, Inc. (formerly SMSC) Hub Bus 002 Device 003: ID 258a:002a SINO WEALTH Gaming KB Bus 002 Device 002: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey] Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Нужно установить пакет "rtl8812au-dkms". Ставим зависимости:
evgeniy@micro-gen10plus:~$ sudo apt-get install linux-headers-generic build-essential dkms
Проверяем, что не загружен старый драйвер:
evgeniy@micro-gen10plus:~$ sudo rmmod rtl8812au
rmmod: ERROR: Module rtl8812au is not currently loaded
Затем ставим сам пакет
evgeniy@micro-gen10plus:~$ sudo apt-get install rtl8812au-dkms Reading package lists... Done Building dependency tree... Done Reading state information... Done Следующие НОВЫЕ пакеты будут установлены: rtl8812au-dkms Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 1 154 kB архивов. После данной операции объём занятого дискового пространства возрастёт на 8 906 kB. Пол:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 rtl8812au-dkms all 4.3.8.12175.20140902+dfsg-0ubuntu15 [1 154 kB] Получено 1 154 kB за 2s (479 kB/s) Выбор ранее не выбранного пакета rtl8812au-dkms. (Чтение базы данных … на данный момент установлено 114428 файлов и каталогов.) Подготовка к распаковке …/rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu15_all.deb … Распаковывается rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu15) … Настраивается пакет rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu15) … Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files... Building for 5.15.0-30-generic Building initial module for 5.15.0-30-generic Secure Boot not enabled on this system. Done. 8812au.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-30-generic/updates/dkms/ depmod... Scanning processes... Scanning processor microcode... Scanning linux images... Running kernel seems to be up-to-date. The processor microcode seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host.
После перезагрузки проверяем:
evgeniy@micro-gen10plus:~$ ip link 1: lo: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: eno1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d0 brd ff:ff:ff:ff:ff:ff altname enp2s0f0 3: usb0: mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000 link/ether de:a3:3f:b4:d8:70 brd ff:ff:ff:ff:ff:ff 4: eno2: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d1 brd ff:ff:ff:ff:ff:ff altname enp2s0f1 5: eno3: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d2 brd ff:ff:ff:ff:ff:ff altname enp2s0f2 6: eno4: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 00:fd:45:ff:45:d3 brd ff:ff:ff:ff:ff:ff altname enp2s0f3 7: wlx1cbfcebfcab5: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 1c:bf:ce:bf:ca:b5 brd ff:ff:ff:ff:ff:ff evgeniy@micro-gen10plus:~$ lshw |grep -A 5 -n network WARNING: you should run this program as super-user. 142: *-network:0 143- description: Ethernet interface 144- product: I350 Gigabit Network Connection 145- vendor: Intel Corporation 146- physical id: 0 147- bus info: pci@0000:02:00.0 -- 158: *-network:1 159- description: Ethernet interface 160- product: I350 Gigabit Network Connection 161- vendor: Intel Corporation 162- physical id: 0.1 163- bus info: pci@0000:02:00.1 -- 173: *-network:2 174- description: Ethernet interface 175- product: I350 Gigabit Network Connection 176- vendor: Intel Corporation 177- physical id: 0.2 178- bus info: pci@0000:02:00.2 -- 188: *-network:3 189- description: Ethernet interface 190- product: I350 Gigabit Network Connection 191- vendor: Intel Corporation 192- physical id: 0.3 193- bus info: pci@0000:02:00.3 -- 379: *-network:0 380- description: Ethernet interface 381- physical id: 7 382- bus info: usb@1:4 383- logical name: usb0 384- serial: de:a3:3f:b4:d8:70 -- 387: *-network:1 DISABLED 388- description: Wireless interface 389- physical id: 8 390- bus info: usb@2:2 391- logical name: wlx1cbfcebfcab5 392- serial: 1c:bf:ce:bf:ca:b5
Комментариев нет:
Отправить комментарий