Access network share in Debian?

1

1

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

Industrial

Posted 2010-12-20T15:38:48.647

Reputation: 196

Answers

0

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

madmaze

Posted 2010-12-20T15:38:48.647

Reputation: 3 447

btw that command is one line – madmaze – 2010-12-20T16:08:39.867

1

FYI, the preferred filesystem type is cifs, as in mount -t cifs //hostname/share /mount/point, and smbmount / smbfs are obsolete.

– user1686 – 2010-12-20T19:19:50.110

1

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

Farhadix

Posted 2010-12-20T15:38:48.647

Reputation: 111