wireless password problem Dietpi

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
nuxnik

wireless password problem Dietpi

Post by nuxnik »

Hello,

Just starting out with Dietpi

I am having a problem with the router password to set up wireless.

I have been using lines of poetry from a language that has all kinds of accents on vowels and consonants, as well as punctuation, as my passwords

The wireless login fails to properly enter the password, and thus wireless access is declined.

For example if the password is >>Mary hAd a liTtle lamB, Her fLeece as whIte as snoW.<<
When entered without as just the phrase, the login fails on the first space.
with >>Nary <<
When entered framed in single or double quotes, then it fails because the system comes back with either
>>"'Mary hAd a liTtle lamB, Her fLeece as whIte as snoW.'".<<
or
>>""Mary hAd a liTtle lamB, Her fLeece as whIte as snoW."".<<
Which naturally causes a fail.

I have been using this password set up is working with Windows 8, 10, Lubuntu, Arch Linux, Android phones and Iphones, and even older versions of Raspian.

I was wondering if someone can help me:
a) identify the program responsible for the WIFI login
b) identify some other program/service that does not have this issue to replace a)

Thanks.
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: wireless password problem Dietpi

Post by Fourdee »

Hi,

Works fine for me, when entering the key in dietpi-config within quotes (see attached image).

Do you have any non [a-z] or [0-9] chars in the key, other than ,. eg []{}"£$!\/ ?
Attachments
space.png
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
nuxnik

Re: wireless password problem Dietpi

Post by nuxnik »

Hello,

Thanks for responding.

The current password is in the form of >>Hello TheRe, ThinGs are GOOd.<<
(I do put in upper-case per an algorithm)
But this month there are no >>áâèéêóôőűøöúü<< and their upper-case variants.

I have tried entering it with either single quotes or double quotes
Both failed

Without the quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello".

With single quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello TheRe, ThinGs are GOOd.".

With double quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello TheRe, ThinGs are GOOd.".


Note also that the single and double quote error message is identical

I have also tried it with Tenda, TrendNet and TrendGear WIFI dongles which are functional as tested on other laptops running native (not in Virtual Machine) Lubuntu and Windows

Note also, that it doesn't matter if I'm connected directly with HDMI and keyboard/Mouse, or doing it with ssh using eht0 wire.
In both cases, I can't get the wireless up.
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: wireless password problem Dietpi

Post by Fourdee »

nuxnik wrote:Hello,

Thanks for responding.

The current password is in the form of >>Hello TheRe, ThinGs are GOOd.<<
(I do put in upper-case per an algorithm)
But this month there are no >>áâèéêóôőűøöúü<< and their upper-case variants.

I have tried entering it with either single quotes or double quotes
Both failed

Without the quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello".

With single quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello TheRe, ThinGs are GOOd.".

With double quotes I get
Error for wireless request "Set Encode" (8B2A) :
invalid argument "Hello TheRe, ThinGs are GOOd.".


Note also that the single and double quote error message is identical

I have also tried it with Tenda, TrendNet and TrendGear WIFI dongles which are functional as tested on other laptops running native (not in Virtual Machine) Lubuntu and Windows

Note also, that it doesn't matter if I'm connected directly with HDMI and keyboard/Mouse, or doing it with ssh using eht0 wire.
In both cases, I can't get the wireless up.
Hi,

Thanks for the additional tests and information.

Lets check your network interfaces file, please paste the results of the following (hide the wifi SSID, or, change the wifi password slightly, before posting)

Code: Select all

cat /etc/network/interfaces
Also, what encryption are you using on the router. eg: wpa2-psk, WEP? I'am just wondering if wireless-key is not playing ball (if your router is on WEP).
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply