[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command line wirelss config [was: How to speed up your Mac.]



Hi,

Sorry for not getting back early. Work is keeping things busy.. Thanks
to Bin, Jörg, and Yannick for the details. I am able to connect to the
wireless networks now :) I am providing the two files
/etc/network/interfaces and /etc/wpa_suppliant.conf for reference and
may be someone else will find it helpful.

After booting, I do a 'ifup  eth2' to get a a wireless connection. Now
how do I change the network (say from 'home' to 'neighbor')?

### /etc/network/interfaces  ###
auto lo
iface lo inet loopback

allow-hotplug eth1
iface eth1 inet dhcp

iface eth2 inet manual
        wpa_driver wext
        wpa_roam /etc/wpa_supplicant.conf

iface default inet dhcp

iface work inet dhcp

iface home inet dhcp

iface neighbor inet dhcp

### /etc/wpa_supplicant.conf ###
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the old peaplabel
network={
        ssid="workwireless"
        id_str="work"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-EAP
        eap=PEAP
        identity="user"
        password="mypassword"
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
        priority=1
}

network={
        ssid="me"
        id_str="home"
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=TKIP
        group=TKIP
        psk="abcd"
}

network={
        ssid="other"
        id_str="neighbor"
        key_mgmt=NONE
}

network={
        key_mgmt=NONE
}

#####################


---
Regards,
PK
--------------------------------------
http://counter.li.org  #402424



Reply to: