| Author |
Message |
dotHack
Joined: 07 Dec 2010 Posts: 15
|
Posted: Tue 14 Dec 2010, 18:36 Post subject:
Problem (?) keeping the wireless connected... |
|
I don't know if it is actually a "problem" (like driver problem or something) or just a config. thing I can't find, but when I'm on wlan and I stop using the machine for a few minutes, when I come back the connection has been lost and I have to do all the connection setup again. Is there a way to keep the machine "always" connected? no matter if i'm not using it? since it requires many steps to regain connection (right clic, setup wlan, clic on icon that brings down then up the wlan card, searches for wlan available, when it finds you clic connect, then after some seconds it asks for firewall and theeen you are online..)
Also someone has reported this problem on another forum but it seems to be driver-related so I'm just going to comment on this. With my broadcom wireless card I can't connect to WPE protected wlan (i could do it on other linux distros though and also on windows), I had to deactivate WPE on my router (change to WPA) to be able to use Puppy on wlan. No complains at all, but is a small issue for people who can't set up their security policy (school/airports etc).
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7753 Location: Stratford, Ontario
|
Posted: Tue 14 Dec 2010, 18:48 Post subject:
|
|
| Quote: | | when I'm on wlan and I stop using the machine for a few minutes, when I come back the connection has been lost |
Try this. Go to your /root/Startup folder and make a script called stay-connected. Add these lines
| Quote: | #!/bin/sh
while [ 1 ]; do
ping -c 1 8.8.8.8
sleep 30
done |
Make sure that the script has execute permission.
Reboot your computer. Every 30 seconds it will ping that address to keep the network connection alive.
For your convenience, I have packaged the script as a PET below. You must reboot after installing it.
| Description |
|

Download |
| Filename |
stay-connected-1.0.pet |
| Filesize |
394 Bytes |
| Downloaded |
271 Time(s) |
Last edited by rcrsn51 on Mon 24 Jan 2011, 09:19; edited 1 time in total
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2255 Location: Japan
|
Posted: Tue 14 Dec 2010, 20:20 Post subject:
Re: Problem (?) keeping the wireless connected... |
|
| dotHack wrote: | | since it requires many steps to regain connection (right clic, setup wlan, clic on icon that brings down then up the wlan card, searches for wlan available, when it finds you clic connect, then after some seconds it asks for firewall and theeen you are online..) |
Right click and 'Autoconnect', doesn't it work?
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
dotHack
Joined: 07 Dec 2010 Posts: 15
|
Posted: Tue 14 Dec 2010, 22:10 Post subject:
|
|
Thanks rcrsn51!! I already installed your pet and will confirm whether it worked or not, thanks a lot for taking the time to make it =)
And shinobar... I don't see an "autoconect" option anywhere. I might just be missing it but since I don't turn off this laptop and it never leaves my bedroom, if rcrsn51's pet works then it'll be awesome to me =)
Thank you guys for your quick answers =)
|
|
Back to top
|
|
 |
dotHack
Joined: 07 Dec 2010 Posts: 15
|
Posted: Wed 15 Dec 2010, 22:33 Post subject:
|
|
I just wanted to report that so far your pet seems to have solved the issue =) thanks a lot!!
|
|
Back to top
|
|
 |
yorkiesnorkie

Joined: 04 Jun 2007 Posts: 505 Location: George's Island
|
Posted: Tue 12 Jul 2011, 11:12 Post subject:
Success, Wireless stays connected, finally! |
|
I'd like to report that the pet containing this script works perfectly with our Lupu installation. Our wireless connection kept dropping all the time. I installed the script and it stayed connected! Thank you rcrsn51!
Yorkie
_________________ www.busygamemaster.com
|
|
Back to top
|
|
 |
Shep
Joined: 08 Nov 2008 Posts: 840 Location: GIRT-BY-SEA
|
Posted: Wed 13 Jul 2011, 11:32 Post subject:
|
|
So can we conclude that there is a setting somewhere to drop the connection after x minutes of no traffic? Is that setting on the modem/router, or does it lie out of reach at the provider's end?
|
|
Back to top
|
|
 |
yorkiesnorkie

Joined: 04 Jun 2007 Posts: 505 Location: George's Island
|
Posted: Wed 13 Jul 2011, 15:12 Post subject:
|
|
All I can tell you is my wife or I were using Facebook and would get up to make tea or something and by the time we got back the connection had dropped. We ran the wireless wizard from the tray, and were able to see the SSID, type in the key, and then we were re-connected. This might happen several times though the course of a day, and even when we were using Firefox or something. The next day around the PC would boot up fine and connect, but then the connection dropped. My wife has been using the script since I installed it without complaint about dropping the network.
Y.
_________________ www.busygamemaster.com
|
|
Back to top
|
|
 |
|