On Dec 11, 2013, at 22:50, Philip Guenther <[email protected]> wrote:

> On Wed, 11 Dec 2013, jordon wrote:
>> The 38 uc/lc/num/sym password works on my apple devices as well as my 
>> work laptop (Win7), Nest thermostat (yes, it did suck entering it!) and 
>> a Nintendo 3DS, so I don?t think theres anything Apple-specific here.  
>> I was just hoping for a ?Oh, we don?t allow a ?^? or ?$? in the 
>> hostname.if file? or something.  If there?s no obvious reason why this 
>> shouldn?t work, I will start breaking it down to see if it is a length 
>> issue or a certain character that is breaking it.
> 
> The hostname.if format doesn't support wpakeys containing tabs or multiple 
> consecutive whitespace.  The file is read with 'read' (which is why tabs 
> and multiple spaces are conflated into a single space) and a commmand is 
> built to pass to eval, so characters special to the shell must be quoted 
> approrpriately.
> 
> 
> Philip
> 

I just confirmed that the problem is the dollar sign character ($).
If there is a dollar sign in the wpa key, openbsd cannot connect to the 
network.  I tried putting the wpakey in quotes and escaping the character with 
a backslash.  Neither worked.

Is there some workaround for this, or is the solution to not have a dollar sign 
in your wpa key?

Jordon

Reply via email to