I would like to see this too!
Sent from my android.
--
To unsubscribe from this group, send email to aprx-softwar...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/aprx-software
Thanks!
Eric - VA2EC
73 OZ1EKD
I can see the use, but really only when you are without internet, or when
you run a second application that should only catch the rf stream, for
statistics :)
73 de OZ1EKD
It may not be perfect, but I've made a short instruction here:
http://kissoz.dk/index.php?option=com_content&view=article&id=52:aprx-logser
ver&catid=40:how-to-list-of-topics-with-instructions&Itemid=58
enjoy
73 de OZ1EKD
On Thursday 16 February 2012 21:35:17 Svend Stave wrote:
> It may not be perfect, but I've made a short instruction here:
> http://kissoz.dk/index.php?option=com_content&view=article&id=52:aprx-logse
> r ver&catid=40:how-to-list-of-topics-with-instructions&Itemid=58
If you are running this on a router make sure you are using a ramdisk to store
the files you are constantly writing or your flash will be worn out very soon.
I'm using a small CGI script to generate this:
http://alix.hr.wien.funkfeuer.at/
The page keeps loading as new packets arrive.
(sorry for slow connection, it's only a few kb/s)
sourcecode:
http://alix.hr.wien.funkfeuer.at/index.sh.txt
I'm using lighttpd (on an alix3d2, debian) but the OpenWRT httpd should also
work.
73s de OE1RFC,
Clemens
On Friday 17 February 2012 00:59:13 Andrew Pepper wrote:
> Clemens .. How are you calling this script ? I can run it from the command
> line and it tails the log ... but I must be missing something (long day at
> work) on how to build a webpage from the script..
It's a CGI script, it gets called by the webserver when a client connects.
I'm using lighttpd since I'm running debian:
in /etc/lighttpd/lighttpd.conf add
> "index.sh" to "index-file.names"
and
> server.modules += ( "mod_cgi" )
> cgi.assign = (
> ".sh" => "/bin/sh"
> )
to /etc/lighttpd/conf-enabled/10-cgi.conf
for the OpenWRT httpd I'm not sure but this should work:
save the file in WEBROOT/cgi-bin/
create a WEBROOT/index.html with something like
> <html><head>
> <meta http-equiv="refresh" content="0; URL=/cgi-bin/index.sh" />
> </head><body></body></html
73s de OE1RFC,
Clemens
On Saturday 18 February 2012 02:32:47 Daniel Nelson wrote:
> Note that that setup is very susceptible to denial-of-service attacks,
> since every unclosed connection will keep a tail process around for an
> indefinite amount of time.
At least not with lighttpd, the tail --pid=$$ option makes sure that it dies
with it's parent, which gets killed by lighttpd ~2-3 sec after the connection
closes.
I don't know about httpd but I guess it will do the same, since every
unfinished connection which still has data to write would do the same.
But again, I haven't tested it.
73s de OE1RFC,
Clemens
> > Hi Andrew,
> >
> > On Friday 17 February 2012 00:59:13 Andrew Pepper wrote:
> > > Clemens .. How are you calling this script ? I can run it from the
> > > command line and it tails the log ... but I must be missing something
> > > (long day at work) on how to build a webpage from the script..
> >
> > It's a CGI script, it gets called by the webserver when a client
> > connects.
> >
> > I'm using lighttpd since I'm running debian:
> > in /etc/lighttpd/lighttpd.conf add
> >
> > > "index.sh (http://index.sh)" to "index-file.names"
> >
> > and
> >
> > > server.modules += ( "mod_cgi" )
> > > cgi.assign = (
> > > ".sh" => "/bin/sh"
> > > )
> >
> > to /etc/lighttpd/conf-enabled/10-cgi.conf
> >
> > for the OpenWRT httpd I'm not sure but this should work:
> > save the file in WEBROOT/cgi-bin/
> > create a WEBROOT/index.html with something like
> >
> > > <html><head>
> > > <meta http-equiv="refresh" content="0; URL=/cgi-bin/index.sh
> > > (http://index.sh)" /> </head><body></body></html
> >
> > 73s de OE1RFC,
> > Clemens
> >
> > > On Thu, Feb 16, 2012 at 5:20 PM, Clemens Hopfer <dat...@wireloss.net
(mailto:dat...@wireloss.net)>wrote:
> > > > Hi,
> > > >
> > > > On Thursday 16 February 2012 21:35:17 Svend Stave wrote:
> > > > > It may not be perfect, but I've made a short instruction here:
> > > > http://kissoz.dk/index.php?option=com_content&view=article&id=52:aprx
> > > > -log se
(http://gmail.com)> wrote:
> > > > > > I am wondering what you are thinking of....
> > > > > > To get aprsis traffic from aprx ? or to monitor the traffic rf
> > > > > > and aprsis flowing to/from APRX?
> > > > > > If it is the second option it's kinda already there: take a look
> > > > > > athttp://stave.dk/aprx The first option is that not the same as
> > > > > > connecting
> > > > >
> > > > > directly to aprsis?
> > > > >
> > > > > > As you see I'm lost - but you probably have a great idea, that I
> > > > > > haven't understood right.
> > > > > >
> > > > > > 73 OZ1EKD
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: aprx-s...@googlegroups.com
> > > > > > (mailto:aprx-s...@googlegroups.com)
> > > > > > [mailto:aprx-s...@googlegroups.com]
> > > > > >
> > > > > > On Behalf Of Eric Coulombe
> > > > > > Sent: 16. februar 2012 03:35
> > > > > > To: aprx-s...@googlegroups.com
> > > > > > (mailto:aprx-s...@googlegroups.com) Subject: Re: [Aprx] Re:
> > > > > > Local APRS-IS server?
> > > > > >
> > > > > > Glad to know that I am not alone in having thought of this
> > > > > > feature .. I can now stop thinking that i was crazy!
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Eric - VA2EC
> > > > > >
> > > > > > On Wed, Feb 15, 2012 at 5:12 PM, Justin Pontius
> > > > > > <justin.pont...@gmail.com (http://gmail.com)>
> > > > > >
> > > > > > wrote:
> > > > > > > I would like to see this too!
> > > > > > >
> > > > > > > Sent from my android.
> > > > > > >
> > > > > > > On Feb 15, 2012 5:00 PM, "David - KC0ALC"
> > > > > > > <peterson.dav...@gmail.com (http://gmail.com)>
> > > > > >
> > > > > > wrote:
> > > > > > > > I second this feature request! The only reason I'm using
> > > > > > > > APRS4R instead of APRX is the lack of a interface so I can
> > > > > > > > access APRS stream throughout my network.
> > > > > > > >
> > > > > > > > If it would output and accept text through a TCP port like
> > > > > > > > APRS4R this would be the perfect program!
> > > > > > > >
> > > > > > > > -David, KC0ALC
> > > > > > > >
> > > > > > > > On Jan 12, 8:45 pm, Eric VA2EC <eric.coulo...@gmail.com
(http://gmail.com)> wrote:
> > > > > > > > > Hi, I installed APRX on a spare WRT54GS v1.1, work well,
> > > > > > > > > great piece of software.
> > > > > > > > >
> > > > > > > > > Now the question (suggestion...)
> > > > > > > > > Any plan to add a "Local" APRS-ISserveron this? It would be
> > > > > > > > > interesting to monitor the traffic this way. I am not a
> > > > > > > > > programmer, so I don't know the work needed to get this to
> > > > > > > > > work on a little router...
> > > > > > > > >
> > > > > > > > > Thanks! 73
> > > > > > > > > Eric VA2EC
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > aprx-softwar...@googlegroups.com
> > > > > > > > (mailto:aprx-softwar...@googlegroups.com) For more
> > > > > > > > options, visit this group at
> > > > > > > >
> > > > > > > > http://groups.google.com/group/aprx-software
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > aprx-softwar...@googlegroups.com
> > > > > > > (mailto:aprx-softwar...@googlegroups.com) For more
> > > > > > > options, visit this group at
> > > > > > >
> > > > > > > http://groups.google.com/group/aprx-software
> > > > > >
> > > > > > --
> > > > > > To unsubscribe from this group, send email to
> > > > > > aprx-softwar...@googlegroups.com
> > > > > > (mailto:aprx-softwar...@googlegroups.com) For more
> > > > > > options, visit this group
> > > > > > athttp://groups.google.com/group/aprx-software
> > > > >
> > > > > --
> > > > > To unsubscribe from this group, send email to
> > > > > aprx-softwar...@googlegroups.com
> > > > > (mailto:aprx-softwar...@googlegroups.com) For more
Edit:
/etc/httpd/conf/httpd.conf
Add:
Use the path to where you put index.sh
<Directory /www/servers/foo.bar/public/subdir>
Options +ExecCGI
AddHandler cgi-script .sh
</Directory>
And add index.sh like this:
DirectoryIndex index.html index.php index.sh
73 de OZ1EKD
http://stave.dk/oz4diq
--
So I take it that it is not possible to have aprx listen on a TCP or UDP port to accept raw formatted packets to be sent to APRS-IS and/or RF?
You could use ser2net which provide you with a tcp port on your end and forwards the traffic via tcp and terminates it as a serial port on your host…..
The ser2net package for openWRT is available…
Not to difficult hope this help you.
http://ser2net.sourceforge.net/
73 de OZ1EKD
--
<interface>tcp-device localhost 10000 TNC2#callsign $mycall # callsign defaults to $mycall#tx-ok true # TNC2 monitor can not have transmitter</interface>
socat -d -d -d pty,link=/tmp/aprspipe,raw,echo=0 tcp-l:10000,reuseaddr,fork
echo 'VA3ADI-1>U0PU9V:`wSVmUTv/`"7{}_"' > /tmp/aprspipe
--
--