Here is the instructions I have worked on. Happy New Year!
-------------------------------------------------------------------------
Due to the fact that squeeze is not a Debian repo anymore, jessie is now used. Follow the instructions below:
Run the following command: sudo curl https://debgen.simplylinux.ch/txt/jessie/sources_fae18d34d49f95f3a5a8a2e2c7b... | sudo tee /etc/apt/sources.list.d/00Debian Then: Next, run following commands:
sudo apt-get -f install sudo apt-get update DO NOT RUN APT-GET UPGRADE!!!! This will break many things within VyOS
From that point it is possible to install many packages from Debian "jessie" distribution.
OPTIONAL: As in VyOS there is no file manager. To make life a bit easier, you can install Midnight Commander: sudo apt-get install mc
Now, it's time to configure access to 44-net.
--- Downloading the Source Files for AMPR-RIPd and Compiling --- What we can do now, is create a folder called ampr within our home directory, and install the materials to build out ampr-ripd.
So do the following: sudo -i # This will log you in as root apt-get update # Just to make sure your lists are updated apt-get install -y build-essential # This installs all the build materials needed to build our binary mkdir /home/ampr && cd /home/ampr # Self-Explanatory wget http://www.yo2loj.ro/hamprojects/ampr-ripd-1.15.tgz # Again, self-explanatory tar -xvzf ampr-ripd-1.15.tgz # Extracts the compressed file rm -rf ampr-ripd-1.15.tgz # Deletes it after extraction make # Compiles cp ampr-ripd /usr/local/bin/
After this, you need to find out the password for the RIP broadcasts. These broadcasts run every 5 minutes. Run the following command and wait: ./find_pass.sh
Once it shows the password, Ctrl-C out of there and copy the password down. You will need it. Run the following after your done: rm -rf /home/ampr/*
--- Creating the ax25 script ---
Copy the following text to a text editor, like notepad, and edit the portions that are commented with <> and []: --------------------------------------------------------- ### ## Create AMPRNet Tunnel and routing ##
## Configure Tunnel (put your ISP you received from your ISP Here). ip tunnel add ampr0 mode ipip local [wan-ip] ttl 255
## Bring it up ip link set dev ampr0 up
## Enable Multicast in order to receive routes sudo ifconfig ampr0 multicast ifconfig ampr0 multicast
## Configure Policy Based routing # Packets to 44/8 network use routing table 44 ip rule add to 44.0.0.0/8 table 44 priority 44
# Packets from our 44 subnet use table 44 (put your AMPRNet Subnet here) ip rule add from [44subnet] table 44 priority 45
## Configure static routes # Default route for table 44 is to send traffic to amprnet gateway at UCSD ip route add default dev ampr0 via 169.228.66.251 onlink table 44
# Route packets for our net to local interface (put your AMPRNet Subnet here) ip route add [44subnet] dev eth2 table 44
## Start ampr-ripd to learn rest of mesh routes # Be sure to substitute the password you found earlier for <SecretPassword> # Put your static IP you received from your ISP here. ampr-ripd -s -i ampr0 -a 192.0.2.2 -t 44 -p <SecretPassword>
exit 0 --------------------------------------------------------------------------------------------------------- Once done editing, you will copy the text and put it in your clipboard. Open back up the terminal, and run the following: sudo nano /etc/rc.local You should be at a screen with some text and with some key-commands on the bottom
Using your arrow keys, move your cursor above the part that says ""# Do not remove----" and paste the contents of your clipboard into the terminal by right-clicking and then you can close out the file once checking everything is in there. Close out of the file and save it, by doing Ctrl-X, then pressing 'Y', then 'Enter'. --- Script --- Fire-up the ax25 script by just running 'ax25' and wait. Remember, there is a rip44 broadcast every 5 minutes. After 10-15 minutes, check your routing table.
To check your routing table: ip route show table 1 Table should be filled-up with many entries pertaining to AMPR They should mimic /var/lib/ampr-ripd/encap-txt
On Sat, Dec 31, 2016 at 6:03 AM, Tom SP2L SP2L@wp.pl wrote:
(Please trim inclusions from previous messages) _______________________________________________ On 31/12/16 11:57, Marius Petrescu wrote:
So, the -p and -r parameters are not needed anymore on the command line
Marius.
Thank you for this update...
Best regards.
-- Tom - SP2L
It is nice to be important. But it is more important to be nice!
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net