Thank you. The issue was that ip-driver would stop (shift-z) when backgrounded because it needed an active stdin to work. I tracked it down in the code and commented it out (in vty.c for those interested), it now backgrounds itself without stopping (listens only on 6106, not 6106 and stdin).
Harsha On 02/28/2011 12:00 AM, Philip Levis wrote: > On Feb 26, 2011, at 10:45 AM, Harsha Chenji wrote: > >> Hello all, >> >> I am trying to get ip-driver working in daemon mode on a router. However, >> when I issue the "./ip-driver&" command, the process always backgrounds >> itself. > The& token in a shell backgrounds a process. > >> Only when I type "fg" does the process become active again. This happens on >> a PC also. > That is usually how shells work. > >> Has anyone gotten ip-driver to work successfully as a daemon? It should >> ideally not require an active console to do its work. > There are tools to take programs and have them act as daemons: this is > generally better than working that logic into every program. E.g., the daemon > program. > > Phil _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
