Got it working. This should be universal. Had to change a lot of the
content you had. Will see if I can make a wiki post about it.
On Fri, Dec 30, 2016 at 2:55 PM, Tom SP2L <SP2L(a)wp.pl> wrote:
(Please trim inclusions from previous messages)
_______________________________________________
Hello Miguel et al.
Made some tests with AMPR+VyOS.
My test hardware/software configuration:
- TL-MR3420v2 router (providing access to Internet)
- VirtualBox host machine running on desktop PC
(Please note: desktop PC is in DMZ, behind the router)
- VyOS-1.1.7 32bit as a guest OS running in VirtualBox
Installing and basic configuration of VyOS is described here:
http://wiki.vyos.net/wiki/User_Guide
After reboot VyOS will be ready to communicate with Internet.
Let's skip chapter "Using the Command-Line Interface",
and proceed our own way, assuming that the goal
is to configure VyOS capable of bidirectional communication
with global 44net system.
Next important steps are described here:
http://wiki.vyos.net/wiki/FAQ#For_1.0.x.2F1.1.x
chapters "How do I install Debian packages?" and "For 1.0.x/1.1.x"
For unknown(?) reason sequence of "set" commands
should be reversed:
vyos@vyos:~$ configure
[edit]
vyos@vyos#
set system package repository squeeze url 'http://archive.debian.org/deb
ian'
set system package repository squeeze distribution 'squeeze'
set system package repositorysqueeze components 'main contrib non-free'
_DO NOT_, I repeat, _Do NOT_ set 'squeeze-lts' repository
as it does not exists any more...
Then:
vyos@vyos# commit && save;exit
vyos@vyos:~$
Next, run following commands:
vyos@vyos:~$ sudo apt-get -f install
vyos@vyos:~$ sudo apt-get check
vyos@vyos:~$ sudo apt-get update
vyos@vyos:~$ sudo apt-get upgrade
From that point it is possible to installmany
packages from Debian "squeeze" distribution.
As in VyOS there is _NO_ any file manager
to make life a bit easier, let's install MC:
vyos@vyos:~$ sudo apt-get install mc
Now, it's time to configure access to 44-net.
We may use "ax25" script created by N1URO
adapting it accordingly or make short
script "ax25.sh" containing:
#!/bin/sh
#
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/bin:/usr/sbin:/bin:sbin
#
modprobe -a ipip
ifconfig tunl0 <ampr-IP> netmask 255.255.255.255 mtu 1472 multicast arp
up
ip route add 44/8 via <VyOS_LAN_IP> dev tunl0 proto static onlink
ip tunnel change ttl 64 mode ipip tunl0
ip rule add from 44/8 pref 1 table 1
ip rule add to 44/8 pref 1 table 1
/usr/local/bin/ampr=ripd -t 1 -a <public_IP> -p <rip44_password> -i
tunl0 -v -s
#
echo "10" > /proc/sys/kernel/panic
echo "1" > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/conf/all/log_martians
#
On freshly installed VyOS system compilation is _NOT POSSIBLE_
therefore we need to obtain binary file ampr-ripd
compiled elsewhere and download package ampr-ripd from
http://www.yo2loj.ro/hamprojects/ampr-ripd-1.15.tgz
to have "manual" and two other scripts.
Next. let's put ampr-ripd binary file in /usr/local/bin/
Fire-up ax25.sh script and wait till
nearest rip44 broadcast taking place every 5 minutes.
Wait a while after broadcast and check routing table
by issuing command:
ip route show table 1
Table should be filled-up by many, many entries
that are saved in /var/lib/ampr-ripd/encap-txt
If <rip44_password> is not known yet, use script
find-pass.sh provided with ampr-ripd package
(change interface name ampr0 to tunl0 or to reflect your system!).
That's all...
Nevertheless, YMMV...
From now on, enjoy being part of AMPRNet network!
Happy New 2017 Year!
Best regards.
--
Tom - SP2L
------------------------------------
It is nice to be important.
But it is more important to be nice!
_________________________________________
44Net mailing list
44Net(a)hamradio.ucsd.edu
http://hamradio.ucsd.edu/mailman/listinfo/44net
--
Miguel Rodriguez
12th Grade Student
MIGUELR-DN42 / KM4VYU
miguemely101(a)gmail.com
Tel: *561-758-0631*
*Accredited District Since 2008; Re-certification - January 2013*
Home of Florida's first LEED Gold Certified School
*Disclaimer*: Under Florida law, e-mail addresses are *public records*. If
you do not want your e-mail address released in response to a public
records request, do not send electronic mail to this entity. Instead,
contact this office by phone or in writing.