Find the answer to your Linux question:
Results 1 to 2 of 2
my wireless network works at home, but i'm at an event, and i need access here. i've changed the essid and the key in /etc/network/interfaces, but when i run ifup ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    85

    wpa in lenny

    my wireless network works at home, but i'm at an event, and i need access here. i've changed the essid and the key in /etc/network/interfaces, but when i run ifup -a i get 'invalid argument "key".

    i'm sort of a noob at wireless. is there something sbvious i'm missing?

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Install wpa_supplicant and create the configuration file like this

    network={
    ssid="<YOUR ESSID>"
    scan_ssid=1
    key_mgmt=WPA-PSK
    psk="<YOUR PASSPHRASE>"
    }

    Then run this
    wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

    Changing the -Dwext and wlan0 according to your computer, you can get a list of drivers (-D) issue wpa_supplicant without options
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

Posting Permissions

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