Tiny Core Base > piCore Test Releases

piCore-6.1alpha2

<< < (4/6) > >>

sbp:
Gerrelt too late - I already tried your fix (or only partly as I simply added a sleep = 1 at line 83)

And   THANK YOU   it fixed the problem for me.

Steen

sbp:
Gerrelt,  I think you hypothesis is correct, as I have often seen that a wifi scan sometimes only lists part of the available network.
So I will support your point of view that a little change in the script is needed.

Steen

Gerrelt:
Hi sbp,

 That's great news!

My extra fix is do a "dummy" iwlist scanning. I had added an extra iwlist scanning call just right after ifconfig up, for debug-purposes. I directed the output to the log file.
I removed it to test it one more time without the debug info, and it didn't work for me anymore.

So the extra change will be adding a dummy iwlist scanning command.
I've now added this command to line 81:

--- Code: ---iwlist "$WIFI" scanning 2>/dev/null
--- End code ---

This will allready start the scanning process on the wifi adapter.
I am testing this now.


I think we are running into this now, because piCore is getting faster?  8)

Greetings,
   Gerrelt.


bmarkus:
You can use iwlist in a terminal manually to check networks and scripts.

Gerrelt:

Yes, I've did that, it showed met the partial list too, when I executed it from the command line.

@spb:
My adapter seems to need a dummy iwlist scanning, otherwise I've still got a partial list. The dummy iwlist scanning call starts the initial scanning, and at the time the second iwlist scanning is executed (after the one second sleep), the AP list is complete.

Could you test this change too? I know it's allready working for you, but it would be nice to see it tested by somebody else then me.

The extra change is adding this line at line 81 (just after ifconfig up):


--- Code: ---iwlist "$WIFI" scanning 2>/dev/null
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version