After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681108 - nm-applet does not show vlan entries defined as keyfile
nm-applet does not show vlan entries defined as keyfile
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-03 06:59 UTC by Michael
Modified: 2013-06-05 18:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael 2012-08-03 06:59:31 UTC
A vlan entry defined as a keyfile like this:

[connection]
id=VLAN615
uuid=ed3b2385-9016-45c6-a277-fa7e5be8fe9d
type=vlan

[vlan]
parent=eth0
id=615

[ipv6]
method=auto

[ipv4]
method=auto


Works correctly from the cli, e.g.

    nmcli con up id VLAN615

brings the interface up correctly.

nm-applet also shows the connection on "connection details" ("Verbindungsinformationen" in German). But the connection is not shown in the list of connections. You cannot activate or deactivate this connection.

I understand that nm-applet does not have support for editing vlan connections, but it should at least show the connections in the list and allow to activate/deactivate these, similar to the connections from the ifupdown interface.

 


    iface eth0.1 inet dhcp

or as:

    iface vlan1 inet dhcp
      vlan-raw-device eth0

is shown correctly in nm-applet as "ifupdown(eth0.1)" or "ifupdown(vlan1)", but network manager brings up eth0 instead of eth0.1.

NM: 0.9.4.0-0ubuntu4.1
OS: Ubuntu Precise 12.04

see also here:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1029273
and here:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/353835
Comment 1 Todd Wallentine 2013-06-03 20:43:51 UTC
I am having this identical behavior in a fresh install of Ubuntu 13.04. I was able to create the VLAN connection using the new NM UI (Edit Connections | Add | VLAN) but the connection is not showing up in the nm-applet list.

I am able to connect using nmcli:
nmcli c up VLAN20


Some diagnostic information that might help:
todd@todd:~$ nmcli c list
NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    
Wired connection 1        de585d90-48ca-4d77-a496-5aae899d5513   802-3-ethernet    Mon 03 Jun 2013 10:02:39 AM CDT   
VLAN20                    ee752adf-77d9-4dd3-b3a7-06b696c74658   vlan              Mon 03 Jun 2013 03:38:51 PM CDT

todd@todd:~$ uname -a
Linux todd 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

todd@todd:~$ sudo cat /etc/NetworkManager/system-connections/VLAN\ connection\ 1 
[connection]
id=VLAN20
uuid=ee752adf-77d9-4dd3-b3a7-06b696c74658
type=vlan
autoconnect=false

[ipv6]
method=auto

[vlan]
interface-name=vlan20
parent=eth0
id=20

[ipv4]
method=auto
Comment 2 Dan Williams 2013-06-05 18:39:27 UTC
This has been fixed in network-manager-applet git as of c3706810ef5af2f06769cfc3f75b44eccf0c948b (applet: add VLAN, Bridge and Bond device support) and will be released for 0.9.10.