Mount NAS Drive on DM500+Dreambox information exchange on the best dreambox software images and help with all other operational problems with your Dreambox. The ultimate Dreambox satellite TV support forum. | |
![]() |
| | LinkBack | Thread Tools | Display Modes |
![]() | ![]() |
| |||||||
Mount NAS Drive on DM500+Dreambox information exchange on the best dreambox software images and help with all other operational problems with your Dreambox. The ultimate Dreambox satellite TV support forum. | |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Member Join Date: 12-12-2006 Location: Portugal
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
My System: Illusion M3 |
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 | ||
| | |
| | #2 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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: Unable to mount CIFS share - Not a directory What image are you using? Please update your system profile. | ||
| | |||
| | |
| | #3 | ||
| Member Join Date: 12-12-2006 Location: Portugal
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
My System: Illusion M3 | 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 | ||
| | |
| | #4 | |||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | Try this:
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 ? | |||
| Last edited by mhku; 07-04-2008 at 11:39 PM. | ||||
| | |
| | #5 | ||
| Member Join Date: 12-12-2006 Location: Portugal
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
My System: Illusion M3 | 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 | ||
| | |
| | #6 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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? | ||
| | |||
| | |
| | #7 | ||
| Member Join Date: 12-12-2006 Location: Portugal
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
My System: Illusion M3 | 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; 22-04-2008 at 12:02 AM. | |||
| | |
| | #8 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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 | ||
| | |||
| | |
| | #9 | |||
| Member Join Date: 12-12-2006 Location: Portugal
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
My System: Illusion M3 | Thanks for your help.... ![]() ![]() You are very clear, d'ont worry ;-)However, using the Mount Manager is not possible to mount the NAS drive. Just using telnet and smbmount id possible to mount the NAS drive. Thank you. Best Regards | |||
| | |
| | #10 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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. Code: #!/bin/sh smbmount //192.168.1.100/Dreambox /mnt/hdd/ -o username=root,password=dreambox This thread may be helpful: Add Telnet Command To Box Start Up | ||
| | |||
| | |
| | #11 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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. 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: Add Telnet Command To Box Start Up And if you want to schedule it: Using cron to auto Update And some general info: _http://www.net42.co.uk/satellite/dreambox-hints.html | ||
| Last edited by mhku; 22-04-2008 at 10:39 PM. | |||
| | |
| | #12 | ||
| Member Join Date: 28-07-2007 Location: SA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
My System: DM500S Connected to MAC's via NFS. | 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? | ||
| | |
| | #13 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | So the first command line gives and error and the second doesn't? Why are you using 127.0.0.1 ? | ||
| | |||
| | |
| | #14 | ||
| Member Join Date: 28-07-2007 Location: SA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
My System: DM500S Connected to MAC's via NFS. | 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:~> | ||
| | |
| | #15 | ||
| Member Join Date: 28-07-2007 Location: SA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
My System: DM500S Connected to MAC's via NFS. | 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.... | ||
| | |
| | #16 | ||
| Super Moderator Join Date: 08-03-2005 Location: J6 M5
Posts: 4540
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1 My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini ![]() If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots | 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; Some Help on Mounting). You don't have to but it helps. | ||
| | |||
| | |
| | #17 | |||
| Member Join Date: 28-07-2007 Location: SA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
My System: DM500S Connected to MAC's via NFS. |
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: | |||
| | |
![]() |
| Bookmarks |
| Tags |
| dm500, drive, mount, nas |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |