Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plu:install_ax25 [2014/02/09 10:00]
gunn [AX.25 start-up & config scripts]
plu:install_ax25 [2020/08/02 11:15] (current)
gunn [AX.25]
Line 6: Line 6:
 Below is a collection of links of good tutorials for setting up AX.25. I recommend you read them as what follows in this wiki is just a summary of what is needed to get AX.25 configured to run paclink-unix. Below is a collection of links of good tutorials for setting up AX.25. I recommend you read them as what follows in this wiki is just a summary of what is needed to get AX.25 configured to run paclink-unix.
  
-  * [[http://​www.febo.com/​packet/​linux-ax25/​index.html | Linux AX.25 Configuration]] - by John Ackermann +  * [[http://​www.febo.com/​packet/​linux-ax25/​index.html | Linux AX.25 Configuration]] - by John Ackermann, N8UR 
-  * Also check out [[http://​www.linux.com/learn/docs/ldp/415-AX25-HOWTO | Linux Amateur Radio AX.25 HOWTO]] - by Jeff Tranter, VE3ICH +  * Also check out [[http://​www.faqs.org/docs/Linux-HOWTO/AX25-HOWTO.html | Linux Amateur Radio AX.25 HOWTO]] - by Jeff Tranter, VE3ICH 
-  * Charles Schumann K4GBB has very good notes on [[http://​71.49.11.106:​800/​docs/​Myhowto.html | setting up AX.25 & an RMS Gateway]] on the Raspberry PI [[http://​71.49.11.106:​800/​docs/​Raspberry.html | here]]+ 
 ====== Install AX.25 library, apps & tools ====== ====== Install AX.25 library, apps & tools ======
-  * Install ​libax25, apps & tools from [[http://​www.linux-ax25.org/​wiki/​Main_Page | linux-ax25.org Main page]]+  * I usually pull the ax25 library from [[https://​github.com/​ve7fet/​linuxax25/​tree/​master/​libax25 | Craig Small VE7FET'​s github repo]] 
 +  * You could also install ​libax25, apps & tools from [[http://​www.linux-ax25.org/​wiki/​Main_Page | linux-ax25.org Main page]]
     * Download the 3 files under '​Latest Versions'​ from right hand side     * Download the 3 files under '​Latest Versions'​ from right hand side
     * There are other versions of these packages that have been modified or patched to be '​better'​ but let's get this going with the vanilla sanctioned packages first.     * There are other versions of these packages that have been modified or patched to be '​better'​ but let's get this going with the vanilla sanctioned packages first.
Line 19: Line 20:
 <code bash> <code bash>
 echo "/​usr/​local/​lib"​ >> /​etc/​ld.so.conf && /​sbin/​ldconfig echo "/​usr/​local/​lib"​ >> /​etc/​ld.so.conf && /​sbin/​ldconfig
 +</​code>​
 +  * Note: libncurses is a build dependency for ax25-apps, be sure it is installed.
 +    * As root
 +<code bash>
 +apt-get install libncurses5-dev
 </​code>​ </​code>​
   * Extract the three gzipped tar balls   * Extract the three gzipped tar balls
Line 39: Line 45:
 ====== Configure AX.25 ====== ====== Configure AX.25 ======
  
 +  * [[plu:​example_config_files:​systemd | example config using systemd]]
 ===== Basic Setup for Config files ===== ===== Basic Setup for Config files =====
  
Line 58: Line 64:
     * **installed from a package**, their config will be installed to ///​etc/​ax25// ​     * **installed from a package**, their config will be installed to ///​etc/​ax25// ​
 ==== AX.25 start-up & config scripts ==== ==== AX.25 start-up & config scripts ====
-  * Below is a simple ​example ​of the scripts & parameters required to bring up the AX.25 interface.+  * Below are simple ​**examples** ​of the scripts & parameters required to bring up the AX.25 interface. 
 +    * **At the very least you will need to edit /​usr/​local/​etc/​ax25-up**
   * Need scripts:   * Need scripts:
     * [[plu:​example_config_files:​ax25_init.d | /​etc/​init.d/​ax25]]     * [[plu:​example_config_files:​ax25_init.d | /​etc/​init.d/​ax25]]
Line 68: Line 75:
  
 === startup script install === === startup script install ===
-  * Scripts: ax25, ax25-up, ax25-down need to be copied/​installed to these +  * Scripts: ax25, ax25-up, ax25-down need to be copied/​installed to these directories:​
-directories:​+
 <​file>​ <​file>​
 /​etc/​init.d/​ax25 /​etc/​init.d/​ax25
Line 101: Line 107:
  
   * **DO NOT** put /​etc/​init.d/​ in your path!   * **DO NOT** put /​etc/​init.d/​ in your path!
-  * All 3 files are bash scripts (so read them) and you absolutely need to edit the +  * All 3 files are bash scripts (so read them) and you **absolutely need to edit the ax25-up script** to customize at least for your call sign and ax.25 port name.
-ax25-up script to customize at least for your call sign and ax.25 port name.+
  
   * Permissions on these scripts should look like this, please verify:   * Permissions on these scripts should look like this, please verify:
Line 115: Line 120:
 -rwxr-xr-x 1 root root  2758 Dec  1 16:32 /​usr/​local/​etc/​ax25/​ax25-up -rwxr-xr-x 1 root root  2758 Dec  1 16:32 /​usr/​local/​etc/​ax25/​ax25-up
 </​code>​ </​code>​
-Make sure all these scripts are executable. Look for the x in the ls -al response. + 
-If the scripts are not executable then give them that permission as root.+  * Make sure all these scripts are executable. ​ 
 +    * Look for the x in the ls -al response. 
 +    ​* ​If the scripts are not executable then give them that permission as root.
  
 <code bash> <code bash>
Line 122: Line 129:
 chmod +x /​usr/​local/​etc/​ax25/​ax25-up chmod +x /​usr/​local/​etc/​ax25/​ax25-up
 chmod +x /​usr/​local/​etc/​ax25/​ax25-down chmod +x /​usr/​local/​etc/​ax25/​ax25-down
-</bash>+</code>
 ===== Linux AX.25 & TNC's ===== ===== Linux AX.25 & TNC's =====
 ==== Note about KISS mode ==== ==== Note about KISS mode ====
Line 131: Line 138:
  
 ===== Misc Notes ===== ===== Misc Notes =====
 +==== Is AX.25 Enabled in your kernel ====
 +<​code>​
 +netstat --ax25
 +</​code>​
 ==== Network Broadcast All ports ==== ==== Network Broadcast All ports ====
   * Note that bringing up another network interface, like AX.25 on Linux, causes any daemons that broadcast out ALL ports to broadcast out the new port as well.   * Note that bringing up another network interface, like AX.25 on Linux, causes any daemons that broadcast out ALL ports to broadcast out the new port as well.
plu/install_ax25.1391968812.txt.gz · Last modified: 2014/02/09 10:00 by gunn
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0