LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-03-2012, 04:51 PM   #1
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Rep: Reputation: Disabled
Network is not working anymore - Ubuntu 12.04


Hello, I have a problem with my network connection. I have been using the same laptop with Ubuntu and the same connection for more than a year, and suddenly yesterday the connection stopped working (both wireless and wired). I've tested with another computer and the connection is fine (both wireless and wired).

I've been reading similar posts but I haven't found a solution yet. I tried a few commands that I'm posting here (my system is in spanish, so I have traslated it to english, maybe the terms are not accurate):

grep -i eth /var/log/syslog | tail
Quote:
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): now managed
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): bringing up device.
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): preparing device.
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.845743] forcedeth 0000:00:0a.0: irq 41 for MSI/MSI-X
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.845984] forcedeth 0000:00:0a.0: eth0: no link during initialization
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.847103] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> (eth0): deactivating device (reason 'managed') [2]
Jun 3 18:45:40 vanesa-pc NetworkManager[3584]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:0a.0/net/eth0
Jun 3 18:45:40 vanesa-pc kernel: [ 7351.848817] ADDRCONF(NETDEV_UP): eth0: link is not ready
ifconfig -a
Quote:
eth0 Link encap:Ethernet addressHW 00:1b:24:fc:a8:d1
ACTIVE BROADCAST MULTICAST MTU:1500 Metric:1
Packages RX:0 errors:16 lost:0 overruns:0 frame:16
Packages TX:123 errors:0 lost:0 overruns:0 carrier:0
colissions:0 length.tailTX:1000
Bytes RX:0 (0.0 B) TX bytes:26335 (26.3 KB)
Interruption:41 Base address: 0x2000

lo Link encap:Local loop
Inet address:127.0.0.1 Mask:255.0.0.0
Inet6 address: ::1/128 Scope:Host
ACTIVE LOOP WORKING MTU:16436 Metrics:1
Packages RX:1550 errors:0 lost:0 overruns:0 frame:0
Packages TX:1550 errors:0 lost:0 overruns:0 carrier:0
colissions:0 long.tailTX:0
Bytes RX:125312 (125.3 KB) TX bytes:125312 (125.3 KB)
iwconfig
Quote:
lo no wireless extensions.

eth0 no wireless extensions.
sudo lshw -C network
Quote:
*-network
description: Ethernet interface
product: MCP67 Ethernet
manufacturer: NVIDIA Corporation
Physical id: a
bus information: pci@0000:00:0a.0
logical name: eth0
version: a2
series: 00:1b:24:fc:a8:d1
capacity: 100Mbit/s
width: 32 bits
clock: 66MHz
capacities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 latency=0 link=no maxlatency=20 mingnt=1 multicast=yes port=MII
resources: irq:41 memoria:f6288000-f6288fff ioport:30f8(size=8) memoria:f6289c00-f6289cff memoria:f6289800-f628980f
lsmod
Quote:
Module Size Used by
usbhid 41906 0
hid 77367 1 usbhid
rfcomm 38139 0
parport_pc 32114 0
ppdev 12849 0
bnep 17830 2
bluetooth 158438 10 rfcomm,bnep
binfmt_misc 17292 1
joydev 17393 0
hp_wmi 13652 0
sparse_keymap 13658 1 hp_wmi
nouveau 708198 3
ttm 65344 1 nouveau
drm_kms_helper 45466 1 nouveau
drm 197692 5 nouveau,ttm,drm_kms_helper
i2c_algo_bit 13199 1 nouveau
psmouse 87213 0
mxm_wmi 12859 1 nouveau
serio_raw 13027 0
k8temp 12905 0
i2c_nforce2 12906 0
wmi 18744 2 hp_wmi,mxm_wmi
video 19068 1 nouveau
mac_hid 13077 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
forcedeth 58096 0
Let me know if I can give you more information.
Thank you very much in advance,
Jonathan
 
Old 06-03-2012, 05:23 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,487

Rep: Reputation: Disabled
Something looks strange: "ifconfig -a" doesn't see you wireless interface, only the wired one which is eth0. Did you paste the full output of the command?

Please post the output of "lspci -k" so we can check the network cards and modules needed/used.
Surround the output with
Code:
 and
so it will be easier to read.

Other than that try to get a wired connection manually.

For that, open a terminal, become root (sudo su) then type:
Code:
ifconfig eth0 up
dhcpcd eth0
Then ping an internet address you know to check the connection.
 
Old 06-03-2012, 06:04 PM   #3
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hello Didier, thanks for your reply.
yes, wlan0 is missing, I pasted the full output.

Here is the lspci -k output:
Code:
00:00.0 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
00:01.0 ISA bridge: NVIDIA Corporation MCP67 ISA Bridge (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
00:01.1 SMBus: NVIDIA Corporation MCP67 SMBus (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: nForce2_smbus
	Kernel modules: i2c-nforce2
00:01.2 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
00:01.3 Co-processor: NVIDIA Corporation MCP67 Co-processor (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
00:02.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: ohci_hcd
00:02.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: ehci_hcd
00:04.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: ohci_hcd
00:04.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: ehci_hcd
00:08.0 PCI bridge: NVIDIA Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: NVIDIA Corporation MCP67 AHCI Controller (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: ahci
00:0a.0 Ethernet controller: NVIDIA Corporation MCP67 Ethernet (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth
00:0c.0 PCI bridge: NVIDIA Corporation MCP67 PCI Express Bridge (rev a2)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:12.0 VGA compatible controller: NVIDIA Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)
	Subsystem: Hewlett-Packard Company Device 30ea
	Kernel driver in use: nouveau
	Kernel modules: nouveau, nvidiafb
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
	Kernel driver in use: k8temp
	Kernel modules: k8temp
I couldnt get a connection manually, the dhcpcd command is not found (and I dont know how to install it without internet)

Thanks!
Jonathan
 
Old 06-03-2012, 06:22 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,487

Rep: Reputation: Disabled
Your network wireless card doesn't show in lspci's output. Which is it?

At least your Ethernet controller (for wired connection) is detected and the good module for it is in use..

If you don't have dhcpcd (possibly this application is not included in Ubuntu base installation?) may be you could use another "dhcp client" instead.

Searching for "dhcp client ubuntu" gave me a hint: try dhclient instead of dhcpcd, hopefully it is installed.
 
Old 06-04-2012, 09:55 AM   #5
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I dont know which card is it, but I know it is using the onboard card. How can I find it out?

I have dhclient installed. I tried but it doesnt work either. I tried "sudo dhclient" and it finishes without any response, then the ping doesnt work (unknown host). I also tried "sudo dhclient eth0" and it doesnt finishes, I can see that the network applet is trying to connect several times, but it fails.

Thanks!
 
Old 06-04-2012, 10:03 AM   #6
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Reading some other posts I've found another command to retrieve more info, so here it is:

dmesg | grep -i firmware
Code:
[    0.075437][Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.368296][Firmware Bug]: invalid critical threshold (0)
The word Firmware is in red in both lines.
 
Old 06-04-2012, 10:03 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,487

Rep: Reputation: Disabled
For wireless card I can't help you.

Not being a dhclient user, I suggest you type "man dhclient" in a terminal and/or search for "dhclient tutorial how-to" in the Internet to know how to use it.
 
Old 06-04-2012, 10:12 AM   #8
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I already had, I posted the two methods (with an interface it tries to configure it, and without any, it tries to configure each interface) to give more info.

Any other ideas?
Thanks!
 
Old 06-04-2012, 10:22 AM   #9
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I executed the ifconfig -a cmd again and now I have an eth0:avahi that wasnt there before.

ifconfig -a
Code:
eth0      Link encap:Ethernet  addressHW 00:1b:24:fc:a8:d1  
          ACTIVE BROADCAST MULTICAST  MTU:1500  Metric:1
          Packages RX:0 errors:62 lost:0 overruns:0 frame:62
          Packages TX:289 errors:0 lost:0 overruns:0 carrier:0
          collissions:0 length.tailTX:1000 
          Bytes RX:0 (0.0 B)  TX bytes:67402 (67.4 KB)
          Interruption:41 Base address: 0x2000 

eth0:avahi Link encap:Ethernet  addressHW 00:1b:24:fc:a8:d1  
          Inet address:169.254.11.13  Broadcast:169.254.255.255  Mask:255.255.0.0
          ACTIVE BROADCAST MULTICAST  MTU:1500  Metric:1
          Interruption:41 Base address: 0x2000 

lo        Link encap:Local loop 
          Inet address:127.0.0.1  Mask:255.0.0.0
          Inet6 address: ::1/128 Scope:Guest
          ACTIVE LOOP WORKING  MTU:16436  Metric:1
          Packages RX:988 errors:0 lost:0 overruns:0 frame:0
          Packages TX:988 errors:0 lost:0 overruns:0 carrier:0
          collissions:0 length.tailTX:0 
          Bytes RX:80864 (80.8 KB)  TX bytes:80864 (80.8 KB)
 
Old 06-07-2012, 10:02 AM   #10
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hello, strangely today the computer started and recognized the wireless network... is it really weird since I didnt do anything to fix it...

Anyway, now the lspci -k command tells me that this is my wireless card:

Code:
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
	Subsystem: Hewlett-Packard Company Device 137b
	Kernel driver in use: ath5k
	Kernel modules: ath5k
Thank you for your help, hopefuly this will continue working, but I will let you know if it doesnt.
Jonathan
 
Old 06-07-2012, 12:36 PM   #11
jzaiat
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Oops, it seems I spoke too soon... I rebooted and now the connection is missing again... at least I got the name of the wireless card.
Any ideas are appreciated.
Thanks
Jonathan
 
Old 06-22-2012, 10:55 AM   #12
jford_oldman
Member
 
Registered: Apr 2005
Location: western PA, USA - near Pittsburgh, kind of
Distribution: Debian
Posts: 36

Rep: Reputation: 17
I can't offer direct help, but I'm experiencing frequent loss of connection on an Atheros AR2425 connection which was formerly quite reliable. The problem started sometime around 6/18/12. I am running Debian Wheezy, with fluxbox, and try to keep current with updates.
I'll be working and the system stops getting response from the network. If I
# ifdown wlan0
# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa.conf -B
# ifup wlan0
I regain connection, but usually only for a brief time.
I'll be trying to sort this out as well. Please let me know of your progress as well.
Thanks
John
 
  


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
Network Manager is not working in ubuntu 9.04 dhruva_scd Linux - Networking 5 08-17-2009 12:50 AM
Cannot get wireless network working on ubuntu diananewuser Linux - Newbie 23 07-12-2009 12:16 AM
SoundBlaster 16 PCI not working in Ubuntu... anymore The Pocket Linux - Software 3 01-19-2007 02:35 PM
Hibernate not working on ubuntu anymore herd Ubuntu 3 04-27-2006 12:22 PM
/etc/sysconfig/network-scripts/ifcfg-ra0 Not working anymore NssOne Linux - Wireless Networking 1 02-13-2004 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration