ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7000 in unattended embedded service

To:
Subject: [ts-7000] Re: ts-7000 in unattended embedded service
From: "jenlhunt2003" <>
Date: Wed, 17 Aug 2005 14:26:57 -0000
Actually, putting

tst1:12345:wait:/mydir/myprogram

after the Run Level r6:6:wait:/etc/rc.d/rcS 6 line in etc/inittab
seems to work quite well so far, including network connectivity.

So, since this approach isn't proper, how do you recommend handling
unattended bootup the "right" way?  Seriously, not being able to boot
and execute a program without login would make the TS-7200 unusable
for most embedded applications.  So how about it folks at TS, what's
the proper proceedure here?

Thanks,

Henry


--- In  Jim Jackson <> wrote:
> 
> 
> 
> On Wed, 17 Aug 2005, jenlhunt2003 wrote:
> 
> > > You just will want to put your applications/scripts in the
startup
> > > script /etc/rc.d/rcS.sysinit
> >
> > I tried putting my application at the end of rcS.sysinit.  It
fires
> > up, but complains because the network is not up yet.
> >
> > Is there someplace later (after network initialization) in these
> > scripts where we can safely start an application?
> 
> look in the directory /etc/init.d/
> I believe there is a "network" startup script.
> Sorry I can't remember the exact file name and I don't have my
ts7200 to
> hand.
> 
> The script is self explanatory.
> 
> >
> > >
> > > There is no such thing as "auto-login" in Linux.  The closest
thing
> > > would be to bypass the normal initialization procedure (which
> > > invokes the getty and login on the serial terminal) with your
own
> > > program by passing an init=/myprogram from the kernel startup
> > > command line.
> >
> > Where is, or do we put, the kernel startup command line?  It seems
> > like maybe in inittab, but nothing in there has the the format
> > mentioned above: init=/myprogram.
> >
> 
> Read the documentation you got with the board - it is done in
redboot.
> 
> I would not recommend doing this, it replaces the normal
initialisation
> and startup stuff. You would have to ensure your program did any
> system initialisation required for your environment, like mounted
disks,
> network stuff, getty's on lines, daemons started like inetd etc etc.
> You sound like a new comer to linux, and this could just prove far
too
> difficult.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hki8ann/M=362329.6886308.7839368.1510227/D=groups/S=1705005378:TM/Y=YAHOO/EXP=1124296060/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU