Super daemon ?

Discussion in 'Tomato Firmware' started by DonutMan, May 10, 2013.

  1. DonutMan

    DonutMan Reformed Router Member

    Hi all,
    I've a Netgear WNR3500Lv2 running with Shibby Tomato.
    When I'm logging on it with ssh access, I cannot find where the super daemon is.
    Namely where is the conf file that tells the router which service should be called when the router receives messages on a given port ?

    Thanks a lot for yours answers :)

    Best Regards,

  2. RMerlin

    RMerlin Network Guru Member

    There is none. Daemons have to be running and directly answering connection attempts.
  3. DonutMan

    DonutMan Reformed Router Member

    Hi RMerlin,
    thank a lot for your answer :)
    I guess that there should be somewhere a startup script that launches the different daemons ?
    For instance, how does my router know that dnsmasq has to be launched ?

  4. jerrm

    jerrm Network Guru Member

    There is no startup script. There is startup process coded in a c program that reads nvram and initiates any processes as appropriate.
  5. Monk E. Boy

    Monk E. Boy Network Guru Member

    If you want to launch your own processes you need to roll it yourself through a combination of cron jobs, startup scripts, and iptables rules.

    The default processes have a process watchdog that both starts and restarts service daemons (AKA services) in the event they crash. Without modifying the source code you can't interact with it.
  6. DonutMan

    DonutMan Reformed Router Member

    Hi all,
    thanks a lot for your answers :)

    Best regards,

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice