[Solved] Newnigma2 v3.2.1 mediatomb start automatically

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • [Solved] Newnigma2 v3.2.1 mediatomb start automatically

      Hi, can somebody help med out how I can make the Mediatomb UPnP MediaServer start automatically evertytime I start up my dm800hdse? Now I have to start it manually with the command "mediatomb --daemon" every time I reboot.

      I tried to add the line "mediatomb stream tcp nowait root usb/bin/mediatomb mediatomb --daemon" (copyed from another line that works) in inetd.confin /etc but that didn't help.

      Newnigma2 v3.2.1, dm800hdse, mediatomb 0.12.0.
      dm8000hd sssc, dm800hdse sc

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von alexbore ()

    • Need some more help please.

      I have the folder /usr/script/ not /user/script/. I guess this is the same folder(?) I have no file(?) called user_script.sh Do I need to create one? I have the files mediatomb-start.sh and mediatomb-stop.sh in the folder /usr/script/
      dm8000hd sssc, dm800hdse sc
    • /usr/script/user_script.sh is ok

      if u have no one, create an fill with this commands:

      Quellcode

      1. ~# echo "#!/bin/sh" > /usr/script/user_script.sh
      2. ~# echo "mediatomb --daemon" >> /usr/script/user_script.sh


      you can also start with the mediatomb-start.sh

      Quellcode

      1. ~# echo "/usr/script/mediatomb-start.sh" >> /usr/script/user_script.sh



      or create via ftp and edit linux editor - both should work
      #!/bin/sh
      mediatomb --daemon


      change attributes executable:

      Quellcode

      1. ~# chmod 755 /usr/script/user_script.sh


      test funktionality:

      Quellcode

      1. ~# /usr/script/user_script.sh



      user_script.sh will be executed on every bootup if exists
      Gruß Fred

      Die Dreambox ist tot, es lebe die Dreambox

      ¯\_(ツ)_/¯

      Quellcode

      1. root@dm920:~$ mount | grep "/ "
      2. /dev/mmcblk1p1 on / type ext4 (rw,relatime,data=ordered)
      3. root@dm920:~$

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von Fred Bogus Trumper ()

    • I've tried both mediatomb --daemon and "/usr/script/mediatomb-start.sh in the user_script.sh file. I did run the cmod 755 on both tries. But no luck.

      The mediatomb server start when i run the command /usr/script/user_script.sh, but after a reboot I still have to start it manually again.

      Please, any new suggestions?
      dm8000hd sssc, dm800hdse sc
    • add to autostart

      Quellcode

      1. update-rc.d -v mtb start 90 3 4 5 . stop 10 0 1 2 6 .


      remove from autostart

      Quellcode

      1. update-rc.d -v -f mtb remove


      start the daemon

      Quellcode

      1. /etc/init.d/mtb start


      stop

      Quellcode

      1. /etc/init.d/mtb stop


      ;)

      mfg
    • mediatomb automatisch starten

      Quellcode

      1. update-rc.d -v mtb start 90 3 4 5 . stop 10 0 1 2 6 .


      mediatomb vom autostart entfernen

      Quellcode

      1. update-rc.d -v -f mtb remove


      mediatomb starten

      Quellcode

      1. /etc/init.d/mtb start


      mediatomb stoppen

      Quellcode

      1. /etc/init.d/mtb stop