I'm reading this as a guide for accessing a Windows network from linux using samba.
The machine I want to access on my network is called HP
, the following commands work fine:
smbclient -L HP
smbclient //HP/D
But, when I want to mount it, I get:
$ smbmount //HP/D /media/hp/d/ mount error: could not resolve address for HP: No address associated with hostname No ip address specified and hostname not found
The error seems strange, if it can't resolve HP
, how did smbclient read it?!
UPDATE
I don't want to specify the IP addresses manually because they tend to change every once in a while.