Dreambox Support Forum



+ Reply to Thread
Showing results 1 to 17 of 17

Thread: Mount NAS Drive on DM500+

  1. #1
    Member
    Join Date
    12-12-2006
    Location
    Portugal
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My System: Illusion M3

    Mount NAS Drive on DM500+

    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. #2
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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:

    http://www.satellites.co.uk/satellit...directory.html

    What image are you using? Please update your system profile.

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  3. #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. #4
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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:

    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
    (from i-have-a-dreambox.com; download samba from _http://www.i-have-a-dreambox.com/wbb2/thread.php?postid=605475#post605475)

    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 10:39 PM

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  5. #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. #6
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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?

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  7. #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; 21-04-2008 at 11:02 PM

  8. #8
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  9. #9
    Member
    Join Date
    12-12-2006
    Location
    Portugal
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My System: Illusion M3
    Quote Originally Posted by mhku View Post
    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
    Hello,


    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. #10
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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
    
    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

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  11. #11
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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
    
    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.

    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
    Last edited by mhku; 22-04-2008 at 09:39 PM

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  12. #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. #13
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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 ?

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  14. #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. #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. #16
    Super Moderator mhku's Avatar
    Join Date
    08-03-2005
    Location
    J6 M5
    Posts
    4569
    Thanks
    11
    Thanked 188 Times in 170 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; http://www.satellites.co.uk/satellit...tml#post766070).

    You don't have to but it helps.

    You don't stop playing because you get old, you get old because you stop playing. Regras
    Before posting in the Dreambox section please ensure you've read The Guide


    Information is for educational purposes only


  17. #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.
    Quote Originally Posted by mhku View Post
    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:

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Sky (UK) EPG on DM500 MV
    By suksat in forum Dreambox Support Forum
    Replies: 6
    Last Post: 28-10-2008, 03:36 PM
  2. dm500 +
    By gladiador in forum Dreambox
    Replies: 2
    Last Post: 09-03-2008, 03:11 PM
  3. Dm500 Pvr
    By sk8ergeek in forum Dreambox500
    Replies: 8
    Last Post: 22-02-2008, 08:46 AM
  4. dm500
    By vitoral in forum Dreambox
    Replies: 8
    Last Post: 13-02-2008, 01:19 PM
  5. BBC HD and DM500
    By roaryyyj in forum Dreambox500
    Replies: 6
    Last Post: 28-10-2007, 12:25 AM

Tags for this Thread

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297