Fedora Linux Support Community & Resources Center
Old 5th January 2008, 06:04 AM
jonathonp's Avatar
jonathonp Offline
Registered User
Join Date: Oct 2006
Location: Melbourne
Age: 46
Posts: 571
Smile Automatic reconnection when wireless connection drops? wireless script?

The wireless connection we have at work drops out on a number of occasions throughout the day and thus requires me to reactivate via:


I find the whole thing time consuming and annoying.

Could i create a shell script with user privileges whereby i would just click on a link to reconnect/ repair my connection and also for automatic connection when it drops. This would be really useful.

This is how i set up my rt73 usb adapter in which i compile myself from http://rt2x00.serialmonkey.com/wiki/index.php/Downloads

gedit /etc/sysconfig/network-scripts/ifcfg-wlan0
# rt73

Also another question that has been bugging me for a long time is how to connect using dhcp in the terminal. For a static address i use the following:

su -
modprobe rt73
ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 ap any
ifconfig wlan0 netmask
echo nameserver > /etc/resolv.conf
echo nameserver >> /etc/resolv.conf
echo nameserver >> /etc/resolv.conf
route add default gw
ifconfig -a

Last edited by jonathonp; 5th January 2008 at 06:07 AM.
Reply With Quote
Old 5th January 2008, 02:32 PM
nyjetshead Offline
Registered User
Join Date: Oct 2007
Posts: 632
Which version are you running?
Have you tried Network Manager?
It will do the dirty work for you once you associate with the AP it will try to reconnect if it disconnects or some reason.
Is the system being left alone, a server, ... is that the reason for the use of scripts?
Reply With Quote

automatic , connection , drops , reconnection , script , wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic connection of wireless with ndiswrapper fails lowsnr Servers & Networking 5 31st December 2008 12:49 AM
wireless connection drops to ZERO from 3/4 meters away from router crmpicco Servers & Networking 4 19th April 2008 05:30 AM
no automatic wireless connection mha Servers & Networking 1 29th April 2007 04:44 PM
Wireless reconnection issue. rtozer Servers & Networking 1 15th December 2005 03:38 PM
wireless drops the connection osho Hardware & Laptops 2 9th December 2004 03:04 AM

Current GMT-time: 06:26 (Saturday, 21-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat