<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type><LINK 
rel=stylesheet type=text/css href="chrome://translator/skin/floatingPanel.css">
<META name=GENERATOR content="MSHTML 8.00.6001.23562"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT face=Arial>Thanks Bob for your help.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I disable the Respawn and run it from the shell.  
This afternoon tested it in the office and Jnos stay alive for 4 hours without 
exiting until I exit and went home.  At home now, the status command show 
is up for 2 hours, 19 minutes, and 30 sec.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Something is wrong with the way I automatically restart 
routine in case of crash.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>In /etc/inittab added this line:</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>##Start Jnos on bootup and respawn it should it 
crash<BR>JNOS:2345:respawn:/jnos/startnos</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>My startnos:</FONT></DIV>
<DIV><FONT face=Arial><BR>#!/bin/sh<BR># Script to invoke the Linux Jnos.  
Usage: dojnos [optional_args]<BR># User should edit definitions for jnosroot and 
autoexec, and edit the<BR># $local and $remote addresses, and $mtu value in the 
DIP script below:<BR>#<BR>rm -f /jnos/spool/mqueue/*.lck 2>/dev/null<BR>rm -f 
/jnos/spool/mail/*.lck 2>/dev/null<BR>#<BR>exec /jnos/jnos -d /jnos -v 
</dev/tty8>/dev/tty8 2>&1<BR>#<BR></FONT></DIV>
<DIV><FONT face=Arial>So maybe something wrong with tty8 or should I try another 
tty?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Or if there is another way to autostart Jnos in the 
RPI?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Now, that I monitor my log more frecuently to try to solve 
my problem.  I see that hackers are trying to hack into my 
Jnos.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>14:59:20  89.106.101.23:39439 - MBOX (root) bad 
login<BR>14:59:32  89.106.101.23:39580 - MBOX (root) bad 
login<BR>14:59:44  89.106.101.23:39753 - MBOX (admin) bad 
login<BR>14:59:55  89.106.101.23:39905 - MBOX (admin) bad 
login<BR>15:00:07  89.106.101.23:40024 - MBOX (admin) bad 
login<BR>15:00:18  89.106.101.23:40139 - MBOX (admin) bad 
login<BR>15:00:30  89.106.101.23:40252 - MBOX (admin) bad 
login<BR>15:00:41  89.106.101.23:40369 - MBOX (admin) bad 
login<BR>15:00:53  89.106.101.23:40491 - MBOX (admin) bad 
login<BR>15:01:04  89.106.101.23:40606 - MBOX (cusadmin) bad 
login<BR>15:01:15  89.106.101.23:40728 - MBOX (cusadmin) bad 
login</FONT></DIV>
<DIV><FONT face=Arial>19:29:05  121.34.217.118:47267 - MBOX (root) bad 
login<BR>21:06:05  110.184.235.100:45981 - MBOX (root) bad 
login<BR>21:13:40  109.166.175.86:54030 - MBOX (root) bad 
login<BR></FONT></DIV>
<DIV><FONT face=Arial>Thanks,</FONT></DIV>
<DIV><FONT face=Arial>José / HP2AT</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=bobtenty@gmail.com href="mailto:bobtenty@gmail.com">Bob Tenty</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=nos-bbs@tapr.org 
  href="mailto:nos-bbs@tapr.org">TAPR xNOS Mailing List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 12, 2014 6:23 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [nos-bbs] Raspberry Pi Jnos 
  exiting every 15 minutes or less</DIV>
  <DIV><BR></DIV>
  <DIV class=moz-cite-prefix>Check or /var/log/syslog gives you a clue just 
  before the time it restarts.<BR><BR>Run jnos from the shell prompt instead of 
  in a pseudo tty  and let it run for a while<BR>and see or it doesn't 
  crash or whatever.<BR><BR>It may be how you start jnos in a pseudo tty if it 
  keeps running from the shell.<BR><BR>73,<BR><BR>Bob (Boudewijn) 
  VE3TOK<BR><BR><BR>On 14-02-12 11:20 AM, Jose Ng Lee wrote:<BR></DIV>
  <BLOCKQUOTE cite=mid:CD6A9F2D7D4047C98EB5A951260E736E@HOLLYWOOD.HOLLYWOOD.COM 
  type="cite"><LINK rel=stylesheet type=text/css 
    href="chrome://translator/skin/floatingPanel.css">
    <META name=GENERATOR content="MSHTML 8.00.6001.23543">
    <DIV><FONT face=Arial>I am using the F6BVP image with AX25, DXSpider, Fbb, 
    Fpac preintalled burned into a 32GB SD card.  Later installed Jnos, 
    APRX, and LinBPQ.  All the other software are working OK.  My only 
    problem is Jnos that is keep exiting in every 15 minutes or 
    less.  I set it to respawn automatically.   I tried 
    jnos2f and jnos2fx4 compiled from the source OK but still exiting.  The 
    logs doesn't show me why it is exiting.</FONT></DIV>
    <DIV> </DIV>
    <DIV><FONT face=Arial>JNOS LOG:<BR>09:54:25  - allocating maximum of 24 
    Axip (axudp + axip) devices<BR>09:54:25  - allocating maximum of 24 
    dynamic gateways for routes<BR>09:54:26  - using new [tun0] 
    device<BR>09:54:26  - tun_rx - listening for packets<BR>09:55:07  
    - JNOS 2.0j.4 (Linux) was started<BR>10:09:51  - allocating maximum of 
    24 Axip (axudp + axip) devices<BR>10:09:51  - allocating maximum of 24 
    dynamic gateways for routes<BR>10:09:51  - using new [tun0] 
    device<BR>10:09:51  - tun_rx - listening for packets<BR>10:10:33  
    - JNOS 2.0j.4 (Linux) was started<BR>10:19:13  - allocating maximum of 
    24 Axip (axudp + axip) devices<BR>10:19:13  - allocating maximum of 24 
    dynamic gateways for routes<BR>10:19:14  - using new [tun0] 
    device<BR>10:19:14  - tun_rx - listening for packets<BR>10:19:55  
    - JNOS 2.0j.4 (Linux) was started<BR>10:20:10  - allocating maximum of 
    24 Axip (axudp + axip) devices<BR>10:20:10  - allocating maximum of 24 
    dynamic gateways for routes<BR>10:20:10  - using new [tun0] 
    device<BR>10:20:10  - tun_rx - listening for packets<BR>10:20:51  
    - JNOS 2.0j.4 (Linux) was started</FONT></DIV>
    <DIV> </DIV>
    <DIV><FONT face=Arial>SYSLOG:<BR>Feb 12 10:19:37 hp2ng netromd[3139]: 
    receiving NODES broadcast on port lan from HP2NG-6<BR>Feb 12 10:19:55 hp2ng 
    kernel: [  160.052280] IPv4: martian source 200.46.129.3 from 
    44.163.22.12, on dev tun0<BR>Feb 12 10:19:55 hp2ng kernel: [  
    160.076090] IPv4: martian source 200.46.129.3 from 44.163.22.12, on dev 
    tun0<BR>Feb 12 10:19:55 hp2ng kernel: [  160.102165] IPv4: martian 
    source 200.46.129.3 from 44.163.22.12, on dev tun0<BR>Feb 12 10:20:10 hp2ng 
    LINBPQ[3289]: BPQ32 Heartbeat Buffers 786 APRS Queues 0 0#015<BR>Feb 12 
    10:20:10 hp2ng netromd[3139]: receiving NODES broadcast on port bpq from 
    HP2NG-2<BR>Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to 
    me<BR>Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to 
    me<BR>Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to 
    me<BR>Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: quality less 
    than worst_qual<BR>Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: 
    quality less than worst_qual<BR>Feb 12 10:20:10 hp2ng netromd[3139]: 
    netromr: add_node: quality less than worst_qual<BR>Feb 12 10:20:10 hp2ng 
    netromd[3139]: netromr: add_node: quality less than worst_qual<BR>Feb 12 
    10:20:10 hp2ng NetworkManager[2896]:    SCPlugin-Ifupdown: 
    devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)<BR>Feb 12 
    10:20:10 hp2ng NetworkManager[2896]:    SCPlugin-Ifupdown: 
    devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)<BR>Feb 12 
    10:20:10 hp2ng NetworkManager[2896]:    SCPlugin-Ifupdown: 
    device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown 
    configuration found.<BR>Feb 12 10:20:34 hp2ng netromd[3139]: receiving NODES 
    broadcast on port lan from HP2NG-6<BR>Feb 12 10:20:51 hp2ng kernel: [  
    216.684161] IPv4: martian source 200.46.129.3 from 44.163.22.12, on dev 
    tun0<BR>Feb 12 10:20:51 hp2ng kernel: [  216.707724] IPv4: martian 
    source 200.46.129.3 from 44.163.22.12, on dev tun0<BR>Feb 12 10:20:52 hp2ng 
    kernel: [  216.733542] IPv4: martian source 200.46.129.3 from 
    44.163.22.12, on dev tun0<BR>Feb 12 10:21:05 hp2ng LINBPQ[3289]: BPQ32 
    Heartbeat Buffers 786 APRS Queues 0 0#015<BR>Feb 12 10:22:00 hp2ng 
    LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS Queues 0 0#015<BR>Feb 12 
    10:22:31 hp2ng dbus[2812]: [system] Activating service 
    name='org.freedesktop.ConsoleKit' (using servicehelper)<BR>Feb 12 10:22:31 
    hp2ng dbus[2812]: [system] Successfully activated service 
    'org.freedesktop.ConsoleKit'<BR>Feb 12 10:22:56 hp2ng LINBPQ[3289]: BPQ32 
    Heartbeat Buffers 787 APRS Queues 0 0#015<BR>Feb 12 10:23:31 hp2ng kernel: 
    [  375.843236] Shorewall:net2tun:DROP:IN=eth0 OUT=tun0 
    MAC=b8:27:eb:e1:b2:ee:00:16:17:4d:70:d9:08:00:45:00:00:81:e3:32:00:00:de:5d:66:88 
    SRC=200.46.129.3 DST=200.46.129.4 LEN=129 TOS=0x00 PREC=0x00 TTL=222 
    ID=58162 PROTO=93 <BR>Feb 12 10:23:51 hp2ng LINBPQ[3289]: BPQ32 Heartbeat 
    Buffers 787 APRS Queues 0 0#015<BR>Feb 12 10:24:46 hp2ng LINBPQ[3289]: BPQ32 
    Heartbeat Buffers 787 APRS Queues 0 0#015<BR>Feb 12 10:25:02 hp2ng kernel: 
    [  466.821519] Shorewall:net2tun:DROP:IN=eth0 OUT=tun0 
    MAC=b8:27:eb:e1:b2:ee:88:43:e1:dc:7f:40:08:00:45:00:00:28:01:00:00:00:6a:06:0b:dd 
    SRC=198.40.52.152 DST=200.46.129.4 LEN=40 TOS=0x00 PREC=0x00 TTL=106 ID=256 
    PROTO=TCP SPT=6000 DPT=3389 WINDOW=16384 RES=0x00 SYN URGP=0 <BR>Feb 12 
    10:25:42 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS Queues 0 
    0#015<BR>Feb 12 10:26:37 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 
    APRS Queues 0 0#015<BR>Feb 12 10:27:32 hp2ng LINBPQ[3289]: BPQ32 Heartbeat 
    Buffers 787 APRS Queues 0 0#015<BR>Feb 12 10:28:22 hp2ng kernel: [  
    667.562527] Shorewall:net2tun:DROP:IN=eth0 OUT=tun0 
    MAC=b8:27:eb:e1:b2:ee:88:43:e1:dc:7f:40:08:00:45:00:00:30:a1:0a:00:00:68:06:cf:b6 
    SRC=61.129.91.83 DST=200.46.129.4 LEN=48 TOS=0x00 PREC=0x00 TTL=104 ID=41226 
    PROTO=TCP SPT=24397 DPT=22 WINDOW=65535 RES=0x00 SYN URGP=0 <BR>Feb 12 
    10:28:27 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS Queues 0 
    0#015</FONT></DIV>
    <DIV> </DIV><FONT face=Arial>
    <DIV>I tried gdb but it said no debugging symbols.  I re-compiled the 
    jnos binary without stripping but still shows the no debugging 
    symbols.  I tried in the makefile debug static -g3 but does not compile 
    and exit with Error.</DIV>
    <DIV> </DIV>
    <DIV><A href="mailto:root@hp2ng:/home/hp2at" 
    moz-do-not-send="true">root@hp2ng:/home/hp2at</A># ps -ef | grep 
    jnos<BR>root      3874     
    1  0 10:47 tty8     00:00:00 /jnos/jnos -d /jnos 
    -v<BR>root      3961  3959  0 10:50 
    pts/10   00:00:00 grep jnos<BR><A 
    href="mailto:root@hp2ng:/home/hp2at" 
    moz-do-not-send="true">root@hp2ng:/home/hp2at</A># gdb -p 3874<BR>GNU gdb 
    (GDB) 7.4.1-debian<BR>Copyright (C) 2012 Free Software Foundation, 
    Inc.<BR>License GPLv3+: GNU GPL version 3 or later <<A 
    href="http://gnu.org/licenses/gpl.html" 
    moz-do-not-send="true">http://gnu.org/licenses/gpl.html</A>><BR>This is 
    free software: you are free to change and redistribute it.<BR>There is NO 
    WARRANTY, to the extent permitted by law.  Type "show copying"<BR>and 
    "show warranty" for details.<BR>This GDB was configured as 
    "arm-linux-gnueabihf".<BR>For bug reporting instructions, please 
    see:<BR><<A href="http://www.gnu.org/software/gdb/bugs/" 
    moz-do-not-send="true">http://www.gnu.org/software/gdb/bugs/</A>>.<BR>Attaching 
    to process 3874<BR>Reading symbols from /jnos/jnos...done.<BR>Reading 
    symbols from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so...(no debugging 
    symbols found)...done.<BR>Loaded symbols for 
    /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so<BR>Reading symbols from 
    /lib/arm-linux-gnueabihf/libncurses.so.5...(no debugging symbols 
    found)...done.<BR>Loaded symbols for 
    /lib/arm-linux-gnueabihf/libncurses.so.5<BR>Reading symbols from 
    /lib/arm-linux-gnueabihf/libtinfo.so.5...(no debugging symbols 
    found)...done.<BR>Loaded symbols for 
    /lib/arm-linux-gnueabihf/libtinfo.so.5<BR>Reading symbols from 
    /lib/arm-linux-gnueabihf/libgcc_s.so.1...(no debugging symbols 
    found)...done.<BR>Loaded symbols for 
    /lib/arm-linux-gnueabihf/libgcc_s.so.1<BR>Reading symbols from 
    /lib/arm-linux-gnueabihf/libc.so.6...Reading symbols from 
    /usr/lib/debug/lib/arm-linux-gnueabihf/libc-2.13.so...done.<BR>done.<BR>Loaded 
    symbols for /lib/arm-linux-gnueabihf/libc.so.6<BR>Reading symbols from 
    /lib/arm-linux-gnueabihf/libdl.so.2...Reading symbols from 
    /usr/lib/debug/lib/arm-linux-gnueabihf/libdl-2.13.so...done.<BR>done.<BR>Loaded 
    symbols for /lib/arm-linux-gnueabihf/libdl.so.2<BR>Reading symbols from 
    /lib/ld-linux-armhf.so.3...(no debugging symbols found)...done.<BR>Loaded 
    symbols for /lib/ld-linux-armhf.so.3<BR>0xb6e9bd80 in select () at 
    ../sysdeps/unix/syscall-template.S:82<BR>82      
    ../sysdeps/unix/syscall-template.S: No such file or 
directory.<BR>(gdb)</DIV>
    <DIV> </DIV>
    <DIV>I tried looking at the autoexec.nos for anything not right, the network 
    configuration, shorewall firewall configuration, cron jobs, not running the 
    other software LinBPQ, APRX, etc but still exiting in 15 minutes or 
    less.</DIV>
    <DIV> </DIV>
    <DIV>Any help where to look or what to try to make JNOS work.</DIV>
    <DIV> </DIV>
    <DIV>Thanks,</DIV></FONT>
    <DIV><FONT face=Arial>Jose / HP2AT</FONT></DIV><BR>
    <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
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="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</A>
</PRE></BLOCKQUOTE><BR>
  <DIV style="BOTTOM: auto; DISPLAY: none; TOP: 30px; RIGHT: auto; LEFT: 506px" 
  id=translator-floating-panel class=translator-theme-default>
  <DIV id=translator-floating-panel-button 
  title="Click to translate"></DIV></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>nos-bbs mailing 
  list<BR>nos-bbs@tapr.org<BR>http://www.tapr.org/mailman/listinfo/nos-bbs<BR></BLOCKQUOTE></BODY></HTML>