Results 1 to 2 of 2

Thread: /etc/network/interfaces wireless wifi example

  1. #1
    Senior Member raj's Avatar
    Join Date
    Jun 2005
    Location
    Hyderabad
    Posts
    566
    Thanks
    57
    Thanked 41 Times in 38 Posts
    Rep Power
    14

    Angry /etc/network/interfaces wireless wifi example

    I'm on Ubuntu 9.04 and my card working fine if I punch everything from a command line. I need to automate this by editing the network configuration /etc/network/interfaces file. Can anyone provide me working wireless config file example for WPA2?
    Raj
    Linux rulz.
    I have never turned back in my life ; I shall not do so today.. haha

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 815 Times in 511 Posts
    Rep Power
    10

    Default

    Here is what you need to put for wireless interface
    Code:
    auto wlan0
    iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant.conf
    /etc/wpa_supplicant.conf for WPA2 / WPA:
    Code:
    network={
            ssid="ADD-YOUR-SSID-HERE"
            proto=RSN
            key_mgmt=WPA-PSK
            pairwise=CCMP TKIP
            group=CCMP TKIP
            psk="ADD-YOUR-WPA-PASSWORD-HERE"
    }
    once done restart networking:
    Code:
    sudo  /etc/init.d/networking restart
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. virtual interfaces
    By asim.mcp in forum Networking, Firewalls and Security
    Replies: 3
    Last Post: 16th July 2008, 02:19 PM
  2. Mrtg::Linksys wifi problem..?
    By dancave in forum Networking, Firewalls and Security
    Replies: 0
    Last Post: 4th September 2007, 03:27 AM
  3. WiFi
    By pirashanthan in forum Linux hardware
    Replies: 0
    Last Post: 22nd June 2007, 09:26 PM
  4. Redhat Fedora 7 Wifi configuration
    By pirashanthan in forum Networking, Firewalls and Security
    Replies: 4
    Last Post: 22nd June 2007, 05:20 PM
  5. Wireless NIC Installation
    By uspak in forum Getting started tutorials
    Replies: 1
    Last Post: 29th December 2006, 03:30 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
  •