![]() |
Re: desperate for help with gconftool-2
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... |
Re: desperate for help with gconftool-2
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 |
Re: desperate for help with gconftool-2
A follow-up question to something Brontide mentioned a few posts back:
Quote:
Tried searching the wiki and the forums for "run GUI applications as root" and variations but no good hits. TIA as always. Steve |
Re: desperate for help with gconftool-2
You'd have to gainroot and then start the app from that (root) shell. So:
Code:
sudo gainroot |
Re: desperate for help with gconftool-2
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: Quote:
Quote:
Quote:
Quote:
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 |
Re: desperate for help with gconftool-2
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.
|
Re: desperate for help with gconftool-2
OK,
I have created my first wiki! Yaaay. It seems to be ok, but when I save it, the wiki editor always tells me Quote:
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 |
| All times are GMT. The time now is 15:10. |
vBulletin® Version 3.8.8