Mount SMB

As i wanted to know if the TV programs were recorded by the TV box correctly, i tried to mount the video directory to Linux through SMB. It should be a easy task as i used to share the video directory at PC.

But when i tried:

mount -t smbfs -o username=larry,password= //VAIO-LX2/TV_Current /home/larry/ftpdir/video/

it returned an error message:

No route from host… SMB connection failed.

1st, i suspected that the directory name TV_Current is incorrect, but i could not confirm.

Finally, after searching on the web, i tried:

smbclient -L 192.168.1.101

smbclient -L 192.168.1.102

i surprisingly found out that the server searched for an INCORRECT private IP for //VAIO-LX2, ile.

it should be 192.168.1.102 instead of the returned IP 192.168.1.101 from ‘mount’. As the return result from smbclient _L correctly listed the shared pt. of VAIO-LX2, i was sure TV_Current was correct and the IP address should be 192.168.1.102.

But why //VAIO-LX2 returned an incorrect IP???

Close Menu