私はカリLinuxを使用しています。バージョン確認基準lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2021.1
Codename: kali-rolling
ネットワークアダプタに問題があると思います。
の出力は ifconfig
次のとおりです。
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 8c:16:45:54:4c:ad txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 788 bytes 61140 (59.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 788 bytes 61140 (59.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.234 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 fe80::a800:26ff:feb5:a336 prefixlen 64 scopeid 0x20<link>
ether aa:00:26:b5:a3:36 txqueuelen 1000 (Ethernet)
RX packets 17845 bytes 17447803 (16.6 MiB)
RX errors 4 dropped 0 overruns 0 frame 4
TX packets 17371 bytes 4356032 (4.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 16:c9:1c:51:c2:06 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
コマンドの出力はiwconfig
次のとおりです。
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
usb0 no wireless extensions.
ネットワークカード表示モードlspci | grep Network
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
ネットワークカード用のドライバをインストールしようとしています。ドライバのgithubディレクトリ 実行時に前提条件を完了した後
sudo ./dkms-install.sh
出力は次のとおりです
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20200325
You cannot add the same module/version combo more than once.
Module rtl8821ce/v5.5.2_34066.20200325 already built for kernel 5.10.0-kali7-amd64/4
Module rtl8821ce/v5.5.2_34066.20200325 already installed on kernel 5.10.0-kali7-amd64/x86_64
Finished running dkms install steps.
これは、ドライバがプリインストールされているがWi-Fiがまだ機能していないことを意味します。
どんな提案がありますか?
出力は次のとおりです ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 8c:16:45:54:4c:ad brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 02:e7:51:18:90:08 brd ff:ff:ff:ff:ff:ff permaddr b0:fc:36:32:7d:cb
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 92:52:11:d0:17:2f brd ff:ff:ff:ff:ff:ff
答え1
wlan0を「起動」する必要があります。
wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 02:e7:51:18:90:08 brd ff:ff:ff:ff:ff:ff permaddr b0:fc:36:32:7d:cb
DOWNの状態を確認してください。
sudo ip link set dev wlan0 up