The laptop will access the internet just fine however I cannot ssh to my desktop, nor from my desktop to the laptop.
That could also be the problem with the fstab file.
My router shows the laptop connected with a wired connection, the DHCP server has issued a address as it should. I have a fixed address of 192.168.3.10 for the laptop.
Thinks of the zones as preconfigured selections, each with their own level of trust. They can be configured as you like though. More complex arrangements can be done when multiple interfaces a present.
I’m beginning to wonder if perhaps I was dropped on my head when I was little!
I studied the documentation links I was sent and the man pages and it seems to be pretty much straight forward.
I discovered that because I am not using Network Manager I can’t get the firewall to recognize anything other than the default (public) zone. So I changed the settings in /etc/firewalld/public.html and added the services I thought I should need.
After rebooting, I get:
UNIVAC:~ # firewall-cmd --zone=public --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: eth0
sources:
services: ssh mdns samba-client dhcpv6-client apcupsd
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
The way I understand it, this computer should accept a ssh connection form my laptop. Yes?
But, from my laptop I get:
-> ssh 192.168.3.5 -lbart
ssh connect to host 192.168.3.5 port 22: connection refused.
->
I don’t understand! I didn’t change the port for ssh. Obviously the laptop see my desktop, My desktop says it should accept ssh. What am I doing wrong?
I chose to use wicked rather than Network Manager only because I thought that with the wireless adapter being ignored there would be one less entry point to my computer. Was this a mistake?
With a firewall problem, you usually get a connection timeout, or sometimes “no route”. If you get connection refused, then you have passed the firewall but there isn’t a service you can connect to.
Is the SSH daemon (sshd) running on your laptop?
By default it is not enabled (marked as Manual start) - clients cant SSH in unless the daemon is running.
You can use the Yast Services Manager to change the sshd daemon Start Mode from “Manual” to “On Boot”