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 5051 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: two problems after install artix

Reply #45
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.

Re: two problems after Artix install

Reply #46
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.

Re: two problems after Artix install

Reply #47
rc-status:

Code: [Select]
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



Re: two problems after Artix install

Reply #50
There are several problems shown at the log file.
Code: [Select]
 * Bringing up network interface lo ...
RTNETLINK answers: File exists
 [ ok ]
and
Code: [Select]
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.

Re: two problems after Artix install

Reply #51
Code: [Select]
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

Re: two problems after Artix install

Reply #52
Code: [Select]
rc-status --all
Runlevel: sysinit
 net.wlan0                                                         [  stopped  ]
 net.eth0                                                          [  stopped  ]
 connmand                                              [  started 00:29:09 (0) ]
How did you end up with these in sysinit? From what I see you want NetworkManager, so:
Code: [Select]
# 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

Re: two problems after Artix install

Reply #53
Code: [Select]
 * 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



Re: two problems after Artix install

Reply #55
Network is not working.
The messages about wpa_supplicant and erh0 appears again when booting the system.


Re: two problems after Artix install

Reply #57
If you mean this commands, yea I expected all of them
Code: [Select]
# 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...

 

Re: two problems after Artix install

Reply #59
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.