Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to mount a hard-disk connected to my WDTV Live box. The following command

smbclient -L 192.168.1.2 -U guest

gives the following output:

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.1]

    Sharename       Type      Comment
    ---------       ----      -------
    Expansion_Drive Disk      Expansion_Drive
    MICROVAULT      Disk      MICROVAULT
    IPC$            IPC       IPC Service (WDTV LIVE)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.1]

    Server               Comment
    ---------            -------
    WDTVLIVE             WDTV LIVE

    Workgroup            Master
    ---------            -------
    WORKGROUP            

But if I try

sudo smbmount //WDTVLIVE/Expansion_Drive /home/ashish/wdtvlive/ -o guest,rw

I get the following:

Warning: mapping 'guest' to 'guest,sec=none'
mount error(110): Connection timed out
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I am able to browse and mount through Nautilus as well, but I dont want the drive to be mounted at gvfs.

share|improve this question

1 Answer 1

smbmount uses mount.cifs underneath, which can not do NetBIOS lookups, only DNS lookups. The names displayed by smbclient are NetBIOS names.

You should be able to specify the IP to use to smbmount, e.g.:

sudo smbmount //192.168.1.2/Expansion_Drive /home/ashish/wdtvlive/ -o guest,rw

or, alternatively (some servers require the netbios name):

sudo smbmount //WDTVLIVE/Expansion_Drive /home/ashish/wdtvlive/ -o guest,rw,ip=192.168.1.2
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.