[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post here if you are a new Porteus member and you're looking for some help.
PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#1 by PierreMDL » 26 May 2024, 18:21

Hello everybody!

I have an old machine I would like to use as a presentation screen. Previously I used Porteus Kiosk successfully. Now I'd like to switch to Porteus Desktop using KDE Connect for remote controlling. However this time I'm struggling with connecting to my home network wirelessly.

Hardware and software
Porteus 5.1, KDE desktop (might change desktop)
OS date and time set (not synchronized)
Home network, router is a HUAWEI DG8245W2
Network card: sudo lspci -knn

Code: Select all

02:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 AGN [8086:088e] (rev 24)
Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN [8086:4060]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
Inferring from this post, my case corresponds to the « example of a card that is working correctly »


Using xpns-tool (root)
1/ Chose Wifi network wizard
2/ Scan found my networks (70/70 signal quality), selected network
3/ Chose to get ip address through dhcp server (home router)
4/ Typed password twice
5/ Checked connection

Code: Select all

Failed to establish connection!
300
gtk-no

Using pns-tool (root)
1/ Pressed enter to stop running network services.
2/ Pressed enter again to start script
3/ Out of eth0, lo, wlan0: Typed wlan0
4/ Chose to obtain ip address through dhcp server (home router)
5/ Confirmedwlan0 is a wifi card
6/ Scan found my networks, typed network name (with and without quotes, didn't matter to the outcome)
7/ Chose to keep wlan0 original mac address
8/ Chose not to enable ad-hoc (to start simple, didn't matter to the outcome)
9/ Chose WPA/WPA2 (correctly guessed)
10/ Entered password
11/ Confirmed settings

Code: Select all

Successfully initialized wpa_supplicant
Line 11: invalid cipher 'XXXX XXXX XXXXXX XXXXX'.
Line 11: failed to parse group 'XXXX XXXX XXXXXX XXXXX'.
Line 13: failed to parse network block.
Failed to read or parse configuration '/tmp/pns-tool/etc/wpa_supplicant.conf'.
: CTRL-EVENT-DSCP-POLICY clear_all
Wait a few seconds for dhcpcd, which needs to acquire all details for your device.
If you have trouble, blablabla
And it just hangs there.
Note that I obfuscated the cipher / group since I don't exactly know the extent of that info.

Extra info
A few points which could be of influence here, and will possibly be my next moves:
- I'm using a pendrive, on fresh starts, unable to save to disk. For my project though, I wouldn't have to persist anything.
- I have two network accesses, one 2.4GHz, the other 5GHz, both with the same ESSID and same password (computers prioritize 5GHz if supported, or best signal, note that that configuration worked with that machine on Porteus Kiosk). Here in Porteus Desktop I have to type / select the network "blindly", without knowing which of both from the scan is selected. I doubt this is the problem, also since changing this configuration will impact my existing network, it will be my last resort.
- Using wired connection : no problem

Result from debug script
Since I can't get it out of the machine now (no connection, no writing), I'll leave it be and work on pasting it later.

Ressources
http://www.porteus.org/component/conten ... rteus.html
Is this an article? I can't find any link to open it?
http://www.porteus.org/info/category/18 ... ction.html
Nothing seems to apply to my case

Searching
wifi, gtk-no, pns-tool, xpns-tool
Didn't help much, I only found one case with some similarity but the person gave up.

Apologies for my dry request style. I have little understanding about what I'm doing. Could you give me a hand or hint me toward some resource?
Last edited by PierreMDL on 28 May 2024, 21:46, edited 1 time in total.

PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#2 by PierreMDL » 28 May 2024, 21:45

Ok it turns out that I did need to be able to persist configuration on disk, apparently.
I enabled a save container using this tutorial:
http://www.porteus.org/component/conten ... d-one.html
That worked

User avatar
Ed_P
Contributor
Contributor
Posts: 8435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#3 by Ed_P » 29 May 2024, 00:21

:%) The normal Home address is http://porteus.org/
Ed

PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#4 by PierreMDL » 29 May 2024, 11:25

Ed_P wrote:
29 May 2024, 00:21
:%) The normal Home address is http://porteus.org/
I'm not quite sure what you mean. I've tried removing the www but surely enough I find the same resources there.

Or do you mean that the preferred url doesn't contain the www? As I understand, all modern browsers, from Firefox which I use, to Chrome, to Edge, to Vivaldi..., will automatically append www before your url for safety. You could see by yourself by hovering on any link on the porteus website, or even googling for it: the results will show www. Some browsers just won't display it in the address bar, but Firefox does, and I copied the urls from there.

User avatar
Ed_P
Contributor
Contributor
Posts: 8435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#5 by Ed_P » 29 May 2024, 17:14

PierreMDL wrote:
29 May 2024, 11:25
I'm not quite sure what you mean. I've tried removing the www but surely enough I find the same resources there.
With your link, which I thought was the Home link based on the highlighted button, I see:
Image

With my Home link I see:
Image

Note the URLs.
Ed

PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#6 by PierreMDL » 29 May 2024, 17:27

Ah indeed I see it now

User avatar
Ed_P
Contributor
Contributor
Posts: 8435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#7 by Ed_P » 29 May 2024, 18:05

Where did you find your http://www.porteus.org/component/content/ link?
Ed

PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#8 by PierreMDL » 29 May 2024, 23:45

The FAQ, the info pages are full of those links

User avatar
Ed_P
Contributor
Contributor
Posts: 8435
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#9 by Ed_P » 30 May 2024, 05:28

My FAQ page looks like this:
Image
and the links look like:
http://www.porteus.org/faq.html#four
http://www.porteus.org/faq.html#five
Ed

PierreMDL
White ninja
White ninja
Posts: 6
Joined: 26 May 2024, 12:38
Distribution: Porteus 5.1 KDE

[SOLVED]Yet another trouble with wireless: "invalid cipher / failed to parse" with pns-tool; "300 gtk-no" with xpns-tool

Post#10 by PierreMDL » 30 May 2024, 09:25

This is the link from the《 How can I boot Porteus from the ISO image file? 》paragraph in the FAQ. Now I'm on my phone but that is the same on desktop.

Post Reply