Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 51

Thread: RaLink wireless

  1. #11
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: RaLink wireless

    Quote Originally Posted by woodsonoversoul View Post
    It's just a development server on a netbook. Is the 'static' thing still important?
    Once you have the server running headless (no windowing manager) and you want to ssh into it to tweak your apache settings or ftp some content on to it, how do you know what it's IP address is when you, from another machine, do:
    Code:
    ssh -l user 192.168.i.dont.know
    Servers very seldom have a display and keyboard attached, so they are usually set up with static IPs.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  2. #12
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    Changing /etc/network/interfaces to:
    Code:
    auto lo
    auto ra0
    iface ra0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1
    wireless-essid ourhouse
    iface eth0 inet dhcp
    iface lo inet loopback
    and restarting the network with 'sudo etc/init.d/networking restart'

    returns:
    Code:
    *Reconfiguring network interfaces...
    SIOCDELRT: No such process
    I'm looking into it...
    Last edited by woodsonoversoul; February 17th, 2010 at 07:22 PM.

  3. #13
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: RaLink wireless

    Let's clean it up a bit:
    Code:
    auto lo
    iface lo inet loopback
    
    auto ra0
    iface ra0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1
    wireless-essid ourhouse
    
    iface eth0 inet dhcp
    Now, restart networking:
    Code:
    sudo /etc/init.d/networking restart
    Any complaints or errors?

    Did you determine if the network is WPA encrypted? If so, that needs to be addressed in your file. Here is a good tutorial: http://ubuntuforums.org/showthread.php?t=202834
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  4. #14
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    I am getting some errors, but I've got to run. I'll post them in a couple of hours. Thanks for all your help so far, and yes, it is WPA encrypted.

  5. #15
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    Edited interfaces to match what was posted. Restarting the network produces the following (twice)
    Code:
    * Reconfiguring network interfaces...
    Error for wireless request "Set ESSID" (8B1A) :
        SET failed on device ra0 ; Network is down.

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: RaLink wireless

    When you do:
    Code:
    iwconfig ra0
    Does the mode read something other than 'Managed?' If so, please do:
    Code:
    sudo iwconfig ra0 mode managed
    sudo /etc/init.d/networking restart
    Do you still get the error?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #17
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    Mode is
    Code:
    Mode:Auto
    Changing it now...

  8. #18
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    Still get the same error with:
    Code:
    There is already a pid file /var/run/dhclient.eth0.pid with pid 1536
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.2
    Copyright 2004-2008 Internet Systems Consortium
    All rights reserved
    For info blah blah blah
    
    Listening on LPF/eth0/00:54:08:52:8c
    Sending on LPF/eth0/00:54:08:52:8c
    Sending on Socket/fallback
    and then the original message again

  9. #19
    Join Date
    Mar 2007
    Location
    Murfreesboro, TN
    Beans
    388
    Distro
    Ubuntu

    Re: RaLink wireless

    Trying to change the mode didn't do anything. mode is still 'auto'. Have tried it multiple times...

  10. #20
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: RaLink wireless

    auto ra0
    iface ra0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1
    wireless-essid ourhouse
    Can you please proofread this carefully? Please be sure, in your router that the address is not within the range of the DHCP server. That is, that if the router assigns up to 10 addresses from 192.168.1.2 to 192.168.1.11, then your static address needs to be outside this range; 192.168.1.25, for example. You will have to check in the router. Some set 50 addresses, so guessing could still cause a collision.

    Also, make sure netmask is correct; not network.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 2 of 6 FirstFirst 1234 ... LastLast

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
  •