Hey there,
first of all: Awesome work! Thx a lot for your time! I appreciate that a lot!
I have a few samba-questions and maybe someone could help me out.
1. I used dietpi-config to mount a samba-share which is mounted on boot-time in /mnt/samba.
Is it possible to mount the share in another place on boot-time, e.g. /mnt/samba/data? And if thats possible, which files to I have to edit?
2. I would like to mount not only one samba-share but a few.
Which file do I have to edit and which do I have to use?
Thx a lot for any hint.
Greets, Michael
Multiple Samba Client connections.
Re: Some Samba-Questions
Hi Micheal,mike175de wrote:Hey there,
first of all: Awesome work! Thx a lot for your time! I appreciate that a lot!
I have a few samba-questions and maybe someone could help me out.
1. I used dietpi-config to mount a samba-share which is mounted on boot-time in /mnt/samba.
Is it possible to mount the share in another place on boot-time, e.g. /mnt/samba/data? And if thats possible, which files to I have to edit?
2. I would like to mount not only one samba-share but a few.
Which file do I have to edit and which do I have to use?
Thx a lot for any hint.
Greets, Michael
DietPi-Config is only designed to work with one samba mount, so you will need to do another one manually. I would also advise you dont use the dietpi-config samba menu option after doing this, so your multiple setup is not accidentally overwritten.
You will find all the system and samba mounts in:
Code: Select all
/etc/fstab
Code: Select all
nano /etc/fstab
Code: Select all
//192.168.0.2/sharename /mnt/samba_2 cifs username=root,password=mypassword,_netdev,iocharset=utf8,sec=ntlm,nofail 0 0
Generate the folder for your new mount:
Code: Select all
mkdir -p /mnt/samba_2
Code: Select all
mount -a
Code: Select all
df -h
Code: Select all
ls -lha /mnt/samba_2
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Multiple Samba Client connections.
Thx a lot. Worked like a charm!
Greets
Greets