Hello,
I have a ipbox9000+usb nightly 0.7.5 with internal hdd and an external NAS.
I am having no success on mounting shared folder of nas on /mnt/cifs. I found a file: /usr/lib/enigma2/python/Plugins/Extensions/EMUmanager/mountstarter.sh, inside this script is listed, as a kind of library, the file: /var/config/cifs.conf. Inside cifs.conf are parameters for a cifs mount like ip address, directory, login user and pass, which I filled with NAS ip etc. Later in mountstarter.sh is a kind of procedure:
=====================================
mount_cifs()
{
if [ -e /var/etc/active_cifs ]; then
mount -t cifs //$cifs_address/$cifs_directory /mnt/cifs -o user=$cifs_login,password=$cifs_pass
fi
=======================================
where the variables are the same inside cifs.conf. The mountstarter.sh is executable by emu manager->disk menu-hdd/cifs mount manager, in auto mode that means mount both hdd and cifs. HDD is always ok, but I do not find anything in /mnt/cifs. I forget to say that I created a 0 byte file: /var/etc/active_cifs.
After failing mounting, I tried directly from shell, the mount command above putting values instead of variables:
mount -t cifs //192.168.1.2/kot /mnt/cifs -o user=a,password=b
and system response is:
mount: mounting \\192.168.1.2\kot on /mnt/cifs failed: No such device
I also have a dreambox 500s in this network, and try th same command from dm500 shell:
*********************************************************
** **
*** Welcome on your dreambox! - Kernel 2.6.9 ***
** **
*** SifTeam Image for dreambox ***
** **
*********************************************************
Saturday, 09 January 2010 Time: 00:53:34
SifTeam Image for dreambox
dreambox login: root
Password:
BusyBox v1.01 (2009.08.25-07:06+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ > mount -t cifs //192.168.1.2/kot /hdd -o user=a,password=b
~ > cd hdd
/hdd > ls
BtDownload dm500 epg.dat.md5 lost+found movie
bt epg.dat films lp0.bin oz
/hdd > ls -l
drwxrwxrwx 1 root root 0 Nov 21 03:04 BtDownload
drwxrwxrwx 1 root root 0 Jan 1 1970 bt
drwxrwxrwx 1 root root 0 Nov 19 00:34 dm500
-rwxrwSrwt 1 root root 826264 Nov 21 01:07 epg.dat
-rwxrwSrwt 1 root root 16 Nov 21 01:07 epg.dat.md5
drwxrwxrwx 1 root root 0 Nov 21 03:02 films
drwxrwxrwx 1 root root 0 Nov 18 22:04 lost+found
-rwxrwSrwt 1 root root 55077 Jan 7 11:45 lp0.bin
drwxrwxrwx 1 root root 0 Nov 24 17:59 movie
drwxrwxrwx 1 root root 0 Jan 1 1970 oz
/hdd >
the cifs mount is successfull on dreambox you can see nas folders.
The mount command is correct, something is wrong in ipbox9000
Can you help me? I have several days trying it
thanks in advance
I have a ipbox9000+usb nightly 0.7.5 with internal hdd and an external NAS.
I am having no success on mounting shared folder of nas on /mnt/cifs. I found a file: /usr/lib/enigma2/python/Plugins/Extensions/EMUmanager/mountstarter.sh, inside this script is listed, as a kind of library, the file: /var/config/cifs.conf. Inside cifs.conf are parameters for a cifs mount like ip address, directory, login user and pass, which I filled with NAS ip etc. Later in mountstarter.sh is a kind of procedure:
=====================================
mount_cifs()
{
if [ -e /var/etc/active_cifs ]; then
mount -t cifs //$cifs_address/$cifs_directory /mnt/cifs -o user=$cifs_login,password=$cifs_pass
fi
=======================================
where the variables are the same inside cifs.conf. The mountstarter.sh is executable by emu manager->disk menu-hdd/cifs mount manager, in auto mode that means mount both hdd and cifs. HDD is always ok, but I do not find anything in /mnt/cifs. I forget to say that I created a 0 byte file: /var/etc/active_cifs.
After failing mounting, I tried directly from shell, the mount command above putting values instead of variables:
mount -t cifs //192.168.1.2/kot /mnt/cifs -o user=a,password=b
and system response is:
mount: mounting \\192.168.1.2\kot on /mnt/cifs failed: No such device
I also have a dreambox 500s in this network, and try th same command from dm500 shell:
*********************************************************
** **
*** Welcome on your dreambox! - Kernel 2.6.9 ***
** **
*** SifTeam Image for dreambox ***
** **
*********************************************************
Saturday, 09 January 2010 Time: 00:53:34
SifTeam Image for dreambox
dreambox login: root
Password:
BusyBox v1.01 (2009.08.25-07:06+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ > mount -t cifs //192.168.1.2/kot /hdd -o user=a,password=b
~ > cd hdd
/hdd > ls
BtDownload dm500 epg.dat.md5 lost+found movie
bt epg.dat films lp0.bin oz
/hdd > ls -l
drwxrwxrwx 1 root root 0 Nov 21 03:04 BtDownload
drwxrwxrwx 1 root root 0 Jan 1 1970 bt
drwxrwxrwx 1 root root 0 Nov 19 00:34 dm500
-rwxrwSrwt 1 root root 826264 Nov 21 01:07 epg.dat
-rwxrwSrwt 1 root root 16 Nov 21 01:07 epg.dat.md5
drwxrwxrwx 1 root root 0 Nov 21 03:02 films
drwxrwxrwx 1 root root 0 Nov 18 22:04 lost+found
-rwxrwSrwt 1 root root 55077 Jan 7 11:45 lp0.bin
drwxrwxrwx 1 root root 0 Nov 24 17:59 movie
drwxrwxrwx 1 root root 0 Jan 1 1970 oz
/hdd >
the cifs mount is successfull on dreambox you can see nas folders.
The mount command is correct, something is wrong in ipbox9000
Can you help me? I have several days trying it
thanks in advance
Last edited: