Results 1 to 4 of 4

Thread: Connect to a network with the command line.

  1. #1
    Join Date
    Jun 2010
    Beans
    36

    Connect to a network with the command line.

    How do I connect to the network using the command line?

    I have a server that I want to connect to my home wifi network.

    Wifi drivers are installed, ra0 is up, and the lights on the card are working.

    With my ubuntu 10.04 LTS Desktop the network manager does it for me. However the server doesn't seem to have it. The network is WPA-PSK, this should be simple...?

    Thank you in advance.

  2. #2
    Join Date
    Nov 2008
    Location
    Omicron Persei 8
    Beans
    Hidden!

    Re: Connect to a network with the command line.

    sudo iwconfig wlan0 essid YourNetworkNameHere key 01234567 will work for wep. For wpa you will need wpa supplicant.

    See here

    http://linux.icydog.net/wpa.php
    "All right amatuer hour's over. Let me show you why they call me the Velour Fog...."
    .:GitHub:.|.:Dropbox:.

  3. #3
    Join Date
    Jun 2010
    Beans
    36

    Re: Connect to a network with the command line.

    Thanks for the very quick reply.

    This works.

    Code:
    sudo ifconfig ra0 up
    sudo wpa_passphrase NetworkName "Password" > ~/WifiSetup/wpa_supplicant.conf
    sudo wpa_supplicant -B -Dwext -i ra0 -c ~/WifiSetup/wpa_supplicant.conf
    sudo dhcpcd ra0

  4. #4
    Join Date
    Nov 2008
    Location
    Omicron Persei 8
    Beans
    Hidden!

    Re: Connect to a network with the command line.

    No problem. Don't forget to mark your thread as solved.
    "All right amatuer hour's over. Let me show you why they call me the Velour Fog...."
    .:GitHub:.|.:Dropbox:.

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
  •