I have smbfs up and running nicely, however I would like to know if we could possibly integrate this into the network settings apposed to the way i have it.
Files You Need!
What I did
1. put smbfs.o into /lib/modules/2.4.??.??-dbox2/kernel/fs/smbfs/
2. put libnsl.so.1 into /lib
3. put smbmount and smbmnt to /bin - chmod 755
4. put smb.conf into /var/etc and symlink /etc/smb.conf to var
5. put smb_launch into /var/etc/init.d/ - chmod 755
5. touch /var/etc/.smbfs
6. add this to rcS
That was it, i also added a Boot/Drivers Option as you can see below, but it would be cool if we could add it to the network menu and save the settings in neutrino.conf and somehow pars that info to mount the share.# Load smbfs if enabled
if [ -e /var/etc/.smbfs ]; then
$IM $MD/smbfs.o
/var/etc/init.d/smb_launch
fi
smb_launch
--me# Samba Server Settings
server_ip=192.168.1.100
share01=samba
#share02=mp3
#share03=movies
#share04=epg
#The username and password
user=Your_Username
pass=Your_Password
# The main directory the mounts will be mounted in
mnt_dir01=/mnt/samba
#mnt_dir02=/mnt/mp3
#mnt_dir03=/mnt/movies
#mnt_dir04=/mnt/epg
workgroup=tuxbox
# Mount the Shares
smbmount //$server_ip/$share01 $pass -I $server_ip -U $user -W $workgroup -c "mount $mnt_dir01"
#smbmount //$server_ip/$share02 $pass -I $server_ip -U $user -W $workgroup -c "mount $mnt_dir02"
#smbmount //$server_ip/$share03 $pass -I $server_ip -U $user -W $workgroup -c "mount $mnt_dir03"
#smbmount //$server_ip/$share04 $pass -I $server_ip -U $user -W $workgroup -c "mount $mnt_dir04"