On Mon, Jul 24, 2000 at 11:40:44AM -0700, Rich Hall wrote:
:
: I tried this route too. No workie.. Also the docs on several of the web
: sites state that the ax-utils do not work with 2.2.x kernels.. I am totally
: confused on this. The site at http://meow.febo.com/linux-ax25/index.html
: shows the ax25-utils as a 2.0.x based support package and the ax25-tools as
: a 2.2.x package.
I really don't know what else for you to try.. This is my relevant
AX25 configuration information for the kernel (everything's a module,
basically):
#
# Packet Radio protocols
#
CONFIG_AX25=m
CONFIG_NETROM=m
CONFIG_ROSE=m
#
# AX.25 network device drivers
#
CONFIG_MKISS=m
CONFIG_6PACK=m
CONFIG_SOUNDMODEM=m
CONFIG_SOUNDMODEM_SBC=y
CONFIG_SOUNDMODEM_AFSK1200=y
CONFIG_SOUNDMODEM_AFSK2400_7=y
CONFIG_SOUNDMODEM_AFSK2400_8=y
CONFIG_SOUNDMODEM_PSK4800=y
CONFIG_SOUNDMODEM_FSK9600=y
My /etc/conf.modules has these settings:
alias net-pf-3 ax25
alias sm0 soundmodem
# These just keep it from trying to load the sound card drivers
alias sb off
alias sound off
alias sound-slot-0 sb
alias sound-service-0-0 sb
alias sound-service-0-3 sb
alias char-major-14 sb
options soundmodem mode="afsk:1200" iobase=0x220 irq=5 dma=1
post-install soundmodem /usr/sbin/sethdlc -i sm0 -p mode "sbc:afsk1200" io
0x220 irq 5 dma 1
Note that the modules post-install line above does my sethdlc for me.
Thus, I can just 'ifconfig sm0' and it loads the drivers and configures
the soundmodem automatically. At that point it's up to me to use ifconfig
to configure the interface like I want it. (I also have a working setup
for using RedHat's automatic networking stuff, but I don't always want
the interface up at boot-time.)
[root@eddie /root]# rpm -qf /usr/sbin/sethdlc
ax25-utils-2.1.42a-3
[root@eddie /root]# rpm -qi ax25-utils
Name : ax25-utils Relocations: (not relocateable)
Version : 2.1.42a Vendor: (none)
Release : 3 Build Date: Fri Jan 1 14:48:48
1999
Install date: Wed Sep 1 09:28:56 1999 Build Host: localhost
Group : Utilities/System Source RPM:
ax25-utils-2.1.42a-3.src.rpm
Size : 1385793 License: GPL/BSD
Packager : Alessandro Sabbatini <[EMAIL PROTECTED]>
Summary : AX.25 Utilities
Description :
These are the support utilities required to make use of the
internal AX.25, NET/ROM and Rose support in the linux kernel.
The ax25-utils are mostly configuration utilities, but some
important user programs are also included.
This version of the utilities will only work with kernel
revisions 2.1.42 and higher, or 2.0.30+module13 or higher.
This package includes examples from the original package (in
/usr/doc/ax25-utils-2.1.42a/etc) but DOES NOT include any rc.d file
to start AX-25 (Refer to the AX25-HOWTO package).
Compiled under RedHat 5.2.
Clearly this RPM uses ax25 stuff meant for 2.2 kernels (or at least
the 2.1 development series, the precurser to 2.2). Perhaps you should
e-mail Mr. Sabbatini above for information about where he got the source
for this. Maybe there's additional information and help there.
: BTW how is the 2.2.16 kernel? I had a ton of trouble with crashing network
: stacks on about 20 machines in our network when we went to that.
2.2.10-2.2.13 gave me major network problems (I have a complex
masquerading setup), but 2.2.14 fixed those. 2.2.16 has been running
flawlessly under sporatically moderate to heavy loading (though not at
the moment):
3:11pm up 32 days, 16:09, 8 users, load average: 0.28, 0.32, 0.20
Good luck,
David