LAN connection problem [SOLVED]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
JoHubb
Level 4
Level 4
Posts: 221
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

LAN connection problem [SOLVED]

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post 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
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
JoHubb
Level 4
Level 4
Posts: 221
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post 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.
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post 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
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
JoHubb
Level 4
Level 4
Posts: 221
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post 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
JoHubb
Level 4
Level 4
Posts: 221
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post 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.
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post 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.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
JoHubb
Level 4
Level 4
Posts: 221
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post 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
Locked

Return to “Networking”