First you have to configure the FritzBox to allow access via network to the usb storage. This has to be done via the web-interface http://fritz.box:
You can choose read-only or read/write. The important thing is to mark the checkbox activate USB-network-storage.
On your linux machine you have to install the package smbfs. This can be done on debian (or ubuntu) with the following command:
apt-get install smbfsAfter that you can mount the network drive with
/usr/bin/smbmount //fritz.box/SanDisk-CruzerMicro-01 /media/fritz.box -o password=Note: The string after //fritz.box/ has to match the string inside the FTP configuration (look at the screenshot abouve). For the password you have add your password or just nothing, if you have set no password ;-)
To umount the network drive use this command:
/bin/umount /media/fritz.boxIf you want to get this drive mounted everytime you enter the directory /mnt/fritz.box, you need autofs (apt-get install autofs). Add the file /etc/auto.media with the line:
fritz.box -fstype=smbfs,umask=000 ://fritz.box/SanDisk-CruzerMicro-01and this line into /etc/auto.master:
/mnt /etc/auto.media --timeout=3after that restart autofs:
/etc/init.d/autofs restartand each time you enter /mnt/fritz.box, you see the content of your usb stick...