I install Artix with Openrc and I have some problems.
1: I can't use wifi. kernel start the wlan0 service but inactive.
[smjt2000@artixlinux ~]$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
[smjt2000@artixlinux ~]$ nmcli radio wifi
disabled
[smjt2000@artixlinux ~]$ nmcli radio wifi on
Error: failed to set Wi-Fi radio: Method "Set" with signature "ssv" on interface "org.freedesktop.DBus.Properties" doesn't exist
[smjt2000@artixlinux ~]$ sudo ifconfig wlan0 up
[smjt2000@artixlinux ~]$ nmcli dev wifi connect FM-M40-G1176
Error: No Wi-Fi device found.
[smjt2000@artixlinux ~]$ nmcli dev wifi list
[smjt2000@artixlinux ~]$
2: each time I boot the machine, after a time I can't open any application and I can't reboot or logout. if I want to do anything, I must shutdown by pressing the power key of my laptop.
$ cat /etc/os-release
and post it here.
[smjt2000@artixlinux ~]$ cat /etc/os-release
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
LOGO=artixlinux
Hm, which ISO did you use to install? Your /etc/os-release is missing the VARIANT and VERSION_ID variables, which have been stamped-in by our build script for over a year.
I used base ISO stable.
artix-base-openrc-20220123-x86_64
for connecting to internet I'm using my phone with USB tethering option.
I closed the laptop lead because I had to go and when I opened laptop lead I got this message on a black screen.(I'm not good in English)
The screen locker is broken and unlocking is not possible anymore.
In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),log in and execute the command:
loginctl unlock-session 1
Then log out virtual session by pressing Ctrl+D, and switch back to the running session (Ctrl+Alt+F7)
I closed the lead because I can't open any app or shutdown, sleep, reboot
I have had similar problems with the openrc iso, I tried to install it on a new laptop, and whenever the wifi is connected no programs will open from the menu (LXQT-openrc latest official iso). It also happened with the weekly iso as well, so I gave up and went with LXQT-dinit instead, everything is fine with that iso.
The OP may find that if he disconnects from the internet, all the menu entries work perfectly including the shutdown menu.
The problem is I can't connect to internet with wifi. wlan0 starts but inactive.
when I boot the machine, eth0 waits for a connection and i takes time about 30 seconds and then continue booting, it's not good. I think I must change the runlevel.
I am not suggesting an answer to your wifi problem, just suggesting that you may like to try disconnecting your USB tether and see if that then makes the menu entries work again.
Could also try
$ rfkill
$ iw dev
$ ip link show
but that would only be for a wifi problem. Setting / changing the hostname might help too? That's caused weird errors before.
This sounds like the issue described in https://wiki.artixlinux.org/Main/Troubleshooting#Applications_won.27t_open_while_Wireless_connection_is_active (https://wiki.artixlinux.org/Main/Troubleshooting#Applications_won.27t_open_while_Wireless_connection_is_active)
Thanks for the link artist, I didn't know about that, I will try it out soon and see if it solves the problem for me.
Have you any idea why the problem seems to affect openrc and not dinit?
Thanks.
Edit: It used to happen in the past on the lxqt-openrc live iso (weekly editions), but if calamares was launched before connecting to wifi then the resulting install was unaffected by the issue. However, the current official iso and later weekly isos suffer from the the problem when installed also. Openrc were the only isos I tried before my last experiment with dinit which is unaffected by this problem.
The problem should be init-agnostic and originating at least from as early as 2010. It is tied to NetworkManager and it's hostname management. For reference, here's a related post (https://forum.artixlinux.org/index.php/topic,3017.msg21421.html#msg21421).
I must admit I had forgotten about that thread.... :-[
But I can confirm that in my experience on this particular laptop, the problem only existed on openrc and the dinit variant behave perfectly in both the live form and the install.
Thanks anyway for bringing that thread to my attention again.
I didn't have the opportunity to extensively test dinit yet, but if that is the case then it must be related to NetworkManager not being allowed to manage the hostname.
I have this line in that file(/etc/NetworkManager/NetworkManager.conf):
[device]
wifi.scan-rand-mac-address=no
I've changed the hostname about 12 hours ago.
[smjt2000@Enriquette ~]$ rfkill
ID TYPE DEVICE SOFT HARD
2 wlan dell-wifi unblocked unblocked
3 bluetooth dell-bluetooth blocked unblocked
4 nfc nfc0 unblocked unblocked
5 wlan phy0 unblocked unblocked
[smjt2000@Enriquette ~]$ iw dev
phy#0
Unnamed/non-netdev interface
wdev 0x2
addr 80:19:34:52:d2:95
type P2P-device
txpower 0.00 dBm
Interface wlan0
ifindex 3
wdev 0x1
addr 80:19:34:52:d2:94
type managed
txpower 0.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
[smjt2000@Enriquette ~]$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 34:e6:d7:0b:29:ff brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 80:19:34:52:d2:94 brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 16:68:b0:00:60:4d brd ff:ff:ff:ff:ff:ff
The screen locker is broken and unlocking is not possible anymore.
In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2),log in and execute the command:
loginctl unlock-session 1
Then log out virtual session by pressing Ctrl+D, and switch back to the running session (Ctrl+Alt+F7)
I got this error again when laptop went to sleep.
I'm using KDE plasma with SDDM.
this problem is not very important, it's just about 5 seconds, but it's good to fix that.(thanks for your answers)
this problems are more annoying:
wifi connection
apps won't open after a time ( I think it's because my phone is connected to laptop )
<again; I'm not good in English>
https://wiki.artixlinux.org/Main/Troubleshooting#Applications_won.27t_open_while_Wireless_connection_is_active
Also: read this entire thread, we discussed this issue in a bit more detail.
I made the changes and it's seems everything is better now, but previous time that I boot the machine I had the problem.
apps won't open and I tried to open dolphin from terminal, this is error I got:
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
UPDATE:
now I got this error when I updated my .bashrc
Invalid MIT-MAGIC-COOKIE-1 keyxprop: unable to open display ':0'
just added this lines
source /etc/profile.d/undistract-me.sh
dj-source()
{
wd=$(pwd)
if test -d $wd/venv ; then
FILE=$wd/venv/bin/activate
source $FILE
elif test -d $wd/../venv ; then
FILE=$wd/../venv/bin/activate
source $FILE
fi
}
No one can help me??
https://wiki.artixlinux.org/Main/Troubleshooting#Applications_won.27t_open_while_Wireless_connection_is_active
I have Qtile and when I'm using it I can open any app that I want and there is no problem.
just I can't connect to wifi.
Regarding Wifi: https://wiki.archlinux.org/title/Network_configuration/Wireless
Refer to whereever you got this code from. If you don't know what strange scripts do, then don't use them.
I had Manjaro and this script working on it, this script send a notification if any command spent more than 10 seconds and you are not focused on the terminal.(maybe you know that). but this script not working on Artix.
I am not familiar with this script. If it depends on systemd and can't be satisfied with elogind, it doesn't work on Artix.
I do everything in this page but I get
Not connected message when trying to connect (iw dev connect wlan0 XXX )
I stopped before here.
https://wiki.archlinux.org/title/Network_configuration/Wireless#Authentication (https://wiki.archlinux.org/title/Network_configuration/Wireless#Authentication)
The syntax is
iw dev <devname> connect <SSID>
so it will be
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):
iw dev wlan0 scan | less
Edit: You can also do
iw dev wlan0 scan | grep SSID: | sed 's/\s\+SSID: //g'
to get just network names.
My mobile hotspot name is Enriquette.
I tried this commands:
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 connectedI also removed the password of hotspot
What does this command print out?
Edit: You can also try to add
--debug:
iw --debug wlan0 connect Enriquette >iw.log 2>&1
and paste the iw.log using some paste service.
See above, please provide iw.log.
Edit: Also consider:
iw.log (https://pastebin.com/SQ65Sk5z)
Is your Wifi network using WEP or WPA? If it uses WPA, try wpa_supplicant (https://wiki.archlinux.org/title/Wpa_supplicant) instead.
connected but the
save_config command in
wpa_cli returns
FAIL
Check if your /etc/wpa_supplicant/wpa_supplicant.conf contains the line
update_config=1
and if you are running wpa_cli as root.
added that line to the file and run as root.
tried again and when I use the initialize command I got this message :
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
It is very clearly stated in that error message:
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.
I removed files in /run/wpa_supplicant and when I want to initialize I got this messages:
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
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.
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?
Problems solved, for internet I must use wpa_supplicant and if I don't connect USB to my laptop I can open any app.
just I have a problem, when booting the system I got a message eth0: waiting for carrier I don't know how to solve this because it takes about 30 seconds to timeout error and continue booting.
I can't skim the entire topic again, but if you have enabled the net.eth0 service, it will probably delay the system. See the output of rc-status.
rc-status:
Runlevel: default
dbus [ started 04:39:27 (0) ]
wpa_supplicant [ stopped ]
NetworkManager [ inactive ]
bluetoothd [ started 04:38:52 (0) ]
netmount [ scheduled ]
sddm [ started 04:38:52 (0) ]
local [ started ]
agetty.tty1 [ started 04:38:52 (0) ]
agetty.tty2 [ started 04:38:52 (0) ]
agetty.tty5 [ started 04:38:52 (0) ]
agetty.tty3 [ started 04:38:52 (0) ]
agetty.tty6 [ started 04:38:52 (0) ]
agetty.tty4 [ started 04:38:52 (0) ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual
NM is inactive, please post /var/log/rc.log.
openrc log (https://paste.ubuntu.ir/gcpy)
There are several problems shown at the log file.
* Bringing up network interface lo ...
RTNETLINK answers: File exists
[ ok ]
and
rc default logging started at Tue Feb 8 10:08:42 2022
* Starting WPA Supplicant Daemon ...
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
...
nl80211: kernel reports: Match already configured
rfkill: WLAN hard blocked
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
* start-stop-daemon: failed to start '/usr/bin/wpa_supplicant'
* Failed to start WPA Supplicant Daemon
[ !! ]
* ERROR: wpa_supplicant failed to start
* Starting NetworkManager ...
[ ok ]
Connecting. 1sConnecting.. 1sConnecting... 1sConnecting.... 1sConnecting.....
...
1sConnecting............... 0s [offline]
* Marking NetworkManager as inactive. It will automatically be marked
* as started after a network connection has been established.
* WARNING: NetworkManager has started, but is inactive
* Starting bluetoothd ...
[ ok ]
* WARNING: netmount will start when NetworkManager has started
I don't use NM, but I don't think it needs the wpa_supplicant service; it invokes its own instance.
Post here the output of
rc-status --all inside code tags. Also, the output of
ls -l /etc/init.d/ and paste
/etc/conf.d/net to our pastebin service (https://paste.artixlinux.org).
rc-status --all
Runlevel: shutdown
killprocs [ stopped ]
savecache [ stopped ]
mount-ro [ stopped ]
Runlevel: sysinit
sysfs [ started ]
cgroups [ started ]
devfs [ started ]
udev [ started ]
dmesg [ started ]
kmod-static-nodes [ started ]
opentmpfiles-dev [ started ]
udev-trigger [ started ]
net.wlan0 [ stopped ]
net.eth0 [ stopped ]
connmand [ started 00:29:09 (0) ]
Runlevel: nonetwork
local [ started ]
Runlevel: default
dbus [ started 00:29:09 (0) ]
wpa_supplicant [ stopped ]
NetworkManager [ inactive ]
bluetoothd [ started 00:28:34 (0) ]
netmount [ scheduled ]
sddm [ started 00:28:34 (0) ]
local [ started ]
agetty.tty1 [ started 00:28:34 (0) ]
agetty.tty2 [ started 00:28:34 (0) ]
agetty.tty5 [ started 00:28:34 (0) ]
agetty.tty3 [ started 00:28:34 (0) ]
agetty.tty6 [ started 00:28:34 (0) ]
agetty.tty4 [ started 00:28:34 (0) ]
Runlevel: boot
hwclock [ started ]
modules [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
swap [ started ]
localmount [ started ]
sysctl [ started ]
bootmisc [ started ]
elogind [ started 00:28:36 (0) ]
termencoding [ started ]
procfs [ started ]
opentmpfiles-setup [ started ]
hostname [ started ]
net.lo [ started ]
keymaps [ started ]
save-keymaps [ started ]
opensysusers [ started ]
loopback [ started ]
consolefont [ started ]
save-termencoding [ started ]
binfmt [ started ]
urandom [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual
https://paste.artixlinux.org/9c16993b (https://paste.artixlinux.org/9c16993b)
How did you end up with these in sysinit? From what I see you want NetworkManager, so:
# for sv in net.wlan0 net.eth0 connmand; do rc-service $sv stop; rc-update del $sv sysinit; done
# rc-update del wpa_supplicant
# rc-service NetworkManager restart
* Stopping NetworkManager ... [ ok ]
* Starting NetworkManager ... [ ok ]
Connecting............... 0s [offline]
* Marking NetworkManager as inactive. It will automatically be marked
* as started after a network connection has been established.
* WARNING: NetworkManager has started, but is inactive
Reboot.
Network is not working.
The messages about wpa_supplicant and erh0 appears again when booting the system.
Did you execute ALL the commands I posted in https://forum.artixlinux.org/index.php/topic,3625.msg23707.html#msg23707 ?
I doubt.
If you mean this commands, yea I expected all of them
# for sv in net.wlan0 net.eth0 connmand; do rc-service $sv stop; rc-update del $sv sysinit; done
# rc-update del wpa_supplicant
# rc-service NetworkManager restart
Ohh I forget to run as root.
Try again...
Whenever the command line snippet includes
$ at the beginning of a line, that line should be executed as regular user. When a line has
#, you should execute it as root.
I know. just some personal problems...
now everything that said in this topic is working so fine.
thanks for your support. I have other problems, but I don't know I should say them here, create another topic or say it on Arch forum.
about brightness and keybindings.