[nos-bbs] jnos2 multiple ax25 ports?

Chris kc2rgw at gmail.com
Sat Feb 6 16:30:36 EST 2010


O.k. so I'm 'almost there'

What I want is

KC2RGW incoming connects to open ttylink session for keyboard to keyboard

"BBS" to listen on KC2RGW-4 ax25 connects

Netrom is KC2RGW-9 with an alias of RGW

ax25 alias is RGW

I'm running the userspace soundmodem in linux.

It's 2m 1200b use with a single radio port called 'vhf'

Attached is the autoexec.nos file I'm using.

Any input appreciated.

-- 
73      de     Chris       KC2RGW
-----------------------------------------------
˙dn ǝpıs ʇɥƃıɹ ɹoʇıuoɯ ɹnoʎ uɹnʇ
ǝsɐǝןd 'sıɥʇ ƃuıpɐǝɹ ǝɹɐ noʎ ɟı
-------------- next part --------------
#
# A minimal autoexec.nos for a JNOS system having network connectivity to
# the linux box on which it is running on. From JNOS you can telnet to the
# linux box, and from the linux box you can telnet to JNOS. Any packet radio
# users can connect to JNOS through the single RF port which can be any TNC
# running in KISS mode. This configuration also allows JNOS users to exchange
# mail with other JNOS users (local mail), using the Send and Receive cmds.
#
# The jnosinstaller was designed for first time JNOS users, giving them
# something to start playing with.
#
# This autoexec.nos was GENERATED by jnosinstaller (version 2.1), which was
# released in January of 2008. The original version was written in July of
# the year 2005 - both versions written by Maiko Langelaar / VE4KLM.
#
# Enable JNOS to log events to dated files in /jnos/logs directory
#
log on
# Hostname and default ax25 call
#
ax25 mycall KC2RGW-1
ax25 ttycall KC2RGW
ax25 bbscall KC2RGW-4
ax25 alias RGW
#
host shackie.kc2rgw.com.
ip address 192.168.1.9
attach netrom
# Maximize TCP performance for standard LAN having MTU 1500
#
tcp mss 1460
tcp window 5840
tcp maxwait 30000
tcp retries 5
#
#
#
# Local DNS is done via the 'domain.txt' file !
domain suffix kc2rgw.com. 
domain dns on
domain update on
domain addserver 192.168.1.1
domain addserver 8.8.8.8
#
# Create a network interface. This allows us to talk to the linux
# box on which JNOS is running - and in turn - to the internet.
#
attach tun tun0 1500 0
#
ifconfig tun0 ipaddress 192.168.1.9
ifconfig tun0 netmask 255.255.255.0
ifconfig tun0 mtu 1500
#
# Give it a chance to come up
#
pause 1
#
# JNOS creates the TUN device, so JNOS needs to do some post configuration,
# by shelling out to the linux command line and running 'ifconfig' command.
#
shell ifconfig tun0 192.168.1.5 pointopoint 192.168.1.9 mtu 1500 up
pause 1
shell /usr/sbin/arp -s 192.168.1.9 90:e6:ba:41:36:01 pub
pause 1
route add default tun0
# Attach a kiss enabled TNC
#
attach asy soundmodem0 - ax25 vhf 4096 256 1200
#
ifconfig vhf description "vhf - 1200 baud port"
# Beacon out the RF port every 30 minutes
#
#
ax25 bctext "(RGWNOD) JNOS2 node Ubuntu Linux"
ax25 bcinterval 1800
ax25 bc vhf
ax25 maxframe 2
ax25 paclen 256
ax25 version 2
ax25 window 1024
ax25 timertype linear
#
param vhf 1 20 
param vhf 2 63
param vhf 3 1
param vhf 4 6
param vhf 5 0
ax25 digipeat vhf on
#
# Start the engines
#
start ax25
start telnet
start smtp
start ttylink
start forward
start netrom
start finger
#start time
#start trace
#
attended on
mbox sendquery off
mbox attend on
mbox mailfor 1200
mbox newmail on
mbox showalias on
mbox alias cluster "telnet dxc.n2ki.com 7300"
mbox alias qrz "telnet 192.168.1.5 7777"
mbox alias gsabbs "c vhf w2gsa-4"
mbox alias gsanod "c vhf w2gsa-2"
mbox alias n2dom "c vhf n2dom-4"
#smtp gateway 192.168.1.5 
#smtp usemx off
#smtp timer 300

netrom call KC2RGW-9
netrom alias RGW
netrom interface vhf 192 0
netrom hidden off
netrom g8bpq on
mode netrom vc
netrom bcnodes vhf on
netrom minquality 25
trace vhf 311
#
#
#


More information about the nos-bbs mailing list