====== AXUDP via FARPN IPv6 Mesh (yggdrasil) ======
If you followed the FARPN guides, you should have yggdrasil running on your node, peered with a couple other FARPN members, which gives the FARPN community a private IPv6 mesh network that rides on top of your regular internet connection.
When setting up AXUDP to use this, you'll need to know your IPv6 address
This command will tell you that:
sudo yggdrasilctl getSelf
the return will look something like:
Build name: yggdrasil
Build version: 0.5.12
IPv6 address: [**long hex address**]
IPv6 subnet: [**shorter hex address**]
Routing table size: 3
Public key: qwerty06cd47fhn48dsbg3409d7938d4d9b0fd044jdrrntlgffa9f94246d3swdefrgt
It is also a good idea to make sure you're peered with others on the FARPN yggdrasil mesh - type the following command to see what other nodes on the mesh you have peered with:
sudo yggdrasilctl getPeers
If you followed our setup guide, you should see the 2 peers listed that you set up previously. If not, go back and work through the [[tutorial-packet-on-pi|yggdrasil setup steps on the tutorial page]].
Next, you'll need to put some lines in your bpq32.cfg file that you created in the tutorial (located in ~/.config/linbpq/bpq32.cfg), to indicate the stations you'd like to connect with.
if you followed our guides, you should have a section for an AXUDP port (probably Port 3) that looks similar to this:
;******************* Port 3 AXUDP *******************;
PORT ;
PORTNUM=3 ;
ID=AXUDP IPv6 FARPN Mesh ; PORTS command text - the setup guide just has this as ID=AXUDP, but many members add the additional details for clarity
DRIVER=BPQAXIP ;
QUALITY=192 ;
MINQUAL=100 ;
MAXFRAME=7 ;
FRACK=5000 ;
RESPTIME=1000 ;
RETRIES=10 ;
PACLEN=236 ;
MHEARD=Y ;
CONFIG ;
UDP 10093,IPv6 ; You may also have "UDP 10093" without the IPv6. You'll need that if you want to do AXUDP with folx on "regular" internet.
BROADCAST NODES ;
ENDPORT ;
It may be a good idea to reference back to the FARPN setup guides, just in case you changed things at any point. The settings in those guides should get you 90% of the way to a working connection.
The final steps to make connections to other stations, involve adding a MAP line under "BROADCAST NODES" for each station you'd like to connect with, and having those stations reciprocate in their settings.
The format for these map lines that FARPN uses is:
MAP [NODECALL-7] ipv6:[IP or URL] KEEPALIVE 60 UDP 10093 B
Most FARPN members will be more than willing to share their MAP with you, and to add you to theirs!
Example:
If you want to connect to Tom Fakington, N0CALL you would add, under BROADCAST NODES:
BROADCAST NODES
MAP N0CALL-7 ipv6:200:97e2:dq26::9b9:ec2:90e8:e123 KEEPALIVE 60 UDP 10093 B
and then you would send him your MAP, which should be
MAP CALLSIGN-7 ipv6:ADDRESS_FROM_YGGDRASILCTL_GETSELF KEEPALIVE 60 UDP 10093 B
Once the MAPs have been added, if you connect to your node and enter the NODES command, you should see the new node in your list, something like so:
>
NODES
COOPNT:N3VEM-7} Nodes
CPNBBS:N3VEM-1 CSTLRK:AF0AJ-7 SCREEK:VE3QBZ-7 WALLA:KC2IHX-7
If you want to connect to the new node that is now set up, you can just enter a connect command, and do all the things just like you would if you connected over the air. Using the port number here is optional if you want to connect via AXUDP, as it will default to that port since you have it mapped.
>
CONNECT 3 VE3QBZ-7
COOPNT:N3VEM-7} Connected to SCREEK:VE3QBZ-7
Welcome to VE3QBZ-7
BPQ Node: ? for Help >
Have fun linking!