D-link DWA-121 安裝問題 [論壇 - Ubuntu安裝問題]
正在瀏覽:
1 名遊客
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
## 第二種方案:直接「clone」到「/usr/src/rtl8188eu-4.1.4」這個資料夾
在操作前,先將上面「#10 回覆」做過的操作,恢復。 ================================================================================ 執行
================================================================================ 執行
顯示 -------- Uninstall Beginning -------- Module: rtl8188eu Version: 4.1.4 Kernel: 5.4.0-104-generic (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. 8188eu.ko: - Uninstallation - Deleting from: /lib/modules/5.4.0-104-generic/ rmdir: failed to remove '': No such file or directory - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod......... DKMS: uninstall completed. ------------------------------ Deleting module version: 4.1.4 completely from the DKMS tree. ------------------------------ Done. ================================================================================ 接下來執行下面指令,把「/usr/src/rtl8188eu-4.1.4」這個資料夾刪除
================================================================================ 接下來,就是第二種方案的操作,一樣從「clone」這個步驟開始。 這個方式是參考另一個專案「RinCat / RTL88x2BU-Linux-Driver / Manual DKMS installation」的作法 ================================================================================ 執行下面指令,直接 clone 「https://github.com/lwfinger/rtl8188eu」到「/usr/src/rtl8188eu-4.1.4」這個資料夾。
會產生「/usr/src/rtl8188eu-4.1.4」這個資料夾 ================================================================================ 接著執行下面指令
顯示
================================================================================ 接著可以執行
或是執行
顯示 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' -j4 KVER=5.4.0-104-generic................................ cleaning build area... DKMS: build completed. 8188eu.ko: Running module version sanity check. Good news! Module version v4.1.4_6773.20130222 for 8188eu.ko exactly matches what is already found in kernel 5.4.0-104-generic. DKMS will not replace this module. You may override by specifying --force. depmod......... DKMS: install completed. ================================================================================ 接下來的操作步驟,可以參考前面「#10 回覆」後半部的步驟。 ================================================================================ 上面的操作步驟,我有寫成「腳本」,放在「GitHub」上 * rtl8188eu-4.1.4 * rtl8188eu-latest * rtl8188eu-git ================================================================================ [回到索引]
2022/3/17 13:05
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
## 題外話 / 探索「TP-Link Archer T2U Plus」
延續在「#10 回覆」,提到的 我去借了家人的桌上型電腦的usb無線網卡,來測試dkms安裝相對應的驅動程式, 型號是「TP-Link Archer T2U Plus」, 以下紀錄我安裝「Driver」的過程,提供對照參考。 ================================================================================ Google 查詢「TP-Link Archer T2U Plus」 查詢到下面兩個網址 * https://www.tp-link.com/tw/home-networking/high-power-adapter/archer-t2u-plus/ * https://www.tp-link.com/tw/support/download/archer-t2u-plus/ ================================================================================ Google 查詢「TP-Link Archer T2U Plus ubuntu driver」 查詢到下面參考文章 * TP-Link AC600 Archer T2U Plus driver for Ubuntu 20.04 * Archer T2U Plus driver for Linux Ubuntu/Rasbian 以及兩個專案 * https://github.com/aircrack-ng/rtl8812au * https://github.com/aircrack-ng/rtl8814au 還有一個指令 * inxi ================================================================================ 接下來先稍微紀錄搭配使用「inxi」 ================================================================================ [回到索引]
2022/3/17 19:48
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
## inxi
執行下面指令,安裝「inxi」
================================================================================ 在「#10 回覆」有提到 我的筆電有內建的有線和無線網路,安裝好「Xubuntu」後,都是有支援相對應的驅動程式。 執行
顯示 Network: Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter driver: ath9k Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet driver: atl1c Device-3: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb ================================================================================ 執行
顯示 filename: /lib/modules/5.4.0-104-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko license: Dual BSD/GPL description: Support for Atheros 802.11n wireless LAN cards. author: Atheros Communications ...略... 執行
顯示 ath9k 155648 0 ath9k_common 36864 1 ath9k ath9k_hw 475136 2 ath9k_common,ath9k ath 36864 3 ath9k_common,ath9k,ath9k_hw mac80211 847872 1 ath9k cfg80211 708608 4 ath9k_common,ath9k,ath,mac80211 執行
顯示 linux-modules-extra-5.4.0-104-generic: /lib/modules/5.4.0-104-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko * linux-modules-extra-5.4.0-104-generic ================================================================================ 執行
顯示 filename: /lib/modules/5.4.0-104-generic/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko version: 1.0.1.1-NAPI license: GPL description: Qualcomm Atheros 100/1000M Ethernet Network Driver author: Qualcomm Atheros Inc., <nic-devel@qualcomm.com> author: Jie Yang ...略... 執行
顯示 atl1c 53248 0 執行
顯示 linux-modules-extra-5.4.0-104-generic: /lib/modules/5.4.0-104-generic/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko * linux-modules-extra-5.4.0-104-generic ================================================================================ 執行
顯示 filename: /lib/modules/5.4.0-104-generic/kernel/drivers/bluetooth/btusb.ko license: GPL version: 0.8 description: Generic Bluetooth USB driver ver 0.8 author: Marcel Holtmann <marcel@holtmann.org> firmware: mediatek/mt7668pr2h.bin firmware: mediatek/mt7663pr2h.bin ...略... 執行
顯示 btusb 57344 0 btrtl 24576 1 btusb btbcm 16384 1 btusb btintel 24576 1 btusb bluetooth 552960 38 btrtl,btintel,btbcm,bnep,ath3k,btusb,rfcomm 執行
顯示 linux-modules-extra-5.4.0-104-generic: /lib/modules/5.4.0-104-generic/kernel/drivers/bluetooth/btusb.ko * linux-modules-extra-5.4.0-104-generic ================================================================================ 接下來紀錄如何安裝「TP-Link Archer T2U Plus」的「Driver」。 ================================================================================ [回到索引]
2022/3/17 19:52
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
## 題外話 / 安裝「TP-Link Archer T2U Plus」的「Driver」
* $ man lsusb 當將「TP-Link Archer T2U Plus」接上筆電的「USB插槽」後 執行
顯示
執行
顯示
執行
顯示 Bus 002 Device 006: ID 2357:0120 TP-Link Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2357 TP-Link idProduct 0x0120 bcdDevice 2.00 iManufacturer 1 Realtek iProduct 2 802.11ac WLAN Adapter iSerial 3 00e04c000001 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x003c bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 6 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 2 802.11ac WLAN Adapter Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x05 EP 5 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x06 EP 6 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 3 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x08 EP 8 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x09 EP 9 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x0016 bNumDeviceCaps 2 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 HIRD Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 1023 micro seconds can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0001 Self Powered ================================================================================ 一開始的前置作業,可以參考「#7 回覆」的紀錄,若之前已經操作過,就不用再次操作。 ================================================================================ 接下來執行下面指令,clone「https://github.com/aircrack-ng/rtl8812au」。
或是執行下面的指令
================================================================================ 執行下面指令,切換到「rtl8812au」這個資料夾
================================================================================ 接著執行下面指令,
顯示 mkdir: created directory '/usr/src/8812au-5.6.4.2_35491.20191025' cp -r * /usr/src/8812au-5.6.4.2_35491.20191025 dkms add -m 8812au -v 5.6.4.2_35491.20191025 Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source -> /usr/src/8812au-5.6.4.2_35491.20191025 DKMS: add completed. dkms build -m 8812au -v 5.6.4.2_35491.20191025 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' -j4 KVER=5.4.0-104-generic KSRC=/lib/modules/5.4.0-104-generic/build................................................................................................................................................. cleaning build area... DKMS: build completed. dkms install -m 8812au -v 5.6.4.2_35491.20191025 88XXau.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.4.0-104-generic/updates/dkms/ depmod.......... DKMS: install completed. dkms status -m 8812au 8812au, 5.6.4.2_35491.20191025, 5.4.0-104-generic, x86_64: installed 關於「dkms_install」會執行的操作,可以參考「Makefile」。 ================================================================================ 執行
顯示 filename: /lib/modules/5.4.0-104-generic/updates/dkms/88XXau.ko version: v5.6.4.2_35491.20191025 author: Realtek Semiconductor Corp. description: Realtek Wireless Lan Driver license: GPL ...略... depends: cfg80211 retpoline: Y name: 88XXau vermagic: 5.4.0-104-generic SMP mod_unload modversions ...略... ================================================================================ 我測試的結果,重開機後,「TP-Link Archer T2U Plus」若有接上「USB插槽」,「88XXau」會自動載入。 ================================================================================ 在還沒有重開機前,可以執行下面指令,手動載入
可以看到網卡的綠色燈號有在閃爍。 接著執行
顯示 88XXau 2195456 0 cfg80211 708608 5 ath9k_common,ath9k,ath,mac80211,88XXau 接著執行
顯示 Network: Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter driver: ath9k Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet driver: atl1c Device-3: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb Device-4: TP-Link type: USB driver: rtl88XXau ================================================================================ 也可以執行
可以看到該「Device(Interface)」。 ================================================================================ 然後我是使用「Network Manager」來連線, 而我筆電內建也有無線網卡,所以可以編輯原有的連線,選擇「TP-Link」那個「Device」來連線。 ================================================================================ 以上提供參考 報告完畢 ![]() ================================================================================ [回到索引]
2022/3/17 19:57
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2007/8/21 22:08 所屬群組:
已註冊使用者 等級: 10
HP : 0 / 248
![]() |
你好 : 非常感謝你花這麼多時間幫我 , 試著用你教我的方式 , 一樣無法驅動 , 可以請你用 teamviewer 的方式幫我看看嗎 ? 再次感謝 !
此外 , 我的 D-link DWA-121 是可以在 linux lite 4.0 驅動的 , 只是我也忘了當初是如何驅動的 , 現在也有考慮買 PCMCIA 的網卡試試
2022/3/18 20:29
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 901
![]() |
高寒 寫到: 要跟您說抱歉, 關於「用 teamviewer 的方式連線幫您看看」這部份, 我就無法幫上忙了,主要是我沒有意願做這件事,歹勢拉。 您可能需要請求其他人是否有意願協助了。 另外,我其實對硬體和驅動程式的了解有限。 因為我只是比較幸運,Linux作業系統裝好後,沒有需要去特別安裝相關的驅動程式, 所以我以前很少去探索這部份,也沒特別提起勁去深究它, 這次只是剛好,藉由您提到的關鍵字,去查網路上的資料, 照著網路上提到的操作步驟,實際去操作做實驗, 也剛好,跟家人借的硬體,可以成功驅動,如此而已, 所以我不見得可以幫得上忙。 以上 ![]()
2022/3/19 8:47
|
||||||||||
![]() |
回覆: D-link DWA-121 安裝問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
版主
![]() ![]() 註冊日期:
2008/7/14 0:03 來自 螢幕的另一端
所屬群組:
網站管理員 已註冊使用者 討論區管理群 等級: 33
HP : 0 / 808
![]() |
你在台北嗎? 若在台北的話,請我吃一頓飯,把筆電和usb網卡帶出來,我幫你看看,先說好我會盡力幫忙,但不保證一定能解決你的問題,或一定是你滿意的解決方案。
所以請不要誤會,花一頓飯的錢就一定能解決你的問題,你只是花一頓飯的錢請朋友幫你看看問題而已。 若不是筆電,而你也不在台北的話,那我就幫不上忙了。
2022/3/19 13:46
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.