SamplerBox icon indicating copy to clipboard operation
SamplerBox copied to clipboard

Feature : Samba access

Open remisarrailh opened this issue 9 years ago • 0 comments

I like to use samba to simplify the creation of samples, I can upload wav files directly and reload them without restarting my Raspberry Pi

As Samba won't work in a read-only filesystem, and since I need it only when i'm making samples. i remove it from boot.

Here is the procedure

mount -o remount,rw /
apt-get update;apt-get upgrade
apt-get install samba

Create password for root

smbpasswd

Modify /etc/samba/smb.conf

======================= Global Settings =======================
[global]
        dns proxy = no
        workgroup = WORKGROUP
        os level = 20
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        max log size = 1000

        #Unsecure mode
        security = user
        browseable = yes
        writeable = yes
        guest ok = yes

        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes

#======================= Name =========================
        #Name of your Raspberry Pi
        netbios name = synth
#======================= Shares =======================
[usb]
        # Path / User
        path = /media
        force user = root

Restart samba

/etc/init.d/samba restart

Check if you have access to \synth\usb

Remove it from boot

update-rc.d -f smbd remove
update-rc.d -f nmbd remove

How to use it

mount -o remount,rw /
/etc/init.d/samba start

User :root Password: root

remisarrailh avatar Sep 05 '16 14:09 remisarrailh