[nos-bbs] Autoexec.Nos
Bob Tenty
bobtenty at gmail.com
Sat Aug 29 22:13:02 EDT 2009
Hi Dave,
I see as hostname KA0SWT-13. Often ka0swt.ampr.org (top part of the
autoexec.nos is a little bit shifted) or whatever is used as long as you
specify it in the domain.txt if you don't have a domain name server
specified
in your autoexec.nos.
You need also a route back to the linux kernel in jnos like
route add default tun0
So that you can reach it with tcp/ip.
This is a very basic autoexec.nos of course to get you going.
I will mail a more extensive autoexec.nos so that you can compare.
73,
Bob VE3TOK
Dave wrote:
> Here's the autoexec.nos. Sorry.....
>
>
>
>
> ===================================================
> #
> # 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
> # # Maximize TCP performance for standard LAN having MTU 1500
> # tcp mss 1460
> tcp window 5840 # tcp maxwait 30000 tcp retries 5 # ip address 192.168.2.2
> ip address 10.1.10.154 # # Hostname and default ax25 call # hostname
> KA0SWT-13
> ax25 mycall KA0SWT-13
> #
> # Local DNS is done via the 'domain.txt' file !
> #
> # 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.2.2
> ifconfig tun0 ipaddress 10.1.10.154
> 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.2.1 pointopoint 192.168.2.2 mtu 1500 up # #
> Attach AXIP wormhole to a remote system # attach axip axi0 256 192.168.0.103
> # ifconfig axi0 description "axip wormhole"
> #
> # Attach AXUDP wormhole to a remote system # attach axudp axu0 256
> 192.168.0.103 # ifconfig axu0 description "axudp wormhole"
> #
> # Attach a kiss enabled TNC
> #
> attach asy ttyS0 - ax25 vhf 4096 256 9600 # ifconfig vhf description "vhf -
> 1200 baud port"
> #
> param vhf 2 256
> param vhf 3 1
> param vhf 5 1
> #
> param vhf TxDelay 25
> #
> # Beacon out the RF port every 20 minutes # #
> ax25 bctext "internet gateway"
> ax25 bcinterval 1200
> ax25 bc vhf
> #
> # Start the engines
> #
> start ax25
> start telnet
> start smtp
> #
>
>
>
>
>
More information about the nos-bbs
mailing list