How to

Windows 10 connect to NAS with smb1 (Samba, the old one)

Since Windows 10, microsoft remove the support for Samba 1, the problem is that I still have that old NAS who only support SMB1, so here’s the error shown:

You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.
Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747

And the solution is realy easy.

  1. Open control panel
  2. Search for Turn Windows features on or off
  3. Scroll down to SMB 1.0/CIFS File Sharing Support and activate the checkbox to activate que option
  4. Restart and you’re done

Android FX Explorer can’t connect to Raspberry pi with OSMC via SSH

Since the last update of OSMC in my Raspberry PI I was unable to connect from my smartphone using this awesome app called FX Explorer on the other and I still can use Juiced SSH.

So I had to dig on that problem!

After I little search I finally manage to find the problem, the last version of OSMC had a different configuration

1
$ sudo vim /etc/ssh/ssh_config

That was a missing algorithm in that line:

1
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256

Just add

1
diffie-hellman-group-exchange-sha1

So the line looks like:

1
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1

Now save, exit and restart sshd service

1
$ sudo systemctl restart sshd

And you’re done!