Page 1 of 1

LAN connection problem [SOLVED]

Posted: Wed May 09, 2018 12:55 pm
by JoHubb
I run Mint 18.3 Mate on both PCs. B has A bookmarked. I can transfer files and folders from B to A.

When I try to do the opposite - send folders from A to B, I get this message.

Could not display "sftp://hansel.local/". Access is denied.

B shows in A's menu as being in the Network, but it is not bookmarked on A.

I'd be grateful for help. I wish to move stuff from A to B.

Thanks.

Re: LAN connection problem

Posted: Wed May 09, 2018 1:41 pm
by altair4
hansel, snow-white, and rudolph .... I remember you.

You had this problem with one of your installs maybe it's the same problem:
altair4 wrote: Wed Mar 28, 2018 3:45 pm Before I try to reproduce this error can you see if re-installing the following package does anything:

Code: Select all

sudo apt-get --reinstall install gvfs-backends
And just to make sure the firewall isn't in the way can you disable the firewall on Snow-White:

Code: Select all

sudo ufw disable

Re: LAN connection problem

Posted: Wed May 09, 2018 2:46 pm
by JoHubb
Once seen, never forgotten!

Thanks for helping. I ran those terminal commands on both PCs, but trying to move stuff from A to B is still not possible. Same old message as before.

Re: LAN connection problem

Posted: Wed May 09, 2018 2:49 pm
by altair4
Well, let's make sure all the basics are in place:

Did you install ssh on hansel:

Code: Select all

sudo apt install ssh
Is avahi running on hansel:

Code: Select all

sudo service avahi-daemon restart
Lastly are you sure you are in the same network. On your other machine can you ping hansel:

Code: Select all

ping -c3 hansel.local

Re: LAN connection problem

Posted: Wed May 09, 2018 2:59 pm
by JoHubb
ssh was installed on Hansel. (PC-B)

Is avahi running on hansel: I ran the command.

howard@Snow-White ~ $ ping -c3 hansel.local
PING hansel.local (192.168.1.132) 56(84) bytes of data.
64 bytes from Hansel (192.168.1.132): icmp_seq=1 ttl=64 time=0.350 ms
64 bytes from Hansel (192.168.1.132): icmp_seq=2 ttl=64 time=0.294 ms
64 bytes from Hansel (192.168.1.132): icmp_seq=3 ttl=64 time=0.307 ms

--- hansel.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2011ms
rtt min/avg/max/mdev = 0.294/0.317/0.350/0.023 ms

Re: LAN connection problem

Posted: Thu May 10, 2018 5:35 am
by JoHubb
Hi again,

I ran the caja sftp//Hansel.local command from Snow-White. It would not accept the password for access to Hansel. I have disabled the Linux firewall on both PCs.

When I checked the network on Snow-White (A) it did not show any other PCs. Checking this on Hansel (B) shows all the machines on the LAN.

So, Snow-White files and folders (A) can be accessed from Hansel, but not the other way around. And Snow-White does not see other PCs on the LAN.

Hope you can help more! Thanks.

Re: LAN connection problem

Posted: Thu May 10, 2018 7:43 am
by altair4
I do not know. Nothing I can think of fits all of your symptoms.

** Machine1 being able to see Machine2 but not the other way around usually indicates - in the absence of firewall issues, etc - that the two machines are in different subnets. That will happen if you have multiple routers or misconfigured access points.

** It's possible that snow-white has a key to a different hansel. Maybe you reinstalled hansel or maybe changed its host name which would make the key you have on snow-white no longer valid or maybe you have two hansels. But I would think your error message would be different.

Re: LAN connection problem

Posted: Thu May 10, 2018 9:30 am
by JoHubb
I'm an idiot.

When I used the correct user and password, A connected to B. Apologies for wasting your time and energy, altair4.

But, network discovery still does not work with A. Both PCs are dual boot (Windows 10) which may have something to do with it. But the network is discoverable from machine B.

John