Radarcape:Samba on Beaglebone

From Beast Wiki
Revision as of 17:09, 3 October 2013 by imported>Beastadmin
Jump to navigation Jump to search

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 NetworkConnect Network Drive ending up like this:

Network Mount - Screenshot 1

Network Mount - Screenshot 2

Network Mount - Screenshot 3

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.

Network Mount - Screenshot 4

Link: Samba Documentation