View previous topic :: View next topic |
Author |
Message |
sqc n00b
Joined: 03 Nov 2023 Posts: 12 Location: France
|
Posted: Sat Nov 04, 2023 11:56 am Post subject: Wpa_Supplicant error at the starting |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sat Nov 04, 2023 11:58 am Post subject: Re: Wpa_Supplicant error at the beginning |
|
|
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 |
|
|
sqc n00b
Joined: 03 Nov 2023 Posts: 12 Location: France
|
Posted: Sat Nov 04, 2023 12:13 pm Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sat Nov 04, 2023 1:08 pm Post subject: |
|
|
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 |
|
|
sqc n00b
Joined: 03 Nov 2023 Posts: 12 Location: France
|
Posted: Sat Nov 04, 2023 1:19 pm Post subject: |
|
|
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 |
|
|
sqc n00b
Joined: 03 Nov 2023 Posts: 12 Location: France
|
Posted: Sat Nov 04, 2023 1:36 pm Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2968
|
Posted: Sat Nov 04, 2023 2:17 pm Post subject: |
|
|
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 |
|
|
sqc n00b
Joined: 03 Nov 2023 Posts: 12 Location: France
|
Posted: Sat Nov 04, 2023 3:03 pm Post subject: |
|
|
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 |
|
|
|