LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-24-2005, 11:13 AM   #1
heinrisch
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Question 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!
 
Old 10-25-2005, 08:42 PM   #2
solveit
Member
 
Registered: Jan 2005
Posts: 83

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
losing connection with static ip redss Linux - Networking 1 01-29-2005 05:17 AM
Losing network connection drburgh66 Debian 10 04-27-2004 03:12 PM
losing network connection Ian Fleeton Linux - Networking 3 05-21-2003 07:44 AM
losing network connection tangle Linux - Hardware 0 12-17-2002 12:46 PM
Losing Connection syxxpac023 Linux - Networking 0 10-11-2001 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration