LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-22-2012, 12:39 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Rep: Reputation: 57
Ubuntu 12.04 Using Gnome Shell NM Applet Issues


I installed the latest GNOME SHELL and noticed that dhclient assigns an address to eth0 fine but when I go into the GUI and look at network connection in the upper right hand corner, it does not show any profile of what I already have and when I attempt to add a profile everything is grayed out. It appears to be something with permission. Any ideas?
 
Old 06-23-2012, 07:28 AM   #2
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
I think it may be a bug:

This is the scenario:

I installed a barebones Ubuntu 12.04 using GNOME-SHELL on a usbstick(work related project). All worked fine from the laptop that I did the installation from. It grabbed an ip address automatically assigning the nic (eth0) and the wireless interface (wlan0) correctly. The nm-applet worked fine when you clicked the upper right hand corner in which you could edit the profile(eth0) and or (wlan0) respectively.

So in testing I decided to test this usbstick on several other laptops and desktop to see how things went(Thinkpads,EliteBooks and etc). All worked fine except that Ubuntu is randomly reassigning the interfaces eth1,eth2,wlan1,wlan2 and not consitently keeping them eth0, eth1 like our previous build using Ubuntu 10.04. I can see what is happeneing. When I look at the /etc/NetworkManager/NetworkManager.conf:

Code:
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=false
Network Manager is not managing what is in /etc/network/interefaces:

Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
because the nic interfaces are changing random to something else eth1,eth2,wlan1,wlan2 on the other machines that I am using for testing thus disabling the nm-applet icon from appearing in right hand corner on the panel. Ubuntu is randomly assigning them which can be seen under /etc/udev/rules.d/70-persistent-net.rules:

Code:
# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.3/0000:44:00.0 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:27:10:bd:8a:88", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:19.0 (e1000e)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:ae:1d:b6:a3:f7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0 (r8169)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:33:3d:e0:d7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 (iwl4965)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:3b:80:8b:21", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.5/0000:07:00.0 (tg3)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:ae:1d:2e:a9:14", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/ssb0:0 (b43-pci-bridge)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:e4:00:84:b9:68", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0 (e1000)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:25:32:59:64", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0 (ath5k)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:9b:6e:27:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan3"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0 (e1000)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:25:32:59:64", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0 (ath5k)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:9b:6e:27:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:25:32:59:64", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0 (ath5k)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:9b:6e:27:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1e.0/0000:02:02.0 (ath5k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0e:9b:6e:27:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.5/0000:07:00.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="88:ae:1d:2e:a9:14", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/ssb0:0 (b43-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:e4:00:84:b9:68", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"
In addition to that randomly reassignment of the nic interfacing, ip address are not being assigned to the nics because they do not reside in /etc/network/interaces as seen in the above.
 
Old 06-25-2012, 11:26 AM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
I have resolved the issue.

http://askubuntu.com/questions/15438...ed-under-12-04
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install GNOME 3 (With Mint GNOME Shell Extensions) Or Mate On Ubuntu 11.10 LXer Syndicated Linux News 0 12-09-2011 10:00 AM
LXer: Indicator Applet Ported To GNOME 3, Can Already Be Used In Ubuntu 11.10 Classic Session LXer Syndicated Linux News 0 11-04-2011 12:11 AM
[SOLVED] Ubuntu Gnome applet panel power button won't shutdown machine EDDY1 Linux - Newbie 3 11-05-2010 03:52 AM
How to install tar.gz on Ubuntu 9.10 (Gnome Sensors Applet) pgonzamailcn Linux - Newbie 7 12-28-2009 08:13 AM
Wireless issues with nm applet in ubuntu 7.10 Anubis Ubuntu 0 01-11-2008 10:34 AM


All times are GMT -5. The time now is 05:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration