| Summary: | NetworkManager forgets wireless networks when HWADDR changes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | CJ Kucera <pez> |
| Component: | NetworkManager | Assignee: | Dan Williams <dcbw> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dcbw, jklimes |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-07 11:13:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
CJ Kucera
2013-09-20 16:30:01 UTC
HWADDR variable in ifcfg-* file corresponds to "Device MAC address" in nm-connection-editor. The field is used to "lock" particular connection with a Wi-Fi device. If you create a connection using nm-connection-editor, the field is empty by default, which means the connection can be used with any compatible device. However, when the connection is created first time by clicking a Wi-Fi network in nm-applet, nm-applet creates (*and* activates) a connection that is "locked" to the device. But you can easily edit that "Auto blahblah" connection in nm-connection-editor and remove "Device MAC address" if you prefer. Is that really a sensible default, though? Who, when connecting to a wifi network, actually wants that connection to be locked to that particular wifi adapter? I have a hard time thinking of a situation where that would be the case. I suppose it's nice that there's a way to disassociate it via the nm-applet GUI, but in the event of an adapter swap, asking a user to manually go in and disassociate every single wifi network they might care about seems hardly ideal (and a mass 'sed' like the one I used would be far more efficient). I won't keep harping on it, 'cause it's not really that big of a deal, especially given Fedora's short life cycle, but IMO the *default* for a wireless network should be to omit the HWADDR, rather than requiring a user to have the foresight to modify every single wifi connection they encounter. Unlocked connections have a number of problems, two off the top of my head: 1) wifi device and driver capabilities can be quite different; if you have your connection set up for a network with specific requirements and then change your device, the old connection may fail to work and you'll have no idea why 2) unlocked connections apply to all wifi devices; which means if you plug two devices into your system, both devices will immediately connect to the same wifi network. This is almost always unexpected and not the intention of the user. Most users do not change the wifi adapter, or change it quite rarely. Changing hardware is not a minor event and thus some system changes can also be expected. Basically, locking is the lesser of two evils is most situations and this is the direction we've chosen. |