Results 1 to 8 of 8

Thread: RT61 card working with Hardy, static IP, 54M and on reboot.

  1. #1
    Join Date
    Mar 2007
    Location
    UK, Staffordshire
    Beans
    348
    Distro
    Ubuntu 11.04 Natty Narwhal

    RT61 card working with Hardy, static IP, 54M and on reboot.

    Finally I have got the RT61 wireless card working with a static IP, WPA, 54M and it automatically starts on boot up.

    Using Roaming mode I could always used DHCP but not a static IP.

    Here is the solution that worked for me.

    Firstly, disable Roaming in network manager by selecting manual configuration from the network icon in the taskbar.

    Then select edit wireless again from the network manager icon and delete and wireless networks listed.

    Now do the following in a terminal.

    Generate a hex WPA key with

    Code:
    wpa_passphrase YOUR_SSID WPA_PASSPHRASE
    and copy this code

    Code:
    sudo nano /etc/network/interfaces
    remove any existing lines relating to wlan and use the following configuration, substituting for your network where applicable.

    Code:
    # wireless configuration, change wlan0 where applicable
    iface wlan0 inet static
    
    # set the static ip configuration, these will depend on your network
    address 192.168.1.9 
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1
    netmask 255.255.255.0
    broadcast 192.168.1.255
    
    # bring the interface down, this makes it start correctly
    pre-up ifconfig wlan0 down 
    
    # enter correct key below
    wpa-psk KeyGeneratedAfterRunning_wpa_passphrase_WithoutQuotes
    wpa-key-mgmt WPA-PSK
    wpa-proto WPA
    
    #enter your SSID name below
    wpa-ssid YOUR_SSID
    
    # wait for 20 seconds to bring interface up
    pre-up sleep 20
    
    # make sure that you get full bit rate
    iwconfig wlan0 rate 54M
    
    # start interface
    pre-up ifconfig wlan0 up
    # make it start automatically
    auto wlan0
    Now restart the network, with

    Code:
    sudo /etc/init.d/networking restart
    Your network should now work with a static IP using the native drivers in Hardy and restart on a reboot automatically.

    Post if you have any problems.
    Box 1 | Xubuntu 12.10 64 bit | Gigabyte GA-MA78GM-S3H rev2 / AMD 5900+ | 250Gb Hitachi SATA / 4Gb RAM
    Ubuntu User #14507[/U] | GPG Key 0xBE7E87FD

  2. #2
    Join Date
    Aug 2007
    Beans
    7

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    ushills,

    I still could not get it configured using this method. One thing differnt on my set up, which i'm not sure makes a difference is the fact i dont have a locked/encrypted network. I use MAC Address filtering, which is properly set up in my router and works when i switch to WinXP.

    When i leave your WPA entries in your configuration empty the network restart fails. When i delete all WPA entries from your config the network reset work.

    I have entered the IP information for my system and still no luck. I cannot connect to the network/internet. I even did a system reboot.

    When properly configured should the icon be of wireless bars or of 2 computers connected via ethernet? My icon changes from wireless to a ethernet looking icon? I'm not sure what i'm doing wrong.

    thanks,
    alex

  3. #3
    Join Date
    Mar 2007
    Location
    UK, Staffordshire
    Beans
    348
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    In that case try

    Code:
    Code:
    # wireless configuration, change wlan0 where applicable
    iface wlan0 inet static
    
    # set the static ip configuration, these will depend on your network
    address 192.168.1.9 
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1
    netmask 255.255.255.0
    broadcast 192.168.1.255
    
    # bring the interface down, this makes it start correctly
    pre-up ifconfig wlan0 down 
    
    
    #enter your SSID name below
    iwconfig wlan0 essid YOUR_SSID
    iwconfig wlan0 mode Managed
    
    # wait for 20 seconds to bring interface up
    pre-up sleep 20
    
    # make sure that you get full bit rate
    iwconfig wlan0 rate 54M
    
    # start interface
    pre-up ifconfig wlan0 up
    # make it start automatically
    auto wlan0
    The change to ethernet icon is correct for a manually configured network.
    Last edited by ushills; May 13th, 2008 at 01:08 PM.
    Box 1 | Xubuntu 12.10 64 bit | Gigabyte GA-MA78GM-S3H rev2 / AMD 5900+ | 250Gb Hitachi SATA / 4Gb RAM
    Ubuntu User #14507[/U] | GPG Key 0xBE7E87FD

  4. #4
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    Amazing work my friend, worked an absolute treat for me. long live the linux,

  5. #5
    Join Date
    Mar 2007
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    hey again if i wanted to put in both a primary and decondary DNS would it look like this or what would you recommend,


    [CODE]

    # set the static ip configuration, these will depend on your network
    address 192.168.1.9
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1 192.1.1.2
    netmask 255.255.255.0
    broadcast 192.168.1.255

    with the correct addresses in obviously, cheers,

  6. #6
    Join Date
    Nov 2005
    Beans
    3

    Thumbs down Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    This worked for me (thanks for your help!) as far as getting a static IP address and not having to use NetworkManager. However, I found I had to create an executable script in /etc/network/if-up.d to set the connection speed.

    Code:
    #!/bin/sh
    
    # set the wireless bit rate
    iwconfig wlan0 rate 54M

  7. #7
    Join Date
    Oct 2008
    Location
    Aldie, Virginia
    Beans
    123
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    Ushills --
    I finally got my RT61 card working, but I'm more vanilla than you -- using WEP and DHCP. Can you advise what file I need to modify to get it to come up with rebooting, rather than having to enter the control panel every time I turn the box on and enter the key and a new profile? I'm using RutilT instead of Network Manager. I'm still too new at Linux to understand it all, but I'm trying.

  8. #8
    Join Date
    Jan 2010
    Location
    Gilbert, Arizona, USA
    Beans
    5
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: RT61 card working with Hardy, static IP, 54M and on reboot.

    Nice job man. This STILL worked for me on the karmic koala server edition. Thanks!

Tags for this Thread

Bookmarks

Posting Permissions

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