raspberrypi:samba
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| raspberrypi:samba [2014/12/24 09:42] – external edit 127.0.0.1 | raspberrypi:samba [2018/03/18 18:26] (current) – removed rlunaro | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Install samba in the raspberry pi ====== | ||
| - | |||
| - | The problems I've run into are because **you have to install two packages, not only one**: | ||
| - | |||
| - | < | ||
| - | sudo apt-get install samba | ||
| - | sudo apt-get install samba-common-bin | ||
| - | </ | ||
| - | |||
| - | **Note:** if you don't install the later package '' | ||
| - | |||
| - | After this, modify the ''/ | ||
| - | |||
| - | < | ||
| - | [workspace] | ||
| - | path = / | ||
| - | read only = no | ||
| - | writeable = yes | ||
| - | ; | ||
| - | valid users = rluna | ||
| - | |||
| - | </ | ||
| - | |||
| - | Then, create a user: | ||
| - | |||
| - | < | ||
| - | smbpasswd -a PUT-YOUR-USERNAME-HERE | ||
| - | </ | ||
| - | |||
| - | Restart the service: | ||
| - | |||
| - | < | ||
| - | # / | ||
| - | </ | ||
| - | |||
| - | And you are ready to mount from another machine: | ||
| - | |||
| - | < | ||
| - | sudo mount -t cifs // | ||
| - | </ | ||
| - | |||
| - | ===== Some advices to install in a permanent mount point ===== | ||
| - | |||
| - | Edit your fstab file and add the following: | ||
| - | |||
| - | < | ||
| - | // | ||
| - | </ | ||
| - | |||
| - | The file '' | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # credentials for the raspberry pi shared server | ||
| - | # | ||
| - | user=REMOTE-USERNAME | ||
| - | password=REMOTE-PASSWORD-YOU-SET-WITH-SMBPASS | ||
| - | </ | ||
| - | |||
| - | |||
| - | ~~DISQUS~~ | ||
| - | |||
raspberrypi/samba.1419414128.txt.gz · Last modified: 2022/12/02 21:02 (external edit)
