Bug 2229350 - Incorrect wired network status when wireless disabled
Summary: Incorrect wired network status when wireless disabled
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 38
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-05 07:51 UTC by afshin.tek
Modified: 2024-05-28 13:40 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:40:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description afshin.tek 2023-08-05 07:51:16 UTC
On Fedora version 38, when wireless connection is turned off, NetworkManager incorrectly shows the system as connected to a wired connection instead. This causes the wired network icon to display in the top bar even with no physical wired connection.

This happens whether WiFi is disabled via GUI toggle or using 'nmcli radio wifi off'. No actual wired connection profiles exist. Already tried removing any wired profiles from NetworkManager which did not resolve.

Steps to Reproduce:

    Connect to WiFi network normally
    Disable WiFi using GUI toggle or 'nmcli radio wifi off'
    Wired network icon appears in top bar

Expected behavior:

Wired network should not show as connected when wireless is disabled.

Additional details:

    NetworkManager version: 1.42.8-1.fc38
    Kernel version: 6.4.7-200.fc38.x86_64

update: when i run: "$nmcli networking off && nmcli networking on" when wifi is on,it solves the problem till next reboot.

Comment 1 Beniamino Galvani 2023-08-07 07:19:18 UTC
Please show the output of "nmcli connection; nmcli device; ip a" when the issue happens.

Comment 2 afshin.tek 2023-08-07 09:03:22 UTC
(In reply to Beniamino Galvani from comment #1)
> Please show the output of "nmcli connection; nmcli device; ip a" when the
> issue happens.

this is the output of the command after i turn off wifi and "wired icon" appears:
nmcli connection; nmcli device; ip a
NAME     UUID                                  TYPE      DEVICE  
lo       732e51db-197d-4e7d-b9a2-ca232c8cc34e  loopback  lo      
docker0  c11f4a14-c1a7-451d-bd46-bedafafe4570  bridge    docker0
afshin   ce105ffa-4cbd-4102-9763-86d38d5e5d8a  wifi      --           
Q        10b028e0-b1ba-4926-8cd5-36aad5dc8145  wifi      --      
Qa       69dac76f-6d4e-4546-a328-864914b42edb  wifi      --      
DEVICE   TYPE      STATE                   CONNECTION
lo       loopback  connected (externally)  lo        
docker0  bridge    connected (externally)  docker0    
wlo1     wifi      unavailable             --        
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 noprefixroute
       valid_lft forever preferred_lft forever
2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 3a:67:3c:4e:cb:9b brd ff:ff:ff:ff:ff:ff permaddr 2c:3b:70:07:15:09
    altname wlp1s0
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:32:b2:4e:77 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever

Comment 3 jalal 2024-02-17 09:11:35 UTC
you're encountering an issue with the network configuration on your Fedora system. If your wired network status is showing as incorrect when the wireless is disabled, there could be several reasons behind this behavior. Here are some steps you can take to troubleshoot and potentially resolve the issue:

1. Check NetworkManager Settings: Ensure that NetworkManager is managing both your wired and wireless connections properly. You can use the following command to check the status of NetworkManager:
   
   ```
   systemctl status NetworkManager
   ```

If NetworkManager is not running, you can start it with:

   ```
   sudo systemctl start NetworkManager
   ```

2. Verify Network Configuration: Check the network configuration settings for both your wired and wireless connections. You can do this through the NetworkManager applet in the system tray or by using the `nmcli` command-line tool.

To list all available network connections along with their statuses, you can use:

   ```
   nmcli connection show
   ```

3. Ensure Wired Connection is Enabled: If the wired connection is not enabled, you can use the following command to enable it:

   ```
   nmcli connection up <connection_name>
   ```

4. Check Hardware Connection: Ensure that the Ethernet cable is securely connected to both your computer's Ethernet port and the network device (router, switch, etc.). Sometimes, a loose connection can cause issues with detecting the wired network.

5. Update Network Drivers: Ensure that you have the latest drivers installed for your network interface card (NIC). You can check for updates using the package manager (`dnf` on Fedora) or by visiting the manufacturer's website for driver downloads.

6. Restart Network Services: Sometimes, restarting network services can help resolve connectivity issues. You can do this by restarting the NetworkManager service.

   ```
   sudo systemctl restart NetworkManager
   ```

7. Check for Network Interface Naming: In some cases, the network interfaces might be named differently than expected. You can use tools like `ip link` or `ifconfig` to check the names of your network interfaces and ensure that the correct one is being used for the wired connection.

8. Check for IP Address Configuration: Ensure that your wired connection is obtaining the correct IP address settings (IP address, subnet mask, gateway, and DNS) either through DHCP or static configuration.

By following these steps, you should be able to diagnose and potentially resolve the issue with your wired network connection on Fedora when the wireless is disabled. if our problem is not solved kindly visit here for solution https://1001pisowifi.com/index.php/10-0-0-1-piso-wifi-pause-time/

Comment 4 Aoife Moloney 2024-05-28 13:40:53 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.