s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
4. Installing the AX.25/NetRom/Rose software.To successfully install AX.25 support on your linux system you must configure and install an appropriate kernel and then install the AX.25 utilities.
4.1 Compiling the kernel.If you are already familiar with the process of compiling the Linux Kernel then you can skip this section, just be sure to select the appropriate options when compiling the kernel. If you are not, then read on. The normal place for the kernel source to be unpacked to is the
After you have unpacked the kernel source and applied the upgrade, you need to run the configuration script and choose the options that suit your hardware configuration and the options that you wish built into your kernel. You do this by using the command:
You might also try:
I'm going to describe the full screen method (menuconfig) because it is easier to move around, but you use whichever you are most comfortable with. In either case you will be offered a range of options at which you must answer `Y' or `N'. (Note you may also answer `M' if you are using modules. For the sake of simplicity I will assume you are not, please make appropriate modifications if you are). The options most relevant to an AX.25 configuration are:
Code maturity level options ---> ... [*] Prompt for development and/or incomplete code/drivers ... General setup ---> ... [*] Networking support ... Networking options ---> ... [*] TCP/IP networking [?] IP: forwarding/gatewaying ... [?] IP: tunneling ... [?] IP: Allow large windows (not recommended if <16Mb of memory) ... [*] Amateur Radio AX.25 Level 2 [?] Amateur Radio NET/ROM [?] Amateur Radio X.25 PLP (Rose) ... Network device support ---> [*] Network device support ... [*] Radio network interfaces [?] BAYCOM ser12 and par96 driver for AX.25 [?] Soundcard modem driver for AX.25 [?] Soundmodem support for Soundblaster and compatible cards [?] Soundmodem support for WSS and Crystal cards [?] Soundmodem support for 1200 baud AFSK modulation [?] Soundmodem support for 4800 baud HAPN-1 modulation [?] Soundmodem support for 9600 baud FSK G3RUH modulation [?] Serial port KISS driver for AX.25 [?] BPQ Ethernet driver for AX.25 [?] Gracilis PackeTwin support for AX.25 [?] Ottawa PI and PI/2 support for AX.25 [?] Z8530 SCC KISS emulation driver for AX.25 ... The options I have flagged with a ` After you have completed the kernel configuration you should be able to cleanly compile your new kernel:
maake sure you move your
A word about Kernel modulesI recommend that you don't compile any of the drivers as modules. In nearly all installations you gain nothing but additional complexity. Many people have problems trying to get the modularised components working, not because the software is faulty but because modules are more complicated to install and configure. If you've chosen to compile any of the components as modules, then you'll also need to use:
to install your modules in the appropriate location.
You will also need to add some entries into your
What's new in 2.0.*+ModuleXX or 2.1.* Kernels ?The
4.2 The network configuration tools.Now that you have compiled the kernel you should compile the new network configuration tools. These tools allow you to modify the configuration of network devices and to add routes to the routing table. The new alpha release of the standard
A patch kit that adds Rose support and fixes some bugs.The standard net-tools-1.33.tar.gz package has some small bugs that affect the AX.25 and NetRom support. I've made a small patch kit that corrects these and adds Rose support to the tools as well. You can get the patch from: zone.pspt.fi.
Building the standard net-tools release.Don't forget to read the
At this stage you will be presented with a series of configuration questions, similar to the kernel configuration questions. Be sure to include support for all of the protocols and network devices types that you intend to use. If you do not know how to answer a particular question then answer `Y'. When the compilation is complete, you should use the:
command to install the programs in their proper place.
If you wish to use the IP firewall facilities then you will need the latest
firewall administration tool I compiled the
4.3 The AX.25 user and utility programs.After you have successfully compiled and booted your new kernel, you need to compile the user programs. To compile and install the user programs you should use a series of commands similar to the following:
The files will be installed under the If this is a first time installation, that is you've never installed any ax25 utilities on your machine before you should also use the:
command to install some sample configuration files into the
If you get messages something like: gcc -Wall -Wstrict-prototypes -O2 -I../lib -c call.c call.c: In function `statline': call.c:268: warning: implicit declaration of function `attron' call.c:268: `A_REVERSE' undeclared (first use this function) call.c:268: (Each undeclared identifier is reported only once call.c:268: for each function it appears in.) then you should double check that you have the ncurses package properly installed on your system. The configuration script attempts to locate your ncurses packages in the common locations, but some installations have ncurses badly installed and it is unable to locate them.
Next Previous Contents |