Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] two problems after Artix install (Read 5025 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Re: two problems after install artix

Reply #31
The syntax is
Code: [Select]
iw dev <devname> connect <SSID>
so it will be
Code: [Select]
iw dev wlan0 connect YourNetworkName
https://wiki.archlinux.org/title/Network_configuration/Wireless#Connect_to_an_access_point

Have you checked (assuming you run this as root):
Code: [Select]
iw dev wlan0 scan | less

Edit: You can also do
Code: [Select]
iw dev wlan0 scan | grep SSID: | sed 's/\s\+SSID: //g'
to get just network names.

Re: two problems after install artix

Reply #32
My mobile hotspot name is Enriquette.
I tried this commands:
Code: [Select]
iw dev wlan0 connect Enriquette
iw dev wlan0 connect 'Enriquette'
iw dev wlan0 connect "Enriquette"

but when I run iw dev wlan0 link after each command I got Not connected
I also removed the password of hotspot

Re: two problems after install artix

Reply #33
What does this command print out?

Edit: You can also try to add --debug:
Code: [Select]
iw --debug wlan0 connect Enriquette >iw.log 2>&1
and paste the iw.log using some paste service.



Re: two problems after install artix

Reply #36
iw.log




 

Re: two problems after install artix

Reply #40
added that line to the file and run as root.
tried again and when I use the initialize command I got this message :
Code: [Select]
 ctrl_iface exists and seems to be in use - cannot override it
Delete '/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

wlan0: CTRL-EVENT-DSCP-POLICY clear_all
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
nl80211: deinit ifname=wlan0 disabled_11b_rates=0

UPDATE:
I logged out from Qtile and logged in to Plasma, system is using internet but in the tray, network section I see No Available Connection  message

Re: two problems after install artix

Reply #41
It is very clearly stated in that error message:
Code: [Select]
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
For initial configuration, ensure that all other instances of wpa_supplicant are terminated, then run wpa_supplicant manually as shown in the wiki article, run wpa_cli and save your settings. To run wpa_supplicant normally, you will most likely want to use a wpa_suplicant service for your init (wpa_supplicant-<your_init_name>) and enable that service in your init.

Re: two problems after install artix

Reply #42
I removed files in /run/wpa_supplicant and when I want to initialize I got this messages:
Code: [Select]
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured   # => about 25 lines
nl80211: Could not set interface 'p2p-dev-wlan0' UP
nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
p2p-dev-wlan0: Failed to initialize driver interface
p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
P2P: Failed to enable P2P Device interface

Re: two problems after install artix

Reply #43
You need to decide which network management solution to use. You should have only one.

wpa_supplicant + dhcpcd are sufficient, and are one option. You don't need NetworkManager if use them and vice versa. Keep in mind that not all GUI network programs support both. Read the wiki and search the web for more information. The only thing that differs in Artix is service management.

Re: two problems after install artix

Reply #44
I created a config file in /etc/wpa_supplicant/
for using the network I must use killall wpa_supplicant and then use the config file to connect.
and I'm connected to internet with wifi.

is there any command/config to do?
did you mean that I must remove NetworkManger?