Om2008.8 wifi ... mschapv2

Savio Monteiro savimonty at gmail.com
Sun Sep 7 19:34:18 CEST 2008


Hi,

I recently bought the new openmoko freerunner and was trying to connect to
my campus wifi n/w with the following
/etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf ...

***********************
*  interfaces* file
***********************

# /etc/network/interfaces -- configuration file for ifup(8),
ifdown(8)



# The loopback
interface

auto
lo

iface lo inet
loopback



# Wireless
interfaces

#iface wlan0 inet
dhcp

#wireless_mode
managed

#wireless_essid
any

#iface atml0 inet
dhcp



# Wired or wireless
interfaces

auto
eth0

iface eth0 inet
dhcp

wpa-conf
/etc/wpa_supplicant/wpa_supplicant.conf





iface eth1 inet
dhcp



# Ethernet/RNDIS gadget
(g_ether)

# ... or on host side, usbnet and random hwaddr
### USB WORKS FINE ###


auto
usb0

iface usb0 inet
static

        address 192.168.0.202

        netmask 255.255.255.0

        network 192.168.0.0

        gateway 192.168.0.200

        up echo search something >
/etc/resolv.conf

        up echo nameserver something >>
/etc/resolv.conf

# Bluetooth
networking

iface bnep0 inet dhcp



*****************************************
  *   wpa_supplicant.conf* file
*****************************************

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
fast_reauth=0

network={
    ssid="WATERVIEW"
    key_mgmt=IEEE8021X
    eap=PEAP
    ca_cert="/etc/verisign.pem"
    phase1="peaplabel=1"
    phase2="auth=MSCHAPV2"
    identity="**something**"
    password="**something**"
}


*******************************************
*   /etc/init.d/wlan start* output
*******************************************

Starting wlan: ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:02:2d:60:9e:6d (SSID='WATERVIEW' freq=2437 MHz)
Authentication with 00:02:2d:60:9e:6d timed out.
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:02:2d:60:9e:6d (SSID='WATERVIEW' freq=2437 MHz)
Authentication with 00:02:2d:60:9e:6d timed out.
CTRL-EVENT-TERMINATING - signal 2 received  (*did a ctrl+c here ... *)


********************************************
   *iwlist scanning* output
********************************************

lo        Interface doesn't support scanning.

usb0      Interface doesn't support scanning.

eth0      Scan completed :
          Cell 01 - Address: 00:1D:7E:6D:C1:DB
                    ESSID:"25201"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=2/94  Signal level=-93 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Extra:bcn_int=100

Extra:wpa_ie=dd180050f20101000050f20201000050f20201000050f2020c00

Extra:wmm_ie=dd180050f2020101000003a4000027a4000042435e0062322f00
          Cell 02 - Address: 00:02:2D:60:9E:6D
                    ESSID:"WATERVIEW"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Quality=19/94  Signal level=-76 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Extra:bcn_int=100
          Cell 03 - Address: 00:02:2D:60:9E:76
                    ESSID:"WATERVIEW"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Quality=6/94  Signal level=-89 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Extra:bcn_int=100


*********************************************
    *ifconfig eth0* output
*********************************************
eth0      Link encap:Ethernet  HWaddr 00:12:CF:8E:EC:CE
             BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:1627 errors:0 dropped:0 overruns:0 frame:0
             TX packets:526 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:1115762 (1.0 MiB)  TX bytes:9172 (8.9 KiB)


*********************************************
   *iwconfig *output
*********************************************

lo       no wireless extensions.

usb0  no wireless extensions.

eth0   AR6000 802.11g  ESSID:""
          Mode:Managed  Bit Rate=1 Mb/s   Tx-Power=0 dBm   Sensitivity=0/3
          Retry:on
          Encryption key:off
          Power Management:on
          Link Quality:0/94  Signal level:-95 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


*********************************************************************************************************

Any Suggestions anybody? Would appreciate the help.

The same configuration of interfaces and wpa_supplicant.conf works very well
on my ubuntu laptop.

Thanks a million for the support.

Savio Monteiro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080907/a94199b6/attachment-0001.htm 


More information about the support mailing list