LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 12.04 upgrade destroys network (http://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-12-04-upgrade-destroys-network-4175414335/)

WantLinuxHelp 07-01-2012 05:03 PM

Ubuntu 12.04 upgrade destroys network
 
I upgraded my Ubuntu with LXDE to 12.04, and I no longer had any network connection. What should I look at in order to try to diagnose this Ubuntu upgrade bug?

RockDoctor 07-01-2012 05:54 PM

Next place I'd look is to see if NetworkManager is running
Code:

ps aux | grep NetworkManager
If it's not running, start it
Code:

sudo service network-manager start
Next place I'd look is to see if nm-applet is running; if not start it. If it is running, right-click on the nm-applet icon in the panel, and edit your connection

WantLinuxHelp 07-01-2012 10:10 PM

Thanks, RD.

NetworkManager was in fact not running. When I started it, a window popped up saying:


Code:

Sorry, Ubuntu 12.04 has experienced an internal error

executable path:
/usr/lib/notification-daemon/notification-daemon

package:
notification-daemon.0.7.3-1

title:
notification-daemo crashed with signal 5 in g_return_if_fail_warning()

But the network manager is still running, and I seem to be able to get to the network now.

When I reboot, the system takes forever. I see a message saying "waiting up to 60 more seconds for network configuration.". Then it says "booting without full network configuration" When it comes up, no NetworkManager. When I start it, I get the same "internal error" message.

WantLinuxHelp 07-01-2012 11:24 PM

After rebooting the system, I found this is the syslog

Code:

Jul  1 22:11:10 ubuntu-desktop kernel: [  51.868966] type=1400 audit(1341198662.832:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  51.868988] type=1400 audit(1341198662.832:3): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  51.870835] type=1400 audit(1341198662.832:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  51.870853] type=1400 audit(1341198662.832:5): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  51.871858] type=1400 audit(1341198662.832:6): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=521 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  51.871877] type=1400 audit(1341198662.832:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=535 comm="apparmor_parser"
Jul  1 22:11:10 ubuntu-desktop kernel: [  52.404751] snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul  1 22:11:10 ubuntu-desktop kernel: [  52.532852] init: network-interface (lo) pre-start process (585) terminated with status 1
Jul  1 22:11:10 ubuntu-desktop kernel: [  52.593906] hda_codec: ALC888: SKU not ready 0x411111f0
Jul  1 22:11:11 ubuntu-desktop dhclient: Bind socket to interface: No such device

I don't know if this is important or means anything

EDDY1 07-02-2012 03:38 AM

https://bugs.launchpad.net/ubuntu/+s....0/+bug/926758

WantLinuxHelp 07-02-2012 06:31 AM

Quote:

Originally Posted by EDDY1 (Post 4716929)

Thanks. This is a bug for the g_return_if_fail_warning() problem. Since I do NOT get that on reboot, but only upon manually starting the NetworkManager, and since noone else reporting this in the bug report mentions the NetworkManager, I am assuming this is a SECOND problem, and not the reason that my NetworkManager fails to start on reboot.

Now that I have my NetworkManager working, should I file a Ubuntu bug on it failing to start on boot? Which package is it?

EDDY1 07-02-2012 08:45 AM

It's notification daemon problem also it's in your post #3

barnac1e 07-02-2012 11:21 AM

I dont think thats a bug though. His network manager quit working because apt shut it down to upgrade it. Then Ubuntu was using the fallback configuration of /etc/network/interfaces to look for a network but nothing was there so he got that error. Once Network Manager daemon started back, it takes precedence over the fallback /etc config is all.

WantLinuxHelp 07-02-2012 05:25 PM

Quote:

Originally Posted by barnac1e (Post 4717205)
I dont think thats a bug though. His network manager quit working because apt shut it down to upgrade it. Then Ubuntu was using the fallback configuration of /etc/network/interfaces to look for a network but nothing was there so he got that error. Once Network Manager daemon started back, it takes precedence over the fallback /etc config is all.

Kevin, thanks. This sounds reasonable. How do I get things working again?

barnac1e 07-02-2012 06:02 PM

Hi. Actually. Upon looking things over, what you are experiencing has nothing to do with Networking. Apparently it has to do with themes. Like the colors, shades, window borders,etc. From what I can tell Ubuntu switched from gtk2 to gtk3 for version 12.04s. Gtk just stands for Gimp Toolkit I think. It was used in designing the window looks and feel in GNOME and Metacity- Gnomes Window Manager. So my guess is somewhere in your settings in from your old Ubuntu is clashing with the new Ubuntu settings. You said you have LXDE on top of Ubuntu? Or do you have the distibution Lubuntu? I think a theme from LXDE is gtk2 based and Ubuntu 12.04 with all gtk3 doesnt like it. Does any of this sound familiar?

barnac1e 07-02-2012 10:09 PM

Quote:

Originally Posted by WantLinuxHelp (Post 4717464)
Kevin, thanks. This sounds reasonable. How do I get things working again?

Well, we'll try this cause I think it "may" help you, but not sure. If it doesn't, it can be reversed although these files do no harm at all, and all are official Ubuntu packages in Precise. You just may be missing one or two you need due to lxde being installed. So open a terminal as root and type all of the following in one shot:

Code:

#apt-get update

#apt-get install scim-gtk2-immodule libgtk2-perl gtk-theme-switch Gtk-chtheme gtk-clearlooks-gperfection2-theme Gnome-color-chooser Ibus-gtk lxde-common Lxappearance dbus-x11 libdbusmenu-gtk-doc python-dbus libindicate-gtk3-3 libdbus-java libdbusmenu-gtk4 Appmenu-gtk Appmenu-gtk3 gir1.2-dbusmenu-gtk-0.4 gir1.2-dbusmenu-gtk3-0.4 libdbus-glib-1-2 libnet-dbus-perl jobservice gnome-settings-daemon-dev

Hit enter. It should pull all or any dependencies it needs with no problem. If it gives you an error of any kind, check for simple misspellings in package names, which may be my fault but I was pretty thorough on it. So install all these. When it finishes. Reboot. See if you still get that error message or not. Either way, let me (us) know.

I mean this is what i personally would do and try first :)

WantLinuxHelp 07-02-2012 10:14 PM

Quote:

Originally Posted by barnac1e (Post 4717490)
what you are experiencing has nothing to do with Networking.

How can you say that? When I boot, my network is not working.

Also, when I reboot the system takes forever, and I see a message saying "waiting up to 60 more seconds for network configuration.". Then it says "booting without full network configuration" When it comes up, no NetworkManager.

Quote:

Originally Posted by barnac1e (Post 4717490)
You said you have LXDE on top of Ubuntu? Or do you have the distibution Lubuntu?

LXDE on top of Ubuntu


Quote:

Originally Posted by barnac1e (Post 4717490)
So my guess is somewhere in your settings in from your old Ubuntu is clashing with the new Ubuntu settings.

Maybe this is causing the SECOND problem with the "internal error"


Quote:

Originally Posted by barnac1e (Post 4717490)
I think a theme from LXDE is gtk2 based and Ubuntu 12.04 with all gtk3 doesnt like it. Does any of this sound familiar?

I'm thinking I should make a new thread for that. I'll post the link for the new thread here.

WantLinuxHelp 07-02-2012 10:39 PM

Ubuntu 12.04 upgrade
 
...

EDDY1 07-02-2012 10:50 PM

This may be your solution , but you insist that it's not.
https://forums.virtualbox.org/viewto...=23194&start=0

WantLinuxHelp 07-02-2012 11:06 PM

I started the new thread for barnacle's idea about gtk here


All times are GMT -5. The time now is 12:14 PM.