Results 1 to 2 of 2
  1.    #1  
    Hello,

    I am trying to connect to my eap-sim wifi hotspot "FreeWifi_Secure".
    See here for example what eap-sim is : EAP-SIM Authentication with a RADIUS Server

    I am trying the approach used here

    Here is what I tried :
    turn on the wifi

    Code:
    root@GarthPS:/media/internal# luna-send -n 1 palm://com.palm.wifi/setstate '{"state":"enabled"}'
    check it

    Code:
    root@GarthPS:/media/internal# ps aux|grep wpa
    root      2257 10.3  0.2   6968  1400 ?        Ss   17:52   0:00 /usr/sbin/wpa_supplicant -D wext -B -c /tmp/.wpa_supplicant.conf -i eth0
    Code:
    root@GarthPS:/media/internal# iwconfig
    lo        no wireless extensions.
    
    usb0      no wireless extensions.
    
    bsl0      no wireless extensions.
    
    eth0      MRVL-SD8686  ESSID:"Freebox-783B28" [2]  Nickname:""
              Mode:Managed  Frequency:2.432 GHz  Access Point: 00:24:D4:62:85:00  
              Bit Rate:54 Mb/s   Tx-Power=10 dBm  
              Retry limit:9   RTS thr=2347 B   Fragment thr=2346 B  
              Encryption key:<too big>   Security mode:open
              Power Management:on
    Code:
    root@GarthPS:/media/internal# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1D:FE:CC:A8:D4 
              inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:32 errors:0 dropped:0 overruns:0 frame:0
              TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:5364 (5.2 KiB)  TX bytes:2972 (2.9 KiB)
    
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1766 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1766 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:158028 (154.3 KiB)  TX bytes:158028 (154.3 KiB)
    
    usb0      Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.0.202  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:8922 errors:0 dropped:0 overruns:0 frame:0
              TX packets:492 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3285400 (3.1 MiB)  TX bytes:64037 (62.5 KiB)
    
    usb0:1    Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.2.101  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    So here is my wifi up and running, connected to my prefered wifi hotspot
    Now I stop this connection by killing wpa_supplicant

    Code:
    root@GarthPS:/media/internal# killall wpa_supplicant
    Code:
    root@GarthPS:/media/internal# iwconfig
    lo        no wireless extensions.
    
    usb0      no wireless extensions.
    
    bsl0      no wireless extensions.
    
    eth0      MRVL-SD8686  ESSID:""  Nickname:""
              Mode:Managed  Access Point: Not-Associated   Bit Rate:54 Mb/s  
              Tx-Power=10 dBm  
              Retry limit:9   RTS thr=2347 B   Fragment thr=2346 B  
              Encryption key:off
              Power Management:on
    Code:
    root@GarthPS:/media/internal# ifconfig
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1766 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1766 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:158028 (154.3 KiB)  TX bytes:158028 (154.3 KiB)
    
    usb0      Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.0.202  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:8946 errors:0 dropped:0 overruns:0 frame:0
              TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3293965 (3.1 MiB)  TX bytes:64298 (62.7 KiB)
    
    usb0:1    Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.2.101  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    Ok no more wifi network interface connected.
    Then I relaunch wpa_supplicant whith a custom file which is :

    Code:
    root@GarthPS:/media/internal# cat /media/internal/wpa.conf
    ctrl_interface=/var/run/wpa_supplicant/
    network={
            ssid="FreeWifi_secure"
            key_mgmt=WPA-EAP
            eap=SIM
            priority=5
    }
    Code:
    root@GarthPS:/media/internal# /usr/sbin/wpa_supplicant -D wext -B -c /media/internal/wpa.conf -i eth0
    Code:
    root@GarthPS:/media/internal# iwconfig
    lo        no wireless extensions.
    
    usb0      no wireless extensions.
    
    bsl0      no wireless extensions.
    
    eth0      MRVL-SD8686  ESSID:"FreeWifi_secure" [6]  Nickname:""
              Mode:Managed  Frequency:2.432 GHz  Access Point: 00:24:D4:62:85:02  
              Bit Rate:54 Mb/s   Tx-Power=10 dBm  
              Retry limit:9   RTS thr=2347 B   Fragment thr=2346 B  
              Encryption key:<too big>   Security mode:open
              Power Management:on
    Code:
    root@GarthPS:/media/internal# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1D:FE:CC:A8:D4 
              inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:41 errors:0 dropped:0 overruns:0 frame:0
              TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:6992 (6.8 KiB)  TX bytes:3133 (3.0 KiB)
    
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1766 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1766 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:158028 (154.3 KiB)  TX bytes:158028 (154.3 KiB)
    
    usb0      Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.0.202  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:8946 errors:0 dropped:0 overruns:0 frame:0
              TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:3293965 (3.1 MiB)  TX bytes:64559 (63.0 KiB)
    
    usb0:1    Link encap:Ethernet  HWaddr BA:29:D2:88:62:5C 
              inet addr:192.168.2.101  Bcast:0.0.0.0  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    Regarding this I should have Internet on my phone but nope.

    So anyone having a clue is welcome!

    By the way, I think the version of wpa_supplicant provided with webos is eap-sim compliant be cause a grep of EAP-SIM on wpa_supplicant returns this.

    Thanks by advance.

    Best regards,

    Sylvain (aka gartHPs)

    Pre2 under webos 2.2.4
  2.    #2  
    Up ?

Tags for this Thread

Posting Permissions