LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-07-2009, 06:25 AM   #1
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Rep: Reputation: 15
Disappearing wireless network on karmic


Hi everyone,

The network manager is driving me crazy with his behavior.
I'm using ubuntu since a few months, and occasionally in the past, and it's always been the same. I've searched lots of forum for a solution, but never had any luck so far.

Other than that, let me say that although I'm familiar with linux, I'm no expert user, and I'm not really at ease with the terminal, even though I use it quite often (heh...it's linux ).

Anyway the problem is as simple as that: after a few hours the system is running, the wifi disconnects; the applet displays that thinghy circling through the two dots as it does on startup, when connecting, then asks for password (network password, not the one for the keyring, and I just can't understand why); I type it, and the applet keeps circling over and over for several minutes, then it asks for the pwd again.
I've tried just disconnect it, wait for a minute and have it reconnect again, to no avail.
The only thing that works is a reboot. The router is fine.

Additionally, this problem seems to be very erratic: sometimes it happens just five minutes after I've powered up my laptop, others after several hours; sometimes I'm using amule/torrent/other p2p software as miro, sometimes not.

If there's any other info I can provide please ask.

Thanks
 
Old 11-07-2009, 06:35 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to install wicd, and see if the problem persist.
 
Old 11-07-2009, 08:49 AM   #3
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
You forgot to tell us what linux do you use?

Any way, when it will happen again take a look on the file /var/lod/messages and /var/log/warn.
 
Old 11-07-2009, 10:20 AM   #4
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Hi nimnull,
I actually said twice what linux I'm using: karmic first, and then ubuntu.
I'll check the logs if anything happens again, thanks for the advice.

I installed wicd, as suggested, and I had a tough time to have it running. The wiki and faq on the site weren't really useful.
Anyway, after tinkering around a bit with the configuration I was able to have it work.

I'm thanking you both in advance, should everything work fine from now on.
Only time will tell

If not, I'll be back here crying
 
Old 11-08-2009, 08:34 AM   #5
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Hi again,

sadly, wicd did not work.
it happened 2 times tonight, here's what I found in /var/log/messages:
Code:
Nov  8 03:44:44 localhost kernel: [ 1750.948089] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x201f1500

Nov  8 04:43:00 localhost kernel: [ 3248.064168] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x201f1500
Full log on http://pastebin.com/m4fceb1bf
Also, I couldn't find any /var/log/warn

In /var/log/messages.1 I found this interesting:
Code:
Nov  6 04:49:01 johnnie-xps kernel: [ 8577.054187] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
It actually appears twice.

Now, the problem is that hda_intel refers to the sound card, which for sure wasn't being used, at least at 4:30, because I was definitely sound asleep -_-

Anyone got any clue about what's going on?

Last edited by Johnnie.it; 11-08-2009 at 08:38 AM.
 
Old 11-08-2009, 09:44 AM   #6
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Please do in user console "dmesg"

Thanks
 
Old 11-08-2009, 03:56 PM   #7
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
dmesg reports an endless sequence of:
[36586.725813] l2cap_recv_acldata: Unexpected continuation frame (len 0)
and this is the last line:
[38489.492074] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x201f1500

And frankly I don't quite get the meaning of this all
 
Old 11-08-2009, 05:17 PM   #8
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by Johnnie.it View Post
dmesg reports an endless sequence of:
[36586.725813] l2cap_recv_acldata: Unexpected continuation frame (len 0)
and this is the last line:
[38489.492074] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x201f1500

And frankly I don't quite get the meaning of this all
Ok, "dmesg | tail"

And please "/var/log/daemon.log" as well

thanks.

Last edited by nimnull22; 11-08-2009 at 05:27 PM.
 
Old 11-10-2009, 08:09 AM   #9
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Ok, sorry to have kept you waiting, I just wanted for it to happen again so to post any last-minute messages (even though those log files are getting HUGE!!!)

anyway, here they are: /var/log/message, /var/log/daemon.log and dmesg

thanks again for your support
Attached Files
File Type: txt dmesg.txt (122.8 KB, 5 views)
 
Old 11-10-2009, 02:18 PM   #10
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Thanks. I have an idea.
Please do "whereis dhclient". You will see output with locations of some files. Among them should be location of the dhclient.conf file. Locate it and paste its contents to pastebin.com, please.
 
Old 11-10-2009, 03:23 PM   #11
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Code:
johnnie@johnnie-xps:~$ whereis dhclient
dhclient: /sbin/dhclient /usr/share/man/man8/dhclient.8.gz
johnnie@johnnie-xps:~$ cd /sbin
johnnie@johnnie-xps:/sbin$ ls dh* -l
lrwxrwxrwx 1 root root      9 2009-11-01 00:55 dhclient -> dhclient3
-rwxr-xr-x 1 root root 415516 2009-10-09 00:52 dhclient3
-rwxr-xr-x 1 root root   8714 2009-10-09 00:52 dhclient-script
That's all I have.

Are you suggesting the DHCP client to be responsible for that? I have configured my router to always assign 192.168.1.99 to the laptop's mac address.

I have now configured wicd to use a static IP, just in case...let's see...
 
Old 11-10-2009, 03:27 PM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you can set wicd to reconnect at connection loss
 
Old 11-10-2009, 04:03 PM   #13
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
I don't understand anything, all distributions have dhclient.conf file, where the configuration of dhclient is.
But developers from "karmic" think that it is not necessary.

I want to stop dhclient renew your IP addresses, because it is useless, I wanted to add to the dhclient.conf something like "renew 2 2010/12/2 23:00:00". I expect in this case dhclient will renew IP and other things not very soon.

You can try to create it by your self in /etc and write that expression in it. Then disconnect and connect again.


Or you can setup static IP, so dhclient never even start.
 
Old 11-10-2009, 04:11 PM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I don't understand anything, all distributions have dhclient.conf file, where the configuration of dhclient is.
To find the file dhclientconf you need to use the find command
Code:
find / -name dhclient.conf
not
Code:
whereis dhclient
 
Old 11-10-2009, 04:26 PM   #15
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by repo View Post
To find the file dhclientconf you need to use the find command
Code:
find / -name dhclient.conf
not
Code:
whereis dhclient
In OpenSuse it works perfect:
whereis dhclient
dhclient: /sbin/dhclient /etc/dhclient.conf /usr/share/man/man8/dhclient.8.gz
 
  


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
UBUNTU Karmic don't work with SITECOM Wireless 300N USB Adapter (WL-577)? maiden2 Linux - Networking 1 10-14-2009 07:01 PM
Wireless - Domain Name Servers Disappearing johnaaronrose Linux - Laptop and Netbook 1 07-13-2008 09:40 AM
Disappearing Bcm43xx Wireless integrated card B4lulu Linux - Hardware 0 09-25-2007 09:46 PM
Wireless Card Disappearing ekimyerac Debian 0 07-24-2006 10:41 AM
Mandrake 10 and network disappearing for no reason esteeven Linux - Networking 21 09-15-2004 03:04 PM

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

All times are GMT -5. The time now is 02:19 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