[nos-bbs] ubuntu 9.1 compiles OK now, but...

Michael Fox - N6MEF n6mef at mefox.org
Fri Nov 26 00:45:31 EST 2010


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.

 

Michael

N6MEF

 

From: nos-bbs-bounces at tapr.org [mailto:nos-bbs-bounces at tapr.org] On Behalf
Of Wm Lewis
Sent: Thursday, November 25, 2010 9:28 PM
To: nos-bbs at tapr.org
Subject: Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...

 

I use Ubuntu 10
 
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.
 
If I start JNOS as "root" all TUN and MASQUERADE works fine.
 
If I run JNOS as "root" and set a "respawn" so if JNOS dies it will restart.
 
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" ?
 
I can make it auto-login as any other defined user. Just no option in the
menu of users for "root" to auto-login.
 
Go to any Ubuntu forum board and all you see is "Auto login as ROOT!!!!!
WE don't want to do that. WE would have a security risk"
 
I don't know who "WE" is! This is my machine and yes I do want to auto-login
as root.
 
Anyone know how it's done? 

After a power failure I want it to reboot as root, and run JNOS
automatically.
 
Bill
KG6BAJ 
> From: romers at shaw.ca
> To: nos-bbs at tapr.org
> Date: Thu, 25 Nov 2010 14:03:52 -0800
> Subject: Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...
> 
> Thanks... it compiled fine using 2.0h source. Now one more question:
> Must I really run from root? Is it not sufficient to start jnos as:
> 'sudo ./jnos' from the directory I have jnos in? 
> 
> The reason I ask is I'm getting some weird inconsistent results getting
> my axip stuff to work. Sometimes it does, and sometimes it doesn't, and
> sometimes only half the link works. I thought maybe it's because I'm
> running jnos out of my home directory, starting it as sudo. ipv4
> forwarding is on on the jnos machine.
> 
> Best,
> jerome va7vv
> 
> On Thu, 2010-11-25 at 11:03 -0600, Maiko Langelaar wrote:
> > Jerome,
> > 
> > Thanks for the following cut and paste of the error.
> > 
> > > ftpcli.o ftpcli.c
> > > ftpcli.c:84: error: conflicting types for ?getline?
> > > /usr/include/stdio.h:651: note: previous declaration of ?getline? ...
> > 
> > I noticed you are using 2.0f source, which by now is a bit dated. I
> > actually fixed this problem on October of 2009, so technically 2.0h
> > source will work for you, but it's *old* now as well. You might as
> > well just use 2.0i, which I have frozen for now. Just rsync it.
> > 
> > Maiko
> > 
> > _______________________________________________
> > nos-bbs mailing list
> > nos-bbs at tapr.org
> > https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs
> 
> 
> 
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20101125/231fe743/attachment.html>


More information about the nos-bbs mailing list