Ubuntu Broadcom BCM43XX(BCM43227) WLAN ドライバインストール
Table of Contents
参考
ドライバインストール
確認
有線 2つのみ
$ ls /sys/class/net enp2s0 enp4s0 lo
lspci
$ lspci -vvnn | grep 14e4 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43227 802.11b/g/n [14e4:4358] Subsystem: Broadcom Inc. and subsidiaries BCM43227 802.11b/g/n [14e4:0543]
インストール
$ sudo apt-get install bcmwl-kernel-source (略) wl.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.4.0-72-generic/updates/dkms/ depmod.... DKMS: install completed. update-initramfs: deferring update (trigger activated) Setting up build-essential (12.8ubuntu1.1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for initramfs-tools (0.136ubuntu6.4) ... update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
確認
wlp3s0 が増えた
$ ls /sys/class/net enp2s0 enp4s0 lo wlp3s0
設定
iwconfig を実行してみる
$ iwconfig
Command 'iwconfig' not found, but can be installed with:
sudo apt install wireless-tools
wireless-tools のインストール
$ sudo apt install wireless-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libiw30
The following NEW packages will be installed:
libiw30 wireless-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 126 kB of archives.
After this operation, 364 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 libiw30 amd64 30~pre9-13ubuntu1 [17.4 kB]
Get:2 http://jp.archive.ubuntu.com/ubuntu focal/main amd64 wireless-tools amd64 30~pre9-13ubuntu1 [108 kB]
Fetched 126 kB in 3s (49.1 kB/s)
Selecting previously unselected package libiw30:amd64.
(Reading database ... 78938 files and directories currently installed.)
Preparing to unpack .../libiw30_30~pre9-13ubuntu1_amd64.deb ...
Unpacking libiw30:amd64 (30~pre9-13ubuntu1) ...
Selecting previously unselected package wireless-tools.
Preparing to unpack .../wireless-tools_30~pre9-13ubuntu1_amd64.deb ...
Unpacking wireless-tools (30~pre9-13ubuntu1) ...
Setting up libiw30:amd64 (30~pre9-13ubuntu1) ...
Setting up wireless-tools (30~pre9-13ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
iwconfig の実行
$ iwconfig enp4s0 no wireless extensions. wlp3s0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off lo no wireless extensions. enp2s0 no wireless extensions.
SSIDの確認
nmcli
$ nmcli dev wifi Command 'nmcli' not found, but can be installed with: sudo snap install network-manager # version 1.2.2-28, or sudo apt install network-manager # version 1.22.10-1ubuntu2.2 See 'snap info network-manager' for additional versions.
network-manager のインストール
$ sudo apt install network-manager (省略)
nmcli
$ nmcli dev wifi IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY **:**:**:**:**:** ******-*-**** Infra 1 130 Mbit/s 100 ???? WPA2 **:**:**:**:**:** ****-****-* Infra 11 405 Mbit/s 79 ???_ WPA1 WPA2 **:**:**:**:**:** ****-******-* Infra 6 540 Mbit/s 72 ???_ WPA1 WPA2 **:**:**:**:**:** *****_******-* Infra 2 54 Mbit/s 47 ??__ WEP **:**:**:**:**:** ****-***** Infra 11 130 Mbit/s 47 ??__ WPA1 WPA2 **:**:**:**:**:** *****_****** Infra 2 135 Mbit/s 45 ??__ WPA2 **:**:**:**:**:** ***********-** Infra 9 130 Mbit/s 42 ??__ WPA1 WPA2