Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread Marek Lindner
On Friday, 5. September 2008 05:33:59 Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...

We are not that cruel.  :-)

Recently, I added a password saving feature to settings. It will save all 
passwords after a successful connection attempt to a protected network in a 
file. This file (/etc/wifi.conf) is human readable. You could add a section 
for your network there. The format looks like that:

[00:11:22:33:44:55] // your networks bssid
password = 012345 // your password
description = Openmoko // essid (optional)

I guess it will take 1-2 days until this feature is through our queue and ends 
up in Om2008.8-update.

HTH,
Marek



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Thanks, Zack.

Yes, I had done that too (although I didn't put it in a script like  
you - I like your script, you bring down usb0 to clean up the routing  
table and call udhcpc eth0 again after ifup eth0 to make sure you get  
an IP).

However, I would like to see the GUI doing the right thing.  
Yesterday I did bite the bullet and copied my random-gen password byte  
by byte into the password field while looking at it displayed in my  
PC. It took me a couple of minutes to do it - you can't see what  
you're inputting, so it takes time to do it right.

But the frustrating part is that later I switched off wifi in the GUI,  
and when I turned it back on, IT ASKED FOR THE PASSWORD AGAIN  
RRGGGHHH!! Obviously, I won't go through that again.

So, now I have 3 complaints/wishes for the wifi gui:
1 - always allow pasting into password field;
2 - an option to allow visual feedback (see the actual chars) input  
into the password field;
3 - store the already input password!!!

Should I send this to another list to get developer attention?

Citando Zack Mollusc [EMAIL PROTECTED]:

 Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support




 Hi, I can connect to my wpa with my   
 /etc/wpa_supplicant/wpa_supplicant.conf  
 http://wiki.openmoko.org/wiki/GTA02_WLAN#Sample_wpa_supplicant.conf 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
 }




 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.




 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Oops! Sorry Marek, I missed your email before I answered Zack's. :(

So, password storing is there - great!!
A big *thank you* for that and for telling where the config file is. :)
Any chance that GUI pasting could be implemented in the near future?  
IMHO it's the last detail preventing a security-conscious non-geek  
from using the wifi in Neo/OM. If you have to go terminal, then  
something isn't quite ready yet. ;D

Citando Marek Lindner [EMAIL PROTECTED]:

 On Friday, 5. September 2008 05:33:59 Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...

 We are not that cruel.  :-)

 Recently, I added a password saving feature to settings. It will save all
 passwords after a successful connection attempt to a protected network in a
 file. This file (/etc/wifi.conf) is human readable. You could add a section
 for your network there. The format looks like that:

 [00:11:22:33:44:55] // your networks bssid
 password = 012345 // your password
 description = Openmoko // essid (optional)

 I guess it will take 1-2 days until this feature is through our  
 queue and ends
 up in Om2008.8-update.

 HTH,
 Marek



 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread Marek Lindner
On Friday, 5. September 2008 17:36:08 [EMAIL PROTECTED] wrote:
 Oops! Sorry Marek, I missed your email before I answered Zack's. :(

 So, password storing is there - great!!
 A big *thank you* for that and for telling where the config file is. :)

No problem.  :-)


 Any chance that GUI pasting could be implemented in the near future?

Well, I don't know what your real problem is at the moment. How do you intend 
to copy from and why it does not work for you ?


Marek

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Citando Marek Lindner [EMAIL PROTECTED]:

 Any chance that GUI pasting could be implemented in the near future?

 Well, I don't know what your real problem is at the moment. How do you intend
 to copy from and why it does not work for you ?

Well, my problem is just a normal use-case: a regular user is not  
expected to go edit a configuration file when there is a GUI to do the  
job.
So, when a user has a pretty long and complex password, it is a big  
pain to introduce it letter-by-letter in the illume UI via keyboard  
when a simple ctrl-V or shift-ins would do the trick (copied from  
a file opened in the qtopia text editor or something like it).  
Inputting a 63 character password with all kinds of random-generated  
chars (including  / @ ^ ~ etc.) is a trial-and-error task (because  
there is no visual feedback) and also very time-consuming (because of  
all the keyboard shifting) that could simply be avoided.
It is not a big problem, but it is annoying as hell to a newcomer.
After all, openmoko is about a grand new friendly user experience,  
right? free your phone?... ;)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread Marek Lindner
On Friday, 5. September 2008 22:05:22 [EMAIL PROTECTED] wrote:
  Well, I don't know what your real problem is at the moment. How do you
  intend to copy from and why it does not work for you ?

 Well, my problem is just a normal use-case: a regular user is not
 expected to go edit a configuration file when there is a GUI to do the
 job.

You misunderstood my question. Let me clarify:
Please provide a step by step instruction on how you copy  paste your 
password into the field and outline at which point its failing. 
It is hard to fix a bug that you don't know how to reproduce.  :-)


Marek

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread vasco . nevoa
Citando Marek Lindner [EMAIL PROTECTED]:

 On Friday, 5. September 2008 22:05:22 [EMAIL PROTECTED] wrote:
  Well, I don't know what your real problem is at the moment. How do you
  intend to copy from and why it does not work for you ?

 Well, my problem is just a normal use-case: a regular user is not
 expected to go edit a configuration file when there is a GUI to do the
 job.

 You misunderstood my question. Let me clarify:
 Please provide a step by step instruction on how you copy  paste your
 password into the field and outline at which point its failing.
 It is hard to fix a bug that you don't know how to reproduce.  :-)
Ah. Ok. :)
Software: OM2008.8-update, with today's opkg upgrade of /testing feed.

My WPA key is in a text file in my home dir.

Use case A (normal):
1 - launch a GUI text editor(like qtopia notes) and open the key file;
2 - select the relevant text (ctrl-a) and try to copy it with  
ctrl-c or ctrl-ins on the terminal-like keyboard;
3 - call the settings via the illume menu (already opened and  
running, just select it from drop-down list);
4 - pick wifi
5 - pick my WPA network;
6 - when prompted for password, tap the field to establish focus and  
try to paste the text copied from the terminal: keyboard ctrl-v or  
shift-ins won't do anything.

Use case B (desperate):
1 - do cat key.txt in a om terminal;
2 - select the relevant key text by dragging over the text;
3 - continue from step 3 of use case A.

None of these do anything visible to the password field.



 Marek

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-05 Thread Zack Mollusc
[EMAIL PROTECTED] wrote:
 Thanks, Zack.

 Yes, I had done that too (although I didn't put it in a script like  
 you - I like your script, you bring down usb0 to clean up the routing  
 table and call udhcpc eth0 again after ifup eth0 to make sure you get  
 an IP).

 However, I would like to see the GUI doing the right thing.  
 Yesterday I did bite the bullet and copied my random-gen password byte  
 by byte into the password field while looking at it displayed in my  
 PC. It took me a couple of minutes to do it - you can't see what  
 you're inputting, so it takes time to do it right.

 But the frustrating part is that later I switched off wifi in the GUI,  
 and when I turned it back on, IT ASKED FOR THE PASSWORD AGAIN  
 RRGGGHHH!! Obviously, I won't go through that again.

 So, now I have 3 complaints/wishes for the wifi gui:
 1 - always allow pasting into password field;
 2 - an option to allow visual feedback (see the actual chars) input  
 into the password field;
 3 - store the already input password!!!

 Should I send this to another list to get developer attention?

 Citando Zack Mollusc [EMAIL PROTECTED]:

   
 Vasco Névoa wrote:
 
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to
 input it by hand into Neo's GUI?!...


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support



   
 Hi, I can connect to my wpa with my   
 /etc/wpa_supplicant/wpa_supplicant.conf  
 http://wiki.openmoko.org/wiki/GTA02_WLAN#Sample_wpa_supplicant.conf 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
 }




 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.




 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support

 


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


   
Hi Vasco,
I think the problem is being worked on, but I can't find the email i
read it in.
 I too typed in a 63 digit password without being able to see it :-) I
only did it once then went and found a way round it.




___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [2008.8] [wifi] Settings / Wifi / password field does not allow pasting

2008-09-04 Thread Zack Mollusc
Vasco Névoa wrote:
 I have a 63 character random-generated password for my WPA network.
 The GUI asks for the password but apparently does not allow me to use 
 copy-paste to insert it.
 Is there any other simple way to do this? Surely you don't expect me to 
 input it by hand into Neo's GUI?!...


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


   

Hi, I can connect to my wpa with my  /etc/wpa_supplicant/wpa_supplicant.conf 
http://wiki.openmoko.org/wiki/GTA02_WLAN#Sample_wpa_supplicant.conf 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
}




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.
 



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support