Radarcape:Samba on Beaglebone

From Beast Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
For Experts Required Linux/Unix skills to execute this task: Advanced

If not already done, install the samba package:

opkg install samba

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 \\radarcape\public and the account that you have to use is root and your <password>. We're 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