ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Boot script troubles..about to go nuts

To:
Subject: Re: [ts-7000] Re: Boot script troubles..about to go nuts
From: Onur T <>
Date: Sun, 15 Jan 2006 10:22:26 -0800 (PST)
Hi Yan,

The reason I believe the scripts are not running is that I get different behaviour when I insmod certain modules, depending on whether I have logged on from /dev/ttyAM0 or the ethernet or the /dev/ttyAM1.

Yes right now I can get my stuff to work. manually, by modifying the ttyAM0 line from respawn to runonce, and issuing kill -1 after startup. Then I connect the Serial Emdedded device I need on ttyAM0.

It is funny, unless I have the /dev/ttyAM0 line in inittab I can not insmod certain ppp related modules..

Let me ask another question.  For default network configuration is it best to modify the etc/sysconfig/ifcfg-eth0 file or add a ifconfig eth0 to one of the scripts in /etc/rc3.d ?

Also if I want to modify the default baud setting on /dev/ttyAM0 to 9600,  do I have to modify this line as well :
exec -c "console=ttyAM0,115200 root=/dev/mtdblock1" ?

Thanks!! !.

Yan Seiner <> wrote:
--- In Onur T <> wrote:
>
> Hi,
>  
>   I would like to remove getty /dev/ttyAM0 from /etc/inittab so that
I  can use COM1 for other purposes but when I do that not everything
is  properly initialised.
>  
>   When I disable the /dev/ttyAM0 getty launch from /etc/inittab and
logon  to the TS-2000 from the Network or /dev/ttyAM1 the proper boot
scripts  are no longer executed. How can I get the logons from Com2
behave the  same ways from COM1, or even better when I disable both
com ports from  /etc/inittab how can I ensure that network logons will
have all  initialisation done as is norma! lly done by logging on from
network.
>  

Are you sure the scripts are not running?  What makes you say so?

There is a 'console' jumper on the board...  It sets where system
messages go.  If it is set to ttyAM0, then all of our startup messages
go there regardless of what you say in inittab...

If you do not want a console, RTFM to find out what jumpers to set.
Then comment out all references to ttyAM? in inittab...

FWIW, you don't need to reboot after changing inittab; just issue kill
-1 1 from the command line.  If you are running a busybox init, you
wil have to kill the getty processes by hand; the init shipped with
the TS root fs should take care of that for you....

--Yan





Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.

SPONSORED LINKS
Computer internet security Linux os Computer internet business
Computer internet access Computer internet privacy securities Computer internet help


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<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