You are not logged in.

#1 2020-10-01 14:11:57

ajatashatru
Member
Registered: 2020-05-14
Posts: 8

Connecting to wifi

Greetings!
Trying to connect to wifi with SSID and passphrase. Created a config file for this router at /etc/wpa_supplicant/mywifirouter.conf
and added the folowing
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
update_config=1
Then I tried to connect via:
$sudo wpa_supplicant -B -i <wifi iface name goes here> -c /etc/wpa_supplucant/mywifirouter.conf

And I got errornl89211: kernel reports : Match already configired:
ctrl_iface exists and seems to be in use - cannot override it
There's a file /run/wpa_supplicant/<iface name>
---
Don't have internet on my laptop now. Can I delete this and run wpa_supplicant again? How to connect with SSID and passphrase? Don't have networkmanager/wifi-menu. Any tutorial for doing this?
Stay safe!
Thanks in advance.

Offline

#2 2020-10-01 14:20:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Connecting to wifi

I suspect you have a conflicting network service already running - perhaps even just another instance of wpa_supplicant. You can check with tools like ps / pstree.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-10-01 15:42:36

ajatashatru
Member
Registered: 2020-05-14
Posts: 8

Re: Connecting to wifi

Yes. /usr/bin/wpa_supplicant -u -s -O as root. Tried killing the process, didn't work. How should I stop this, so wifi iface is available? Thanks in advance.

Offline

#4 2020-10-01 16:10:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,097

Re: Connecting to wifi

What do you mean by "didn't work"? Did you fail to kill the process or did killing the process not yield the desired results?
Please post/upload a complete system journal (sudo journalctl -b), if there's no usable NIC on the problematic system, you can use https://wiki.archlinux.org/index.php/Tethering (assuming you're posting from some phone right now) or usb-walk it to an online device.

Offline

#5 2020-10-01 17:14:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Connecting to wifi

That comman is from the wpa_supplicant service.  You can just stop that service:

# systemctl stop wpa_supplicant

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB