Opened 7 years ago

Closed 13 months 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:
Has a Patch: no 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 7 years ago.
syslog, connecting to WPA2 WLAN
syslog-iprowifi3945.txt (52.0 KB) - added by humdinger 7 years ago.
configuring iprowifi3945
syslog-atheroswifi.txt (61.1 KB) - added by humdinger 7 years ago.
configuring atheroswifi
syslog-iprowifi3945-booting.txt (6.2 KB) - added by humdinger 7 years ago.
Syslog booting the iprowifi3945 system before configuring with "ifconfig"
syslog-init.txt (1.1 KB) - added by humdinger 7 years ago.
longish initialization
syslog-auth.txt (3.7 KB) - added by humdinger 7 years ago.
quick authentication

Download all attachments as: .zip

Change History (16)

Changed 7 years ago by humdinger

Attachment: syslog.txt added

syslog, connecting to WPA2 WLAN

comment:1 Changed 7 years ago by axeld

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 Changed 7 years ago by tqh

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 Changed 7 years ago by humdinger

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 USR router WPA2 encrypted. (syslog-iprowifi3945.txt)

The second is a atheroswifi connecting to a USR FritzBox 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)

Last edited 7 years ago by humdinger (previous) (diff)

Changed 7 years ago by humdinger

Attachment: syslog-iprowifi3945.txt added

configuring iprowifi3945

Changed 7 years ago by humdinger

Attachment: syslog-atheroswifi.txt added

configuring atheroswifi

Changed 7 years ago by humdinger

Syslog booting the iprowifi3945 system before configuring with "ifconfig"

comment:4 Changed 7 years ago by jackburton

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 Changed 7 years ago by diver

Could this be fixed by hrev44350?

comment:6 Changed 7 years ago by anevilyak

Cc: tqh added

It's entirely possible.

comment:7 Changed 7 years ago by humdinger

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.

Changed 7 years ago by humdinger

Attachment: syslog-init.txt added

longish initialization

Changed 7 years ago by humdinger

Attachment: syslog-auth.txt added

quick authentication

comment:8 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:9 Changed 13 months ago by waddlesplash

Still an issue?

comment:10 Changed 13 months ago by humdinger

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.