Posts: 22
Craigus
Joined: 01 Nov 2007
#1
First, let me thank you for creating antiX - I love it already (only just installed on a Toshiba Satellite Pro 4300).

I get this error when attempting to enter my wpa passphrase:

Image

The SSID and passphrase are correct.

Any ideas?
Posts: 253
dieselbenz
Joined: 28 Sep 2007
#2
I remember seeing a WPA-related service in the list -- maybe use (forget exactly what it is called, don't have my antiX-computer at work today) sysvconfig (or something like that) and see if that service is selected?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
The image you posted doesn't open.
Posts: 253
dieselbenz
Joined: 28 Sep 2007
#4
anticapitalista wrote:The image you posted doesn't open.
Did for me. It is an error box that says Failed to generate encryption key. Please check the SSID and passphrase values.
UnicornRider
Posts: 41
UnicornRider
Joined: 24 Oct 2007
#5
dieselbenz wrote: Did for me. It is an error box that says ...
... while the (assumedly related) terminal in the background shows:

Code: Select all

line 0: syntax error near unexpected token '`)'
line 0: `/usr/bin/wpa_passphrase [rest unreadable]
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#6
I have to ask:

Does your router support WPA or is it an older model with only WEP?

eriefisher
Posts: 22
Craigus
Joined: 01 Nov 2007
#7
Thanks for the replies.

The image is:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://i6.tinypic.com/6gb7rsx.jpg"
linktext was:"http://i6.tinypic.com/6gb7rsx.jpg"
====================================


My router and wireless card do support WPA and work fine with Ubuntu, XP, Puppy and Mepis 6.0.

I'm wondering if the error is occurring because my wpa key contains the characters (){}[] - is that likely to cause the error:
ine 0: syntax error near unexpected token '`)'
If so, is there any work around ? I cannot easily change the key, as the same key is used at a number of my friends' houses (so that any of our machines will work anywhere).

Edit: I should also note that WPA works fine if I manually configure it, and I am posting from the laptop.
Posts: 22
Craigus
Joined: 01 Nov 2007
#8
Still having issues with this. I have written a script to associate my wifi card with the router and do dhcp, and that works, but I'm wondering if I can simply edit Network Assistant's files and hand-enter my wpa key. Does anyone know where that is ?
oldhoghead
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#9
When you enter your passphrase, you must enclose the passphrase in quotes, otherwise you will get the failed to generate passkey error:

example:
"mysecretpassphrase"

cheers oldhoghead
Posts: 22
Craigus
Joined: 01 Nov 2007
#10
That was it - thanks very much, oldhoghead __{{emoticon}}__

Now the system connects and obtains an IP at boot time - excellent __{{emoticon}}__
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#11
Glad that you got it working, antiX is a great distro, and the people on this forum and Mepis really make the difference. There is always someone willing to help.


cheers
oldhoghead