Re: Frequent Disconnects

2007-08-05 Thread Bill Moseley
On Tue, Jul 31, 2007 at 05:03:30PM -0400, Patrick Hi wrote:
> So one working method to decrease disconnects seemed to be to increase the
> timeout for link losses. Taken from the bug report,
> changed src/nm-device-802-11-wireless.c, line 2318 from
> self->priv->link_timeout = g_timeout_source_new (8000);
> to
> self->priv->link_timeout = g_timeout_source_new (2
> 
> I am willing to try this, although I think the first step would be to
> eliminate the possibility of a driver problem.

Did you try this?

So I'm confused.  That's a fix in Network Manager source, but I
thought the problem was suppose to be in the Atheros driver not in
Network Manager.  Or does that longer timeout just suppress the
detection of the Atheros driver disconnecting so that Network Manager
doesn't show the disconnect?

What's the status of .7?  If that is indeed a fix then will that make
it in .7?  I'm also waiting for .7 to have a system wide store for my
WPA keys.


-- 
Bill Moseley
[EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-31 Thread Patrick Hi
Here is the madwifi debug info if anyone is interested.
http://madwifi.org/wiki/DevDocs/AthDebug

--Patrick

On 7/31/07, Patrick Hi <[EMAIL PROTECTED]> wrote:
>
> So one working method to decrease disconnects seemed to be to increase the
> timeout for link losses. Taken from the bug report,
> changed src/nm-device-802-11-wireless.c, line 2318 from
> self->priv->link_timeout = g_timeout_source_new (8000);
> to
> self->priv->link_timeout = g_timeout_source_new (2
>
> I am willing to try this, although I think the first step would be to
> eliminate the possibility of a driver problem. The #madwifi guys in freenode
> told me to use athdebug in the madwifi-tools, which I ran, but it didn't
> seem to do anything much...
> $ athdebug
> dev.wifi0.debug: 0x
>
> --Patrick
>
> On 7/30/07, Chris Rowson < [EMAIL PROTECTED]> wrote:
> >
> > Seems this is quite a common problem. I don't know if it helps at all,
> > but there
> > are a couple of user submitted patches in the Ubuntu bug system aimed at
> > sorting
> > it out.
> >
> > The one at the bottom of this thread allows a user configure the
> > reconnection
> > timeout:
> >
> > https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/64173
> >
> > Here's another related bug:
> >
> > https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/37821
> >
> > Also, after using network manager to get your connection up, issuing a
> > kill
> > -STOP to the NetworkManager process seems to stop the reconnections.
> >
> > Cheers
> >
> > Chris
> >
> >
> > ___
> > NetworkManager-list mailing list
> > NetworkManager-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
>
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-31 Thread Patrick Hi
So one working method to decrease disconnects seemed to be to increase the
timeout for link losses. Taken from the bug report,
changed src/nm-device-802-11-wireless.c, line 2318 from
self->priv->link_timeout = g_timeout_source_new (8000);
to
self->priv->link_timeout = g_timeout_source_new (2

I am willing to try this, although I think the first step would be to
eliminate the possibility of a driver problem. The #madwifi guys in freenode
told me to use athdebug in the madwifi-tools, which I ran, but it didn't
seem to do anything much...
$ athdebug
dev.wifi0.debug: 0x

--Patrick

On 7/30/07, Chris Rowson <[EMAIL PROTECTED]> wrote:
>
> Seems this is quite a common problem. I don't know if it helps at all, but
> there
> are a couple of user submitted patches in the Ubuntu bug system aimed at
> sorting
> it out.
>
> The one at the bottom of this thread allows a user configure the
> reconnection
> timeout:
>
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/64173
>
> Here's another related bug:
>
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/37821
>
> Also, after using network manager to get your connection up, issuing a
> kill
> -STOP to the NetworkManager process seems to stop the reconnections.
>
> Cheers
>
> Chris
>
>
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-30 Thread Chris Rowson
Seems this is quite a common problem. I don't know if it helps at all, but there
are a couple of user submitted patches in the Ubuntu bug system aimed at sorting
it out.

The one at the bottom of this thread allows a user configure the reconnection
timeout:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/64173

Here's another related bug:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/37821

Also, after using network manager to get your connection up, issuing a kill
-STOP to the NetworkManager process seems to stop the reconnections. 

Cheers

Chris


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-22 Thread Dan Williams
On Sun, 2007-07-22 at 16:35 -0700, Bill Moseley wrote:
> On Sun, Jul 22, 2007 at 06:02:21PM -0400, Dan Williams wrote:
> > On Sun, 2007-07-22 at 13:39 -0400, Patrick Hi wrote:
> > > So do you guys think it's just the weak signal strength and
> > > interference that is causing the disconnections? If so, what should I
> > > do about it. Would a different router help (mine's a westell
> > > versalink). I have the same problem only on all three computers
> > > running linux and connecting to my wireless network. The iMac has no
> > > problems, and when booted into windows the computers have no problem
> > > keeping connected. I just want to find some answers. 
> > 
> > Weak signal strength could cause them if you're at the margins of the
> > network, and the driver looses sync with the AP.  But if you still get
> > disconnections (ie, iwevent shows SIOCSIWAP events of 00:00:00:00:00:00)
> > when you're right next to the AP then we really need debug logs from the
> > driver to figure out why it thinks it's being kicked.
> 
> Mine is not weak signal.  I'm just a few feet from a Netgear WG302 and
> nm-applet shows all bars solid and something like 80%. 
> 
> My other linux laptop running Sarge and an Apple iBook don't have this
> problem.  The linux laptop is not using wpa_supplicant, either.
> 
> Can you explain how to generate useful debug logs?  I have an Atheros
> a/b/g/n card on a Thinkpad T60p using WPA-PSK.

I actually don't know, you'd have to check with the madwifi driver
developers.  Usually it's module config option or echoing something
to /proc or /sys for the driver.

> Also, would it be helpful to disable NetworkManager to manually
> config the card?  I'm not clear how to do this (I was using a
> prism-based card before without WPA).  Plus, I'm not clear how to
> monitor the card to see if there are any drop-outs.  The nm-applet
> makes it easy to see when the connection is lost, of course.

It might; but you may not be able to duplicate the config that NM will
send to NetworkManager, plus NM scans periodically.  So it's better to
get a driver debug log and figure out exactly why the driver thinks it's
lost the connection.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-22 Thread Bill Moseley
On Sun, Jul 22, 2007 at 06:02:21PM -0400, Dan Williams wrote:
> On Sun, 2007-07-22 at 13:39 -0400, Patrick Hi wrote:
> > So do you guys think it's just the weak signal strength and
> > interference that is causing the disconnections? If so, what should I
> > do about it. Would a different router help (mine's a westell
> > versalink). I have the same problem only on all three computers
> > running linux and connecting to my wireless network. The iMac has no
> > problems, and when booted into windows the computers have no problem
> > keeping connected. I just want to find some answers. 
> 
> Weak signal strength could cause them if you're at the margins of the
> network, and the driver looses sync with the AP.  But if you still get
> disconnections (ie, iwevent shows SIOCSIWAP events of 00:00:00:00:00:00)
> when you're right next to the AP then we really need debug logs from the
> driver to figure out why it thinks it's being kicked.

Mine is not weak signal.  I'm just a few feet from a Netgear WG302 and
nm-applet shows all bars solid and something like 80%. 

My other linux laptop running Sarge and an Apple iBook don't have this
problem.  The linux laptop is not using wpa_supplicant, either.

Can you explain how to generate useful debug logs?  I have an Atheros
a/b/g/n card on a Thinkpad T60p using WPA-PSK.

Also, would it be helpful to disable NetworkManager to manually
config the card?  I'm not clear how to do this (I was using a
prism-based card before without WPA).  Plus, I'm not clear how to
monitor the card to see if there are any drop-outs.  The nm-applet
makes it easy to see when the connection is lost, of course.



-- 
Bill Moseley
[EMAIL PROTECTED]

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-22 Thread Dan Williams
On Sun, 2007-07-22 at 13:39 -0400, Patrick Hi wrote:
> So do you guys think it's just the weak signal strength and
> interference that is causing the disconnections? If so, what should I
> do about it. Would a different router help (mine's a westell
> versalink). I have the same problem only on all three computers
> running linux and connecting to my wireless network. The iMac has no
> problems, and when booted into windows the computers have no problem
> keeping connected. I just want to find some answers. 

Weak signal strength could cause them if you're at the margins of the
network, and the driver looses sync with the AP.  But if you still get
disconnections (ie, iwevent shows SIOCSIWAP events of 00:00:00:00:00:00)
when you're right next to the AP then we really need debug logs from the
driver to figure out why it thinks it's being kicked.

Dan

> --Patrick
> 
> On 7/17/07, Patrick Hi <[EMAIL PROTECTED]> wrote:
> I use channel 11, but I don't know if that helps.
> I've also noticed things in the log that seem hardware
> related:
> Jul 10 16:15:40 localhost NetworkManager: ^IDeactivating 
> device ath0. 
> 
> 
> Jul 10 16:15:40 localhost dhclient: There is already a pid file 
> /var/run/dhclient.ath0.pid with pid 7000
> Jul 10 16:15:40 localhost dhclient: killed old client process, 
> removed PID file
> Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address 
> type 801
> 
> 
> Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address 
> type 801
> Jul 10 16:15:41 localhost dhclient: DHCPRELEASE on ath0 to 
> 192.168.1.1 port 67
> I'm sorry I gave the impression that I think NM is the
> problem. If this is not appropriate for the nm list I'll
> gladly move it elsewhere. But I figured I'd stand a better
> chance in a wifi related list than general help.
> I run Ubuntu (feisty) so chkconfig is a little hard to obtain.
> Should I use something else like sysv-rc-conf? What exactly
> should I do with it?
> 
> --Patrick 
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-22 Thread Neal Becker
Patrick Hi wrote:

> So do you guys think it's just the weak signal strength and interference
> that is causing the disconnections? If so, what should I do about it.
> Would a different router help (mine's a westell versalink). I have the
> same problem only on all three computers running linux and connecting to
> my wireless network. The iMac has no problems, and when booted into
> windows the computers have no problem keeping connected. I just want to
> find some answers.
> 
Shouldn't we also ask, why it doesn't automatically re-connect?  Mine doesn't.

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-22 Thread Patrick Hi

So do you guys think it's just the weak signal strength and interference
that is causing the disconnections? If so, what should I do about it. Would
a different router help (mine's a westell versalink). I have the same
problem only on all three computers running linux and connecting to my
wireless network. The iMac has no problems, and when booted into windows the
computers have no problem keeping connected. I just want to find some
answers.

--Patrick

On 7/17/07, Patrick Hi <[EMAIL PROTECTED]> wrote:


I use channel 11, but I don't know if that helps.
I've also noticed things in the log that seem hardware related:

Jul 10 16:15:40 localhost NetworkManager: ^IDeactivating device 
ath0.

Jul 10 16:15:40 localhost dhclient: There is already a pid file 
/var/run/dhclient.ath0.pid with pid 7000
Jul 10 16:15:40 localhost dhclient: killed old client process, removed PID file
Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address type 801

Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address type 801
Jul 10 16:15:41 localhost dhclient: DHCPRELEASE on ath0 to 192.168.1.1 port 67

I'm sorry I gave the impression that I think NM is the problem. If this is
not appropriate for the nm list I'll gladly move it elsewhere. But I figured
I'd stand a better chance in a wifi related list than general help.
I run Ubuntu (feisty) so chkconfig is a little hard to obtain. Should I
use something else like sysv-rc-conf? What exactly should I do with it?

--Patrick

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-17 Thread Patrick Hi

I use channel 11, but I don't know if that helps.
I've also noticed things in the log that seem hardware related:

Jul 10 16:15:40 localhost NetworkManager: ^IDeactivating
device ath0.
Jul 10 16:15:40 localhost dhclient: There is already a pid file
/var/run/dhclient.ath0.pid with pid 7000
Jul 10 16:15:40 localhost dhclient: killed old client process, removed PID file
Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address type 801
Jul 10 16:15:40 localhost dhclient: wifi0: unknown hardware address type 801
Jul 10 16:15:41 localhost dhclient: DHCPRELEASE on ath0 to 192.168.1.1 port 67

I'm sorry I gave the impression that I think NM is the problem. If this is
not appropriate for the nm list I'll gladly move it elsewhere. But I figured
I'd stand a better chance in a wifi related list than general help.
I run Ubuntu (feisty) so chkconfig is a little hard to obtain. Should I use
something else like sysv-rc-conf? What exactly should I do with it?

--Patrick
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-17 Thread Bill Moseley
Here's a trimmed down log of what seems to happen when the disconnect
occurs.  Not sure if it includes anything useful -- and I didn't
include lines after what seemed to be the reconnect start.

Tips on better debugging would be great.

-> 0 
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING]) 
Wireless event: cmd=0x8b15 len=20 
Wireless event: new AP: 00:00:00:00:00:00 
Setting scan request: 0 sec 10 usec 
Added BSSID 00:09:5b:b3:c7:18 into blacklist 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys 
CTRL_IFACE monitor send - hexdump(len=41): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 
77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 35 32 30 35 2d 
31 33 00 
wpa_driver_madwifi_del_key: keyidx=0 
wpa_driver_madwifi_del_key: keyidx=1 
wpa_driver_madwifi_del_key: keyidx=2 
wpa_driver_madwifi_del_key: keyidx=3 
wpa_driver_madwifi_del_key: keyidx=0 
State: COMPLETED -> DISCONNECTED 
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT) 
WEXT: Operstate: linkmode=-1, operstate=5 
EAPOL: External notification - portEnabled=0 
EAPOL: SUPP_PAE entering state DISCONNECTED 
EAPOL: SUPP_BE entering state INITIALIZE 
EAPOL: External notification - portValid=0 
EAPOL: External notification - EAP success=0 
^Iath0: link timed out. 
^ISWITCH: found better connection 'ath0/hanklan' than current connection 
'ath0/hanklan'.  same_ssid=1, have_link=0 
^IWill activate connection 'ath0/hanklan'. 
^IDevice ath0 activation scheduled... 
^IDeactivating device ath0. 

Here's another disconnect without trimming.

Jul 16 23:39:10 tiger NetworkManager: ^IDHCP daemon state is now 3 
(renew) for interface ath0 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): ing 
state AUTHENTICATED 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
EAPOL: SUPP_BE entering state IDLE 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
EAPOL: startWhen --> 0 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Wireless event: cmd=0x8b19 len=8 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Received 805 bytes of scan results (4 BSSes) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Scan results: 4 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Selecting BSS from priority group 0 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 0: 
00:09:5b:b3:c7:18 ssid='hanklan' wpa_ie_len=24 rsn_ie_len=0 caps=0x11 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654):
selected based on WPA IE 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Already associated with the selected AP. 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Wireless event: cmd=0x8b19 len=8 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Received 805 bytes of scan results (4 BSSes) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Scan results: 4 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Selecting BSS from priority group 0 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 0: 
00:09:5b:b3:c7:18 ssid='hanklan' wpa_ie_len=24 rsn_ie_len=0 caps=0x11 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654):
selected based on WPA IE 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Already associated with the selected AP. 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING]) 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Wireless event: cmd=0x8b15 len=20 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Wireless event: new AP: 00:00:00:00:00:00 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654):  
scan request: 0 sec 10 usec 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
Added BSSID 00:09:5b:b3:c7:18 into blacklist 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
CTRL_IFACE monitor send - hexdump(len=41): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 
77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 35 32 30 35 2d 
31 36 00 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
wpa_driver_madwifi_del_key: keyidx=0 
Jul 16 23:42:17 tiger NetworkManager: ^Iwpa_supplicant(10654): 
wpa_driver_madwifi_del_key: keyidx=1 
Jul 16 23:42:17 tig

Re: Frequent Disconnects

2007-07-15 Thread Larry Finger
Patrick Hi wrote:
> Alrighty - this is a desktop computer, on the floor directly over the 
> router. Right now the signal strength is reported as 45%, oh, then it 
> just disconnected again. Now it's back and at 44%.
> 
> Linux patrickishere 2.6.20-16-386 #2 Thu Jun 7 20:16:13 UTC 2007 i686 
> GNU/Linux
> wpa_supplicant v0.5.5
> Netgear WG311T- Atheros XR or Super G, the box lists both.
> Using madwifi drivers.
> 
> Here are two syslogs from two different days. I would have posted all 
> of  today's syslog, but with so many reconnects disconnects it is now 
> over 9 MB in size -- Pastebin thinks I'm spamming. So I'm only going to 
> post part of it.
> 
> My passkey is 24 characters long, perhaps that is a problem.

The passkey length shouldn't be a problem. AFAIK, it always gets turned into a 
hex key of length 64. 
Check the encryption key listed in iwconfig.

Wit a signal strength of 44, it wouldn't take much interference to knock you 
off-line. It could come 
from a portable phone (not cell), a baby monitor, a microwave, or any number of 
sources. Google 
"wifi 2.4 interference" to see some ideas on what can interfere and how to 
avoid it. You might also 
try using a different channel from the 1,6,11 set.

Larry
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-15 Thread Karl Larsen
Patrick Hi wrote:
> Alrighty - this is a desktop computer, on the floor directly over the 
> router. Right now the signal strength is reported as 45%, oh, then it 
> just disconnected again. Now it's back and at 44%.
OK. Start with what kind of Linux computer it is. You seem to think it 
is NM that is causing the problem. Provide all the things that make you 
think so.

Start by turning off NM and turn on network. Use chkconfig as a root. 
Reboot and see if your Linux stops disconnecting.


Karl Larsen

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-15 Thread Patrick Hi

Alrighty - this is a desktop computer, on the floor directly over the
router. Right now the signal strength is reported as 45%, oh, then it just
disconnected again. Now it's back and at 44%.

Linux patrickishere 2.6.20-16-386 #2 Thu Jun 7 20:16:13 UTC 2007 i686
GNU/Linux
wpa_supplicant v0.5.5
Netgear WG311T- Atheros XR or Super G, the box lists both.
Using madwifi drivers.

Here are two syslogs from two different days. I would have posted all of
today's syslog, but with so many reconnects disconnects it is now over 9 MB
in size -- Pastebin thinks I'm spamming. So I'm only going to post part of
it.

My passkey is 24 characters long, perhaps that is a problem.

syslogs
July 10: http://paste.ubuntu-nl.org/30046/
<http://paste.ubuntu-nl.org/30046/>
July 15: http://paste.ubuntu-nl.org/30061/

--Patrick

On 7/15/07, Bill Moseley <[EMAIL PROTECTED]> wrote:


On Sun, Jul 15, 2007 at 09:17:15AM -0400, Dan Williams wrote:
> On Sun, 2007-07-15 at 08:52 -0400, Patrick Hi wrote:
> > Hi all,
> > I'm not sure if this question is exactly appropriate for this
> > mailinglist, but my computers experience frequent disconnects (and
> > sometimes reconnects) from my WPA network while they are booted into
> > linux and using nm. In windows they do not disconnect, leading me to
> > believe it's related to linux in some way. I've been looking
> > at /var/log/syslog, and it contains lots of information about the
> > disconnects, but I can't tell what it means or what to do about it.
>
> What version of wpa_supplicant, and what card/driver are you using?

I too have been experiencing this a lot and when my laptop is just a
few feet from the AP, a Netgear WG302.  My laptop (Thinkpad T60p) is
just a few days old so have not had time to look at the problem -- I
was wondering if it was due to dhcp leases renewing, although that
sounds very unlikely.

I'll try and watch the logs more carefully next time I'm on the
wireless and see if I can capture anything interesting in the logs.

The little single strength meter in the nm-applet still shows strong
signal, although I also noted that it continued to show strong
strength after unplugging my AP.  It may not be quite real-time, I
guess.

Another difficulty I had initially was that my AP had no security
enabled -- but I had my ssid set to not broadcast.  My other two
laptops (iBook and Debian Woody) associated fine as long as I typed in
the essid.  The T60p would sometimes manage to connect but it was
rare.

I enabled broadcast and WPA-PSK and not it connects without problem.
I then disabled WPA-PSK and it still associated so my guess is the
non-broadcast ssid was the problem.

I tried to test that theory a bit by changing the ssid of the AP and
toggling ssid broadcast, but it seemed like the laptop was remembering
the AP by MAC address so it wasn't easy to test.

Sorry, this posting is a bit premature since I wasn't able to test
much.

NetworkManager is very cool other wise.


ii  wpasupplicant 0.5.7-0ubuntu2  Client support for WPA and WPA2
(IEEE 802.11
ii  network-manager   0.6.4-6ubuntu7  network management framework
daemon
ii  network-manager-gnome 0.6.4-6ubuntu7  network management framework
(GNOME frontend

03:00.0 Network controller: Atheros Communications, Inc. Unknown device
0024 (rev 01)
Subsystem: Atheros Communications, Inc. Unknown device 0033
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
SERR- http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-15 Thread Bill Moseley
On Sun, Jul 15, 2007 at 09:17:15AM -0400, Dan Williams wrote:
> On Sun, 2007-07-15 at 08:52 -0400, Patrick Hi wrote:
> > Hi all,
> > I'm not sure if this question is exactly appropriate for this
> > mailinglist, but my computers experience frequent disconnects (and
> > sometimes reconnects) from my WPA network while they are booted into
> > linux and using nm. In windows they do not disconnect, leading me to
> > believe it's related to linux in some way. I've been looking
> > at /var/log/syslog, and it contains lots of information about the
> > disconnects, but I can't tell what it means or what to do about it.
> 
> What version of wpa_supplicant, and what card/driver are you using?

I too have been experiencing this a lot and when my laptop is just a
few feet from the AP, a Netgear WG302.  My laptop (Thinkpad T60p) is
just a few days old so have not had time to look at the problem -- I
was wondering if it was due to dhcp leases renewing, although that
sounds very unlikely.

I'll try and watch the logs more carefully next time I'm on the
wireless and see if I can capture anything interesting in the logs.

The little single strength meter in the nm-applet still shows strong
signal, although I also noted that it continued to show strong
strength after unplugging my AP.  It may not be quite real-time, I
guess.

Another difficulty I had initially was that my AP had no security
enabled -- but I had my ssid set to not broadcast.  My other two
laptops (iBook and Debian Woody) associated fine as long as I typed in
the essid.  The T60p would sometimes manage to connect but it was
rare.

I enabled broadcast and WPA-PSK and not it connects without problem.
I then disabled WPA-PSK and it still associated so my guess is the
non-broadcast ssid was the problem.

I tried to test that theory a bit by changing the ssid of the AP and
toggling ssid broadcast, but it seemed like the laptop was remembering
the AP by MAC address so it wasn't easy to test.

Sorry, this posting is a bit premature since I wasn't able to test
much.

NetworkManager is very cool other wise.


ii  wpasupplicant 0.5.7-0ubuntu2  Client support for WPA and WPA2 (IEEE 
802.11
ii  network-manager   0.6.4-6ubuntu7  network management framework daemon
ii  network-manager-gnome 0.6.4-6ubuntu7  network management framework (GNOME 
frontend

03:00.0 Network controller: Atheros Communications, Inc. Unknown device 0024 
(rev 01)
Subsystem: Atheros Communications, Inc. Unknown device 0033
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-15 Thread Dan Williams
On Sun, 2007-07-15 at 08:52 -0400, Patrick Hi wrote:
> Hi all,
> I'm not sure if this question is exactly appropriate for this
> mailinglist, but my computers experience frequent disconnects (and
> sometimes reconnects) from my WPA network while they are booted into
> linux and using nm. In windows they do not disconnect, leading me to
> believe it's related to linux in some way. I've been looking
> at /var/log/syslog, and it contains lots of information about the
> disconnects, but I can't tell what it means or what to do about it.

3mb of logfiles surely aren't going to make it through to the list :)
Best to post them somewhere and send a link.

In any case, are you moving around at all?  In your first log file, you
connect at 8:17, then:

Jul 15 08:19:15 localhost NetworkManager:
^Iwpa_supplicant(6734): Wireless event: new AP:
00:00:00:00:00:00 

and the driver appears to get angry with you, since it disconnects you
again during the association a couple of times.  About all we can do
right now is try to get debug output from the driver itself to find out
why it's sending disconnection events to userspace.

Dan

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Frequent Disconnects

2007-07-15 Thread Dan Williams
On Sun, 2007-07-15 at 08:52 -0400, Patrick Hi wrote:
> Hi all,
> I'm not sure if this question is exactly appropriate for this
> mailinglist, but my computers experience frequent disconnects (and
> sometimes reconnects) from my WPA network while they are booted into
> linux and using nm. In windows they do not disconnect, leading me to
> believe it's related to linux in some way. I've been looking
> at /var/log/syslog, and it contains lots of information about the
> disconnects, but I can't tell what it means or what to do about it.

What version of wpa_supplicant, and what card/driver are you using?

dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Frequent Disconnects

2007-07-15 Thread Patrick Hi

Hi all,
I'm not sure if this question is exactly appropriate for this mailinglist,
but my computers experience frequent disconnects (and sometimes reconnects)
from my WPA network while they are booted into linux and using nm. In
windows they do not disconnect, leading me to believe it's related to linux
in some way. I've been looking at /var/log/syslog, and it contains lots of
information about the disconnects, but I can't tell what it means or what to
do about it. Can
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list