Bug 679316 - Network Manager incorrectly reports no connection even if there is one
Summary: Network Manager incorrectly reports no connection even if there is one
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 14
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 08:28 UTC by Cameron
Modified: 2011-03-21 05:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-21 05:46:11 UTC
Type: ---


Attachments (Terms of Use)

Description Cameron 2011-02-22 08:28:20 UTC
Description of problem:
When all network interfaces are listed as "not controlled by Network Manager" Network Manager reports no network connection even if there is one or more other network connection.  This causes Firefox to start as "Offline."  This "feature" is particularly annoying if you use the Firefox feature to save multiple open tabs and wish to re-start Firefox with the tabs opened where you left off.  None will load due to the offline startup state of Firefox. 

Version-Release number of selected component (if applicable):
1.6.2

How reproducible:
100%

Steps to Reproduce:
1.  Mark all network interfaces as "not controlled by Network Manager"
2.  Mark at least one as "activate device at computer start" (note bug 522203 may cause the interface to NOT start so a workaround may be needed to get it to start at boot or optionally start it manually after reboot)
3.  Reboot
4.  Log in as a user 
5.  Start Firefox
  
Actual results:
4.  Network Manager will report no network connection (even though there is one)
5.  Firefox starts in "Work Offline" mode

Expected results:
4.  Network Manager should show network connection(s) that are active even if it doesn't "control" it.
5.  Firefox should start in online mode (since there really is active network connection)

Additional info:
Also noted on Fedora 13 but NOT noted in Fedora 6.  

Bottom line - Just because Network Manager doesn't "manage" a connection doesn't mean it shouldn't detect and use active connections that are on the system.

Comment 1 Cameron 2011-02-23 17:26:46 UTC
A workaround is to stop the NetworkManager service, but then when you need it (like to connect to a Wifi source) you'd have to manually start it first.  You can probably set this to Low severity now that there's a workaround.

Comment 2 Dan Williams 2011-02-25 06:25:33 UTC
That's correct.  If the device is not managed by NetworkManager, then clearly NetworkManager does not know that the device is connected or disconnected.  Period.

"detecting and using active connections" is complex enough in itself (addressing, routing, DNS, etc) that by the time you've done that, you've done 90% of the work of making NM support that configuration natively.  So why not do that?

Could you describe the networking situation that's not able to be managed by NM so that we can investigate adding native support for it?

Comment 3 Cameron 2011-02-27 08:03:06 UTC
Now that you ask, I can't really think of one.  I found out if I disable NetworkManager at boot everything works fine.  This system is both a server and a desktop so the network connections (2 of them) need to be up at boot and there's no real need for NetworkManager for this configuration.  As far as I'm concerned you can close the bug.  Thanks for looking at this so quickly!


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