Opened 13 years ago

Closed 6 years ago

#8576 closed enhancement (fixed)

Speed up WLAN authentication

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: R1
Component: Network & Internet/Wireless Version: R1/Development
Keywords: Cc: tqh
Blocked By: Blocking:
Platform: All

Description

This is hrev44137 gcc2hybrid.

Authentication at my WPA2 encrypted WLAN takes quite a long while, about a minute maybe. I connect my iprowifi3945 adapter from the UserBootscript via "ifconfig". Attached is the syslog. Maybe there's some indiction where things could be optimized?

Attachments (6)

syslog.txt (39.9 KB ) - added by humdinger 13 years ago.
syslog, connecting to WPA2 WLAN
syslog-iprowifi3945.txt (52.0 KB ) - added by humdinger 13 years ago.
configuring iprowifi3945
syslog-atheroswifi.txt (61.1 KB ) - added by humdinger 13 years ago.
configuring atheroswifi
syslog-iprowifi3945-booting.txt (6.2 KB ) - added by humdinger 13 years ago.
Syslog booting the iprowifi3945 system before configuring with "ifconfig"
syslog-init.txt (1.1 KB ) - added by humdinger 12 years ago.
longish initialization
syslog-auth.txt (3.7 KB ) - added by humdinger 12 years ago.
quick authentication

Download all attachments as: .zip

Change History (16)

by humdinger, 13 years ago

Attachment: syslog.txt added

syslog, connecting to WPA2 WLAN

comment:1 by axeld, 13 years ago

It would be easier to spot anything if the syslog included timestamps. Anyway, one possible source of problems is that IIRC we currently wait for the first scan of the existing networks which might take some time; since you likely do know the SSID from your network, one wouldn't need to wait for this at least.

Other than that, I have the same chipset here, but did not see any delays when I logged in directly (I don't do this in the bootscript, though), but this has already been a few months ago.

comment:2 by tqh, 13 years ago

I think DHCP can take some get an address, perhaps we should look into http://cafbit.com/entry/rapid_dhcp_or_how_do and http://www.ietf.org/rfc/rfc4436.txt

comment:3 by humdinger, 13 years ago

I attached three more syslogs with time stamps. I removed the "auto-connect" from the UserBootscript and did the "ifconfig {device} join {SSID} {password}" from Terminal after Haiku was completely booted up.

One is once more the iprowifi3945 connecting to a FritzBox router WPA2 encrypted. (syslog-iprowifi3945.txt)

The second is a atheroswifi connecting to a USR router WPA2 encrypted. (syslog-atheroswifi.txt)

I noticed that booting up the iprowifi3845, NetworkStatus notifies first that it's configuring the network adapters for some time. After a minute it announces "No link". After that, I invoke the "ifconfig" line. The third syslog shows that bootup before the "ifconfig". (syslog-iprowifi3945-booting.txt)

Version 0, edited 13 years ago by humdinger (next)

by humdinger, 13 years ago

Attachment: syslog-iprowifi3945.txt added

configuring iprowifi3945

by humdinger, 13 years ago

Attachment: syslog-atheroswifi.txt added

configuring atheroswifi

by humdinger, 13 years ago

Syslog booting the iprowifi3945 system before configuring with "ifconfig"

comment:4 by jackburton, 13 years ago

I have a similar problem with my laptop, also with an intel 3945 wireless card. I'm able to join my wifi network only sometimes, and it takes a long time to join. My wifi network has an hidden ssid. Maybe that's a problem ? I've added the wireless_network file as needed.

comment:5 by diver, 12 years ago

Could this be fixed by hrev44350?

comment:6 by anevilyak, 12 years ago

Cc: tqh added

It's entirely possible.

comment:7 by humdinger, 12 years ago

Just now got to updating my system (now hrev44362). Authentication speed did improve significantly. Now it's done in a few seconds. Thanks!

Still, the time after booting up that I have to wait until the initial configuration is through, ending in the notification "No link", is still quite long. It's bearable, so I'll leave it for others to close this ticket or not.
I'll also attach two snippets from my syslog, one showing the longish initalization, the other the now quick authentication.

by humdinger, 12 years ago

Attachment: syslog-init.txt added

longish initialization

by humdinger, 12 years ago

Attachment: syslog-auth.txt added

quick authentication

comment:8 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:9 by waddlesplash, 6 years ago

Still an issue?

comment:10 by humdinger, 6 years ago

Resolution: fixed
Status: assignedclosed

Let's close this one. If it works, it's quite quick. But every 5-10 boot-ups it refuses to connext properly, or it takes a few times, mostly only when using 'ifconfig' from Terminal...

Note: See TracTickets for help on using tickets.