Hello and thank you very much for your help.
I have XFCE Artix, installed from base, Its OpenRC Artix XFCE.
I just noticed that ssh don't work.
Reinstalled ssh.
https://wiki.artixlinux.org/Main/OpenRC
Tried with wiki.
what do you imagine under this sentence?
It'll be helpful if you could output any errors and other info. Not work is not helping us narrowing down the issue, e.g. error showing,if any.
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
SSH is installed, but not running.
ssh's service is instaled,, enabled and started ?
see pacman -Ss ssh
Not true:
Just as the output says here, you don't have netstat command in path, If you haven't installed it, it is a part of the package
net-tools.
Yes, it is.
I am confused, there was some error at boot about ssh, but I don't know how to reproduce it.
I tried to activate wifi connection at boot, but I am not sure that I managed to.
rc-update show -v
NetworkManager | default
agetty |
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
binfmt | boot
bootmisc | boot
cgroups | sysinit
consolefont |
dbus | default
devfs | sysinit
dmesg | sysinit
elogind | boot
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
lightdm | default
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
net-online |
net.lo | boot
netmount | default
numlock |
opensysusers | boot
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
osclock |
procfs | boot
root | boot
runsvdir |
s6-svscan |
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
sshd | boot default
sshd.eth0 |
sshd.wlan0 |
swap | boot
swclock |
sysctl | boot
sysfs | sysinit
termencoding | boot
udev | sysinit
udev-settle |
udev-trigger |
If I enable sshd.wlan0, there was some error, so I disable it.
openrc default
error sshd.wlan0 need service net.wlan0
ln -s /etc/init.d/net.lo /etc/init.d/net.wlan0
Thank you. But there are always errors.
Bringing up interface wlan0
* Caching network module dependencies
* ERROR: interface wlan0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.wlan0 failed to start
* ERROR: cannot start sshd.wlan0 as net.wlan0 would not start
I have been using two installations of Artix. Another installation is s6 xfce.
How to start sshd at boot with s6 ? Thank you.
checkout wiki.artixlinux.org there is how to for inits and other things
I checked it already. I started ufw at boot, but not ssh.
Unable to open /var/log
read only file system (appears at boot).
s6-rc-bundle-update add default ssh
s6-rc-bundle: fatal: identifier ssh does not exist in database /run/s6-rc/compiled
Error when trying to add ssh!
SSH is installed.
Replace ssh with sshd
s6-rc-bundle-update add default sshd
s6-rc-bundle: fatal: identifier sshd does not exist in database /run/s6-rc/compiled
Error when trying to add sshd!
# pacman -Sy
# pacman -S openssh openssh-s6
# s6-rc-bundle-update add default sshd
# s6-rc -u change sshd
Read those:https://wiki.archlinux.org/title/pacman
https://wiki.artixlinux.org/Main/S6
Edit: Again, it is
not true that SSH is not running on your system if you have this (from this message (https://forum.artixlinux.org/index.php/topic,2565.msg16917.html#msg16917)):
So repeated statements that SSH doesn't work or is refusing to start on your system can't be seen as anything else than spamming/trolling the forum.
Thank you.
But I am confused about following message
Bringing up interface wlan0
* Caching network module dependencies
* ERROR: interface wlan0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.wlan0 failed to start
* ERROR: cannot start sshd.wlan0 as net.wlan0 would not start
That is a separate issue than SSH not running (which turned out to
be running!) and should normally be in a separate topic. But whatever.
This means exactly what it says in English: you probably don't have the correct kernel module loaded for your Wireless card or Wireless device. Many WiFi devices come with proprietary drivers which don't support GNU/Linux, and some only work after manually compiling and installing their drivers. If you're lucky, your card will have the driver in
linux-firmware package. If not, tough luck. That's why it is much easier to use wired, cable Ethernet for GNU/Linux.
Hello to all and thank you for your help.
But I am confused about following message
Bringing up interface wlan0
* Caching network module dependencies
* ERROR: interface wlan0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.wlan0 failed to start
* ERROR: cannot start sshd.wlan0 as net.wlan0 would not start
Wifi drivers working as it should be, i have no problems with connection.
Is this something that is important ?
https://forum.artixlinux.org/index.php/topic,2565.msg17121.html#msg17121
Мy wifi is working, should I recompile it ?
What is the meaning of this error ?
sshd is the OpenSSH server daemon, configured with /etc/ssh/sshd_config. Are you sure, that you really need run SSH SERVER on your computer? The client is enough for most normal users... (they normaly install it via pacman-openssh-openrc/runit/s6 )
sorry, but you do not seem to me like advanced user or admin... that, why i ask...
Thank you for your interest.
I want to build secure desktop, not as server, but as much as possible.
Installed artix hardened kernel - solved.
Another problem solved - system was disconnected during stand-by, and network manager did not run after resume.
On hardened kernel, there was disconnection, but Artix auto-connects on resume.