Talk:Neo FreeRunner Wifi

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(disabling wifi on startup: new section)
Line 18: Line 18:
  
 
What would be the cleanest way to not enable wifi on startup? -- [[User:Relet|Relet]] 20:31, 9 July 2008 (UTC)
 
What would be the cleanest way to not enable wifi on startup? -- [[User:Relet|Relet]] 20:31, 9 July 2008 (UTC)
 +
 +
 +
== wpa_supplicant tips ==
 +
These tips are universally valid on 2007.2, ASU, qtopia, and most likely FSO.
 +
 +
=== Weird ioctl messages ===
 +
Ignore them, they seemingly have no effect. eg:
 +
"ioctl[SIOCSIWENCODEEXT]: Operation not supported"
 +
 +
=== wpa_supplicant times out ===
 +
eg:
 +
CTRL-EVENT-SCAN-RESULTS
 +
Trying to associate with 00:1d:5a:e8:00:00 (SSID='2WIRE915' freq=2432 MHz)
 +
Authentication with 00:1d:5a:e8:00:00 timed out.
 +
 +
What you need to do is re-specify the essid manually:
 +
iwconfig eth0 essid "2WIRE915"
 +
And it will then immediately connect and authorise with WPA/TKIP.
 +
 +
=== default route issues ===
 +
Due to the way the FR configures its usb0 interface, it creates a default route.  You will need to delete this in order to use wifi (or gprs/bluetooth-pan, I imagine):
 +
route del default gw 192.168.0.200
 +
 +
Hope this helps others. [[User:Ieatlint|Ieatlint]] 22:53, 12 July 2008 (UTC)

Revision as of 00:53, 13 July 2008

Passphrase issues:

I have noticed that with wireless sometimes it works better to use the password hash in the wpa_supplicant.conf instead of the ascii text. You can use the wpa_passphrase utility (I don't know if this is included in the GTA02 or not as I don't have one) to generate the hash for the passphrase.

techiem2@escape-pod ~ $ wpa_passphrase MYWIFI "my passphrase" 
network={
        ssid="MYWIFI"
        #psk="my passphrase"
        psk=a4c08e767704a66d3fb27d4bf072e2da279f76adc568722b9a6f97964b982620
}

Of course you would probably want to redirect output to the end of your wpa_supplicant.conf (wpa_passphrase MYWIFI "my passphrase">>/etc/wpa_supplicant/wpa_supplicant.conf).

--techiem2 19:12, 3 July 2008 (UTC)

Contents

disabling wifi on startup

What would be the cleanest way to not enable wifi on startup? -- Relet 20:31, 9 July 2008 (UTC)


wpa_supplicant tips

These tips are universally valid on 2007.2, ASU, qtopia, and most likely FSO.

Weird ioctl messages

Ignore them, they seemingly have no effect. eg:

"ioctl[SIOCSIWENCODEEXT]: Operation not supported"

wpa_supplicant times out

eg:

CTRL-EVENT-SCAN-RESULTS 
Trying to associate with 00:1d:5a:e8:00:00 (SSID='2WIRE915' freq=2432 MHz)
Authentication with 00:1d:5a:e8:00:00 timed out.

What you need to do is re-specify the essid manually:

iwconfig eth0 essid "2WIRE915"

And it will then immediately connect and authorise with WPA/TKIP.

default route issues

Due to the way the FR configures its usb0 interface, it creates a default route. You will need to delete this in order to use wifi (or gprs/bluetooth-pan, I imagine):

route del default gw 192.168.0.200

Hope this helps others. Ieatlint 22:53, 12 July 2008 (UTC)

Personal tools

Passphrase issues:

I have noticed that with wireless sometimes it works better to use the password hash in the wpa_supplicant.conf instead of the ascii text. You can use the wpa_passphrase utility (I don't know if this is included in the GTA02 or not as I don't have one) to generate the hash for the passphrase.

techiem2@escape-pod ~ $ wpa_passphrase MYWIFI "my passphrase" 
network={
        ssid="MYWIFI"
        #psk="my passphrase"
        psk=a4c08e767704a66d3fb27d4bf072e2da279f76adc568722b9a6f97964b982620
}

Of course you would probably want to redirect output to the end of your wpa_supplicant.conf (wpa_passphrase MYWIFI "my passphrase">>/etc/wpa_supplicant/wpa_supplicant.conf).

--techiem2 19:12, 3 July 2008 (UTC)

disabling wifi on startup

What would be the cleanest way to not enable wifi on startup? -- Relet 20:31, 9 July 2008 (UTC)