PDA

View Full Version : [ubuntu] Network Manager no longer seeing devices after reboot



ronchi
December 5th, 2010, 07:15 PM
I just loaded 10.10 on an Acer Aspire One D255. When I installed Ubuntu, network manager loaded and I was able to use both the wired and wireless cards. After I used update manager, the kernel was upgraded, and I also added some wireless applications (RutilT WLAN Manager, SWScanner, and WiFi Radar). Upon reboot, the network manager doesn't work, and it cannot find any of the devices. However, running lspci provides two of the following:

Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)

Network controller: Intel Corporation Centrino Wireless-N 1000

FYI, uname -a yields:

Linux AOD255 2.6.35-23-generic #41-Ubuntu SMP .... UTC 2010 i686 GNU/Linux


I have searched this site and found one potential remedy (that didn't work) namely removing the interfaces file in /etc/network and restarting network-manager, presumably hoping that a new (clean) interfaces file will be autogenerated. No joy. The odd thing is that the process says it starts, and gives a PID, but when you ps aux you don't find the PID of the process that allegedly started. The network icon on the top panel of Unity (remember, this is a netbook running the netbook-specific version of Ubuntu) says: "No network devices available".

I suspect network-manager is running because ps aux | grep network-manager returns a result (in my case, the PID was 8755).

ifconfig returns entries for eth0, lo and wlan0. None of which were running (except for loopback lo). Running "ifup wlan0" returns "Ignoring unknown interface wlan0=wlan0." The /etc/network/interfaces file is short and sweet:

auto lo
iface lo inet loopback


Clearly, however, something is wrong with network-manager. Anyone have any ideas. I'm stumped.

northd_tech
December 5th, 2010, 09:23 PM
Will you post the output of the following terminal commands:


lspci
lspci -k
lsusb
lsmod
sudo lshw -C network
I found a dual boot workaround (if you have Vista or Win7 on another partition) for a different model of Intel Centrino wifi around post # 5 onward on this thread:

http://ubuntuforums.org/showthread.php?t=1529993

Edit: it sounds like the new kernel upgrade is missing one or more networking modules (an extremely common, if not guaranteed problem in Ubuntu updating).

dineshs
December 6th, 2010, 02:17 AM
Have you tried this ? ie edit /etc/NetworkManager/nm-system-settings.conf using

gksudo gedit /etc/NetworkManager/nm-system-settings.conf
and set

managed=true
Then restart.
Q :If you go to /etc/NetworkManager do you see a folder system-connections? Pl check using gksudo nautilus /etc/NetworkManager

ronchi
December 6th, 2010, 05:58 AM
I tried what you suggested and did find a folder "system-connections" after restarting network-manager.

What does that signify?

ronchi
December 6th, 2010, 06:08 AM
Here is the result of lspci:


00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000


Here is the result of lspci -k


00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: i915
Kernel modules: i915
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel modules: i2c-i801
01:00.0 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev c1)
Subsystem: Acer Incorporated [ALI] Device 0349
Kernel driver in use: atl1c
Kernel modules: atl1c
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Kernel driver in use: iwlagn
Kernel modules: iwlagn


Here is the output from lsusb:


Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0402:9665 ALi Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Here is the output from lsmod:


Module Size Used by
nls_iso8859_1 3261 0
nls_cp437 4931 0
vfat 9201 0
fat 48240 1 vfat
usb_storage 40172 0
parport_pc 26058 0
ppdev 5556 0
snd_hda_codec_realtek 217971 1
binfmt_misc 6599 1
arc4 1165 2
snd_hda_intel 22107 4
snd_hda_codec 87552 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5040 1 snd_hda_codec
iwlagn 178948 0
snd_pcm 71475 2 snd_hda_intel,snd_hda_codec
i915 292683 7
snd_seq_midi 4588 0
snd_rawmidi 17783 1 snd_seq_midi
iwlcore 127415 1 iwlagn
snd_seq_midi_event 6047 1 snd_seq_midi
snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
drm_kms_helper 30168 1 i915
mac80211 231541 2 iwlagn,iwlcore
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
drm 168054 8 i915,drm_kms_helper
uvcvideo 55847 0
psmouse 59033 0
intel_agp 26424 2 i915
cfg80211 144470 3 iwlagn,iwlcore,mac80211
snd 49006 17 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
videodev 43098 1 uvcvideo
serio_raw 4022 0
v4l1_compat 13359 2 uvcvideo,videodev
soundcore 880 1 snd
agpgart 32011 2 drm,intel_agp
snd_page_alloc 7120 2 snd_hda_intel,snd_pcm
i2c_algo_bit 5168 1 i915
video 18712 1 i915
output 1883 1 video
lp 7342 0
parport 31492 3 parport_pc,ppdev,lp
usbhid 36882 0
hid 67742 1 usbhid
ahci 19013 0
libahci 21667 3 ahci
atl1c 29949 0


... and here is the output from lshw:


*-network
description: Ethernet interface
product: AR8152 v1.1 Fast Ethernet
vendor: Atheros Communications
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: c1
serial: 1c:75:08:16:fa:50
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.0.2-NAPI firmware=N/A latency=0 link=no multicast=yes port=twisted pair
resources: irq:46 memory:57000000-5703ffff ioport:5000(size=128)
*-network
description: Wireless interface
product: Centrino Wireless-N 1000
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 00
serial: 00:26:c7:a3:79:fa
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlagn driverversion=2.6.35-23-generic firmware=128.50.3.1 build 13488 latency=0 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:43 memory:56000000-56001fff


Thanks much.

dineshs
December 6th, 2010, 06:11 AM
After editing the file and rebooting does NM work?

I tried what you suggested and did find a folder "system-connections" after restarting network-manager.
What does that signify?
All the connections managed by NM will be available in this folder in seperate files.I just wanted to clarify.Can you confirm using

gksudo nautilus /etc/NetworkManager/system-connections

ronchi
December 6th, 2010, 06:30 AM
Thanks for the link to the other thread. I tried both of two things:

1) Rebooted to Windows 7 and toggled the wireless control (<Fn> F3 on this Acer netbook).

2) After shutting down Windows 7, I unplugged the battery, hoping that this might cure the bad firmware setting for the wireless toggle.

... upon rebooting back into Linux, the wireless light is on (albeit amber, not blue like the other indicator lights). That is something because the light was extinguished earlier.

Unfortunately, as far as network manager goes, there is still no joy. The results are unchanged. "No network devices available".

ronchi
December 6th, 2010, 06:32 AM
I was able to gksudo nautilus into /etc/NetworkManager/system-connections. But no files were present. Empty folder.

dineshs
December 6th, 2010, 06:51 AM
If no one comes up with a better solution I think you can try deleting system-connections then restart (Hope NM is ticked in system-preferences startup applications)
Or
Add the connections one by one

ronchi
December 6th, 2010, 05:52 PM
Dinesh: I tried deleting the directory and restarting network-manager. Nothing changed. The new folder wasn't even created.

Sadly, I'm thinking of reinstalling. Alternatively, I considered getting an extra Gig of RAM (making a 2 GB box) and installing a standard version of Ubuntu. I wasn't too keen on Unity anyway. My kids would rather have Gnome, and so would I. This particular netbook has a dual Atom processor, so it may be able to take the load, especially if it has more RAM.