Active Topics

 


Reply
Thread Tools
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#11
Thanks for fixing this; you're the first I've seen anyone actually report success with hex keys, though the problem has been discussed at least twice.

You might consider putting a description of the gconf key(s) to be changed in the wiki...
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#12
I'm working on a write-up with screen shots. I'll read up on the Wiki - I have never written a Wiki - but I need to learn. Please stand by. Busy week at work this week.

Steve
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#13
A follow-up question to something Brontide mentioned a few posts back:

IIRC, the /system tree can only be written to as root... are you running as root, that might explain why you can't update those fields.
I was able to modify those fields with gconf-editor. But, his comment reminded me that I was wondering about how to be root while running a gui-app such as gconf-editor. Is it enough to just gain root from Xterm and then fire up the gui-app, or does one need to do something at boot to be root for the entire NIT session? Do I have to launch the gui-app from xterm while I am root?

Tried searching the wiki and the forums for "run GUI applications as root" and variations but no good hits.

TIA as always.

Steve
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#14
You'd have to gainroot and then start the app from that (root) shell. So:
Code:
sudo gainroot
gconf-editor
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#15
Hi;

Benson, Brontide, or any Senior Senor and/or Senorita;

I have the wiki how-to almost ready. But, I can't find any instructions on the InternetTabletTalk wiki on how to add a new wiki article. (I've never added or edited a wiki entry before).

Also, I have several screens shots I'd like to include. I'm still confused about how to embed images, either into the wiki or a forum post. Do I have to upload them to a server that will be available to the readers, or can I store them somehow on the ITT system?

Here is the rough draft of the howto:
-----------
HOWTO for connecting an N810 via WPA-PSK when you know the 64-hexit key but not the passphrase

Some background from WikiPedia: (http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access)

"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 wireless access point."

Some chipset/Driver/UserInterface combinations understand that when one enters a string of 64 hexits (the PSK that is derived from an 8 to 63 ASCII character passphrase) it is not an ASCII string, and those drivers just put the 64 hexits into the PSK field without applying the PBKDF2(passphrase, SSID, 4096, 256) (more info here: http://www.xs4all.nl/~rjoris/wpapsk.html) .

However, many other chipset/driver combos, such as Linksys, the Nokia, the HP iPaq210, don't try to tell if the entry one makes when the dialog box asks "enter your pre-shared key" is the 8 to 63 character passphrase or the actual 64 hexit PSK; they expect only a passphrase, and will not accept anything longer than 63 characters. This is not so much a "bug" as it is an oversight on the part of the coders. Furthermore, they confuse the user by prompting them for a "pre-shared key", when what they really expect is an 8-63 character ASCII string.

If you have the 64-hexit PSK for an access point that is configured for WPA-PSK, you can use the gconf-editor tool to poke in those values. BTW, don't waste your time trying to "go backwards" from the PSK to the passphrase. This is complex. More information here: http://www.renderlab.net/projects/WPA-tables/

You might wonder " Why did he go to all this trouble? Just re-do the AP with a new passphrase and this time don't lose it?" . Good question - sadly, we already have over a thousand APs configured with this SSID and PSK, and until we roll out WCS/WiSM later this year, and then 802.1x, we are stuck with our current world. Our PSK was manually selected and was not generated with PBKDF2, so we never had a passphrase to begin with.

I was able to convert our 64-hexit PSK to 32, 8-bit decimal integers, and poke them into my n810 with gconf-editor. I did the conversion by hand with the Windows calculator, but you can probably find on-line converters for this. I first tried to use gconftool-2 to write the values, but it would not work, and kept giving errors I could not figure out. However, gconftool-2 is great for reading and printing out the various "registry" entries. The section of interest can be seen by running:

gconftool-2 -R /system/osso/connectivity/IAP
As I learned more about the tool, I realized that EAP_wpa_preshared_key was a 'value'. So, I tried this:

gconftool-2 --get /system/osso/connectivity/IAP/theParticularNetwork/EAP_wpa_preshared_key
and it printed out just the PSK value; the format looks like this:
[123,123,123, ... 123]
gconf-editor is available via the Nokia Application Manager - "browse all" available applications and pick it from the list. Seemed to install OK, no problems with dependencies. I'm running:
OS2008 Version: 2.2007.51-3
The hardest part was struggling with the maddening bug in the editor. I finally figured out that instead of hitting the second "OK" after editing one of the integers, if I clicked on the "title bar" at the top of the editing window, and then clicked "Cancel", it would accept the edited value without reverting to the unedited integer. It does not matter if the editor is launched in user mode or with root privilege - same maddening problem.

Here are a few screen shots that illustrate the frustrating process of manually entering the 32 separate 8-bit integer values.
<insert screen shots here>

After getting all the values in, voila! I was able to connect! Happy, Happy, Joy Joy!
----------------

TIA,

Steve

Last edited by stevecrye; 2008-06-10 at 22:08.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#16
I'm not sure if it's the only way, but I just edit a page that it should be linked from (the main page, for most HOWTOs), and add a link. Then follow the link to make the page. Dunno about images.
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#17
OK,

I have created my first wiki! Yaaay.

It seems to be ok, but when I save it, the wiki editor always tells me

Bad title
From Internet Tablet Talk
Jump to:navigation, search

The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters which cannot be used in titles.
Anyhoo, here is the link to the new wiki:
http://www.internettablettalk.com/wi..._no_passphrase

Regarding images - I thought I saw a thread where you posted a screenshot? Might have been someone else.
Steve

Last edited by stevecrye; 2008-06-10 at 22:55. Reason: Typo, salutation
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:59.