LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Losing Connection on wlan (https://www.linuxquestions.org/questions/linux-wireless-networking-41/losing-connection-on-wlan-376403/)

heinrisch 10-24-2005 11:13 AM

Losing Connection on wlan
 
I recently installed Fedora Core 4 on my Dell Inspiron 1150 laptop with a Dell Truemobile card. I got the wireless card to work and, sa you can see from this post, I am online. However, I get disconnected every 5 minutes or so and I have to write "ifdown wlan0" "ifup wlan0" to get online again.
The "iwconfig wlan0" looks the same way after I am disconnected and after I connected again.

I am using ndiswrapper to get the wireless card to work.

Anyone who can help me?

Thank you!

solveit 10-25-2005 08:42 PM

I have tried the following method that may help you.
Copy the script below and name it xyz.
Modify it with the correct IP address for your access point (router).
Run it as root in the background :

$ su -
password:[rootpassword][Enter]

# xyz &

Script Code:

#!/bin/bash
PING_TEST_IP="192.168.1.1"

/sbin/ifdown eth0
sleep 5

while :
do
ping -c 1 -W 2 $PING_TEST_IP > /dev/null
while [ $? != 0 ]
do
/sbin/iwlist wlan0 scan > /dev/null
sleep 1
ping -a -c 1 -W 2 $PING_TEST_IP > /dev/null
done
sleep 120
done


All times are GMT -5. The time now is 09:06 AM.