How-To: automount.conf

  • The new Gemini feature lets you mount approved devices on your Dreambox wherefore the previous mountmanager is not needed anymore.


    If you intend to approve devices via NFS or CIFS just use autmount.conf in var/etc.


    Example NFS: Approved folder "hdd" on a additional box or pc (192.168.0.3) should be mounted as "extern":


    Zitat

    Extern -fstype=nfs,rw,soft,udp,nolock,rsize=8192,wsize=8192 192.168.0.3:/hdd


    Example CIFS: Approved folder "hdd" on additional box or pc (192.168.0.3, user IHAD, passwort FAQ) should be mounted as "extern":


    Zitat

    extern -fstype=cifs,rw,soft,rsize=8192,wsize=8192,user=IHAD,password=FAQ ://192.168.0.3/hdd


    Example CD-Rom: For embedding just remove the hash key.


    Zitat

    cd -fstype=auto,ro :/dev/cdroms/cdrom0


    After restart all mounted devices get mounted in folder /automount


    Please attend the kernel of Gemini 3.1 which has to be in the flash memory.

  • Thank U "nightbird" !


    That is the information that i was looking for today.


    Michel-Mode=on


    Manno, ich wollt eben grad ´nen Thread anwerfen, um genau das zu fragen.


    Michel-Mode=off

  • It works fine from my DB to my WinXP box.


    But I've 2 DB7000 :
    - DB1 with a HD (192.168.0.52),
    - DB2 without HD (192.168.0.54).
    I'd like to watch movies recorded on DB1 from DB2.


    I've tried with CIFS :
    db1hdd -fstype=cifs,rw,soft,rsize=8192,wsize=8192,user=root,password=dreambox ://192.168.0.52/harddisk
    It doesn't work, I don't why :frowning_face:


    I don't know Linux, but I understand that in such a case, it would be better to use NFS instead of CIFS. Something like :
    db1hdd -fstype=nfs,rw,soft,udp,nolock,rsize=8192,wsize=8192 192.168.0.52:/hdd
    But it hangs the DB2 :frowning_face:


    Have you got a solution, with CIFS or NFS ?
    Thank you !!!

  • hi mayto,


    i can not speak englisch :)


    HD von 7000 an 500 mounten

    Kathrein EXR 508/T | Schwaiger 100er-Alu | Goldedition Quatro 0,3 dB | Gent-st1 | Sidu-akt | Ubun-akt | ... | Q9550 | 8 GB | DS-107+

    Einmal editiert, zuletzt von dreg ()

  • I tried this example but it doesn't work at my DM7000S


    I have the "perfectFlash" image in flash and gemini 3.20 in USB (via FWP-boot menu). Is this my problem, do I need to have a image that supports automount (eg Gemini 3.10 or 3.20) in flash?


    Can anyone answer to this question? Thanks in advance!



  • ok , its working


    but can i mount it to hdd
    i wont to mount movie on NAS to hdd on dreambox , so i can record


    br

  • Zitat

    Originally posted by pisko
    but can i mount it to hdd
    i wont to mount movie on NAS to hdd on dreambox , so i can record


    no you can't...
    as a workaround you can do:


    Code
    rm -f /hdd
    ln -s /automount/extern /hdd


    this should do the trick...


  • trick done :)


    thanks


    br

  • hallo,I have one share from a debian computer.


    my automount.cfg looks like


    fs -fstype=nfs,rw,rsize=8192,wsize=8192 192.168.192.220:/export


    when I try accessing the share the DB7025 hangs and the only way to get its control again is to remove mains.


    any suggesiton???


    ciao ciao

  • hallo,I have one share from a debian computer.


    my automount.cfg looks like


    fs -fstype=nfs,rw,rsize=8192,wsize=8192 192.168.192.220:/export


    when I try accessing the share the DB7025 hangs and the only way to get its control again is to remove mains.


    if I mount the share via telnet on /mnt/nfs/ it works perfectly....


    any suggesiton???


    ciao ciao


  • sorry, now it works, pls do ask me how or why....


    ciao

  • Zitat

    Originally posted by donald_duck


    sorry, now it works, pls do ask me how or why....


    ciao

    i have same proplem pls tell me why?

  • i also can't join usb-storage/media files player(Tvisto mini) to dm7020 :frowning_face:


    after pluged in i see new procceses in telnet console
    28960 root SW [usb-storage]
    28961 root SW [scsi_eh_1]
    and some new entries under /dev/
    /dev/discs>disc0
    which goes to
    /dev/scsi/host1/bus0/target0/lun0
    under which are presented:
    disc
    generic
    part1


    have tryed different paths in automount.conf

    Code
    tvisto	-fstype=auto,rw :/dev/discs/disc0
    tvisto2	-fstype=auto,rw :/dev/scsi/host1/bus0/target0/lun0/disc
    tvisto3	-fstype=auto,rw :/dev/scsi/host1/bus0/target0/lun0/generic
    tvisto4	-fstype=auto,rw :/dev/scsi/host1/bus0/target0/lun0/part1


    under BluePanel->System info->USB-Devices i see that info:
    what does say me nothing :frowning_face:

    Zitat

    Manufacturer = Linux 2.6.9 ohci_hcd
    Product = OCP OHCI
    SerialNumber = ocp
    Class = HUB



    and about formating:
    after Blue Panel->(3)Extras / Settings->USB-Stick(Disk) formating
    i can't see that disck also on PC XP sp2 - it shows disk under [Disk Management],
    but with statuss "Healthy (Unknown Partition)" and without ability set drive letter,
    only one option is presented: "Delete Partition"


    first time drive were formated as NTFS, which format it has after dreambox i don't know

    dm8Ksstt+NN2 dm7020+GP
    1.8m+36E;28E;23E;19E;16E;13E;7E
    1.6m+42E;40/39E;36E
    1.0m+10/9E;5E;1W;8W
    0.8m+4/5W
    1.1m+12W;18W;24W
    1.0m+15W;22W;30W
    1.0m+75E;80E
    1.1m+53E;60E

  • got mounted!


    have formated disk as FAT32
    and mounted it by this line in /etc/automount.conf

    Code
    tvisto	-fstype=auto,rw :/dev/scsi/host0/bus0/target0/lun0/part1


    but transfering are so slow and dream becomes so freezy if device pluged out


    and one big BUT:
    Tvisto mini can't be Player when usb pluged in
    :loudly_crying_face: :loudly_crying_face: :loudly_crying_face:

    dm8Ksstt+NN2 dm7020+GP
    1.8m+36E;28E;23E;19E;16E;13E;7E
    1.6m+42E;40/39E;36E
    1.0m+10/9E;5E;1W;8W
    0.8m+4/5W
    1.1m+12W;18W;24W
    1.0m+15W;22W;30W
    1.0m+75E;80E
    1.1m+53E;60E

  • ok now I like to see the following example:


    dm600 ( enigma 1 ) - 192.168.178.3
    dm8000 ( enigma 2 ) - 192.168.178.2


    1: what to do with gemini4 on dm8000 except enabling from blue panel NFS Server ( BP - (4) Services/Daemons - Set NFS Server ( Network File System ) to green --> do I need to Setup Client IP, Netmask till Port?


    2: how to configure dm600 in /etc/automount.conf:
    DB8000 -fstype=nfs,rw,soft,tcp,nolock,rsize=8192,wsize=8192 192.168.178.2:/hdd/movie/ ( or UDP? ) - It won't work


    3: how to mount via Mount Manager on dm600 /media/dm8000 to the DM8000 via NFS?


    mkdir -p /media/dm800
    chmod 755 /media/dm800


    In mount manager I defined:
    IP 192.168.178.2 NFS
    dir /media/hdd
    local /media/dm8000
    options rw,soft,udp,nolock
    extra nolock,rsize=8192,wsize=8192


    2 and 3 won't work and I really don't know what I am doing wrong here, hopefully one can help out please?

  • Hi there.


    Can someone confirm for me if One can both mount a local Network via CIFS while having an onboard HDD installed on the 8000 ?
    Ive been having problems with getting my 8000 to mount my local network shared PC Harddisk.
    I have no problems with the share with my 7020s box.. But just cant sort out the 8000 to mount it..
    Possibly, The box wont mount a Network HDD at the same time while a local HDD is installed within the box ??.


    Any pointers would be great !!


    cheers


    Ren - Downunder