Wifi & 2008.8

Zack Mollusc zmollusc at blueyonder.co.uk
Tue Sep 2 00:18:02 CEST 2008


e hanks wrote:
> No... No horror stories...
>
> I connect to my wpa encrypted network NP after setting up a
> wpa_supplicant.conf; however, I'm just using the gui under settings in
> the phone. How do I make the password persistent? I have to input it
> in everytime I reboot my phone. The utterly ridiculous keyboard makes
> this a tedious task.
>
> BTW, despite mastering the usage of this keyboard I really think this
> is a wrong approach guys. Sorry, if this is your baby, but I'll be
> removing it if I can ASAP. Chalk me up for 'against'.
>
> Anyway, I intentionally left the wpa_supplicant.conf paremeters (SSID
> etc) blank figuring the gui would populate it. Is this the wrong
> approach even though it works?
>
> Thanks
>
> radtek
> ------------------------------------------------------------------------
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>   
Hi, I can connect to my wpa with my supplicant file thus:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# WPA:
network={
       ssid="OMFGmySSID"

       proto=WPA
       key_mgmt=WPA-PSK
       pairwise=TKIP
       group=TKIP
       scan_ssid=1
       psk="omfgmysecretWPAkeyhere"
       priority=10
}


# Wildcard match for SSID (plaintext APs only). This example select any
# open AP regardless of its SSID.
network={
    key_mgmt=NONE
        priority=5
}


although i have to run a script (i call mine wifi.sh)consisting of

ifdown usb0
ifdown eth0
ifup eth0
udhcpc eth0

in order to get it to dhcp from the router. ie i power up the phone,
open a terminal window and run the above wifi.sh script and wait
(sometimes for a few minutes) until it discovers the ip settings from
the router.

This little shell script gets me onto my wpa router or any open router
that is available.

Please don't ask me for details as I am a non-programming nitwit
cobbling stuff out of other people's help files.

Good luck.
 




More information about the support mailing list