maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS??? (https://talk.maemo.org/showthread.php?t=18929)

microd08 2008-04-09 17:20

problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
i tried connecting to a secured WiFi connection at work, and the key there is 64 characters long. when i typed on my n810 63 characters it diidnt let me write any more. it says <max number of characters reached>. omg that is annoying! any way of sorting it? I AM 100% sure i wrote 63 i checked like 10 times and even tried later AGAIN and still the same! is this issue with all the nokia internet tablets or just mine, i rang the customer service and they said it cant be fixed and i will have to use only normal WiFi networks that only need about 13 digit long keys.


SOMEONE HELP!!

geneven 2008-04-09 17:31

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Type the characters in Leafpad, then copy and paste them?

qwerty12 2008-04-09 17:33

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
make a lot of time and generate gconf entries

Texrat 2008-04-09 17:47

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Open question: should this be submitted to maemo bugzilla as a feature enhancement request?

Anyway, 64 characters... holy cow. :eek:

sjgadsby 2008-04-09 18:00

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by Texrat (Post 167493)
Open question: should this be submitted to maemo bugzilla as a feature enhancement request?

Possibly, yes. According to this page:
Quote:

Some WPA-PSK user interfaces (such as the one in Windows XP) allows the 256-bit WPA pre-shared key to be directly provided as 64 hexadecimal characters.
I just tried entering such a key on my OS2008 tablet, and it does indeed only permit up to 63 characters.

brontide 2008-04-09 18:05

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
You can see if it's a GUI bug by using gconftool-2 from a command line. Save the network with the 63 byte key and then edit the settings at the commandline. You can start by examining the current stuff.

gconftool-2 -R /system/osso/connectivity/IAP/

It will take some playing, but you should be able to add the last digit to the key and then see if it will connect.

brontide 2008-04-09 18:09

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Hmm... looking at this...

I think there is a disconnect here. You are trying to directly enter the HEX key, the dialog box accepts a WPA-PSK passphrase... they are different. Even more reason to save the network and just replace the key using gconftool.

brontide 2008-04-09 18:14

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Looks like Nokia is doing it correctly. You will need either the actual passphrase or use gconftool-2 to manually enter the key as a int list.

Quote:

A wireless network with WPA-PSK encryption requires a passphrase (the pre-shared key) to be entered to get access to the network. Most wireless drivers accept the passphrase as a string of at most 63 characters, and internally convert the passphrase to a 256-bit key. However, some software also allows the key to be entered directly in the form of 64 hexadecimal digits. It is therefore occasionally useful to be able to calculate the 64-digit hexadecimal key that correspons to a given passphrase.

luca 2008-04-09 19:38

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by Texrat (Post 167493)
Anyway, 64 characters... holy cow. :eek:

While WPA is supposedly not currently broken, I've read about some possible attacks against it and surely a dictionary attack would work, so the recommendation is to use a passphrase of at least 60 completely random characters.
It's not that you have to type them like a normal password, so I don't see the problem.

scumgrief 2008-04-09 20:05

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by luca (Post 167574)
While WPA is supposedly not currently broken, I've read about some possible attacks against it and surely a dictionary attack would work, so the recommendation is to use a passphrase of at least 60 completely random characters.
It's not that you have to type them like a normal password, so I don't see the problem.

We all know WPA is better than WEP though, took me 8 mins last time...

Texrat 2008-04-09 22:38

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by luca (Post 167574)
It's not that you have to type them like a normal password, so I don't see the problem.

I didn't say I saw a problem, just expressing surprise. ;)

Anyway, thanks to brontide for digging in and providing helpful info.

RIP 2008-04-10 11:01

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
I have the same problem :(

TA-t3 2008-04-10 11:15

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
This is a WPA-only problem I take it? I use a 64-char code in one of my configured WEP settings.

RIP 2008-04-10 11:18

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
I found something on wikipedia :)

Security in pre-shared key mode

Pre-shared key mode (PSK, also known as personal mode) is designed for home and small office networks that don't require the complexity of an 802.1X authentication server. Each user must enter a passphrase to access the network. The passphrase may be from 8 to 63 printable ASCII characters or 64 hexadecimal digits (256 bits).[2] If you choose to use the ASCII characters, a hash function reduces it from 504 bits (63 characters * 8 bits/character) to 256 bits (using also the SSID). The passphrase may be stored on the user's computer at their discretion under most operating systems to avoid re-entry. The passphrase must remain stored in the Wi-Fi access point.

http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access

Benson 2008-04-10 16:48

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
So... the solution is to brute-force reverse it to some <=63 char string which hashes to the hex string they gave you, and enter that... :p

It shouldn't be to hard to whip something up with gxmessage and gconftool, but I don't have a WPA net to try it on, so someone else do it.

TA-t3 2008-04-11 08:55

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
I vaguely remember an earlier thread about hex vs. ascii. In one of the final postings there was a link to a website (possibly made by one of the posters) which would convert from ascii to hex. And possibly more. sorry I don't have a link to the thread, but searching should do it.

brontide 2008-04-11 12:52

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by TA-t3 (Post 168323)
I vaguely remember an earlier thread about hex vs. ascii. In one of the final postings there was a link to a website (possibly made by one of the posters) which would convert from ascii to hex. And possibly more. sorry I don't have a link to the thread, but searching should do it.

Maybe that would work for WEP, but WPA-PSK uses a secure one way hash function. It should be impossible ( for non NSA folks ) to brute force the SHA1 hash used.

Benson 2008-04-11 13:26

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Hah! people besides the NSA have botnets; it's just not economically sane for them to try cracking a single WAP.

luca 2008-04-11 16:58

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by brontide (Post 168378)
Maybe that would work for WEP, but WPA-PSK uses a secure one way hash function. It should be impossible ( for non NSA folks ) to brute force the SHA1 hash used.

unless you're using a passphrase that can be broken with a dictionary attack, hence the recommendation to use a very long (possibly the maximum allowed, i.e. 63 chars) passphrase made up of random characters.

brontide 2008-04-11 17:43

Re: problem with typing 64 digit WiFi key! problem with ALL NOKIA INTERNET TABLETS???
 
Quote:

Originally Posted by luca (Post 168481)
unless you're using a passphrase that can be broken with a dictionary attack

http://www.renderlab.net/projects/WPA-tables/


All times are GMT. The time now is 03:24.

vBulletin® Version 3.8.8