
私のラップトップはHP 250 G4 P5T98ESです。
私のオペレーティングシステムはDebian jessie 20160917です。
live-usbでDebianをインストールすると、無料でないドライバがないため、ワイヤレスネットワークに接続できないというメッセージが出ました。だから後でドライバをインストールすることにしました。 Debianサイトからワイヤレスドライバをダウンロードしました(実際には無料ではなくファームウェアパッケージ全体をダウンロードしました)。その後、端末でsuモードでコマンドを実行しました。
dpkg -i firmware-brcm80211_0.43_all.deb
出力は正常にインストールされたことを示します(または同様のもの)。それから私は以下を実行しました。
dpkg -l firmware-brcm80211
それは私に次のような結果を与えます:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii firmware-brcm80211 0.43 all Binary firmware for Broadcom 802.11 wireless cards
システムを再起動しましたが、ネットワーク設定にはまだ有線とネットワークプロキシの2つのオプションしか表示されません。
root@debian:/home# lspci -nnk | grep -i net -A2
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
Subsystem: Hewlett-Packard Company Device [103c:80c2]
Kernel driver in use: r8169
--
13:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:804a]
Kernel driver in use: bcma-pci-bridge
この行を追加した後:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
/etc/apt/sources.list の apt-get 更新が失敗しました。
root@debian:/home/alexander# apt-get update
Err http://httpredir.debian.org jessie InRelease
Err http://httpredir.debian.org jessie Release.gpg
Could not resolve 'httpredir.debian.org'
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie Release
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07] jessie/main Translation-en
Reading package lists... Done
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/InRelease
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release.gpg Could not resolve 'httpredir.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:/home/alexander# apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package broadcom-sta-dkms
私の/etc/apt/sources.listは次のようになります。
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07]/ jessie main
deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160917-15:07]/ jessie main
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main
ファームウェアを含むlive-cdバージョンからDebianをインストールして問題を解決しました。これでWi-Fiができました。
答え1
あなたはインストールしています間違ったドライバーあなたのカードのため。
BCM43142 802.11b/g/n [14e4:4365]
このモジュールを使用する必要がありますwl
。
次の内容をお読みください。Debian 公式ドキュメント。
(正しい)ドライバをインストールする方法についての情報を見つけることができる場所:
Debian バージョンの /etc/apt/sources.list に「無料ではない」コンポーネントを追加します。たとえば、次のようになります。
# Debian 8 "Jessie" deb http://httpredir.debian.org/debian/ jessie main contrib non-free
利用可能なパッケージのリストを更新します。関連/最新のlinux-image、linux-headers、およびBroadcom-sta-dkmsパッケージをインストールします。
# apt-get update # apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
これにより、推奨ワイヤレスキットもインストールされます。 DKMSはシステムに合ったwlモジュールを構築します。
競合するモジュールを削除します。
# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
wlモジュールをロードします。
# modprobe wl
答え2
WiFiにはBCM43142
現在カーネルバージョンにバグがあります3.16
。 @Stephen Kittのコメントを読むことができます。Debian のバグ報告~からここ、コンパイルすることをお勧めします3.2.82
バージョンを選択し、説明した手順に従ってドライバをインストールします。ここ。バックポートされたバージョンから4.6
新しいカーネルをインストールすることもできます4.7
。
編集する
これに従ってください回答最初の問題を解決してくださいsources.list
。