Skip to content

Feature : Samba access #21

Description

@remisarrailh

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions