Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature : Samba access #21

Open
remisarrailh opened this issue Sep 5, 2016 · 0 comments
Open

Feature : Samba access #21

remisarrailh opened this issue Sep 5, 2016 · 0 comments

Comments

@remisarrailh
Copy link
Contributor

remisarrailh commented Sep 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant