<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What we do is run a script that is executed from /etc/rc.local.  This is run at boot time.  The script calls JNOS in a the “screen” command, so that we can attach/detach to the console from any terminal.  The script also executes in a loop which tests the exit code of JNOS and, if not 0, restarts it.  Works FB.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Michael<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>N6MEF<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nos-bbs-bounces@tapr.org [mailto:nos-bbs-bounces@tapr.org] <b>On Behalf Of </b>Wm Lewis<br><b>Sent:</b> Thursday, November 25, 2010 9:28 PM<br><b>To:</b> nos-bbs@tapr.org<br><b>Subject:</b> Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>I use Ubuntu 10<br> <br>If I start JNOS as just a "common user", the TUN and MASQUERADE doesn't load correct and the ethernet cant find anything for my axip and 44.x.x.x links.<br> <br>If I start JNOS as "root" all TUN and MASQUERADE works fine.<br> <br>If I run JNOS as "root" and set a "respawn" so if JNOS dies it will restart.<br> <br>Question...... Since I need "root" to make JNOS work correctly, and my motherboard will reboot after a power failure, how does one get Ubuntu to auto-login as "root" ?<br> <br>I can make it auto-login as any other defined user. Just no option in the menu of users for "root" to auto-login.<br> <br>Go to any Ubuntu forum board and all you see is "Auto login as ROOT!!!!!   <u>WE</u> don't want to do that. <u>WE</u> would have a security risk"<br> <br>I don't know who "<u>WE</u>" is! This is my machine and yes I do want to auto-login as root.<br> <br>Anyone know how it's done? <br><br>After a power failure I want it to reboot as root, and run JNOS automatically.<br> <br>Bill<br>KG6BAJ <br>> From: romers@shaw.ca<br>> To: nos-bbs@tapr.org<br>> Date: Thu, 25 Nov 2010 14:03:52 -0800<br>> Subject: Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...<br>> <br>> Thanks... it compiled fine using 2.0h source. Now one more question:<br>> Must I really run from root? Is it not sufficient to start jnos as:<br>> 'sudo ./jnos' from the directory I have jnos in? <br>> <br>> The reason I ask is I'm getting some weird inconsistent results getting<br>> my axip stuff to work. Sometimes it does, and sometimes it doesn't, and<br>> sometimes only half the link works. I thought maybe it's because I'm<br>> running jnos out of my home directory, starting it as sudo. ipv4<br>> forwarding is on on the jnos machine.<br>> <br>> Best,<br>> jerome va7vv<br>> <br>> On Thu, 2010-11-25 at 11:03 -0600, Maiko Langelaar wrote:<br>> > Jerome,<br>> > <br>> > Thanks for the following cut and paste of the error.<br>> > <br>> > > ftpcli.o ftpcli.c<br>> > > ftpcli.c:84: error: conflicting types for ?getline?<br>> > > /usr/include/stdio.h:651: note: previous declaration of ?getline? ...<br>> > <br>> > I noticed you are using 2.0f source, which by now is a bit dated. I<br>> > actually fixed this problem on October of 2009, so technically 2.0h<br>> > source will work for you, but it's *old* now as well. You might as<br>> > well just use 2.0i, which I have frozen for now. Just rsync it.<br>> > <br>> > Maiko<br>> > <br>> > _______________________________________________<br>> > nos-bbs mailing list<br>> > nos-bbs@tapr.org<br>> > https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs<br>> <br>> <br>> <br>> _______________________________________________<br>> nos-bbs mailing list<br>> nos-bbs@tapr.org<br>> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs<o:p></o:p></span></p></div></body></html>