Recipe: 007-Create Network Share






Recipe Card

 

007 : Network Share

 

Recipe Files Ingredients
(flavour)_root.txt 007-network-share_INGREDIENTS.zip
Tested: Raspbian

WARNING: This recipe also requires the following recipe(s) to be setup on the SD-Card:

 

Recipe 001-Startup

 

See the markdown version of this recipe on the Pi-Kitchen GitHub site see:

007-Network Share.md

 

Description

 

SMB network share

The smb.conf needs to be copied over after samba has been installed.

Since this will need internet connection to install samba and user prompt to set password, this must be run manually by the user.

sudo ~/bin/install_smbshare.sh

Noobs Config

/home/pi/recovery/pi-kitchen/007-network-share/bin/install_smbshare.sh home/pi/bin

How to use

 

Following installation of the OS, run the _INSTALLONCE/installonce.sh script and follow the steps to setup the network share.

 

Ingredients

The ingredient files should be placed in the following location on the NOOBS RECOVERY partition:

 

pi-kitchen/007-network-share

 

This recipe uses the following files:

 

bin/INSTALLONCE/installsmbshare.sh

etc/samba/smb.conf

deb/libwbclient03.6.6-6+deb7u4armhf.deb

deb/samba

3.6.6-6+deb7u4armhf.deb

deb/samba-common3.6.6-6+deb7u4all.deb

deb/tdb-tools1.2.10-2armhf.deb

 

You can download all the ingredient files, and extracted directly to the NOOBS SD-Card (ensuring you remove the ZIP file’s name from the directory – the files should be extracted to pi-kitchen/007-network-share).

The Recipe Files

Each recipe will use one file for each of the partitions it installs to – boot, root and data).

You will need to suitably rename or copy the content of each of the following files into your recipe files (i.e. RaspbianPiKitchen_root.txt) and place them in your os folder in the NOOBS partition (i.e. os/Raspbian).

For more information see the Pi-Kitchen: Creating Flavours guide.

(flavour)_root.txt

#

#Recipe: 007-network-share

#- Add files to setup SAMBA SMB folder share (need to run manually)

../../pi-kitchen/007-network-share/_INSTALLONCE/install_smbshare.sh /home/pi/bin/_INSTALLONCE


Enjoy baking your Raspberry Pi SD-Card fresh from the Pi-Kitchen.

Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s