Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 
AVM router allow to share the local storage from an USB stick or local USB disk  in the local network. The following page describes how to access the share from a Linux system.
 

First of all install smbfs 

 
sudo apt-get install smbfs
 
Now create following line in /etc/fstab:
 
//192.168.0.1/Serverix/ /media/fritz    cifs    noauto,noatime,user,utf8,umask=000,uid=1000,gid=1000,credentials=/etc/samba/auth.192.168.0.1.ftpuser 0 0
 
Assumptions: AVM router has IP 192.168.0.1, the server name is Serverixand the drirectory which should be shared is called /media/fritz.
 
Now the access credentials have to be defined in  /etc/samba/auth.192.168.0.1:
 
username=ftpuser
password=secret
 
In this example the ftp password is secret. To protect this password change the access rights so only root is able to read the password:
 
sudo chmod 600 /etc/samba/auth.192.168.0.1.ftpuser
 
Add comment

Note

Spam comments are purged and not published. Review is done manually and therefore it usually takes between some hours and one day until a comment will be published.