Is shown on the packaging D - Link brand, models for DWA - 133
But in the Linux kernel, and the USB wireless network card for DWA - 133 type, drive is rtl8xxxu module, but the driver can't find my this USB card,
Lsusb details screenshot below:
Who knows excuse me, I this USB wireless network card, with which driver?
CodePudding user response:
My latest kernel in Debian 10.2Linux debian - cn 4.19.0 # 1-6 - amd64 SMP debian 4.19.67-2 + deb10u2 (2019-11-11) x86_64 GNU/Linux
Next, modify the source code,
Linux - 4.19.67/drivers/net/wireless/ralink/rt2x00/rt2800usb c
Add this line:
X3c26 x2001 {USB_DEVICE (0, 0)},
Recompile the usb wireless network card driver: rt2800usb. Ko
Wireless network card can be identified, can see the network adapter device, also can find SSID, can try to connect, but it is very unstable, only one can be through a user name password authentication on wireless router,
Below is the log information:
Dec 23 17:18:33 debian - cn kernel: [26534.300896] usbcore: deregistering interface driver rt2500usb
Dec 23 18:33:01 debian - cn kernel: [2012.450124] usb 1-2: the new high - speed usb device number 6 using xhci_hcd
Dec 23 18:33:01 debian - cn kernel: [2012.614578] usb 1-2: the New usb device found, idVendor=2001, idProduct=3 c26, bcdDevice=1.01
Dec 23 18:33:01 debian - cn kernel: [2012.614586] usb 1-2: the New usb device strings: Mfr=1, the Product=2, SerialNumber=3
Dec 23 18:33:01 debian - cn kernel: 1-2: [2012.614591] usb Product: 802.11 n WLAN
Dec 23 18:33:01 debian - cn kernel: 1-2: [2012.614595] usb Manufacturer: Ralink
Dec 23 18:33:01 debian - cn kernel: 1-2: [2012.614599] usb SerialNumber: 1.0
Dec 23 18:33:01 debian - cn kernel: 1-2: [2012.746508] usb reset high - speed usb device number 6 using xhci_hcd
Dec 23 18:33:02 debian - cn kernel: [2012.905591] ieee80211 phy3: rt2x00_set_rt: Info - RT chipset 5392, rev detected 0223
Dec 23 18:33:02 debian - cn kernel: [2012.919959] ieee80211 phy3: rt2x00_set_rf: Info - RF chipset 5372 detected
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.1064] wifi - nl80211: (wlan0) : using nl80211 for wifi device control
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.1092] device (wlan0) : driver supports the Access Point (AP) mode
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> Manager: [1577097182.1107] (wlan0) : the new 802.11 WiFi device (/org/freedesktop NetworkManager/Devices/6)
Dec 23 18:33:02 debian - cn kernel: [2013.464370] rt2800usb 1-2:1. 0 wlx10bef57aeda8: renamed the from wlan0
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.6523] rfkill4: found wi-fi radio killswitch (at/sys/devices/pci0000:00/0000:00:14. 0/usb1/1-2/1-2:1. 0/ieee80211 phy3/rfkill4) (driver rt2800usb)
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.6662] device (wlan0) : interface index 5 renamed iface the from 'wlan0' to 'wlx10bef57aeda8'
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.6981] device (wlx10bef57aeda8) : the state change: fsound_unmanaged - & gt; Unavailable (" reason "managed", sys - iface - state: 'external')
Dec 23 18:33:02 debian - cn kernel: [2013.515015] IPv6: ADDRCONF (NETDEV_UP) : wlx10bef57aeda8: the link is not ready
Dec 23 18:33:02 debian - cn kernel: [2013.515098] ieee80211 phy3: rt2x00lib_request_firmware: Info - Loading the firmware file 'rt2870. Bin'
Dec 23 18:33:02 debian - cn kernel: 1 - [2013.515674] rt2800usb 2:1. 0: the firmware: direct - loading the firmware rt2870. Bin
Dec 23 18:33:02 debian - cn kernel: [2013.515680] ieee80211 phy3: rt2x00lib_request_firmware: Info - the Firmware detected - version: 0.36
Dec 23 18:33:02 debian - cn kernel: [2013.696850] IPv6: ADDRCONF (NETDEV_UP) : wlx10bef57aeda8: the link is not ready
Dec 23 18:33:02 debian - cn NetworkManager [739] : & lt; Info> [1577097182.8885] device (wlx10bef57aeda8) : the set - hw - addr: set the MAC address to 66:12: AE: D2:6 a: 14 (scanning)
Dec 23 18:33:03 debian - cn kernel: [2013.914391] IPv6: ADDRCONF (NETDEV_UP) : wlx10bef57aeda8: the link is not ready
Dec 23 18:33:03 debian - cn NetworkManager [739] : & lt; Info> [1577097183.1817] sup - iface [0 x559e39f02440, wlx10bef57aeda8] : supports 4 scan SSIDs
Dec 23 18:33:03 debian - cn NetworkManager [739] : & lt; Info> [1577097183.1865] device (wlx10bef57aeda8) : supplicant interface state: starting - & gt; Ready
Dec 23 18:33:03 debian - cn NetworkManager [739] : & lt; Info> [1577097183.1868] device (wlx10bef57aeda8) : the state change: unavailable - & gt; Disconnected (" reason "supplicant - available ', sys - iface - state: 'managed')
Dec 23 18:33:03 debian - cn kernel: [2014.004371] IPv6: ADDRCONF (NETDEV_UP) : wlx10bef57aeda8: the link is not ready
Dec 23 18:33:32 debian - cn NetworkManager [739] : & lt; Info> [1577097212.1473] device (wlp1s0) : the state change: activated - & gt; Deactivating (tiny 'new - activation, sys - iface - state:' managed ')
Dec 23 18:33:32 debian - cn NetworkManager [739] : & lt; Info> Manager: [1577097212.1484] NetworkManager state is now DISCONNECTING
Dec 23 18:33:32 debian - cn NetworkManager [739] : & lt; Info> nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull