Radarcape:Samba on Beaglebone: Difference between revisions
imported>Beastadmin No edit summary |
imported>Beastadmin No edit summary |
||
Line 1: | Line 1: | ||
{| | {| | ||
|[[File:Expert.png|For Experts]] | |[[File:Expert.png|For Experts]] | ||
|''The tasks described in this manual require advanced | |''The tasks described in this manual require advanced skills in Unix/Linux.'' | ||
|} | |} | ||
Revision as of 19:08, 6 October 2013
The tasks described in this manual require advanced skills in Unix/Linux. |
First, you need to edit /etc/samba/smb.conf. Use vi /etc/samba/smb.conf from the command line. With the vi command /public (with a dash, press n for next location, search for the section [public] and edit it to look like this:
[public]
comment = home root
path = /home/root
public = yes
writable = yes
printable = no
guest ok = no
In order to get network access from a Windows PC to the Beaglebone, samba needs some configuration. Even if a user root already exists on the Beaglebone, it must be added for Samba separately:
smbpasswd -a root
then type in a (simple) password, which of course you should remember properly.
After that, you can mount a network drive from Windows to the Beaglebone. The identification on Windows is \\beaglebone-3\public and the account that you have to use is root and your <password>. Guenter is doing that with Total Commander, using Network → Connect Network Drive ending up like this:
Then, as a test, please copy a dummy file to the Beaglebone folder. I did so with the file “hello-there”. On a command window on Beaglebone, excute a ls -l and check if the group and owner are both root and not nobody:nobody.
Link: Samba Documentation