Send it PM by accident...



-------- Doorgestuurd bericht --------
From: 13 2020 <>
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00800000
X-Mozilla-Keys:
Subject: Re: [opensuse-support] Wifi access requiring wifi passwd
To: tomas.kuchta.lists@gmail.com
References: <b655d222-3462-3fc9-2e3d-3e9d6c31fe6e@hccnet.nl> <3255528.sWramgthLY@t520.axxite.internal> <f4abec1e-e0a6-f55e-1b86-064754a7ee67@hccnet.nl> <1655096.FQEl2oAYVF@knurpht-hp> <1580748549.3239.8.camel@gmail.com>
From: Jogchum Reitsma <j.reitsma@hccnet.nl>
Message-ID: <116c461c-7d09-ce80-85a2-7a4be338b4f4@hccnet.nl>
Date: Wed, 5 Feb 2020 10:44:12 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
MIME-Version: 1.0
In-Reply-To: <1580748549.3239.8.camel@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US


Op 03-02-2020 om 17:49 schreef tomas.kuchta.lists@gmail.com:
On Mon, 2020-02-03 at 14:16 +0100, Knurpht-openSUSE wrote:
Op maandag 3 februari 2020 14:07:07 CET schreef Jogchum Reitsma:
Hi Axel,

Op 03-02-2020 om 13:37 schreef Axel Braun:
Hello Joghum,

Am Montag, 3. Februar 2020, 13:22:31 CET schrieb Jogchum Reitsma:
If I log in to my laptop, WiFi connection ask for the WiFi password. How
can I prevent that, and enable WiFi connection for all users on login,
without having to enter passwords?
Open the management menu of the network manager, select the desired
network, and on the 'General settings' Tag you find a point 'All users
are allowed to use this network'.

Is that the setting you are looking for?

HTH
Axel
I tried that already, but the setting is not persistent: as soon as I
leave this dialog, the setting is disabled again.
Maybe I have to do that as root?

regards, Jogchum
No, but you're on the right track. You also have to set the WPA2 passphrase
to
be stored unencrypted. The moment you set it to 'all users' NM should ask you
for the root password. In the past I have seen it happen that the root
password window hid below the NM dialog.


That is correct - once you select "All users may connect to this network" - NM
should ask for root password (in my case it does). It needs the permission to
write the password in plain text to: /etc/NetworkManager/system-
connections/SSID file.

if you cannot get it done with your desktop NM GUI applet - you can also do it
on the command line using: nmtui
That can be run from command line as root using sudo - though it should also ask
for root interactively when it needs it.

Those files are/should be RW for root only.

-Tomas

It is after I set the password in the WiFi security tab that I am asked for the root password, not after selecting "All users may connect to this network" .

But now it works and keeps working the way I wanted it to do - many thanks to you and Axel for setting me on the right track!

regards, Jogchum

may connect to this network"