Wifi configuration with WPA2-PSK

Raspberry Pi related support

Wifi configuration with WPA2-PSK

Postby Fif91 » 18 Mar 2017, 19:36

Hello,
I am not succeed in configuring wireless network from interface.
The raspberry pi crashed.

I am using a WPA2-PSK encryption, and my AP is hidden.

Here is the generated file from interface
Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
AutoWired=yes
ExcludeAuto=no
IP=static
Address=('192.168.0.18/24')
Gateway='192.168.0.1'
DNS=('8.8.8.8' '8.8.4.4')
WPAConfigSection=(
    'ssid="My_ssid"'
    'scan_ssid=1'
    'psk="My secret phrase"'
    'key_mgmt=WPA-PSK'
    'proto=WPA'
    'group=TKIP'
    'pairwise=TKIP'
    'priority=3'
)


I try to change some keys :
'key_mgmt=WPA-PSK'
'proto=RSN'
and delete the group and pairwise key

But it does not work.

Note that, wifi is working out-of-the box on volumio.

Some helps will be welcome. :-)
Fif91
 
Posts: 12
Joined: 04 Mar 2017, 16:12

Re: Wifi configuration with WPA2-PSK

Postby Fif91 » 19 Mar 2017, 12:57

I have just tried to connect to my guest network.
Setting the wifi from the interface, here is what appears in journalctl.
Sorry for the photo quality.

Image

After, the raspberry pi freezed, and crashed.
After reboot, i noticed the netctl profile is well created in /etc/netctl.
I need to remove it to have internet connection.

Note, my AP uses channel 13, i'm FR.
And the AP is not visible from iwlist, even if i updated the wireless-regdb package and /etc/conf.d/wireless-regdom file.

Debug info
Fif91
 
Posts: 12
Joined: 04 Mar 2017, 16:12

Re: Wifi configuration with WPA2-PSK

Postby hondagx35 » 19 Mar 2017, 13:46

Hi Fif91,

please try the new test image from here.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Wifi configuration with WPA2-PSK

Postby Fif91 » 22 Apr 2017, 18:18

Hi
It seems to work with the new image.
I have only to update the /etc/conf.d/wireless-regdom file
Fif91
 
Posts: 12
Joined: 04 Mar 2017, 16:12

Re: Wifi configuration with WPA2-PSK

Postby hondagx35 » 22 Apr 2017, 22:02

Hi Fif91,

thank you for your report.
The regdom settings will be made a config option with next image.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 11 guests