Bug#1032815: FIXED (Configuration error)

2023-03-11 Thread Greg Deitrick
The file /etc/network/interfaces contained a block that defined a network
connection for the wifi adapter.  Eliminating that block and rebooting
restored the desired behavior.


Bug#1032815: network-manager: nmcli finds no wifi APs while wifi network connected and working

2023-03-11 Thread Greg Deitrick
Package: network-manager
Version: 1.42.4-1
Severity: important
X-Debbugs-Cc: greg.deitr...@gmail.com

Dear Maintainer,

1. Gnome / Settings / Wi-Fi reports "No Wi-Fi Adapter Found"
2. The command, ' nmcli device wifi list ' reports no available wifi APs
Consequently, wifi connections cannot be managed by Gnome nor by nmcli

However, at the same time:
1.  Wifi network connection is working.
2.  There is no wired ethernet port on this computer.
3.  The command "ping www.google.com" indicates successful transmission.
4.  A second computer in the same location reports 4 active wifi networks with 
signal strengths from 59 to 100.
 
This occurred immediately after a fresh install of 
debian-bookworm-DI-alpha2-amd64-netinst.iso onto a Framework Laptop 12th gen.  
The wifi network connection was configured during this install and used during 
the install.  Only the base system was installed initially.  After the first 
boot apt-get update/upgrade was performed and the system was rebooted.  Then 
tasksel was used to install a desktop environment and gnome.

Prior to this install, this computer was running Ubuntu 22.04 for over 4 
months.  During this time Gnome managed the wifi network connection as expected.
The problem persisted after upgrading network-manager from the version in 
bookworm to the version in unstable.

Some possibly helpful output:

$ nmcli device wifi list
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 

$ nmcli device show
GENERAL.DEVICE: lo
GENERAL.TYPE:   loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU:65536
GENERAL.STATE:  100 (connected (externally))
GENERAL.CONNECTION: lo
GENERAL.CON-PATH:   
/org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY:--
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY:--
IP6.ROUTE[1]:   dst = ::1/128, nh = ::, mt = 256

GENERAL.DEVICE: wlp166s0
GENERAL.TYPE:   wifi
GENERAL.HWADDR: 8C:F8:C5:EE:01:C9
GENERAL.MTU:1500
GENERAL.STATE:  10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH:   --
IP4.ADDRESS[1]: 192.168.1.36/24
IP4.GATEWAY:192.168.1.1
IP4.ROUTE[1]:   dst = 192.168.1.0/24, nh = 0.0.0.0, mt 
= 0
IP4.ROUTE[2]:   dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 0
IP4.ROUTE[3]:   dst = 169.254.0.0/16, nh = 0.0.0.0, mt 
= 1000
IP6.ADDRESS[1]: fe80::8ef8:c5ff:feee:1c9/64
IP6.GATEWAY:--
IP6.ROUTE[1]:   dst = fe80::/64, nh = ::, mt = 256

$ lshw -C network
  *-network 
   description: Wireless interface
   product: Wi-Fi 6 AX210/AX211/AX411 160MHz
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@:a6:00.0
   logical name: wlp166s0
   version: 1a
   serial: 8c:f8:c5:ee:01:c9
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix bus_master cap_list ethernet 
physical wireless
   configuration: broadcast=yes driver=iwlwifi driverversion=6.1.0-5-amd64 
firmware=72.daa05125.0 ty-a0-gf-a0-72.uc ip=192.168.1.36 latency=0 link=yes 
multicast=yes wireless=IEEE 802.11
   resources: irq:16 memory:7a20-7a203fff

$ lsmod | grep iwl
iwlmvm385024  0
mac80211 1175552  1 iwlmvm
iwlwifi   360448  1 iwlmvm
cfg80211 1134592  3 iwlmvm,iwlwifi,mac80211
rfkill 36864  9 iwlmvm,bluetooth,cfg80211

$ sudo dmesg | grep iwl
[4.558340] iwlwifi :a6:00.0: enabling device ( -> 0002)
[4.570738] iwlwifi :a6:00.0: firmware: direct-loading firmware 
iwlwifi-ty-a0-gf-a0-72.ucode
[4.570752] iwlwifi :a6:00.0: api flags index 2 larger than supported by 
driver
[4.570767] iwlwifi :a6:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.36
[4.571101] iwlwifi :a6:00.0: firmware: failed to load 
iwl-debug-yoyo.bin (-2)
[4.571153] iwlwifi :a6:00.0: firmware: failed to load 
iwl-debug-yoyo.bin (-2)
[4.571168] iwlwifi :a6:00.0: loaded firmware version 72.daa05125.0 
ty-a0-gf-a0-72.ucode op_mode iwlmvm
[4.689001] iwlwifi :a6:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, 
REV=0x420
[4.865896] iwlwifi :a6:00.0: firmware: direct-loading firmware 
iwlwifi-ty-a0-gf-a0.pnvm
[4.865972] iwlwifi :a6:00.0: loaded PNVM version 64acdc51
[4.884369] iwlwifi :a6:00.0: Detected RF GF, rfid=0x10d000
[4.961304] iwlwifi :a6:00.0: base HW address: 8c:f8:c5:ee:01:c9
[4.995420]