Hello,
Using a PC i can mount a folder. However if i use a NAS drive running a samba server (without user and passwd) i cannot mount the drive!
Can someone help me?
Best regards
| Dreambox Support Forum | |
Hello,
Using a PC i can mount a folder. However if i use a NAS drive running a samba server (without user and passwd) i cannot mount the drive!
Can someone help me?
Best regards

How are you trying to mount it? Are you running samba on the Dreambox?
Have you tried mounting it from a web interface?
This post may be of interest although it seems unresolved:
http://www.satellites.co.uk/satellit...directory.html
What image are you using? Please update your system profile.
Hello,
I'm using Gemini 4.3.
I already try all that is explained in this post you cite.
I try using telnet session and web interface.
How can i run samba in the dreambox ?
Best regards

Try this:
(from i-have-a-dreambox.com; download samba from _http://www.i-have-a-dreambox.com/wbb2/thread.php?postid=605475#post605475)I've resolved my problem in this way....i've edited monut.sh in var/script in this way:
smbmount //192.168.1.100/Dreambox /mnt/hdd/ -o username=root,password=dreambox
after chmod 755 at mount.sh
There is also a guide in Italian here:
_http://www.dreambox.it/guide_montare_HD_di_rete_con_SAMBA.htm
I don't have NAS so can't test it. Let us know how you get on.
And looking here: _http://wiki.blue-panel.com/index.php/Auto_Mounter
it looks like CIFS = SMB ?
Hello,
Thanks for the helping. The italian tutorial do not work! Fails to mount!!!
Tomorrow i will test smbmount and i will report the results.
Thank you
Best Regards

Did you try mounting the NAS using the web interface and selecting SMBFS as the File System?
Or from the Communication > Mount Manager in the Expert Setup page on the Dreambox?
Thank you....
This command works great:
smbmount //192.168.1.100/Dreambox /mnt/hdd/ -o username=root,password=dreambox
And, two more questions....:
How to mount at Dreambox startup ?
How to umount the drive (using umount, the drive is umounted, but /mnt/hdd becomes inacessible: Input/Output error)
Thank you
Last edited by vasila; 21-04-2008 at 11:02 PM

In the Mount Manager there is an "Automount" tickbox (click the blue button on the NAS mount page in Expert Setup). There is a red button to unmount.
Sorry if that's a bit unclear - it'll make more sense when you look at the page![]()

Another way would be to add your mount command to shell script that is executed when Enigma is restarted.
For a 500 I believe you can create a file called init and FTP it to /etc (chmod 775)
e.g.
I can't test it as my 500s is not in service at the moment (it's on the floor with the lid off).Code:#!/bin/sh smbmount //192.168.1.100/Dreambox /mnt/hdd/ -o username=root,password=dreambox
This thread may be helpful: http://www.satellites.co.uk/satellit...-start-up.html

Another way would be to add your mount command to shell script that is executed when Enigma is restarted.
For a 500 you can create a file called init and place it in /etc (chmod 775).
e.g.
Startup uses /etc/rcS.d/S00bootup (or /etc/init.d/bootup) which in turn calls /var/etc/init (if you create it); or just add your mount command to /etc/init.d/bootup.Code:#!/bin/sh smbmount //192.168.1.100/Dreambox /mnt/hdd/ -o username=root,password=dreambox
These files may vary by Dreambox model and image.
I can't test it as my 500s is not in service at the moment (it's on the floor with the lid off).
This thread may be helpful: http://www.satellites.co.uk/satellit...-start-up.html
And if you want to schedule it:
http://www.satellites.co.uk/satellit...to-update.html
And some general info: _http://www.net42.co.uk/satellite/dreambox-hints.html
I am still having issues mounting my NAS disk.... The version engima I'm running seems to be slightly different. The two things I have tried are:
root@dreambox:~> smbmount //10.2.2.65/movies /mnt/hdd/ -o username=root,password=dreambox
XXXXXXXXX: invalid option -- o
Usage: smbmount service <password> [-p port] [-d debuglevel] [-l log]
Version 1.9.18p8
-p port connect to the specified port
-d debuglevel set the debuglevel
-l log basename. Basename for log/debug files
-n netbios name. Use this name as my netbios name
-N don't ask for a password
-m max protocol set the max protocol level
-I dest IP use this IP to connect to
-E write messages to stderr instead of stdout
-U username set the network username
-W workgroup set the workgroup name
-c command string execute semicolon separated commands
-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}
-D directory start from directory
root@dreambox:~> smbmount //10.2.2.65/movies /mnt/hdd/ -N Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
security=share
smb: \>
Any Ideas?

So the first command line gives and error and the second doesn't?
Why are you using 127.0.0.1 ?
neither works.... that's what the command returned without specifying the -0 user option which does not fit the correct syntax as shown by the error above. I have tried mounting a few different ways but nothing is working. Before I had my image updated I could mount from the web interface using smbfs but that isn't working since the update. I can't be the only one struggling with mounting on a NAS disk.
root@dreambox:~> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:34:23:08:5E
inet addr:10.2.2.104 Bcast:10.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78931 errors:0 dropped:0 overruns:0 frame:0
TX packets:26592 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12386579 (11.8 MiB) TX bytes:2437231 (2.3 MiB)
Interrupt:25 Base address:0x600
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:134 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15517 (15.1 KiB) TX bytes:15517 (15.1 KiB)
root@dreambox:~>
got it working by accident....
root@dreambox:~> smbmount //reb_disk/movies /mnt/hdd
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
startlmhosts: Can't open lmhosts file /lib/lmhosts. Error was No such file or directory
security=share
smb: \> mount /hdd
root@dreambox:~> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3968 3968 0 100% /
/dev/mtdblock/1 2816 1532 1284 54% /var
//REB_DISK/MOVIES 292945920 98304 292847616 0% /var/mnt/hdd
root@dreambox:~>
Now to get it to auto mount each time....

Are you running Samba as a service?
Is the command line that worked?
smbmount //reb_disk/movies /mnt/hdd
If you'd like to help other members can you dissect it a bit more (and also if posting elsewhere explain what you did - what you typed and what the response was; http://www.satellites.co.uk/satellit...tml#post766070).
You don't have to but it helps.
I would like to know how/why this method works. Once I was able to mount it, then I can actually use the webserver to manage/mount it again. It's very strange and doesn't fit with what I found in forums.
Quite litterally I stumbled on the fix by typing various things trying to get out of the smb: \> when I tried initially mounting.
To mount I'm doing the command from an ssh session which leaves me with an smb:/ > prompt:
root@dreambox:~> smbmount //reb_disk/movies /mnt/hdd
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
startlmhosts: Can't open lmhosts file /lib/lmhosts. Error was No such file or directory
security=share
smb: \>
smb: \> mount /hdd
root@dreambox:~> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3968 3968 0 100% /
/dev/mtdblock/1 2816 1532 1284 54% /var
//REB_DISK/MOVIES 292945920 98304 292847616 0% /var/mnt/hdd
root@dreambox:~>
The NAS disk has a built in SAMBA service along with an FTP server built in.
To get out of and successfully mount I follow up with:
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks