LAN connection problem [SOLVED]

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
JoHubb
Level 2
Level 2
Posts: 57
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

LAN connection problem [SOLVED]

Post by JoHubb » Wed May 09, 2018 12:55 pm

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 JoHubb on Thu May 10, 2018 9:32 am, edited 1 time in total.

altair4
Level 19
Level 19
Posts: 9028
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post by altair4 » Wed May 09, 2018 1:41 pm

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 2
Level 2
Posts: 57
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post by JoHubb » Wed May 09, 2018 2:46 pm

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 19
Level 19
Posts: 9028
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post by altair4 » Wed May 09, 2018 2:49 pm

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 2
Level 2
Posts: 57
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post by JoHubb » Wed May 09, 2018 2:59 pm

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 2
Level 2
Posts: 57
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post by JoHubb » Thu May 10, 2018 5:35 am

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 19
Level 19
Posts: 9028
Joined: Tue Feb 03, 2009 10:27 am

Re: LAN connection problem

Post by altair4 » Thu May 10, 2018 7:43 am

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 2
Level 2
Posts: 57
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: LAN connection problem

Post by JoHubb » Thu May 10, 2018 9:30 am

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

Post Reply

Return to “Ethernet”