Hi.
Congratulations on settin gup the system on VyOS.
Just some info:
- starting with ampr-ripd 1.14 the password is not needed anymore unless
it will be changed in the future
- starting with ampr-ripd 1.15 multicast access is always done in raw
socket mode
So, the -p and -r parameters are not needed anymore on the command line
Have fun,
Marius, YO2LOJ
On 2016-12-30 21:55, Tom SP2L 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/debian'
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.