Max Nikulin <maniku...@gmail.com> writes: > On 05/02/2024 12:08, Byunghee HWANG (황병희) wrote: >> On Sun, 2024-02-04 at 13:41 -0600, David Wright wrote: >>> So it would appear that your question is exactly as in the reference >>> you quoted, that ifupdown was configuring wlp4s0 when /w/n/i was >>> in place, resulting in NM displaying a question mark. >> Thank you for confirming that this is not a bug. > > I have no idea concerning GNOME in sid, but a KDE applet from > nm-plasma in bookworm is able to react to commands > > ip link set enp0s2 down > ip link set enp0s2 up > > in a VM when the only interface (besides lo) is managed by > ifupdown. When the interface is down, the icon changed to a dimmed one > with a red "x". > > I have not figured out how to determine state using nmcli or through > various objects reported by > > busctl tree org.freedesktop.NetworkManager > > E.g. nm-online always reports success. It might be some fallback in > the KDE applet. Depending on that it is either a bug or not in the > GNOME applet. > > P.S. > > nmcli dev > DEVICE TYPE STATE CONNECTION > lo loopback connected (externally) lo > enp0s2 ethernet unmanaged -- > > nmcli con > NAME UUID TYPE DEVICE > lo 18c86315-d7f9-417e-ab2c-c131803b4c0b loopback lo > > nm-online ; echo $? > Connecting............... 30s [online] > 0 >
Hellow Max! Actuallu i have a weak technical background. So i don't know well your professional analyze. Just i use default values by automatic. Anyway i attach some screenshot more. As you see to me: <quote> soyeomul@thinkpad-e495:~$ ls -l /etc/network/ total 24 drwxr-xr-x 2 root root 4096 Feb 18 13:29 if-down.d drwxr-xr-x 2 root root 4096 Jan 8 19:45 if-post-down.d drwxr-xr-x 2 root root 4096 Jan 8 19:45 if-pre-up.d drwxr-xr-x 2 root root 4096 Feb 18 13:29 if-up.d drwxr-xr-x 2 root root 4096 Jan 24 2023 interfaces.d -rw-r--r-- 1 root root 433 Oct 4 17:23 interfaces.orig soyeomul@thinkpad-e495:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux trixie/sid Release: n/a Codename: trixie soyeomul@thinkpad-e495:~$ nmcli dev DEVICE TYPE STATE CONNECTION wlp4s0 wifi connected V30_3982 lo loopback connected (externally) lo enp2s0 ethernet unavailable -- soyeomul@thinkpad-e495:~$ nmcli con NAME UUID TYPE DEVICE V30_3982 d5a7a052-5756-4ab9-85b5-a4576b5d4e4d wifi wlp4s0 lo 6b998a36-ea29-4d65-baab-d6daaaa3a8ef loopback lo Wired connection 1 77a0f34e-c572-38c7-b28d-4f08a33be077 ethernet -- soyeomul@thinkpad-e495:~$ ping -c 3 google.com. PING google.com. (2404:6800:400a:804::200e) 56 data bytes 64 bytes from kix06s10-in-x0e.1e100.net (2404:6800:400a:804::200e): icmp_seq=1 ttl=51 time=211 ms 64 bytes from kix06s10-in-x0e.1e100.net (2404:6800:400a:804::200e): icmp_seq=2 ttl=51 time=121 ms 64 bytes from kix06s10-in-x0e.1e100.net (2404:6800:400a:804::200e): icmp_seq=3 ttl=51 time=255 ms --- google.com. ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 121.185/195.563/254.546/55.522 ms soyeomul@thinkpad-e495:~$ echo "I am using GNOME Debian (sid) Thank you Max ^^^" I am using GNOME Debian (sid) Thank you Max ^^^ soyeomul@thinkpad-e495:~$ date Sun Feb 25 01:47:11 PM KST 2024 </quote> V30_3982 is LG Smartphone (WiFi HotSpot), for the record. Sincerely, Byunghee from South Korea -- ^고맙습니다 _布德天下_ 감사합니다_^))//
signature.asc
Description: PGP signature