Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkManager/wpasupplicant: Ad-Hoc connections don't works "Activation: (wifi) Ad-Hoc network creation took too long, failing activation" #283

Open
qrp73 opened this issue Jul 30, 2024 · 0 comments

Comments

@qrp73
Copy link

qrp73 commented Jul 30, 2024

Tried to create ad-hoc connection based on this instruction and this one, but it don't works on raspi-os bookworm.

Also tried some tweaks from other manuals with no result.

Steps to reproduce:

  1. Open terminal
  2. sudo nano /etc/NetworkManager/system-connections/ADEL.nmconnection and put the following content:
[connection]
id=ADEL
uuid=21058ee7-2cf5-8df5-baa4-87d4dca5ea55
type=wifi
autoconnect=false
interface-name=wlan0

[wifi]
band=bg
channel=7
mode=adhoc
mtu=1532
ssid=ADEL

[wifi-security]
group=ccmp;
key-mgmt=wpa-psk
pairwise=ccmp;
proto=rsn;
psk=1234567890

[ipv4]
address1=192.168.2.1/24
method=manual

[ipv6]
addr-gen-mode=stable-privacy
method=disabled

[proxy]
  1. Press Ctrl+O, Enter and Ctrl+X to save and exit
  2. sudo chmod 600 /etc/NetworkManager/system-connections/ADEL.nmconnection
  3. sudo systemctl restart NetworkManager
  4. sudo nmcli radio wifi on
  5. sudo nmcli connection up ADEL

Expected result: ADEL connection is up

Actual result:

Error: Connection activation failed: 802.1X supplicant took too long to authenticate
Hint: use 'journalctl -xe NM_CONNECTION=7e435e77-ebe3-4348-b96f-f6c42dd69e20 + NM_DEVICE=wlan0' to get more details.

log:

[1722298111.8112] device (wlan0): Activation: starting connection 'ADEL' (7e435e77-ebe3-4348-b96f-f6c42dd69e20)
Jul 30 03:08:31 raspi NetworkManager[321048]: <info>  [1722298111.8116] device (wlan0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3444] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3451] device (wlan0): Activation: (wifi) access point 'ADEL' has security, but secrets are required.
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3451] device (wlan0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3473] device (wlan0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3478] device (wlan0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 30 03:08:32 raspi NetworkManager[321048]: <info>  [1722298112.3485] device (wlan0): Activation: (wifi) connection 'ADEL' has security, and secrets exist.  No new secrets needed.
Jul 30 03:08:33 raspi NetworkManager[321048]: <info>  [1722298113.9218] device (wlan0): supplicant interface state: inactive -> disconnected
Jul 30 03:08:55 raspi NetworkManager[321048]: <info>  [1722298135.5235] device (wlan0): supplicant interface state: disconnected -> scanning
Jul 30 03:08:57 raspi NetworkManager[321048]: <warn>  [1722298137.3394] device (wlan0): Activation: (wifi) Ad-Hoc network creation took too long, failing activation
Jul 30 03:08:57 raspi NetworkManager[321048]: <info>  [1722298137.3396] device (wlan0): state change: config -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
Jul 30 03:08:57 raspi NetworkManager[321048]: <warn>  [1722298137.3415] device (wlan0): Activation: failed for connection 'ADEL'
Jul 30 03:08:57 raspi NetworkManager[321048]: <info>  [1722298137.3425] device (wlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
@qrp73 qrp73 changed the title NetworkManager/wpasupplicant: Ad-Hoc connections don't works NetworkManager/wpasupplicant: Ad-Hoc connections don't works "Activation: (wifi) Ad-Hoc network creation took too long, failing activation" Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant