Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435046 - gnome-extra/nm-applet-0.9.4.1: cannot rename wired connection
Summary: gnome-extra/nm-applet-0.9.4.1: cannot rename wired connection
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2012-09-14 17:45 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2014-09-23 11:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-09-14 17:45:45 UTC
It is impossible to change connections names except of mobile broadband.

Reproducible: Always

Steps to Reproduce:
1. Go to "Edit Connections"
2. Select "Wired" tab
3. Select any item
4. Click "Edit..."
5. Change "Connection name"
6. Click "Save..."
Actual Results:  
The name of the selected connection is unchanged.

Expected Results:  
The name of the selected connection should change.

If new connection is created, it is automatically named to "eth[0-9]+" regardless of given value of "Connection name".

Changing other options of wired connections works.  Renaming wireless connection doesn't work, but initial value is accepted when new wireless connection is created. Changing mobile broadband connections names works.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-14 18:28:42 UTC
The "connection name" field is purely an internal networkmanager name, and exists for cosmetic and UI reasons. You could set it to any descriptive string, e.g. "My office connection". As far as I know, it's not intended to affect the kernel's network interface name.

If you want to be able to change the kernel's interface name from nm-applet, you should request that feature from networkmanager upstream developers:

https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-09-15 11:17:24 UTC
(In reply to comment #1)
> The "connection name" field is purely an internal networkmanager name, and
> exists for cosmetic and UI reasons. You could set it to any descriptive
> string, e.g. "My office connection".

Which doesn't work as I have reported.


> As far as I know, it's not intended to affect the kernel's network interface
> name.

No, I don't want to change interface name.  I want to only change the description in networkmanager.  And this doesn't work, at least for me.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-15 11:44:11 UTC
What kind of a connection are you renaming? User-specific or systemwide ("available to all users")? If it's systemwide, do you have it saved in keyfile format (a file in /etc/NetworkManager/system-connections/), or ifnet format (an entry in /etc/conf.d/net)?
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-09-15 13:46:27 UTC
(In reply to comment #3)
> What kind of a connection are you renaming? User-specific or systemwide
> ("available to all users")? If it's systemwide, do you have it saved in
> keyfile format (a file in /etc/NetworkManager/system-connections/), or ifnet
> format (an entry in /etc/conf.d/net)?

Systemwide, ifnet - all wired and wireless and keyfile - mobile broadband.
Comment 5 Pacho Ramos gentoo-dev 2013-12-24 13:19:00 UTC
(In reply to Amadeusz Żołnowski from comment #4)
> (In reply to comment #3)
> > What kind of a connection are you renaming? User-specific or systemwide
> > ("available to all users")? If it's systemwide, do you have it saved in
> > keyfile format (a file in /etc/NetworkManager/system-connections/), or ifnet
> > format (an entry in /etc/conf.d/net)?
> 
> Systemwide, ifnet - all wired and wireless and keyfile - mobile broadband.

But, does it also fail when using "keyfile" plugin only? (when you have both, you are using ifnet really)
Comment 6 Pacho Ramos gentoo-dev 2014-09-23 11:56:02 UTC
(In reply to Pacho Ramos from comment #5)
> (In reply to Amadeusz Żołnowski from comment #4)
> > (In reply to comment #3)
> > > What kind of a connection are you renaming? User-specific or systemwide
> > > ("available to all users")? If it's systemwide, do you have it saved in
> > > keyfile format (a file in /etc/NetworkManager/system-connections/), or ifnet
> > > format (an entry in /etc/conf.d/net)?
> > 
> > Systemwide, ifnet - all wired and wireless and keyfile - mobile broadband.
> 
> But, does it also fail when using "keyfile" plugin only? (when you have
> both, you are using ifnet really)