[nos-bbs] New to packet, running linux, looking for some advice

Mark Phillips g7ltt at g7ltt.com
Tue Jan 22 17:43:37 EST 2008


IPENCAP is usually where things fall down. Have you done that?

Also, you really should use a 44.x.x. address which you can get from
either N2NOV or K2MF.

I've attached mine for some ideas.

Mark



On Tue, 2008-01-22 at 13:27 -0500, Chris wrote:
> FWIW, the latest JNOS2 I downloaded will compile just fine on an
> Ubuntu 7.10 system and works with tun just fine.  I substituted my
> 'bloated' up defines version with most everything enabled for the bin
> that the nice installer script uses so I had a base autoexec.nos to
> start hacking on.
> 
> I still haven't completely sorted out what I'm doing wrong, but I'm
> getting closer each time I hack at the autoexec.nos file.  I've got it
> able to ping and telnet over my LAN, but something about my routing is
> a bit off still so I haven't been able to get past the LAN gateway to
> the internet yet and mail is still fouled up.
> 
> I'm still slugging away though, better I figure it out on my own
> really, I'm learning quite a bit as I slog through it.
> 
> On Jan 22, 2008 11:59 AM, Gene Mayler - K8EE <mayler at sbcglobal.net> wrote:
> > Hi Guys,
> >
> > > > I've discovered that many of the RedHat based distro's don't have the
> > > > TUN driver compiled so you may have to do that with something like
> > > > MAKDEV. I run a debian based system here for that reason.
> >
> > For those who  don't have a Tun driver and can't compile later versions of
> > jnos, remove    tun.o   from the makefile.
> >
> > 73, Gene - K8EE
> >
> >
> > _______________________________________________
> > nos-bbs mailing list
> > nos-bbs at lists.tapr.org
> > https://lists.tapr.org/cgi-bin/mailman/listinfo/nos-bbs
> >
> 
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at lists.tapr.org
> https://lists.tapr.org/cgi-bin/mailman/listinfo/nos-bbs
-- 



Mark Phillips, G7LTT/NI2O
Randolph, NJ
-------------- next part --------------
# =============                                     NOSview [301]
# /autoexec.nos
# =============

#  This is the configuration file for NOS.
#  This file must be at the NOS root.

#  There are many commands which NOS needs to configure the
#  program each time it starts.  To save typing them by hand
#  each time, you can put them in this file.

#  AUTOEXEC.NOS is the default name for the configuration file.
#  You can also produce alternative versions with different
#  names.  This is a very convenient way of setting up different
#  scenarios.  To use one of these alternatives, you include
#  its name as the final parameter in the NOS command line.
#    e.g.  nos_20m /autoexec.bob

#  Many of the commands below are commented out with the # sign.
#  As you gain experience with NOS you can then remove the #
#  signs to try out these commands.

#  If NOS hangs when starting up, it could be due to errors in
#  this file.  To help discover what is wrong, you can trace the
#  startup using the -v option in the NOS command line.

# Miscellaneous setup ******************************************
attended         off
#escape                          # <ESC> character
log              off
#watchdog         off

motd  "If I'm not here, please leave a message in the mailbox."

# Set up domain defaults ***************************************
domain cache size 20
domain suffix    ampr.org.
domain translate off             # display host names
domain verbose   on              # do not display suffix
domain addserver 44.68.41.46
domain cache wait 30000
domain cache clean off
domain maxwait 60
domain dns on

# Station Identification ***************************************
ip address       44.68.41.33
host             ni2o.ampr.org.
ax25 mycall      ni2o        # This MUST precede 'attach'
ax25 bbscall     ni2o-4
ax25 ttycall	 ni2o-1
ax25 alias       ARECS

# Set up the TNC ***********************************************
attach asy ttyS0 - pkiss hf 1024 256 9600
attach kiss hf 1 6m
attach kiss hf 2 2m
attach kiss hf 3 220

param hf       1 100            # TX delay    (x 10mS)
param hf       2 63            # Persistence (0-255)
param hf       3 20            # Slot Time   (x 10mS)
param hf       4 30            # TX tail     (x 10mS)
param hf       5 0             # 0=HDX

param 6m       1 35            # TX delay    (x 10mS)
param 6m       2 63            # Persistence (0-255)
param 6m       3 10            # Slot Time   (x 10mS)
param 6m       4 10            # TX tail     (x 10mS)
param 6m       5 0             # 0=HDX

param 2m       1 35            # TX delay    (x 10mS)
param 2m       2 63            # Persistence (0-255)
param 2m       3 10            # Slot Time   (x 10mS)
param 2m       4 10            # TX tail     (x 10mS)
param 2m       5 0             # 0=HDX

param 220       1 35            # TX delay    (x 10mS)
param 220       2 63            # Persistence (0-255)
param 220       3 10            # Slot Time   (x 10mS)
param 220       4 10            # TX tail     (x 10mS)
param 220       5 0             # 0=HDX


# Set up AX.25 *************************************************
#ax25 bc          hf on
#ax25 bc		 6m on
ax25 bc		 2m on
#ax25 bcinterval  600
#ax25 bctext      "ni2o-4 TCP/IP 44.68.41.33 [Randolph, NJ]"
ax25 digipeat    hf off
ax25 irtt        2500
ax25 maxframe    2
ax25 paclen      80
ax25 pthresh     128
ax25 retries     5
ax25 t3          65000
ax25 t4          300
ax25 timertype   linear
ax25 version     2
ax25 window      2048
ax25 filter      0
ax25 hsize       100
ax25 hport       hf on
ax25 bcport      hf off
ax25 bcport	 6m off
ax25 bcport	 2m on
ax25 bcport	 220 on

mode hf		datagram
mode 6m		datagram
mode 2m		datagram
mode 220	datagram

# Set up TUN port ********************************************
attach tun tun0 1500 0
ifconfig tun0 ipaddress 44.68.41.33
ifconfig tun0 netmask 255.255.255.240
ifconfig tun0 mtu 1500
pause 1
shell ifconfig tun0 44.68.41.34 pointopoint 44.68.41.33 up
##
ifconfig encap ip 44.68.41.33
ifconfig encap mtu 1500

# Set up AXIP link *********************************************
attach axip axip0 1024 44.68.41.33 ni2o-4
ifconfig axip0 description "AXIP link to N2NOV/NYDXA BBS"
ifc axip0 ax25 bctext "JNOS/LINUX 2.5c 44.68.41.33 <-> 44.68.41.1 Internal Link"

# Set up the AXIP wormhole *************************************
# attach axip ai0 256 ns9wrm NS9BOB-11

# Set up ifconfig **********************************************
ifconfig hf	 broadcast 44.68.41.48
ifconfig hf	 netmask 0xFFFFFFE0
ifconfig hf	 description "10.147 MHz port"

ifconfig 6m      broadcast 44.68.41.48
ifconfig 6m      netmask 0xFFFFFFE0
ifconfig 6m      description "52.200 MHz port"

ifconfig 2m      broadcast 44.68.41.48
ifconfig 2m      netmask 0xFFFFFFE0
ifconfig 2m      description "145.010 MHz port"

# Set up TCP/IP defaults ***************************************
ip ttl           30
tcp mss          1460
tcp irtt         65000
tcp window       5840
tcp timertype    linear
tcp maxwait      30000
tcp retries      5

# Start network services ***************************************
start ax25
start convers
start finger
start forward
start ftp
start netrom
start pop3
start remote 1234
#start rip
start smtp
start telnet
start ttylink
start gate 4000 44.68.41.34 4000

# Configure NET/ROM ********************************************
# start             netrom
#attach            netrom
#netrom call       n2nov-2
#netrom user       n2nov-7
#netrom alias      #NYDXA
#netrom interface  hf 192
#netrom nodetimer  900
#netrom obsotimer  1200
# netrom verbose    off
#netrom minquality 10
#netrom ttl        15
#netrom acktime    3000
#netrom qlimit     1024
#netrom retries    5
#netrom irtt       5000
#netrom promiscuous off
#netrom timertype  linear
#mode netrom       vc

# Broadcast your alias for local nodes - 3 times for luck
#netrom bcnodes    hf
#netrom bcnodes    hf
#netrom bcnodes    hf

# Set up NET/ROM filtering *************************************
# netrom nodefilter mode accept
# netrom nodefilter add NR9AAA-2 hf
# netrom nodefilter add NS9KEN-6 hf

# Set up the IP routing table for NET/ROM **********************
# route add       STATEN netrom KF2EO
# route add       region41/24 netrom ns9ken

# Set up the ARP table for NET/ROM *****************************
#arp add         44.68.41.10 netrom KF2EO-4 hf
# arp add         ns9ken netrom NS9KEN-6

# Set up NET/ROM routing ***************************************
# netrom route add NRA NR9AAA hf 192 NR9AAA
# netrom route add #TOM NS9TOM-6 hf 192 NR9AAA

# Set up AX.25 routing *****************************************
#ax25 route add  AX9TIM AX9DGA AX9DGB
#ax25 route add  NS9PAM-5 AX9DGC

# Set up AX.25 modes *******************************************
# ax25 route mode AX9AAA vc

# Set up the ARP table *****************************************
#arp add         nosland     ax25 QST-0
#arp add         ns9pam ax25 NS9PAM-5
##arp add 44.68.41.1 ax25 n2nov-4 sl0

# Set up IP routing ********************************************
route addprivate 44.0.0.0/9 encap 64.194.250.200
route addprivate 44.128.0.0/9 encap 64.194.250.201
route addprivate 1/8 encap 64.194.250.200
route addprivate 2/8 encap 64.194.250.200
route addprivate 3/8 encap 64.194.250.200
route addprivate 4/8 encap 64.194.250.200
route addprivate 5/8 encap 64.194.250.200
route addprivate 6/8 encap 64.194.250.200
route addprivate 7/8 encap 64.194.250.200
route addprivate 8/8 encap 64.194.250.200
route addprivate 9/8 encap 64.194.250.200
route addprivate 10/8 encap 64.194.250.200
route addprivate 11/8 encap 64.194.250.200
route addprivate 12/8 encap 64.194.250.200
route addprivate 13/8 encap 64.194.250.200
route addprivate 14/8 encap 64.194.250.200
route addprivate 15/8 encap 64.194.250.200
route addprivate 16/4 encap 64.194.250.200
route addprivate 32/4 encap 64.194.250.200
route addprivate 48/4 encap 64.194.250.200
route addprivate 64/9 encap 64.194.250.200
route addprivate 64.128/10 encap 64.194.250.200
route addprivate 64.192/15 encap 64.194.250.200
route addprivate 64.194/17 encap 64.194.250.200
route addprivate 64.194.128/18 encap 64.194.250.200
route addprivate 64.194.192/19 encap 64.194.250.200
route addprivate 64.194.224/20 encap 64.194.250.200
route addprivate 64.194.240/21 encap 64.194.250.200
route addprivate 64.194.248/23 encap 64.194.250.200
route addprivate 64.194.250/25 encap 64.194.250.200
route addprivate 64.194.250.128/26 encap 64.194.250.200
route addprivate 64.194.250.192/29 encap 64.194.250.200 #UROweb192-199
#route addprivate 64.194.250.201/32 encap 64.194.250.200 #UROweb201 44.128/16
#route addprivate 64.194.250.202/32 encap 64.194.250.200 #UROweb202
#route addprivate 64.194.250.203/32 encap 64.194.250.200 #UROweb203 CONVERSE
route addprivate 64.194.250.204/30 encap 64.194.250.200 #UROweb204-207
route addprivate 64.194.250.208/28 encap 64.194.250.200 #UROweb208-223
route addprivate 64.194.250.224/28 encap 64.194.250.200
route addprivate 64.194.250.225/27 encap 64.194.250.200
route addprivate 64.194.251/24 encap 64.194.250.200
route addprivate 64.194.252/22 encap 64.194.250.200
route addprivate 64.195/16 encap 64.194.250.200
route addprivate 64.196/14 encap 64.194.250.200
route addprivate 64.200/13 encap 64.194.250.200
route addprivate 64.208/12 encap 64.194.250.200
route addprivate 64.224/11 encap 64.194.250.200
route addprivate 65/8 encap 64.194.250.200
route addprivate 66/7 encap 64.194.250.200
route addprivate 68/6 encap 64.194.250.200
route addprivate 72/5 encap 64.194.250.200
route addprivate 80/4 encap 64.194.250.200
route addprivate 96/4 encap 64.194.250.200
route addprivate 128/1 encap 64.194.250.200
route add default tun0 64.194.250.200      
route addprivate  192.168.201/24 tun0
route addprivate 44.68.41.32/28 tun0
route sort on

# Set up the Convers server ************************************
convers umaxq 0
convers hmaxq 0
convers maxwait 600
convers channel 0
convers interface hf off
convers interface 6m on
convers interface 2m on
convers interface 220 on
convers link 64.194.250.203

# Set up the mailbox *******************************************
third-party      on
smtp maxservers 0
smtp maxclients 10
smtp trace 1
smtp timer 60
smtp batch off
smtp reclzw off
smtp sendlzw on
smtp quiet no
smtp dtimeout 0
smtp tdisc 0
smtp t4 0
lzw bits 9
lzw mode compact
#smtp gateway 44.44.1.1
smtp usemx off
smtp mode route
smtp kick

mbox attend off
mbox fwdinfo [JNOS]
mbox smtptoo no
mbox header on
mbox nobid off
#mbox holdlocal off
mbox showalias yes
mbox mailfor 900
mbox mailfor exclude n2nov wc0m hold
mbox newmail on
mbox sendquery on
mbox register on
mbox smtp yes
mbox secure no
mbox tdisc 900
mbox hideport hf on
mbox qth         "Randolph, NJ"
mbox zipcode     07869
mbox nrid        on
mbox haddress    ni2o.#nnj.NJ.US.NOAM
mbox password    ""
mbox fbb 2
mbox mport hf off
mbox mport 6m off
mbox mport 220 off
mbox newmail on
mbox register off
mbox alias DX "telnet dxc.aa2mf.net"
mbox alias CALL "telnet callsign.ualr.edu 2000"
mbox alias MUD "telnet 44.68.41.34 4000"

# ARRL SkipNet forwarding window at 11 mins past the hour
at 11 "mbox kick W8WJD+"

bulletin check yes
bulletin date yes
bulletin return yes
bulletin loophold 1
bulletin holdold 30

# Wake up POP to start shipping any outstanding mail ***********
# popmail addserver ns9ken pop3 ns9bob bob bobspasswd
# popmail addserver ns9liz 900 00:00-03:00 pop3 ns9bob ns9bob bobspasswd

# Set up FTP defaults ******************************************
ftype            binary
eol              standard

strace on
history 25
trace hf 0111
trace 6m 0111
trace 2m 0111
trace tun0 0111

# Set up function keys *****************************************
#source          /home/jnos/scripts/fkeys.scr

# register with n1uro or k2mf
remote -s gateways
remote -p 1234 -k gateways -r 44.68.41.32/28 64.194.250.200 add
at now+0001 "remote -p 1234 -k gateways -r 44.68.41.32/28 64.194.250.200 add+"
remote -g gateways

# poll for mail with N2NOV
at 45 "mbox kick N2NOV+"

# do a ping to prove we have network connectivity
ping 44.44.1.1

# ping N2NOV to allow hime to forward mail to me
ping 44.68.41.1

# NOTE: bug avoidance specials follow...
# Set APRS - specify only one to avoid crash
aprs logon call ni2o
#

# THE END


More information about the nos-bbs mailing list