Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wpa_Supplicant error at the starting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sqc
n00b
n00b


Joined: 03 Nov 2023
Posts: 12
Location: France

PostPosted: Sat Nov 04, 2023 11:56 am    Post subject: Wpa_Supplicant error at the starting Reply with quote

Hi guys,
It's my first gentoo installation and have a problem with wpa_supplicant when i strart it with :
Code:
/etc/init.d/wpa_supplicant start


like :

Code:
Line 11 : invalid cipher 'CCMP TKIP'.
Line 11 : failed to parse group 'CCMP TKIP'
[...] (the same for line 12 and 14)
Failed to read or parse configuration 'etc/wpa_supplicant/wpa_supplicant.conf.
: CTR-EVENT-DSCP-POLICY clea_all


Can you help me ?


Last edited by sqc on Sat Nov 04, 2023 1:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Sat Nov 04, 2023 11:58 am    Post subject: Re: Wpa_Supplicant error at the beginning Reply with quote

sqc wrote:

Code:
Failed to read or parse configuration 'etc/wpa_supplicant/wpa_supplicant.conf.



List the content of that file named in the error message please.
Back to top
View user's profile Send private message
sqc
n00b
n00b


Joined: 03 Nov 2023
Posts: 12
Location: France

PostPosted: Sat Nov 04, 2023 12:13 pm    Post subject: Reply with quote

Hi !
It's my .conf file :

Code:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=0
#update_config=1
network={
ssid="Livebox-8790"
psk="R4G6"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
priority=5 }
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Sat Nov 04, 2023 1:08 pm    Post subject: Reply with quote

sqc wrote:
Hi !
It's my .conf file :

Code:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=0
#update_config=1
network={
ssid="Livebox-8790"
psk="R4G6"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
priority=5 }


I would try to remove all lines except below in network {...} and let wpa_supplicant auto-configure the rest.

  • ssid="Livebox-8790"
  • scan_ssid=1
  • key_mgmt=WPA-PSK
  • psk="R4G6"

Are you sure you are using WPA-PSK and that "R4G6" is really the correct password? I understood it needs to be at least 8 characters.
Back to top
View user's profile Send private message
sqc
n00b
n00b


Joined: 03 Nov 2023
Posts: 12
Location: France

PostPosted: Sat Nov 04, 2023 1:19 pm    Post subject: Reply with quote

Well, I'll try that. For the password, I didn't pay attention to the number of characters. I wanted to indicate that it's upper case letters and numbers.
Back to top
View user's profile Send private message
sqc
n00b
n00b


Joined: 03 Nov 2023
Posts: 12
Location: France

PostPosted: Sat Nov 04, 2023 1:36 pm    Post subject: Reply with quote

No change. It's the line containing group=CCMP TKIP that's the problem, then the next one with CCMP TKIP.

To have chating on the IRC room around this problem. A user advised me to add TKIP in:
Code:
/etc/portage/package.use/wpa_supplicant
.

But I also get an error when I run the command:
Code:
emerge --update --deep --newuse @world
I get an error like: Failed to emerge sys-apps/pcsc-lite-2.0.0. I wonder if it's because I'm not connected to any network.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2968

PostPosted: Sat Nov 04, 2023 2:17 pm    Post subject: Reply with quote

sqc wrote:
No change. It's the line containing group=CCMP TKIP that's the problem, then the next one with CCMP TKIP.

Did you try my advice to remove all unnecessary lines in your conf file?
sqc wrote:

But I also get an error when I run the command:
Code:
emerge --update --deep --newuse @world
I get an error like: Failed to emerge sys-apps/pcsc-lite-2.0.0. I wonder if it's because I'm not connected to any network.

Of course, emerge requires network connection to fetch the source files.

Can you solve one problem first?
Back to top
View user's profile Send private message
sqc
n00b
n00b


Joined: 03 Nov 2023
Posts: 12
Location: France

PostPosted: Sat Nov 04, 2023 3:03 pm    Post subject: Reply with quote

Yes, I took your advice. Now I can run wpa_supplicant.
But when it tries to connect to the wifi network, this error appears:
Code:
wlan0 : SME : Authentification request to the driver failed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum