Hardware Reference
In-Depth Information
If you run ls /mnt/ , you should see your files. If you don't, check your disk type in the
line you added in /etc/fstab .
Samba is included with many Linux distributions and is set to start automatically. It
is not, however, necessarily included with your Raspberry Pi Linux distribution. But
that's easy to fix.
To install Samba on Pidora, run the following command:
$ sudo yum install samba
For Raspbian, run this one:
$ sudo apt-get install samba samba-common-bin
Once it's installed, the service will start automatically. The Samba configuration file
lives in /etc/samba/smb.conf . Open it in your editor to get it set up for your particular
needs.
If you're nervous about editing config files, create a backup first by running
cp /etc/samba/smb.conf /etc/samba/smb.conf.backup .
It's also a well-commented file, so feel free to read it all to get a better feel for what
you're doing:
$ sudo vi /etc/samba/smb.conf
At the bottom of the first large chunk of comments, you'll see this:
[global]
workgroup = WORKGROUP
#usershare allow guests = yes
#security=share
security=user
follow symlinks = yes
wide links = no
unix extensions = no
lock directory = /var/cache/samba
[pi]
browsable = yes
read only = no
#guest ok = yes
valid users = pi
path = /home/pi
#force user = pi (no longer needed)
 
Search WWH ::




Custom Search