OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: bam on May 02, 2006, 04:42:24 pm
-
so when the network applet is clicked and "disconnect" pressed what scripts are executed? this is so I can insert a "cardctl reset 0" to take care of the little bug in cacko that doesnt let you reconnect after a disconnect.
-
isn't everything in /etc/pcmcia
take a look at the wireless script?
-
I figured, but just needed some verification.
-
Just wondered if you got the script updated to work OK. If so, could you please post the place to put it as I haven't been able to get this to work.
Thanks
-
actually I will look at it this week, its on my todo list.
-
Hey Bam,
Give this a try: in /etc/pcmcia/network.opts
Change CARDSUSPEND=y to CARDSUSPEND=n
This fixed it up for me!
Also, when you suspend with the network connected try this script in /etc/apm.d/wlan0
#!/bin/sh
PATH=$PATH:/usr/bin
case "$1" in
suspend)
cardctl suspend
;;
resume)
cardctl resume
;;
esac
then
ln -s /etc/apm.d/wlan0 /etc/apm.d/suspend.d/S20wlan0
Hopefully these instructions make sense.
-
old thread, but shouldn't there be another ln for resume?
sudo ln -s /etc/apm.d/wlan0 /etc/apm.d/resume.d/R20wlan0
-
with cacko1.23 on C3100, if I suspend when the network is active using power-off button, when I power back on the network comes back fine.
the only problem is that wifi won't work a second time until I eject the wifi card ("cardctl eject 0; sleep 1; cardctl insert 0"). Unless I do this, the qtopia applet connect function simply causes the LED on the wifi card to flash once, and then it hangs for 30 seconds before timing out. I've wondered is the simplest hack is to cardctl-eject on suspend and cardctl-insert on resume, so that I can simply suspend and resume to allow networking to work consistently.
this problem is a particular nuisance when I've run kismet to find a wifi point, and then have eject/insert before I can connect.
-
with cacko1.23 on C3100, if I suspend when the network is active using power-off button, when I power back on the network comes back fine.
the only problem is that wifi won't work a second time until I eject the wifi card ("cardctl eject 0; sleep 1; cardctl insert 0"). Unless I do this, the qtopia applet connect function simply causes the LED on the wifi card to flash once, and then it hangs for 30 seconds before timing out. I've wondered is the simplest hack is to cardctl-eject on suspend and cardctl-insert on resume, so that I can simply suspend and resume to allow networking to work consistently.
this problem is a particular nuisance when I've run kismet to find a wifi point, and then have eject/insert before I can connect.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152349\"][{POST_SNAPBACK}][/a][/div]
hmmm ... did you try the mod mentioned above for apm.d? Also, I removed the one for resume.d as it was causing problems.
-
ah, I suddenly understand... I never gave it a proper chance to work.. yes, if I use "cardctl reset 0" after disconnecting, I can then connect again.
I'm not playing with the /etc/pcmcia/network wireless wlan-ng scripts to add "cardctl reset 0" in the "stop" sections...