LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2009, 10:14 AM   #31
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
Oh well, done that.



I'm going to check this wifi-radar too, who knows...
Do not do anything else, lets just wait.
 
Old 11-16-2009, 09:53 AM   #32
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Didn't have to wait for too long, as it happened again...
 
Old 11-16-2009, 09:59 AM   #33
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
Didn't have to wait for too long, as it happened again...
OK, can you post through the http://pastebin.com/ "dmesg | tail -n 200", please.
 
Old 11-16-2009, 02:24 PM   #34
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Here it is: http://pastebin.com/m7a7bc2e3
Could be of any more help to have the messages I find as soon as I find the network down? I mean, before a reboot...
 
Old 11-16-2009, 02:38 PM   #35
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 can see your self:


[ 35.763086] wlan0: direct probe to AP 00:17:33:9b:de:85 try 1
[ 35.769861] wlan0: direct probe to AP 00:17:33:9b:de:85 try 1
[ 35.769880] wlan0 direct probe responded
[ 35.769883] wlan0: authenticate with AP 00:17:33:9b:de:85
[ 35.772923] wlan0: authenticated
[ 35.772928] wlan0: associate with AP 00:17:33:9b:de:85
[ 35.775303] wlan0: RX AssocResp from 00:17:33:9b:de:85 (capab=0x401 status=0 aid=1)
[ 35.775308] wlan0: associated
[ 35.795743] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 46.008045] wlan0: no IPv6 routers present
[ 163.644011] CE: hpet increasing min_delta_ns to 15000 nsec
[ 172.089068] CE: hpet increasing min_delta_ns to 22500 nsec
[ 1003.401446] CE: hpet increasing min_delta_ns to 33750 nsec


Your wireless adapter was associated and didn't lost connection any more.

How about to consider possibility to change NetworkManager to WICD for example. May be it helps somehow?

Last edited by nimnull22; 11-16-2009 at 02:42 PM.
 
Old 11-16-2009, 03:26 PM   #36
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Hi again

Try the following command as root, when you machine can no longer connect to your ISP:

# iwlist wlan0 scan

if you get no joy and your wifi card hasn't gotten too hot and still appears to be functional - I don't if it has any led lights that indicate it is transmitting and or receiving then it appears to me that your ISP ap (access point) has dropped you rather than your machine, your wifi card or your ubuntu os dropping the connection at your end.

Luckily, I have an old acer tablet lapop running XP that I can crank up to check if there is a signal in the air when I get dropped because the signal becomes too weak. When I was trying karmic this resulted in my machine trying to scan for the strongest signal in town and then trying to connect - unsuccessfully - using my static ip settings. Very boring.

Hopefully you are back online shortly.

Cheers
 
Old 11-16-2009, 11:29 PM   #37
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
nimnull, I already switched to wicd after the first reply in this thread.
Besides, the output of dmesg you see is *after* the reboot.
What you point out is probably the result of my wifi card connecting to the ap after rebooting the machine.
I can't really understand those timestamps (those between brackets are timestamps, right?), so I cannot say for sure, but that seems very likely to me.

minrich, already tried that, the laptop doesn't find any wireless network. I mean, I live in an apartment block and at any time of the day I can scan at least five or six other networks, my neighbor's.

Actually, when my network goes down, my laptop doesn't get disconnected: wicd says I'm still connected but the power of the signal has dropped to -256 dbm, with no other network to be found. I tried to disconnect manually and rescan for available networks but nothing came up. That is, until I reboot.
I can say everything is fine on the part of my ap and isp since I can connect my phone. Sadly I don't have another computer to run any deeper test.

It looks to me that it's a hardware related problem. Of course it shouldn't be a faulty wireless card since under windows everything ran fine.
It must be the kernel or drivers or firmware or whatever messing with my wifi card in some way.

Anyway, thanks for your time so far. Should you ever come up with some other idea, please let me know.

Last edited by Johnnie.it; 11-16-2009 at 11:33 PM.
 
Old 11-17-2009, 10:32 AM   #38
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
Ok.
If you use WICD it is good, because it has its own log.

So, please, reboot your comp, connect to wireless, and use it. When wireless disconnects, do not reboot,
save 2 log files: /var/log/daemon.log and one for WICD in /var/log/wicd/wicd.log (copy them to somewhere, but keep the original).

When reboot, and post them through http://pastebin.com.

Thanks
 
Old 11-17-2009, 01:02 PM   #39
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Johnnie.it
I have been pondering your intermittent wireless problem, and wondered if it has something to do with the rfkill module and your wireless card. The first thing I would do is see if rfkill is loaded:

lsmod | grep rfkill

if it is you might want to read the following bug report which emanated on intrepid and your wifi card: (not that I understand it completely!)

https://bugs.launchpad.net/ubuntu/+s...er/+bug/269264

seems you are not alone.
 
Old 11-19-2009, 05:43 AM   #40
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Hi guys, there's some news.
it happened again and, so i grabbed a copy of those two files.
daemon.log --- http://pastebin.com/m3f3233a1
wicd.log --- http://pastebin.com/m55028928
disconnection must have happened just a little before 3:00 am. When I found out, I opened wicd, hit "refresh" a couple of times, and nothing.
So I disconnected from that "ghost" wifi network and hit refresh again - nothing yet.

Besides, I found out that wicd logs my password in PLAIN TEXT during handshakes!!! That's insane!!! And I can read the log file without having admin privileges!!!

minrich:
johnnie@johnnie-xps:~$ lsmod | grep rfkill
johnnie@johnnie-xps:~$

I suppose everything's fine on that side...?
 
Old 11-19-2009, 08:36 AM   #41
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
Nice logs. Thanks.
Everything was good, look:

2009/11/07 17:26:27 :: bound to 192.168.1.99 -- renewal in 41657 seconds.
2009/11/07 17:26:27 :: DHCP connection successful
2009/11/07 17:26:27 :: Connecting thread exiting.
2009/11/07 17:26:27 :: IP Address is: 192.168.1.99
2009/11/07 17:26:31 :: Sending connection attempt result Success

After 41657 seconds, dhcp start over:

2009/11/08 02:42:14 :: ---------------------------
2009/11/08 02:42:14 :: wicd initializing...
2009/11/08 02:42:14 :: ---------------------------
... and wicd was connected
2009/11/08 02:42:36 :: bound to 192.168.1.99 -- renewal in 32753 seconds.
2009/11/08 02:42:36 :: DHCP connection successful
2009/11/08 02:42:36 :: Connecting thread exiting.
2009/11/08 02:42:36 :: IP Address is: 192.168.1.99
2009/11/08 02:42:37 :: Sending connection attempt result Success.

But after that something happened.

First and most strange thing, that there is no any log for /var/log/daemon.log - nothing until Nov 18 12:45:37

Second, WICD start connects after 1 hour

2009/11/08 03:15:53 :: ---------------------------
2009/11/08 03:15:53 :: wicd initializing...
2009/11/08 03:15:53 :: ---------------------------

And it successfully connected:

2009/11/08 03:16:16 :: bound to 192.168.1.99 -- renewal in 36964 seconds.
2009/11/08 03:16:16 :: DHCP connection successful
2009/11/08 03:16:16 :: Connecting thread exiting.
2009/11/08 03:16:16 :: IP Address is: 192.168.1.99
2009/11/08 03:16:20 :: Sending connection attempt result Success.

But 30 minutes later, there is no networks

2009/11/08 03:47:27 :: scanning start
2009/11/08 03:47:27 :: ifconfig wlan0 up
2009/11/08 03:47:28 :: iwlist wlan0 scan
2009/11/08 03:47:28 :: scanning done
2009/11/08 03:47:28 :: found 0 networks:



The question is what happened after 03:47, and why WICD start over?

2009/11/08 03:49:12 :: ---------------------------
2009/11/08 03:49:12 :: wicd initializing...
2009/11/08 03:49:12 :: ---------------------------
2009/11/08 03:49:12 :: wicd is version 1.6.1 426
...
2009/11/08 03:49:35 :: Sending connection attempt result Success

Yes, WICD keeps you password unencrypted, but you can disable log.
 
Old 11-19-2009, 09:12 AM   #42
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nimnull22 View Post
Nice logs. Thanks.
Why, thank you!
But I didn't do them myself, the merit goes all to linux


Quote:
Originally Posted by nimnull22 View Post
First and most strange thing, that there is no any log for /var/log/daemon.log - nothing until Nov 18 12:45:37
What do you mean? On /var/log/daemon I can see like 680 lines before Nov 18 12:45:37

Quote:
Originally Posted by nimnull22 View Post
Second, WICD start connects after 1 hour
[cut]
And it successfully connected:
[cut]
But 30 minutes later, there is no networks
[cut]
The question is what happened after 03:47, and why WICD start over?
[cut]
2009/11/08 03:49:35 :: Sending connection attempt result Success
After 3:47 I rebooted. Every time wicd starts over it's because I reboot.
That usually happens because of this very problem, less often for other reasons, like sometimes blueman or pulseaudio going crazy
I almost never shut down...

But shouldn't you be looking at most recent entries?
Like:
Code:
2009/11/19 03:06:09 :: scanning start
and on...?

Anyway, that's the problem. How can I further troubleshoot it?

Last edited by Johnnie.it; 11-19-2009 at 09:28 AM.
 
Old 11-19-2009, 09:21 AM   #43
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Just my 2 cents
but are you sure the problem is linux?
If you have a router, do you see anything in the logs?
 
Old 11-19-2009, 10:05 AM   #44
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
Look your self:

Nov 17 02:43:51 localhost blueman-mechanism: Exiting
Nov 18 12:45:37 localhost bluetoothd[1581]: link_key_request (sba=00:1F:3A:E0:B8:51, dba=00:1D:82:02:E1:F0)

Nothing between Nov 17 02:43:51 and Nov 18 12:45:37.

So you just reboot. OK

Lets do next step.

In preferences of the WICD there is option "Debug Log". Please enable it. But log will be very long, and we do not interesting to see all of it.
So when next time your comp. lose connection, cat a part of the log since last successful connection (Sending connection attempt result Success.). And of course delete all passwords.

I can explain why I an asking, because

2009/11/08 03:16:20 :: Sending connection attempt result Success
2009/11/08 03:47:27 :: found window_width in configuration 530
2009/11/08 03:47:27 :: found window_height in configuration 470
2009/11/08 03:47:27 :: scanning start
2009/11/08 03:47:27 :: ifconfig wlan0 up
2009/11/08 03:47:28 :: iwlist wlan0 scan
2009/11/08 03:47:28 :: scanning done
2009/11/08 03:47:28 :: found 0 networks

2009/11/13 20:01:52 :: Sending connection attempt result Success
2009/11/15 14:48:37 :: found window_width in configuration 530
2009/11/15 14:48:37 :: found window_height in configuration 470
2009/11/15 14:48:38 :: scanning start
2009/11/15 14:48:38 :: ifconfig wlan0 up
2009/11/15 14:48:38 :: iwlist wlan0 scan
2009/11/15 14:48:38 :: scanning done
2009/11/15 14:48:38 :: found 0 networks:

2009/11/15 14:55:14 :: Sending connection attempt result Success
2009/11/15 15:00:09 :: found window_width in configuration 530
2009/11/15 15:00:09 :: found window_height in configuration 470
2009/11/15 15:00:10 :: scanning start
2009/11/15 15:00:10 :: ifconfig wlan0 up
2009/11/15 15:00:10 :: iwlist wlan0 scan
2009/11/15 15:00:11 :: Forced disconnect on
2009/11/15 15:00:11 :: /sbin/dhclient -r wlan0
2009/11/15 15:00:11 :: ifconfig wlan0 0.0.0.0
2009/11/15 15:00:11 :: /sbin/ip route flush dev wlan0
2009/11/15 15:00:11 :: ifconfig wlan0 down
2009/11/15 15:00:11 :: ifconfig wlan0 up
2009/11/15 15:00:11 :: scanning done
2009/11/15 15:00:11 :: found 0 networks:

No one knows what was between (for ex.):
2009/11/08 03:16:20 - 2009/11/08 03:47:27
2009/11/13 20:01:52 - 2009/11/15 14:48:37
2009/11/15 14:55:14 - 2009/11/15 15:00:09
 
Old 11-19-2009, 10:07 AM   #45
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
Just my 2 cents
but are you sure the problem is linux?
If you have a router, do you see anything in the logs?
If this was router problem, when reboot comp. won't help mush. But after reboot OP was able to connect.

Correct me, if I am wrong.
 
  


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 10:51 AM.

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