<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
NO, they don't need su/sudo in them<br>
<br>
<br>
<br>
/etc/init/tty5.conf<br>
<br>
# tty5 - getty<br>
#<br>
# This service maintains a getty on tty5 from the point the system
is<br>
# started until it is shut down again.<br>
<br>
start on runlevel [23]<br>
stop on runlevel [!23]<br>
<br>
respawn<br>
#exec /sbin/getty -8 38400 tty5<br>
exec /srv/home-remote/hamradio/jnos/dojnos<br>
<br>
<br>
-rw-r--r-- 1 root root 258 2009-10-31 15:32 tty5.conf<br>
<br>
(never touched the owner of this file)<br>
<br>
<br>
On 10-11-27 02:16 PM, Wm Lewis wrote:
<blockquote cite="mid:SNT125-w269961C6270F6E7D5B4C1CA9220@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
Another thought.<br>
<br>
These command appear to work when I manally enter them at a
different console **BECAUSE I'M LOGGED IN AS ROOT**<br>
<br>
During a power up boot, **THE SCRIPTS CALLED ARE NOT ROOT**
Which could be why they fail.<br>
<br>
So, again I'll ask.... do any of theses commands require some sort
of SU or SUDO injection in them?<br>
<br>
Bill<br>
KG6BAJ<br>
<br>
<hr id="stopSpelling">
From: <a class="moz-txt-link-abbreviated" href="mailto:thunderft@hotmail.com">thunderft@hotmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
Date: Sat, 27 Nov 2010 10:29:15 -0800<br>
Subject: Re: [nos-bbs] Ubuntu 10.04 autoboot JNOS & respawn<br>
<br>
<meta content="Microsoft SafeHTML" name="Generator">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>ok, here's the next problem..<br>
<br>
From concole 4, I typed what you said, and console 5 did come to
life.<br>
<br>
The issue was now JNOS could not find the "autoexec.nos" file
because <br>
the "startnos" crashed on the very first command of "cd /jnos"<br>
<br>
So... now what?<br>
<br>
<hr id="ecxstopSpelling">
Date: Sat, 27 Nov 2010 13:17:28 -0500<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bobtenty@gmail.com">bobtenty@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
Subject: Re: [nos-bbs] Ubuntu 10.04 autoboot JNOS & respawn<br>
<br>
The error is in "startnos".<br>
<br>
<br>
In your "startnos" file you have:<br>
<br>
<span lang="EN">exec /jnos/jnos -d/jnos -v
</dev/tty5>/dev/tty5 2>&1 <br>
<br>
The error is "jnos -d/jnos -v"<br>
<br>
<br>
You should use:<br>
<br>
<br>
</span><span lang="EN">exec /jnos/jnos -d -v
</dev/tty5>/dev/tty5 2>&1 </span><br>
<br>
-----<br>
<br>
tty5.conf itself is OK<br>
<br>
<br>
<br>
73,<br>
<br>
Bob VE3TOK<br>
<br>
<br>
On 10-11-27 07:01 AM, Wm Lewis wrote:
<blockquote cite="mid:SNT125-W11F755859E8313E72FFD88A9220@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>Bob:<br>
<br>
I tried updating as you said. Still no Joy. <br>
<br>
Do I need to be using some sort of SUDO command in any of this
for it to work on boot?<br>
<br>
Here are my updated files. <br>
<br>
"startnos" file (in /jnos directory<br>
==============================================<br>
<span lang="EN">cd /jnos<br>
rm -f /jnos/spool/mqueue/*.lck 2> /dev/null<br>
rm -f /jnos/spool/mail/*.lck 2> /dev/null<br>
export TZ=PST8PDT<br>
exec /jnos/jnos -d/jnos -v </dev/tty5>/dev/tty5
2>&1 <br>
</span>==============================================<br>
<br>
and the "tty5.conf" file<br>
<br>
==============================================<br>
<span lang="EN"># tty5 - getty<br>
#<br>
# This service maintains a getty on tty5 from the point the
system is<br>
# started until it is shut down again.<br>
<br>
start on runlevel [23]<br>
stop on runlevel [!23]<br>
<br>
respawn<br>
exec /jnos/startnos<br>
</span>==============================================<br>
<br>
What am I missing ?<br>
<br>
Bill<br>
KG6BAJ<br>
<hr id="ecxstopSpelling">
Date: Sat, 27 Nov 2010 01:23:29 -0500<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:bobtenty@gmail.com">bobtenty@gmail.com</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
Subject: Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...<br>
<br>
Bill:<br>
<br>
To start it in virtual tty5 add </dev/tty5>/dev/tty5
2>&1 to the "exec"<br>
line in your startnos file.<br>
<br>
like:<br>
<br>
exec ./jnos -g2 -w7+4 -d </dev/tty5>/dev/tty5
2>&1 <br>
<br>
<br>
export TERM=linux is not necessary<br>
<br>
<br>
Don't use tty5 (or whatever console not in use) to your
tty5.conf file if you use <br>
</dev/tty5>/dev/tty5 2>&1 , etc in your startnos
file.<br>
<br>
<br>
<br>
<br>
You can stop and start tty5 with the commands:<br>
<br>
initctl stop tty5<br>
initctl start tty5<br>
<br>
<br>
<br>
73,<br>
<br>
Bob VE3TOK<br>
<br>
<pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
nos-bbs mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs" target="_blank">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a>
</pre>
</blockquote>
<br>
<br>
_______________________________________________ nos-bbs mailing
list <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a> <br>
_______________________________________________ nos-bbs mailing
list <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
nos-bbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a>
</pre>
</blockquote>
<br>
</body>
</html>