Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
share|improve this question

2 Answers 2

up vote 0 down vote accepted

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

share|improve this answer
    
btw that command is one line –  madmaze Dec 20 '10 at 16:08
1  
FYI, the preferred filesystem type is cifs, as in mount -t cifs //hostname/share /mount/point, and smbmount / smbfs are obsolete. –  grawity Dec 20 '10 at 19:19

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|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.