Linux 板


LINE

d-link DWA-171(C) 網卡安裝失敗 官網有linux 的驅動,但不知道怎麼安裝 http://www.dlinktw.com.tw/home/product?id=1032&hid=18 zip 解壓縮之後裡面有一個 tar.gz 檔 但不知怎麼安裝這個檔 我的作業系統是 kubuntu 21.10 跟 ubuntu 21.10 因為不會裝「tar.gz」網路上找到這個辦法 https://forums.linuxmint.com/viewtopic.php?t=334017 ubuntu21.10的環境,試了 sudo apt install build-essential -y mkdir -p ~/build cd ~/build sudo apt install git git clone https://github.com/brektrou/rtl8821CU.git cd rtl8821CU make sudo make install 雖然可以用但… 但kubuntu 21.10 的環境 試上面這個沒有用 再試 sudo apt update sudo apt install build-essential git dkms git clone https://github.com/brektrou/rtl8821CU.git cd rtl8821CU chmod +x dkms-install.sh sudo ./dkms-install.sh sudo modprobe 8821cu 依然沒用 linux 弱雞 只是不想丟舊電腦才安裝的kubuntu 跟ubuntu 請問能教我怎麼安裝驅動嗎 感謝 ============================================================ 第二次求救 使用usb_modeswitch 依然安裝失敗 看起來是因為有別的裝置在使用,因為我同時有插另一張網卡在上網 怎麼?拜託高手!! 過程如下 lsusb後得: Bus 001 Device 005: ID 2001:331d D-Link Corp. DWA-171 輸入 sudo usb_modeswitch -KW -v 2001 -p 331d 得 Take all parameters from the command line * usb_modeswitch: handle USB devices with multiple modes * Version 2.6.1 (C) Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x2001 DefaultProduct= 0x331d StandardEject=1 Look for default devices ... found USB ID 3938:1059 found USB ID 046d:c534 found USB ID 8087:0024 found USB ID 1d6b:0002 found USB ID 0bda:0158 found USB ID 2001:331d vendor ID matched product ID matched found USB ID 8087:0024 found USB ID 1d6b:0002 found USB ID 1d6b:0003 found USB ID 0bda:8178 found USB ID 1d6b:0002 Found devices in default mode (1) Access device 005 on bus 001 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 255 Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort ================================================================ 求救!還是無法安裝啊!第三次失敗,試了好幾種 第一種: 我先按照這裡的說明裝 https://github.com/morrownr/8821cu 系統有叫重新啟動,但啟動後還是不能動 過程如下 sudo apt update sudo apt install -y dkms git mkdir ~/src cd ~/src git clone https://github.com/morrownr/8821cu.git cd ~/src/8821cu sudo ./install-driver.sh sudo reboot 請問 mkdir ~/sr 中的 ~ 有特別意思嗎?因為他用紅色標 另外[NoPrompt]要打嗎 第二種 sudo apt update sudo apt install build-essential git dkms git clone https://github.com/morrownr/8821cu 最後再 sudo ./install-driver.sh 第三種 sudo apt update sudo apt install build-essential git dkms git clone https://github.com/morrownr/8821cu 最後再 sudo ./install-driver.sh --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.242.70.105 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Linux/M.1637910248.A.5E5.html
1F:推 npx2004: 先lsusb看到你網卡的usbid像 1111:2222 Realtek .. 的 11/26 18:15
2F:→ npx2004: 然後 安裝 usb_modeswitch 之後 usb_modeswitch -KW 11/26 18:17
3F:→ npx2004: -v 1111 -p 2222 這個數值必須替換成你找到的。 11/26 18:18
※ 編輯: incandescent (27.242.70.105 臺灣), 11/26/2021 19:35:44 ※ 編輯: incandescent (27.242.70.105 臺灣), 11/26/2021 19:40:06 ※ 編輯: incandescent (27.242.70.105 臺灣), 11/26/2021 19:43:56
4F:推 Bx2009: 查了一下 似乎有換驅動 這個不管用 11/26 21:01
5F:→ Bx2009: 換這個 repo https://github.com/morrownr/8821cu 11/26 21:01
6F:→ Bx2009: 說明檔表示有支援 11/26 21:02
7F:→ Bx2009: clone下來之後直接> ./install-driver.sh 11/26 21:03
※ 編輯: incandescent (39.13.67.197 臺灣), 11/26/2021 22:43:11 tomsawyer: tar.gz是壓縮檔.... 你沒google到ㄇ 有的,但是還是不知道怎麼安裝 11/28 02:02
8F:→ tomsawyer: ~ 代表home directory 用 /src 就會變根目錄底下的src 11/28 02:03
意思是我要刪掉~ ?
9F:推 holishing: tar 打包, gz 壓縮 11/28 10:53
10F:→ incandescent: 可是 我安裝步驟 安裝還是不能用 到底是不支援 還 11/28 15:07
11F:→ incandescent: 是沒安裝好 根本不曉得 有人知道嗎 11/28 15:07
12F:推 breeze08: 用lsmod看一下有沒有你安裝的驅動 11/28 15:19
感謝指點,lsmod後,ubuntu那台可以讀到網卡的有這筆 cfg80211 892928 4 iwlmvm,8821cu,iwlwifi,mac80211 看起來「8821cu」是這個網卡的驅動? 但kubuntu 那台是 cfg80211 892928 4 mt76,mt76x02_lib,mac80211,mt76x02_usb 似乎沒有安裝到?? 但我安裝的方法都一樣,為什麼一台有,一台沒有? 重試好幾次了 就是不知道為什麼兩台電腦的安裝有差異 ※ 編輯: incandescent (39.13.67.197 臺灣), 11/28/2021 17:53:14
13F:→ breeze08: 檢查一下兩台電腦lsusb的輸出看看無線網卡的ID是否相同 11/28 20:16
14F:→ breeze08: 測試時記得要插上無線網卡 11/28 20:19
感謝回答,已經解決了 不是驅動安裝造成的問題 我把bios的 secure boot 關掉就好了 謝謝各位,折騰了好久 一直想說 怎麼可能一台可以用 另一台就不能用,原來只是 bios的問題 ※ 編輯: incandescent (39.9.234.7 臺灣), 11/28/2021 20:39:24







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Boy-Girl站內搜尋

TOP