Home
Name Modified Size InfoDownloads / Week
Readme.txt 2025-05-04 1.4 kB
install-in-terminal.sh 2025-05-04 629.6 kB
Totals: 2 Items   631.0 kB 0
/etc/fstab tool!!!
direct smb mount in the fstab, passwords are stored separately and encrypted

Many thanks to Peter van Eerten! He developed the Basic to C converter I use!

---------------------------------------------------------------------------------------
Installation Notes
The following packages are required before installation:
xterm
clang
zenity
samba
smbclient
Example: On Debian or Ubuntu, enter sudo apt-get install xterm clang zenity samba smbclient in the terminal.
Only then press Enter to install.

A user must then be created for Samba.
To do this in the terminal:

sudo ./mount-samba //NAS/meineMusik
sudo ./mount-samba Music -k. This command scans the entire network
for the share containing Music.

or if your NAS server uses a different protocol and the share cannot be set up:

./mount-samba //NAS/meineMusik -o vers=2.0

or via GUI
sudo ./mount-samba -gui

The entry in /etc/fstab might then look like this:
//192.168.1.11/Musik /media/myMusic cifs credentials=/root/.credentialsMusik,noauto,users 0 0
The names are automatically converted to an IP address.

Samba shares:
For Samba shares, the IP addresses are automatically determined and stored as such in the fstab file.
To prevent conflicts with the Fritzbox name allocation.

-----------------------------------------------------------------------------------------------------

Version Notes:

Version 2.02 May 2025
- Separate version adapted for Linux
Source: Readme.txt, updated 2025-05-04