Having the IP, under Linux how can I access shared smb files?
When I type in for example:
smb://192.168.0.50 I get an error message.
Having the IP, under Linux how can I access shared smb files?
When I type in for example:
smb://192.168.0.50 I get an error message.
If you're sure the destination machine is running samba, you can pass an explicit IP to smbclient or mount.cifs:
smbclient //<samba_name>/<share> -I <machine ip to connect to>
mount -t cifs //<samba_name>/<share> <mount point> -o ip=<machine ip to connect to>
smbclient -N -L YOUR_TARGET_IP
This will list all the shares in SMB service.
You need to provide a different client max protocol which can be done using -m tag.
just use the below command :-
smbclient //192.168.0.50/sharedFolderName/ -m SMB3