THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
THIS IS NOT THE CURRENT CODE. CURRENT MOVED TO FIN'S SIDE OF THE WEB PAGE
TARPN-HOME Web Application
The TARPN installation includes a web-app server.
This is a program written for TARPN by Fin, NC4FG.
If a web browser is used with the IP address of the Raspberry PI and port number 8085, the user will be presented with a user interface for accessing the packet network and the
CHAT services.
For example, my Raspberry PI is assigned IP address 192.168.0.15.
If I launch
Safari and type the address
http://192.168.0.15:8085 I will be shown this display:
As of version 2.0, the
Chat tab is presented first showing the last 2000 characters of information received by the
TARPN-HOME web-app running on the node.
You can see recent conversation immediately upon rejoining your
CHAT session.
If you walk away from your shack and your computer, then upon arriving in the TV room and reach for your tablet, you can start the tablet's web browser and reconnect to
TARPN-HOME from there, not only seeing the conversation as you left it but actually getting newer lines of text which have arrived.
This is very convenient.
The
Node tab is also shared across all connected browsers, but the history is not available except in the form of a log file in Linux.
The options menu lets you turn on alert sounds to tell you a new line of text in
CHAT has arrived, or a new BBS mail message.
Composing an outgoing packet BBS message is easy in this elegant entry form.
Reviewing the list of received messages, and reading a message is also modern and reasonable.
What you need to know
V2.0 is tested with Safari on MacOSX, FireFox on MacOSX and MSWindows, Chrome on MSWindows.
Chromium on Raspberry PI was used briefly and it seemed to work.
MSWindows 10 Edge was shown to work.
Make sure you clear your cache (do shift Refresh on some browsers) when you run
TARPN-HOME of any new version.
V2.0 has one bug which is slightly annoying in that the
BBS display of messages doesn't show when you first enter the
BBS pane.
You need to wait 3 seconds, then click Refresh.
This is a known bug and it will be addressed.
There are a couple of features of
CHAT which interfere with proper operation.
The workarounds are to disable /ShowNames, and disable /Time.
To do these commands, click on the Commands: pull down window at the bottom of the page and select /ShowNames.
If the
CHAT server comes back saying Shownames is Enabled, do the command again.
Now do the same with /Time.
/Time nees to be Disabled.
The Help screen on
TARPN-HOME is a must read.
To start
TARPN-HOME you need to go to the Linux prompt on the Raspberry PI and use
tarpn home start.
After about a minute you can access the web page from your browser as discussed above.
Updating to latest TARPN-HOME
If you have never had a
TARPN-HOME v2 before, (nobody did before Jan 1 2019), you'll have to update your node.
Do this by the following commands entered from Linux:
tarpn service stop
tarpn update
tarpn updateapps
tarpn reboot
Then, after Linux comes back up, log back in and complete the process with
tarpn service start
tarpn home start
Now launch your web browser and connect to the node's IP address followed by :8085
If you have already had
TARPN-HOME v2 of an earlier version, all you need to do is go to Linux and type:
tarpn home update
In all cases when you have updated to a new version of TARPN-HOME, do a browser cache refresh.
In some browsers you just have to hold shift and click the browser's page refresh button.
As soon as you get TARPN-HOME running for the first time
For a new
CHAT install, you'll want to set some figures that
CHAT will remember.
CHAT will prompt you for your name, but the rest you have to figure out.
Some of these commands are newly relavent because of the features of TARPN-HOME.
All of these commands are available from the pull-down menu at the bottom of the Chat pane.
- /Name-- this is prompted for but to change your name setting, do /n Name
- /q -- QTH. do /q mytown or more specific if other people are also on from your town
- /Echo -- turn this on. This tells CHAT to show you want you typed.
- /Shownames -- turn this off, at least in v2.0
- /Time -- turn this off. It is redundant with TARPN-HOME's prompt support
- /Color -- turn this on. This makes it easier to see each different station's text differentiated from each other.
- /Keepalive --turn this on.
This causes a local transaction inside the Raspberry PI to keep CHAT from timing out.
Note: In v2.0 use /KEEP manually instead of the pull-down menu. This works around a typo in the v2.0 version.
Multiple Browsers
You can have many browsers running at the same time. Each will see the same connections.
You can move from one computer to the other, or leave one running all the time, while you use a more convenient tablet or laptop to operate with.
TARPN-HOME sends a beep-beep signal any time text arrives, to any browser which is either hidden, unfocussed, or idle for more than 5 minutes.
It is very handy.
Chat Tab
This tab is used to semi-automatically connect you to your node's
CHAT service.
Click on
Join and wait for the service to talk back to you.
In practice, everything you type goes out to all of the stations who are connected.
See
Configuring the CHAT service for info on the
CHAT service.
Close App Server
This button will tell the web-app running on the Raspberry PI to quit.
The Linux service controlled by the TARPN scripts will immediately start the web-app again, unless, using the Linux command prompt, you command the
TARPN-HOME web app to stop.
Node Tab
When you first open a browser window, it comes up in the
Node tab which lets you connect to your node by clicking on the Reconnect button.
Now you can give commands to your node including connecting to another node.
Use this interface to explore, diagnose, or customise the nodes.
You can also use this interface to connect to remote network servers, like a friend's BBS or HOST port.
Commands that you can give a node are available on the
Node pane in a pop-up menu near the bottom of the
TARPN-HOME page.
They are also described (incompletely and badly) in
G8BPQ Node Commands "User" and in
G8BPQ Node Commands "Password"
G8BPQ APIs
V2.0 of the
TARPN-HOME application uses the
TNC2 emulation API exposed by
G8BPQ.
This API presents a cmd: prompt to the application and enables the application (or a user) to take the TNC (emulation) into converse mode, or command mode.
The
TARPN-HOME allows you to move to cmd: mode by clicking the switch in the upper right of the
Chat or
Node pain to red.
When you get a cmd: prompt, you can tell
TARPN-HOME to put you back into network connection by clicking on the switch to green.
If you want to explore the cmd:
TNC2 emulation API, you can launch
Minicom terminal emulator from Linux with the
tarpn host command.
For more access to the
TNC2 emulation API, go to a Linux command prompt (terminal or
SSH/
PUTTY?) and type
tarpn host
For more info, see the tarpn host & minicom, send mail to the TARPN groups-io reflector.