Debian

如何在 Debian 上安裝 Netgear WNA1000M-N 150 驅動程序?

  • November 25, 2018

我安裝了debian。現在我擔心我的wifi適配器將如何工作。

我找到了一個執行緒https://ubuntuforums.org/showthread.php?t=1806839但沒能install linux-firmwaresudo apt-get install linux-headers-generic build-essential沒有工作。

它不知道linux韌體。

以下是安裝上述內容時的錯誤:

`root@debian:/home/love# sudo apt-get install linux-headers-generic build-essential Reading package lists… Done Building dependency tree

Reading state information… Done Package linux-headers-generic is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ’linux-headers-generic’ has no installation candidate`

`root@debian:/home/love# sudo apt-get install linux-firmwareReading package lists… Done Building dependency tree

Reading state information… Done E: Unable to locate package linux-firmware`

添加儲存庫時出現以下錯誤:

root@debian:/home/love# deb http://http.debian.net/debian/ wheezy main contrib non-free bash: deb: command not found

以下是一些命令的一些結果:

`root@debian:/home/love# uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux root@debian:/home/love# lsusb Bus 002 Device 005: ID 138a:0005 Validity Sensors, Inc. VFS301 Fingerprint Reader Bus 002 Device 004: ID 413c:2107 Dell Computer Corp. Bus 002 Device 016: ID 2a70:f00e

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 04d9:a0ac Holtek Semiconductor, Inc. Bus 001 Device 003: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS] Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub`

我該怎麼辦?

打開你的sources.list

nano /etc/apt/sources.list

然後刪除 wheezy repo。

這裡有一個例子:

deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free

deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

保存並退出

更新您的系統:

apt-get update && apt-get upgrade && apt-get dist-upgrade

安裝firmware-realtek包:

apt-get install firmware-realtek

參考:Debian-wiki

引用自:https://unix.stackexchange.com/questions/335814