Qboxhd(-mini) Samba 3.5.6
Qboxhd(-mini) Samba 3.5.6
--------------------------------------------------------------------------------
Code:
_http://qboxhd.pandasat.info/oscam/samba-3.5.6_4-qboxhd.tar.gz
Samba 3.5.6 compiled for QboxHD and MINI
This is NOT an update or addon package. Not yet !
1) download the archive from link above (about 19MB) and copy into your QboxHD "/" root dir (not in /tmp : not enough free space)
2) telnet/ssh into your QboxHD
cd /
tar xvzf samba-3.5.6_4-qboxhd.tar.gz
3) edit /etc/init.d/rcS and at the most bottom add the following three lines:
Code:
for initscript in /etc/rc.d/* ; do
$initscript
doneIn next QboxHD firmware releases this will be the new official standard, but for now you must add it manually. Every /etc/rc.d/ scripts will be started up at boot
Samba will be launched by /etc/rc.d/samba.sh
'nmbd' daemon disabled: saving memory. If you need it, edit /etc/rc.d/samba.sh
---------------------------------------------------------------------
All Samba installation is in /usr/local/samba
Config file: /usr/local/samba/lib/smb.conf
Daemons: /usr/local/samba/sbin
Utilities: /usr/local/samba/bin
Two share preconfigured:
[movie] without password
[root_dir] with password (username root , password qboxhd )
Access to QboxHD share from Windows :
a) "Start->Run" \\IP_QBOXHD\ (i.e. \\192.168.1.50\ )
b) (WinXP) "Tools->Map Network Drive" \\IP_QBOXHD\ (i.e. \\192.168.1.50\ )
Access to Windows share from QboxHD (smbd deamon can be not running, not needed for this)
a) using smbclient (ftp like)
smbclient //IP_WINDOWS/SHARENAME
i.e. smbclient //192.168.1.33/test
b) using smbget (wget like)
smbget smb://IP_WINDOWS/SHARENAME/file
i.e. smbget smb://192.168.1.33/test/dummyfile.pdf
c) mounting a remote share
mount.cifs //IP_WINDOWS/SHARENAME /LOCAL_PATH/TO/MOUNT
i.e.
mkdir /media/smb
mount.cifs //192.168.1.33/test /media/smb
if you need username and password:
mount.cifs //192.168.1.33/test /media/smb -o user=john,pass=shycmsj
umount:
umount.cifs /media/smb
Qboxhd(-mini) Samba 3.5.6
--------------------------------------------------------------------------------
Code:
_http://qboxhd.pandasat.info/oscam/samba-3.5.6_4-qboxhd.tar.gz
Samba 3.5.6 compiled for QboxHD and MINI
This is NOT an update or addon package. Not yet !
1) download the archive from link above (about 19MB) and copy into your QboxHD "/" root dir (not in /tmp : not enough free space)
2) telnet/ssh into your QboxHD
cd /
tar xvzf samba-3.5.6_4-qboxhd.tar.gz
3) edit /etc/init.d/rcS and at the most bottom add the following three lines:
Code:
for initscript in /etc/rc.d/* ; do
$initscript
doneIn next QboxHD firmware releases this will be the new official standard, but for now you must add it manually. Every /etc/rc.d/ scripts will be started up at boot
Samba will be launched by /etc/rc.d/samba.sh
'nmbd' daemon disabled: saving memory. If you need it, edit /etc/rc.d/samba.sh
---------------------------------------------------------------------
All Samba installation is in /usr/local/samba
Config file: /usr/local/samba/lib/smb.conf
Daemons: /usr/local/samba/sbin
Utilities: /usr/local/samba/bin
Two share preconfigured:
[movie] without password
[root_dir] with password (username root , password qboxhd )
Access to QboxHD share from Windows :
a) "Start->Run" \\IP_QBOXHD\ (i.e. \\192.168.1.50\ )
b) (WinXP) "Tools->Map Network Drive" \\IP_QBOXHD\ (i.e. \\192.168.1.50\ )
Access to Windows share from QboxHD (smbd deamon can be not running, not needed for this)
a) using smbclient (ftp like)
smbclient //IP_WINDOWS/SHARENAME
i.e. smbclient //192.168.1.33/test
b) using smbget (wget like)
smbget smb://IP_WINDOWS/SHARENAME/file
i.e. smbget smb://192.168.1.33/test/dummyfile.pdf
c) mounting a remote share
mount.cifs //IP_WINDOWS/SHARENAME /LOCAL_PATH/TO/MOUNT
i.e.
mkdir /media/smb
mount.cifs //192.168.1.33/test /media/smb
if you need username and password:
mount.cifs //192.168.1.33/test /media/smb -o user=john,pass=shycmsj
umount:
umount.cifs /media/smb
Comment