I didn't do this but the original post above mentions how to get samba running on Alix:
Finally, I wanted Samba as an easy way to add and remove media files on the attached USB-HDD
Remember to log into voyage: user: root and password: voyage , then:
#remountrw ............ so you are able to write to the HDD (or CF-card)
In order to install samba I had to add this line to etc/apt/sources.list
deb
http://security.debian.org/debian-security squeeze/updates main
Next:
#apt-get install samba
Then I made the directory that should be shared via Samba (I don't know if it is important as I already had it):
#chmod a+w /mnt/media (= the USB-HDD which is mounted in /etc/fstab)
Then move the default samba config (so you have an untouched copy if needed):
#mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
Then make a new empty samba config file:
#touch /etc/samba/smb.conf
Edit this new /etc/samba/smb.conf file so it contains:
[global]
workgroup = workgroup
netbios name = Voyage SERVER
server string = Voyage server %v
map to guest = Bad User
#log file = /var/log/samba/log.%m
#max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
dns proxy = No
security = User
# Sharing for downloaded files
[download]
path = /mnt/media
valid user = root
read only = No
create mask = 0777
directory mask = 0777
Restart samba:
#/etc/init.d/samba restart
Add a samba user (this gave me much trouble, I could not make new users, therefore I used the already present linux user: "root"
To make a samba user "root" write:
#pdbedit -a root
... then write a password - I used voyage - same as in log into voyage
To define the correct homedirektory for root:
# pdbedit -u=root -h=/mnt/media
Then restart samba
/etc/init.d/samba restart
Samba needs to be able to write to the following directories: /var/lib/samba and /var/cache/samba /etc/samba
So add these directories to the file etc/default/vopyage-util so it now contains the line:
VOYAGE_SYNC_DIRS="/var/lib/squeezeboxserver /var/cache /var/lib/samba /var/cache/samba /etc/samba"
EDIT: I added /etc/samba to the line above, otherwise SAMBA would die after 15-20 min.
================================================== =========
Finally in order to mount my USB-HDD at startup I needed to edit my /etc/fstab, first you need to find you USB-HDD name by:
#fdisk -l
in my case it was /dev/sda1 therefore I added the following line to my /etc/fstab file:
/dev/sda1 /mnt/media auto rw,user,auto 0 0