Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Banana Pi Cookbook

You're reading from   Banana Pi Cookbook Over 25 recipes to build projects and applications for multiple platforms with Banana Pi

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781783552443
Length 200 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Ryad El-Dajani Ryad El-Dajani
Author Profile Icon Ryad El-Dajani
Ryad El-Dajani
RYAD E DAJANI RYAD E DAJANI
Author Profile Icon RYAD E DAJANI
RYAD E DAJANI
Arrow right icon
View More author details
Toc

Sharing files over the network via Samba


This recipe will show how to set up a Samba server on the Banana Pi. Moreover, we will investigate how we can connect Windows and Linux clients to the Samba server. Samba is a re-implementation of the SMB/CIFS networking protocol to provide file and print sharing among Windows and Linux systems.

Getting ready

For this recipe, you require the following:

  • A running Banana Pi with a Debian-based Linux system

  • A configured network on the Banana Pi

How to do it…

We are splitting this recipe into the installation and configuration of the Samba server and the setup of clients.

Installing the Samba server

Installing the Samba server is done quickly.

We are working with the default user bananapi in the upcoming recipe. Furthermore, we are using the default hostname lemaker. If you have your own user or hostname, replace in the following steps where appropriate:

  1. Open a shell.

  2. Create a directory that is shared later:

    $ mkdir /home/bananapi/first_share
    
  3. Put a test file into...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image