Access network share in Debian?

12,237

Solution 1

Correct me if im wrong, but your trying to access a network share in debian?
or are you trying to make a network share accessible from other machines?

this is how to mount one in debian/ubuntu:
sudo smbmount //HOSTNAME/FOLER /mount/point -o user="username%password",uid=1000,mask=000

Solution 2

smbmount no longer available, so you should install cifs-utils

mount -t cifs //HOSTNAME/FOLDER /mount/point -o rw -o user="username"

it will ask password

Share:
12,237

Related videos on Youtube

Pedz S
Author by

Pedz S

I just want to lie on the beach and eat hot dogs. That’s all I’ve ever wanted. Really.

Updated on September 17, 2022

Comments

  • Pedz S
    Pedz S almost 2 years

    I've just gained full root access through SSH to my readyNAS which runs Debian and I am looking into ways of making network shares available directly on the readyNAS.

    I guess my syntax is completely wrong, so how should I really map up the following drive to access it in my SSH terminal?

    \\UBUNTU\www
    
  • user1686
    user1686 over 13 years
    FYI, the preferred filesystem type is cifs, as in mount -t cifs //hostname/share /mount/point, and smbmount / smbfs are obsolete.