Login to OSMC via SSH
then execute the following commands and let us know the outcome
ping 192.168.1.1 If that gives you a (positive) reply than try the next step
ping 192.168.1.1
sudo apt-get install smbclient (no need to tell us the output
sudo apt-get install smbclient
smbclient -L 192.168.1.1