All of lore.kernel.org
 help / color / mirror / Atom feed
* Fw: Fw: AX.25
@ 2014-02-14 15:19 folkert
  2014-02-14 17:16 ` AX.25 Matt VK2RQ
  2014-02-14 17:21 ` Fw: Fw: AX.25 David Ranch
  0 siblings, 2 replies; 12+ messages in thread
From: folkert @ 2014-02-14 15:19 UTC (permalink / raw)
  To: linux-hams

[ also posted in netdev@vger.kernel.org, this list is probably more
on-topic ]

Hi,

In my neighbourhood (the Netherlands) I'm trying to make people
enthousiast again for packet radio (AX.25) over CB radio (27mc).

For that I'm setting up a couple of nodes spread out of the netherlands
which I want to interconnect over the internet (untill there is enough
coverage).
Each node has a radio and a pc with a baycom- or soundmodem setup (and
maybe in the future these nice tnc-pi devices).

I've been investigating how to do this. For the distribution over the
internet there's ax25ipd. Documention is a bit sparse though. Also I
could not find how to bridge the ax.25 device of the baycom/sound-modem
and the network device brought up by ax25ipd. It does mention bpqether
module but from the name (and the modinfo output) I concluded that it is
for bridging over ethernet, so not for bridging between two ax.25
devices. Also I did not find anything like "ax25_forward" or so
underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
ipv4).
I think I read something about interfacing to TNC devices directly by
ax25ipd but that won't work with baycom- and soundmodems.

I'm capable of developing my own software, I wrote a network sniffer
(in "sysopview") and stuff that creates raw-packets for IP, so how
difficult can ax.25 be?
	My plan is: using pcap sniff each packet from the two network
devices and then using raw sockets feed them to the opposite interface.
Yeah or I could create my own ax25ipd alike program, that does not
matter.
	My question is: apart from the design, is this the way to go?
Should I indeed inject packets using raw ax25 sockets and retrieve them
using pcap? Or also retrieve them using raw sockets? Or is there maybe
even ready-made solution that I overlooked during the lengthy google
search?


regards,

Folkert van Heusden

-- 
Afraid of irssi? Scared of bitchx? Does xchat gives you bad shivers?
In all these cases take a look at http://www.vanheusden.com/fi/ maybe
even try it or use it for all your day-to-day IRC conversations!
-----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 15:19 Fw: Fw: AX.25 folkert
@ 2014-02-14 17:16 ` Matt VK2RQ
  2014-02-14 20:20   ` AX.25 folkert
  2014-02-14 17:21 ` Fw: Fw: AX.25 David Ranch
  1 sibling, 1 reply; 12+ messages in thread
From: Matt VK2RQ @ 2014-02-14 17:16 UTC (permalink / raw)
  To: folkert; +Cc: linux-hams

What you probably want to do is set up NETROM on each Linux machine. Each machine will broadcast a list of the other NETROM nodes it has learned about by listening for NETROM broadcasts from other nodes on its AX25 ports. You can set up the Linux machine to advertise only over internet AXUDP links, or you can also advertise out over the air by including the soundmodem or bayom AX25 port in the nrbroadcast config file.

You can then use the "call" (or axcall?) command to connect to other machines, and depending on the NETROM routing tables that are built up through the NETROM broadcasts, the connection will be made via the AX25 port with the highest quality connection, whether that be via RF or internet. The "node" software provides a convenient user interface to the NETROM system, so that you can view the NETROM routing table, connect to other machines via AX25 or NETROM connections, etc.. You can also view the NETROM routing table information in /proc/net/nr_neigh and /proc/net/nr_nodes, although this is less user friendly.

The starting point for setting all this up is here:
http://tldp.org/HOWTO/AX25-HOWTO/

There are also some links to various resources on packet radio on my web page, which you may or may not find useful:
http://www.vk2rq.ampr.org/packet.html 

73, Matt VK2RQ


On 15 Feb 2014, at 2:19 am, folkert <folkert@vanheusden.com> wrote:

> [ also posted in netdev@vger.kernel.org, this list is probably more
> on-topic ]
> 
> Hi,
> 
> In my neighbourhood (the Netherlands) I'm trying to make people
> enthousiast again for packet radio (AX.25) over CB radio (27mc).
> 
> For that I'm setting up a couple of nodes spread out of the netherlands
> which I want to interconnect over the internet (untill there is enough
> coverage).
> Each node has a radio and a pc with a baycom- or soundmodem setup (and
> maybe in the future these nice tnc-pi devices).
> 
> I've been investigating how to do this. For the distribution over the
> internet there's ax25ipd. Documention is a bit sparse though. Also I
> could not find how to bridge the ax.25 device of the baycom/sound-modem
> and the network device brought up by ax25ipd. It does mention bpqether
> module but from the name (and the modinfo output) I concluded that it is
> for bridging over ethernet, so not for bridging between two ax.25
> devices. Also I did not find anything like "ax25_forward" or so
> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
> ipv4).
> I think I read something about interfacing to TNC devices directly by
> ax25ipd but that won't work with baycom- and soundmodems.
> 
> I'm capable of developing my own software, I wrote a network sniffer
> (in "sysopview") and stuff that creates raw-packets for IP, so how
> difficult can ax.25 be?
> 	My plan is: using pcap sniff each packet from the two network
> devices and then using raw sockets feed them to the opposite interface.
> Yeah or I could create my own ax25ipd alike program, that does not
> matter.
> 	My question is: apart from the design, is this the way to go?
> Should I indeed inject packets using raw ax25 sockets and retrieve them
> using pcap? Or also retrieve them using raw sockets? Or is there maybe
> even ready-made solution that I overlooked during the lengthy google
> search?
> 
> 
> regards,
> 
> Folkert van Heusden
> 
> -- 
> Afraid of irssi? Scared of bitchx? Does xchat gives you bad shivers?
> In all these cases take a look at http://www.vanheusden.com/fi/ maybe
> even try it or use it for all your day-to-day IRC conversations!
> -----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Fw: Fw: AX.25
  2014-02-14 15:19 Fw: Fw: AX.25 folkert
  2014-02-14 17:16 ` AX.25 Matt VK2RQ
@ 2014-02-14 17:21 ` David Ranch
  2014-02-14 17:43   ` AX.25 Matt VK2RQ
  2014-02-14 20:31   ` Fw: Fw: AX.25 folkert
  1 sibling, 2 replies; 12+ messages in thread
From: David Ranch @ 2014-02-14 17:21 UTC (permalink / raw)
  To: folkert, linux-hams


Hello Folkert,

The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's 
email list at 44net@hamradio.ucsd.edu will be the best place to follow 
up on getting Internet forwarding going.  The one challenge for you will 
be that the AMPR group is focused for licensed amateur radio (HAMs) who 
have built extensive, worldwide ax25ipd enabled overlay network.  I 
don't know if they would give you any IPs unless you and your third 
party traffic would be coming from licensed HAMs.  I leave that to you 
to investigate.

Beyond that previous key point, I don't know in your email if you really 
intend to use the very old Baycom TNCs (require true 16550 serial UARTS, 
not USB-to-serial adapters) or you're referring to Thomas Sailers's 
excellent but deprecated "soundmodem" that used to be hosted on the 
Baycom website (now gone).  Instead, I encourage you to check out 
Direwolf which is a vastly superior sound card TNC - 
http://home.comcast.net/~wb2osz/site/ . Not only does it support 
superior decoding of 1200 and 9600 packet but also integrated APRS and 
AGWPE support.

--David
KI6ZHD


> [ also posted in netdev@vger.kernel.org, this list is probably more
> on-topic ]
>
> Hi,
>
> In my neighbourhood (the Netherlands) I'm trying to make people
> enthousiast again for packet radio (AX.25) over CB radio (27mc).
>
> For that I'm setting up a couple of nodes spread out of the netherlands
> which I want to interconnect over the internet (untill there is enough
> coverage).
> Each node has a radio and a pc with a baycom- or soundmodem setup (and
> maybe in the future these nice tnc-pi devices).
>
> I've been investigating how to do this. For the distribution over the
> internet there's ax25ipd. Documention is a bit sparse though. Also I
> could not find how to bridge the ax.25 device of the baycom/sound-modem
> and the network device brought up by ax25ipd. It does mention bpqether
> module but from the name (and the modinfo output) I concluded that it is
> for bridging over ethernet, so not for bridging between two ax.25
> devices. Also I did not find anything like "ax25_forward" or so
> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
> ipv4).
> I think I read something about interfacing to TNC devices directly by
> ax25ipd but that won't work with baycom- and soundmodems.
>
> I'm capable of developing my own software, I wrote a network sniffer
> (in "sysopview") and stuff that creates raw-packets for IP, so how
> difficult can ax.25 be?
> 	My plan is: using pcap sniff each packet from the two network
> devices and then using raw sockets feed them to the opposite interface.
> Yeah or I could create my own ax25ipd alike program, that does not
> matter.
> 	My question is: apart from the design, is this the way to go?
> Should I indeed inject packets using raw ax25 sockets and retrieve them
> using pcap? Or also retrieve them using raw sockets? Or is there maybe
> even ready-made solution that I overlooked during the lengthy google
> search?
>
>
> regards,
>
> Folkert van Heusden
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 17:21 ` Fw: Fw: AX.25 David Ranch
@ 2014-02-14 17:43   ` Matt VK2RQ
  2014-02-14 20:33     ` AX.25 folkert
  2014-02-14 20:31   ` Fw: Fw: AX.25 folkert
  1 sibling, 1 reply; 12+ messages in thread
From: Matt VK2RQ @ 2014-02-14 17:43 UTC (permalink / raw)
  To: David Ranch; +Cc: folkert, linux-hams

AMPRnet is a completely different topic, and technically has nothing to do with AX25 (although of course in some cases AMPRnet IP packets may be encapsulated into AX25 frames and transported over AX25 links).

The OP didn't really specify the intended use cases for his packet network. If one of the requirements involves transporting or IP traffic, and possibly connecting to the Internet, then this is possible using a private IP addressing scheme with a NAPT function on the internet-facing gateway. Or, if the internet gateway has a block of public IPs available, then these can be distributed and routed around his packet network. As you say, AMPRnet is only for licensed hams, and so is not an option in this case.

73, Matt VK2RQ


On 15 Feb 2014, at 4:21 am, David Ranch <linux-hams@trinnet.net> wrote:

> 
> Hello Folkert,
> 
> The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's email list at 44net@hamradio.ucsd.edu will be the best place to follow up on getting Internet forwarding going.  The one challenge for you will be that the AMPR group is focused for licensed amateur radio (HAMs) who have built extensive, worldwide ax25ipd enabled overlay network.  I don't know if they would give you any IPs unless you and your third party traffic would be coming from licensed HAMs.  I leave that to you to investigate.
> 
> Beyond that previous key point, I don't know in your email if you really intend to use the very old Baycom TNCs (require true 16550 serial UARTS, not USB-to-serial adapters) or you're referring to Thomas Sailers's excellent but deprecated "soundmodem" that used to be hosted on the Baycom website (now gone).  Instead, I encourage you to check out Direwolf which is a vastly superior sound card TNC - http://home.comcast.net/~wb2osz/site/ . Not only does it support superior decoding of 1200 and 9600 packet but also integrated APRS and AGWPE support.
> 
> --David
> KI6ZHD
> 
> 
>> [ also posted in netdev@vger.kernel.org, this list is probably more
>> on-topic ]
>> 
>> Hi,
>> 
>> In my neighbourhood (the Netherlands) I'm trying to make people
>> enthousiast again for packet radio (AX.25) over CB radio (27mc).
>> 
>> For that I'm setting up a couple of nodes spread out of the netherlands
>> which I want to interconnect over the internet (untill there is enough
>> coverage).
>> Each node has a radio and a pc with a baycom- or soundmodem setup (and
>> maybe in the future these nice tnc-pi devices).
>> 
>> I've been investigating how to do this. For the distribution over the
>> internet there's ax25ipd. Documention is a bit sparse though. Also I
>> could not find how to bridge the ax.25 device of the baycom/sound-modem
>> and the network device brought up by ax25ipd. It does mention bpqether
>> module but from the name (and the modinfo output) I concluded that it is
>> for bridging over ethernet, so not for bridging between two ax.25
>> devices. Also I did not find anything like "ax25_forward" or so
>> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
>> ipv4).
>> I think I read something about interfacing to TNC devices directly by
>> ax25ipd but that won't work with baycom- and soundmodems.
>> 
>> I'm capable of developing my own software, I wrote a network sniffer
>> (in "sysopview") and stuff that creates raw-packets for IP, so how
>> difficult can ax.25 be?
>> 	My plan is: using pcap sniff each packet from the two network
>> devices and then using raw sockets feed them to the opposite interface.
>> Yeah or I could create my own ax25ipd alike program, that does not
>> matter.
>> 	My question is: apart from the design, is this the way to go?
>> Should I indeed inject packets using raw ax25 sockets and retrieve them
>> using pcap? Or also retrieve them using raw sockets? Or is there maybe
>> even ready-made solution that I overlooked during the lengthy google
>> search?
>> 
>> 
>> regards,
>> 
>> Folkert van Heusden
>> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 17:16 ` AX.25 Matt VK2RQ
@ 2014-02-14 20:20   ` folkert
  0 siblings, 0 replies; 12+ messages in thread
From: folkert @ 2014-02-14 20:20 UTC (permalink / raw)
  To: Matt VK2RQ; +Cc: linux-hams

Matt,

Thanks for the reply!

It is very interesting material, this packet radio.
I'll dive into the documentation you've suggested.
So netrom is a bit like bgp if I understand it correctly?

regards

On Sat, Feb 15, 2014 at 04:16:24AM +1100, Matt VK2RQ wrote:
> What you probably want to do is set up NETROM on each Linux machine. Each machine will broadcast a list of the other NETROM nodes it has learned about by listening for NETROM broadcasts from other nodes on its AX25 ports. You can set up the Linux machine to advertise only over internet AXUDP links, or you can also advertise out over the air by including the soundmodem or bayom AX25 port in the nrbroadcast config file.
> 
> You can then use the "call" (or axcall?) command to connect to other machines, and depending on the NETROM routing tables that are built up through the NETROM broadcasts, the connection will be made via the AX25 port with the highest quality connection, whether that be via RF or internet. The "node" software provides a convenient user interface to the NETROM system, so that you can view the NETROM routing table, connect to other machines via AX25 or NETROM connections, etc.. You can also view the NETROM routing table information in /proc/net/nr_neigh and /proc/net/nr_nodes, although this is less user friendly.
> 
> The starting point for setting all this up is here:
> http://tldp.org/HOWTO/AX25-HOWTO/
> 
> There are also some links to various resources on packet radio on my web page, which you may or may not find useful:
> http://www.vk2rq.ampr.org/packet.html 
> 
> 73, Matt VK2RQ
> 
> 
> On 15 Feb 2014, at 2:19 am, folkert <folkert@vanheusden.com> wrote:
> 
> > [ also posted in netdev@vger.kernel.org, this list is probably more
> > on-topic ]
> > 
> > Hi,
> > 
> > In my neighbourhood (the Netherlands) I'm trying to make people
> > enthousiast again for packet radio (AX.25) over CB radio (27mc).
> > 
> > For that I'm setting up a couple of nodes spread out of the netherlands
> > which I want to interconnect over the internet (untill there is enough
> > coverage).
> > Each node has a radio and a pc with a baycom- or soundmodem setup (and
> > maybe in the future these nice tnc-pi devices).
> > 
> > I've been investigating how to do this. For the distribution over the
> > internet there's ax25ipd. Documention is a bit sparse though. Also I
> > could not find how to bridge the ax.25 device of the baycom/sound-modem
> > and the network device brought up by ax25ipd. It does mention bpqether
> > module but from the name (and the modinfo output) I concluded that it is
> > for bridging over ethernet, so not for bridging between two ax.25
> > devices. Also I did not find anything like "ax25_forward" or so
> > underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
> > ipv4).
> > I think I read something about interfacing to TNC devices directly by
> > ax25ipd but that won't work with baycom- and soundmodems.
> > 
> > I'm capable of developing my own software, I wrote a network sniffer
> > (in "sysopview") and stuff that creates raw-packets for IP, so how
> > difficult can ax.25 be?
> > 	My plan is: using pcap sniff each packet from the two network
> > devices and then using raw sockets feed them to the opposite interface.
> > Yeah or I could create my own ax25ipd alike program, that does not
> > matter.
> > 	My question is: apart from the design, is this the way to go?
> > Should I indeed inject packets using raw ax25 sockets and retrieve them
> > using pcap? Or also retrieve them using raw sockets? Or is there maybe
> > even ready-made solution that I overlooked during the lengthy google
> > search?
> > 
> > 
> > regards,
> > 
> > Folkert van Heusden
> > 
> > -- 
> > Afraid of irssi? Scared of bitchx? Does xchat gives you bad shivers?
> > In all these cases take a look at http://www.vanheusden.com/fi/ maybe
> > even try it or use it for all your day-to-day IRC conversations!
> > -----------------------------------------------------------------------
> > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


Folkert van Heusden

-- 
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Fw: Fw: AX.25
  2014-02-14 17:21 ` Fw: Fw: AX.25 David Ranch
  2014-02-14 17:43   ` AX.25 Matt VK2RQ
@ 2014-02-14 20:31   ` folkert
  2014-02-14 21:04     ` Joe Goforth
  1 sibling, 1 reply; 12+ messages in thread
From: folkert @ 2014-02-14 20:31 UTC (permalink / raw)
  To: David Ranch; +Cc: linux-hams

> The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's
> email list at 44net@hamradio.ucsd.edu will be the best place to
> follow up on getting Internet forwarding going.  The one challenge
> for you will be that the AMPR group is focused for licensed amateur
> radio (HAMs) who have built extensive, worldwide ax25ipd enabled
> overlay network.  I don't know if they would give you any IPs unless
> you and your third party traffic would be coming from licensed HAMs.
> I leave that to you to investigate.

Ok. Yeah I'm trying to setup a free for all access for all and do
whatever you like network.

> Beyond that previous key point, I don't know in your email if you
> really intend to use the very old Baycom TNCs (require true 16550
> serial UARTS, not USB-to-serial adapters) or you're referring to
> Thomas Sailers's excellent but deprecated "soundmodem" that used to
> be hosted on the Baycom website (now gone).  Instead, I encourage

Both. I have old pcs with real serial ports, I have a raspberry pi with
a sound module and a couple of rpi-s with tnc-pi hardware.

> you to check out Direwolf which is a vastly superior sound card TNC
> - http://home.comcast.net/~wb2osz/site/ . Not only does it support
> superior decoding of 1200 and 9600 packet but also integrated APRS
> and AGWPE support.

Ah!
Will do
thanks


Folkert van Heusden

-- 
Multitail est un outil permettant la visualisation de fichiers de
journalisation et/ou le suivi de l'exécution de commandes. Filtrage,
mise en couleur de mot-clé, fusions, visualisation de différences
(diff-view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 17:43   ` AX.25 Matt VK2RQ
@ 2014-02-14 20:33     ` folkert
  2014-02-14 20:57       ` AX.25 Matt VK2RQ
  0 siblings, 1 reply; 12+ messages in thread
From: folkert @ 2014-02-14 20:33 UTC (permalink / raw)
  To: Matt VK2RQ; +Cc: David Ranch, linux-hams

The idea is to setup, to bring back that old hackers-feeling, that you
can tinker without anyoing bothering you with rules this rules that.
Also no limit on what you're transmitting. I'm focussing on ax.25 now as
I found it interesting technology but hey if someone wants to transmit
ip; let him do it.

On Sat, Feb 15, 2014 at 04:43:09AM +1100, Matt VK2RQ wrote:
> AMPRnet is a completely different topic, and technically has nothing to do with AX25 (although of course in some cases AMPRnet IP packets may be encapsulated into AX25 frames and transported over AX25 links).
> 
> The OP didn't really specify the intended use cases for his packet network. If one of the requirements involves transporting or IP traffic, and possibly connecting to the Internet, then this is possible using a private IP addressing scheme with a NAPT function on the internet-facing gateway. Or, if the internet gateway has a block of public IPs available, then these can be distributed and routed around his packet network. As you say, AMPRnet is only for licensed hams, and so is not an option in this case.
> 
> 73, Matt VK2RQ
> 
> 
> On 15 Feb 2014, at 4:21 am, David Ranch <linux-hams@trinnet.net> wrote:
> 
> > 
> > Hello Folkert,
> > 
> > The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's email list at 44net@hamradio.ucsd.edu will be the best place to follow up on getting Internet forwarding going.  The one challenge for you will be that the AMPR group is focused for licensed amateur radio (HAMs) who have built extensive, worldwide ax25ipd enabled overlay network.  I don't know if they would give you any IPs unless you and your third party traffic would be coming from licensed HAMs.  I leave that to you to investigate.
> > 
> > Beyond that previous key point, I don't know in your email if you really intend to use the very old Baycom TNCs (require true 16550 serial UARTS, not USB-to-serial adapters) or you're referring to Thomas Sailers's excellent but deprecated "soundmodem" that used to be hosted on the Baycom website (now gone).  Instead, I encourage you to check out Direwolf which is a vastly superior sound card TNC - http://home.comcast.net/~wb2osz/site/ . Not only does it support superior decoding of 1200 and 9600 packet but also integrated APRS and AGWPE support.
> > 
> > --David
> > KI6ZHD
> > 
> > 
> >> [ also posted in netdev@vger.kernel.org, this list is probably more
> >> on-topic ]
> >> 
> >> Hi,
> >> 
> >> In my neighbourhood (the Netherlands) I'm trying to make people
> >> enthousiast again for packet radio (AX.25) over CB radio (27mc).
> >> 
> >> For that I'm setting up a couple of nodes spread out of the netherlands
> >> which I want to interconnect over the internet (untill there is enough
> >> coverage).
> >> Each node has a radio and a pc with a baycom- or soundmodem setup (and
> >> maybe in the future these nice tnc-pi devices).
> >> 
> >> I've been investigating how to do this. For the distribution over the
> >> internet there's ax25ipd. Documention is a bit sparse though. Also I
> >> could not find how to bridge the ax.25 device of the baycom/sound-modem
> >> and the network device brought up by ax25ipd. It does mention bpqether
> >> module but from the name (and the modinfo output) I concluded that it is
> >> for bridging over ethernet, so not for bridging between two ax.25
> >> devices. Also I did not find anything like "ax25_forward" or so
> >> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
> >> ipv4).
> >> I think I read something about interfacing to TNC devices directly by
> >> ax25ipd but that won't work with baycom- and soundmodems.
> >> 
> >> I'm capable of developing my own software, I wrote a network sniffer
> >> (in "sysopview") and stuff that creates raw-packets for IP, so how
> >> difficult can ax.25 be?
> >> 	My plan is: using pcap sniff each packet from the two network
> >> devices and then using raw sockets feed them to the opposite interface.
> >> Yeah or I could create my own ax25ipd alike program, that does not
> >> matter.
> >> 	My question is: apart from the design, is this the way to go?
> >> Should I indeed inject packets using raw ax25 sockets and retrieve them
> >> using pcap? Or also retrieve them using raw sockets? Or is there maybe
> >> even ready-made solution that I overlooked during the lengthy google
> >> search?
> >> 
> >> 
> >> regards,
> >> 
> >> Folkert van Heusden
> >> 
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


Folkert van Heusden

-- 
MultiTail is a versatile tool for watching logfiles and output of
commands. Filtering, coloring, merging, diff-view, etc.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 20:33     ` AX.25 folkert
@ 2014-02-14 20:57       ` Matt VK2RQ
  2014-02-14 21:45         ` AX.25 folkert
  0 siblings, 1 reply; 12+ messages in thread
From: Matt VK2RQ @ 2014-02-14 20:57 UTC (permalink / raw)
  To: folkert; +Cc: David Ranch, linux-hams

Well, in Australia running packet radio over CB is illegal except in some very restricted scenarios. But if it is legal in your country, then by all means go for it :-)

73,
Matt VK2RQ

> On 15 Feb 2014, at 7:33 am, folkert <folkert@vanheusden.com> wrote:
> 
> The idea is to setup, to bring back that old hackers-feeling, that you
> can tinker without anyoing bothering you with rules this rules that.
> Also no limit on what you're transmitting. I'm focussing on ax.25 now as
> I found it interesting technology but hey if someone wants to transmit
> ip; let him do it.
> 
>> On Sat, Feb 15, 2014 at 04:43:09AM +1100, Matt VK2RQ wrote:
>> AMPRnet is a completely different topic, and technically has nothing to do with AX25 (although of course in some cases AMPRnet IP packets may be encapsulated into AX25 frames and transported over AX25 links).
>> 
>> The OP didn't really specify the intended use cases for his packet network. If one of the requirements involves transporting or IP traffic, and possibly connecting to the Internet, then this is possible using a private IP addressing scheme with a NAPT function on the internet-facing gateway. Or, if the internet gateway has a block of public IPs available, then these can be distributed and routed around his packet network. As you say, AMPRnet is only for licensed hams, and so is not an option in this case.
>> 
>> 73, Matt VK2RQ
>> 
>> 
>>> On 15 Feb 2014, at 4:21 am, David Ranch <linux-hams@trinnet.net> wrote:
>>> 
>>> 
>>> Hello Folkert,
>>> 
>>> The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's email list at 44net@hamradio.ucsd.edu will be the best place to follow up on getting Internet forwarding going.  The one challenge for you will be that the AMPR group is focused for licensed amateur radio (HAMs) who have built extensive, worldwide ax25ipd enabled overlay network.  I don't know if they would give you any IPs unless you and your third party traffic would be coming from licensed HAMs.  I leave that to you to investigate.
>>> 
>>> Beyond that previous key point, I don't know in your email if you really intend to use the very old Baycom TNCs (require true 16550 serial UARTS, not USB-to-serial adapters) or you're referring to Thomas Sailers's excellent but deprecated "soundmodem" that used to be hosted on the Baycom website (now gone).  Instead, I encourage you to check out Direwolf which is a vastly superior sound card TNC - http://home.comcast.net/~wb2osz/site/ . Not only does it support superior decoding of 1200 and 9600 packet but also integrated APRS and AGWPE support.
>>> 
>>> --David
>>> KI6ZHD
>>> 
>>> 
>>>> [ also posted in netdev@vger.kernel.org, this list is probably more
>>>> on-topic ]
>>>> 
>>>> Hi,
>>>> 
>>>> In my neighbourhood (the Netherlands) I'm trying to make people
>>>> enthousiast again for packet radio (AX.25) over CB radio (27mc).
>>>> 
>>>> For that I'm setting up a couple of nodes spread out of the netherlands
>>>> which I want to interconnect over the internet (untill there is enough
>>>> coverage).
>>>> Each node has a radio and a pc with a baycom- or soundmodem setup (and
>>>> maybe in the future these nice tnc-pi devices).
>>>> 
>>>> I've been investigating how to do this. For the distribution over the
>>>> internet there's ax25ipd. Documention is a bit sparse though. Also I
>>>> could not find how to bridge the ax.25 device of the baycom/sound-modem
>>>> and the network device brought up by ax25ipd. It does mention bpqether
>>>> module but from the name (and the modinfo output) I concluded that it is
>>>> for bridging over ethernet, so not for bridging between two ax.25
>>>> devices. Also I did not find anything like "ax25_forward" or so
>>>> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
>>>> ipv4).
>>>> I think I read something about interfacing to TNC devices directly by
>>>> ax25ipd but that won't work with baycom- and soundmodems.
>>>> 
>>>> I'm capable of developing my own software, I wrote a network sniffer
>>>> (in "sysopview") and stuff that creates raw-packets for IP, so how
>>>> difficult can ax.25 be?
>>>>    My plan is: using pcap sniff each packet from the two network
>>>> devices and then using raw sockets feed them to the opposite interface.
>>>> Yeah or I could create my own ax25ipd alike program, that does not
>>>> matter.
>>>>    My question is: apart from the design, is this the way to go?
>>>> Should I indeed inject packets using raw ax25 sockets and retrieve them
>>>> using pcap? Or also retrieve them using raw sockets? Or is there maybe
>>>> even ready-made solution that I overlooked during the lengthy google
>>>> search?
>>>> 
>>>> 
>>>> regards,
>>>> 
>>>> Folkert van Heusden
>>> 
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> Folkert van Heusden
> 
> -- 
> MultiTail is a versatile tool for watching logfiles and output of
> commands. Filtering, coloring, merging, diff-view, etc.
> http://www.vanheusden.com/multitail/
> ----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Fw: Fw: AX.25
  2014-02-14 20:31   ` Fw: Fw: AX.25 folkert
@ 2014-02-14 21:04     ` Joe Goforth
  2014-02-14 22:24       ` David Ranch
  0 siblings, 1 reply; 12+ messages in thread
From: Joe Goforth @ 2014-02-14 21:04 UTC (permalink / raw)
  To: folkert, David Ranch; +Cc: linux-hams

Hi folkert, I'm on the same wavelength as you are. I have two beaglebone 
boards with tnc-x packet using linux angstrom. It's been a real battle 
to find a simple way to communicate between the two without getting tied 
into the various software packages. At this point I realize that I 
should have gone to the raspberry-pi board but I have money tied up in 
the two boards I have now. To top it off the beaglebone black is the one 
all the support is going to now and I have a beaglebone white. This has 
caused me to learn a lot more which is good in the end. What I have 
finally come down to is this which is kind of a cool experimental 
platform to talk between two stations.

Setup the basic ax25d stuff so you have your ax25d daemon running. You 
don't need to worry about getting the tcp stuff all routed. Once you 
have that going you can setup a port to listen like this

listen MYPORT >> listen.log&

at this point you can log any incoming to the listen.log and to bring it 
to the console;

tail -f listen.log

On your other station you can use the program "beacon" to send messages;

beacon  -m -d KE6ACW-1 MYPORT2 "my message I want to send"

At this point you have setup a simple communication system and you can 
pipe the listen program to a python (or your flavor) script to process 
or send the data any way you like.

I'm still looking for a better program than beacon to do the transmit so 
that might be a program that needs to be written. There are a lot of 
programs with source code out there for reference. Many of the linux 
APRS type programs have this code. Maybe someone out there has a better 
solution but that is about as simple as I could get it on an embedded 
system.

--Joe Goforth
KE6ACW

On 2/14/2014 12:31 PM, folkert wrote:
>> The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's
>> email list at 44net@hamradio.ucsd.edu will be the best place to
>> follow up on getting Internet forwarding going.  The one challenge
>> for you will be that the AMPR group is focused for licensed amateur
>> radio (HAMs) who have built extensive, worldwide ax25ipd enabled
>> overlay network.  I don't know if they would give you any IPs unless
>> you and your third party traffic would be coming from licensed HAMs.
>> I leave that to you to investigate.
> Ok. Yeah I'm trying to setup a free for all access for all and do
> whatever you like network.
>
>> Beyond that previous key point, I don't know in your email if you
>> really intend to use the very old Baycom TNCs (require true 16550
>> serial UARTS, not USB-to-serial adapters) or you're referring to
>> Thomas Sailers's excellent but deprecated "soundmodem" that used to
>> be hosted on the Baycom website (now gone).  Instead, I encourage
> Both. I have old pcs with real serial ports, I have a raspberry pi with
> a sound module and a couple of rpi-s with tnc-pi hardware.
>
>> you to check out Direwolf which is a vastly superior sound card TNC
>> - http://home.comcast.net/~wb2osz/site/ . Not only does it support
>> superior decoding of 1200 and 9600 packet but also integrated APRS
>> and AGWPE support.
> Ah!
> Will do
> thanks
>
>
> Folkert van Heusden
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: AX.25
  2014-02-14 20:57       ` AX.25 Matt VK2RQ
@ 2014-02-14 21:45         ` folkert
  0 siblings, 0 replies; 12+ messages in thread
From: folkert @ 2014-02-14 21:45 UTC (permalink / raw)
  To: Matt VK2RQ; +Cc: David Ranch, linux-hams

Yeah you can do whatever you like over CB here.
Not entirely sure about encryption but from what I heard nobody is
monitoring things.

On Sat, Feb 15, 2014 at 07:57:34AM +1100, Matt VK2RQ wrote:
> Well, in Australia running packet radio over CB is illegal except in some very restricted scenarios. But if it is legal in your country, then by all means go for it :-)
> 
> 73,
> Matt VK2RQ
> 
> > On 15 Feb 2014, at 7:33 am, folkert <folkert@vanheusden.com> wrote:
> > 
> > The idea is to setup, to bring back that old hackers-feeling, that you
> > can tinker without anyoing bothering you with rules this rules that.
> > Also no limit on what you're transmitting. I'm focussing on ax.25 now as
> > I found it interesting technology but hey if someone wants to transmit
> > ip; let him do it.
> > 
> >> On Sat, Feb 15, 2014 at 04:43:09AM +1100, Matt VK2RQ wrote:
> >> AMPRnet is a completely different topic, and technically has nothing to do with AX25 (although of course in some cases AMPRnet IP packets may be encapsulated into AX25 frames and transported over AX25 links).
> >> 
> >> The OP didn't really specify the intended use cases for his packet network. If one of the requirements involves transporting or IP traffic, and possibly connecting to the Internet, then this is possible using a private IP addressing scheme with a NAPT function on the internet-facing gateway. Or, if the internet gateway has a block of public IPs available, then these can be distributed and routed around his packet network. As you say, AMPRnet is only for licensed hams, and so is not an option in this case.
> >> 
> >> 73, Matt VK2RQ
> >> 
> >> 
> >>> On 15 Feb 2014, at 4:21 am, David Ranch <linux-hams@trinnet.net> wrote:
> >>> 
> >>> 
> >>> Hello Folkert,
> >>> 
> >>> The AMPR group at http://wiki.ampr.org/index.php/Main_Page and it's email list at 44net@hamradio.ucsd.edu will be the best place to follow up on getting Internet forwarding going.  The one challenge for you will be that the AMPR group is focused for licensed amateur radio (HAMs) who have built extensive, worldwide ax25ipd enabled overlay network.  I don't know if they would give you any IPs unless you and your third party traffic would be coming from licensed HAMs.  I leave that to you to investigate.
> >>> 
> >>> Beyond that previous key point, I don't know in your email if you really intend to use the very old Baycom TNCs (require true 16550 serial UARTS, not USB-to-serial adapters) or you're referring to Thomas Sailers's excellent but deprecated "soundmodem" that used to be hosted on the Baycom website (now gone).  Instead, I encourage you to check out Direwolf which is a vastly superior sound card TNC - http://home.comcast.net/~wb2osz/site/ . Not only does it support superior decoding of 1200 and 9600 packet but also integrated APRS and AGWPE support.
> >>> 
> >>> --David
> >>> KI6ZHD
> >>> 
> >>> 
> >>>> [ also posted in netdev@vger.kernel.org, this list is probably more
> >>>> on-topic ]
> >>>> 
> >>>> Hi,
> >>>> 
> >>>> In my neighbourhood (the Netherlands) I'm trying to make people
> >>>> enthousiast again for packet radio (AX.25) over CB radio (27mc).
> >>>> 
> >>>> For that I'm setting up a couple of nodes spread out of the netherlands
> >>>> which I want to interconnect over the internet (untill there is enough
> >>>> coverage).
> >>>> Each node has a radio and a pc with a baycom- or soundmodem setup (and
> >>>> maybe in the future these nice tnc-pi devices).
> >>>> 
> >>>> I've been investigating how to do this. For the distribution over the
> >>>> internet there's ax25ipd. Documention is a bit sparse though. Also I
> >>>> could not find how to bridge the ax.25 device of the baycom/sound-modem
> >>>> and the network device brought up by ax25ipd. It does mention bpqether
> >>>> module but from the name (and the modinfo output) I concluded that it is
> >>>> for bridging over ethernet, so not for bridging between two ax.25
> >>>> devices. Also I did not find anything like "ax25_forward" or so
> >>>> underneath /proc (like the /proc/sys/net/ipv4/ip_forward we have for
> >>>> ipv4).
> >>>> I think I read something about interfacing to TNC devices directly by
> >>>> ax25ipd but that won't work with baycom- and soundmodems.
> >>>> 
> >>>> I'm capable of developing my own software, I wrote a network sniffer
> >>>> (in "sysopview") and stuff that creates raw-packets for IP, so how
> >>>> difficult can ax.25 be?
> >>>>    My plan is: using pcap sniff each packet from the two network
> >>>> devices and then using raw sockets feed them to the opposite interface.
> >>>> Yeah or I could create my own ax25ipd alike program, that does not
> >>>> matter.
> >>>>    My question is: apart from the design, is this the way to go?
> >>>> Should I indeed inject packets using raw ax25 sockets and retrieve them
> >>>> using pcap? Or also retrieve them using raw sockets? Or is there maybe
> >>>> even ready-made solution that I overlooked during the lengthy google
> >>>> search?
> >>>> 
> >>>> 
> >>>> regards,
> >>>> 
> >>>> Folkert van Heusden
> >>> 
> >>> --
> >>> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> >>> the body of a message to majordomo@vger.kernel.org
> >>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> > 
> > Folkert van Heusden
> > 
> > -- 
> > MultiTail is a versatile tool for watching logfiles and output of
> > commands. Filtering, coloring, merging, diff-view, etc.
> > http://www.vanheusden.com/multitail/
> > ----------------------------------------------------------------------
> > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


Folkert van Heusden

-- 
Ever wonder what is out there? Any alien races? Then please support
the seti@home project: setiathome.ssl.berkeley.edu
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Fw: Fw: AX.25
  2014-02-14 21:04     ` Joe Goforth
@ 2014-02-14 22:24       ` David Ranch
  2014-02-14 23:48         ` Joe Goforth
  0 siblings, 1 reply; 12+ messages in thread
From: David Ranch @ 2014-02-14 22:24 UTC (permalink / raw)
  To: Joe Goforth; +Cc: linux-hams


Hello Joe,

Nice to see the linux-hams@vger list a little busy!

> I'm still looking for a better program than beacon to do the transmit so
> that might be a program that needs to be written. There are a lot of
> programs with source code out there for reference. Many of the linux
> APRS type programs have this code. Maybe someone out there has a better
> solution but that is about as simple as I could get it on an embedded
> system.


In a previous post I made today, you might want to check out Linpac for 
Linux  It has the ability to send UI or unconnected packets like 
"beacon" but it also fully supports making multiple connected sessions 
to other nodes and packet stations, chatting real time with remote
operators, leaving messages, and much more.  You can read up about
what it can do, see screen captures, etc. here:

 
http://www.trinityos.com/HAM/CentosDigitalModes/hampacketizing-centos.html#11.linpac

If you're not aware, you can also find another great listing of various
Linux software for AX.25 here:

   http://radio.linux.org.au/?sectpat=packet&ordpat=date

I'm actually about to upload a big update to that site to reflect newer
versions of code, etc. as some of those pages are a bit out of date.

--David
KI6ZHD

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Fw: Fw: AX.25
  2014-02-14 22:24       ` David Ranch
@ 2014-02-14 23:48         ` Joe Goforth
  0 siblings, 0 replies; 12+ messages in thread
From: Joe Goforth @ 2014-02-14 23:48 UTC (permalink / raw)
  To: David Ranch; +Cc: linux-hams

Hi David, I would love to try linpac but the beaglebone is kind of 
stripped down so it doesn't have rpm. Is there something I can compile 
from scratch in tar.gz?

--Joe

On 2/14/2014 2:24 PM, David Ranch wrote:
>
> Hello Joe,
>
> Nice to see the linux-hams@vger list a little busy!
>
>> I'm still looking for a better program than beacon to do the transmit so
>> that might be a program that needs to be written. There are a lot of
>> programs with source code out there for reference. Many of the linux
>> APRS type programs have this code. Maybe someone out there has a better
>> solution but that is about as simple as I could get it on an embedded
>> system.
>
>
> In a previous post I made today, you might want to check out Linpac 
> for Linux  It has the ability to send UI or unconnected packets like 
> "beacon" but it also fully supports making multiple connected sessions 
> to other nodes and packet stations, chatting real time with remote
> operators, leaving messages, and much more.  You can read up about
> what it can do, see screen captures, etc. here:
>
>
> http://www.trinityos.com/HAM/CentosDigitalModes/hampacketizing-centos.html#11.linpac 
>
>
> If you're not aware, you can also find another great listing of various
> Linux software for AX.25 here:
>
>   http://radio.linux.org.au/?sectpat=packet&ordpat=date
>
> I'm actually about to upload a big update to that site to reflect newer
> versions of code, etc. as some of those pages are a bit out of date.
>
> --David
> KI6ZHD
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-02-14 23:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14 15:19 Fw: Fw: AX.25 folkert
2014-02-14 17:16 ` AX.25 Matt VK2RQ
2014-02-14 20:20   ` AX.25 folkert
2014-02-14 17:21 ` Fw: Fw: AX.25 David Ranch
2014-02-14 17:43   ` AX.25 Matt VK2RQ
2014-02-14 20:33     ` AX.25 folkert
2014-02-14 20:57       ` AX.25 Matt VK2RQ
2014-02-14 21:45         ` AX.25 folkert
2014-02-14 20:31   ` Fw: Fw: AX.25 folkert
2014-02-14 21:04     ` Joe Goforth
2014-02-14 22:24       ` David Ranch
2014-02-14 23:48         ` Joe Goforth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.