Hi all,
my wireless network interface is not working after system
reinstallation. Before it was working perfectly. It cannot get an IP
address from DHCP. Also, when I assign to it and IP address manualy,
it's not working. The wired interface is working perfectly. Itried
with both ordinary and backported versons of the driver available in
Debian repos (broadcom-sta-dkms).
I hope someone will have an idea on what's going on.
# dmesg | grep firmware
[ 12.664390] platform regulatory.0: firmware: direct-loading
firmware regulatory.db
[ 12.686687] platform regulatory.0: firmware: direct-loading
firmware regulatory.db.p7s
[ 15.764398] bluetooth hci0: firmware: failed to load
brcm/BCM43142A0-04ca-2006.hcd (-2)
[ 15.764770] firmware_class: See https://wiki.debian.org/Firmware
for information about missing firmware
[ 15.765299] bluetooth hci0: firmware: failed to load
brcm/BCM-04ca-2006.hcd (-2)
[ 15.765623] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[ 23.512863] r8169 0000:02:00.2: firmware: direct-loading firmware
rtl_nic/rtl8402-1.fw
# dpkg -l ifupdown iproute2 wpasupplicant iw wireless-tools
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 ifupdown 0.8.36 amd64 high level tools to
configure netw>
ii iproute2 5.10.0-4 amd64 networking and traffic
control too>
ii iw 5.9-3 amd64 tool for configuring
Linux wireles>
ii wireless-tools 30~pre9-13.1 amd64 Tools for manipulating
Linux Wirel>
ii wpasupplicant 2:2.9.0-21 amd64 client support for WPA
and WPA2 (I>
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.152/24 brd 192.168.1.255 scope global dynamic enp2s0f2
valid_lft 863375sec preferred_lft 863375sec
inet6 fe80::f279:59ff:fe31:6502/64 scope link
valid_lft forever preferred_lft forever
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state DORMANT group default qlen 1000
link/ether yy:yy:yy:yy:yy:yy brd ff:ff:ff:ff:ff:ff
inet 169.254.12.207/16 brd 169.254.255.255 scope link wlp3s0:avahi
valid_lft forever preferred_lft forever
inet6 fe80::aeb5:7dff:fe78:dd58/64 scope link
valid_lft forever preferred_lft forever
# iw dev
phy#0
Interface wlp3s0
ifindex 3
wdev 0x1
addr yy:yy:yy:yy:yy:yy
type managed
txpower 23.00 dBm
# ip link set wlp2s0 up
# iwlist scan
lo Interface doesn't support scanning.
enp2s0f2 Interface doesn't support scanning.
wlp3s0 Scan completed :
Cell 01 - Address: zz:zz:zz:zz:zz:zz
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=43/70 Signal level=-67 dBm
Encryption key:on
ESSID:"tttttt"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 44ms ago
IE: Unknown: 0006444338393044
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 0706444520010D14
IE: Unknown: 200100
IE: Unknown: 23020F00
IE: Unknown: 2A0100
IE: Unknown: 32040C121860
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 0B0500002B0000
IE: Unknown: 46057208010000
IE: Unknown:
2D1ABC091BFFFF000000000000000000000000000000000000000000
IE: Unknown:
3D1601080000000000000000000000000000000000000000
IE: Unknown: 7F080400080000000040
IE: Unknown:
DD770050F204104A0001101044000102103B00010310470010EB62D5B56AA6799788693B73BFFD4549102100045562656510230004556265651024000631323334353610420007303030303030311054000800060050F204000110110006556265654150100800022008103C0001031049000600372A000120
IE: Unknown: DD090010180200000C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown:
DD180050F20201018C0003A4000027A4000042435E0062322F00
[and so on, the listed AP is not mine, my AP has quite fine signal
strength and quality]
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp2s0f2
iface enp2s0f2 inet dhcp
# cat /etc/network/interfaces.d/wifi
allow-hotplug wlp3s0
iface wlp3s0 inet dhcp
wpa-ssid uuuuuuuuuuuuuu
wpa-psk vvvvvvvvvvvvvv
# ifup wlp3s0
ifup: interface wlp3s0 already configured
# ifdown wlp3s0
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on Socket/fallback
# ifup wlp3s0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on Socket/fallback
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[reboot]
root@rus:~# ifdown enp2s0f2
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp2s0f2/xx:xx:xx:xx:xx:xx
Sending on LPF/enp2s0f2/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPRELEASE of 192.168.1.152 on enp2s0f2 to 192.168.1.1 port 67
root@rus:~# ifdown wlp3s0
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
Sending on Socket/fallback
root@rus:~# ip link set wlp3s0 up
root@rus:~# ip address add 192.168.1.8/24 dev wlp3s0
root@rus:~# ip route
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.8
root@rus:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.8 icmp_seq=1 Destination Host Unreachable
From 192.168.1.8 icmp_seq=2 Destination Host Unreachable
From 192.168.1.8 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4098ms
pipe 4