FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006

    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.

  2. #2
    Join Date
    Oct 2007
    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?

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts