Hi guys!
I have posted this message some time ago, but I had no luck so I post it
here once more and I hope to be more lucky this time...
I have a problem with a baycom modem of the local radio club, which is not
working at all under Linux....
The modem hardware is ok, it works well under DOS or here at home, where I
run Linux 2.2.13 (libc5), based on a Slackware 4.0 distribution.(Just
plugged into the serial port and it worked ok at the first try (I also own
a baycom modem here so I didn't need to re-config the kernel)).
The serial ports on the PC are 16550A, the PC is a clone 486DX4/100 with 24
MB RAM, running Linux 2.0.38 based on an old Slackware distribution (maybe
3.2) which has been upgraded in the years "manually".
AX utils are ax25-utils 2.1.42a, AX25 support
AX-25 support available as modules
axports and other config files copied from my home pc (and working ok)
After setting up the modem with sethdlc (all ok) I try "call".
Please notice that I never get error messages of any sort, but the program
simply doesn't work...
I can't get neither TX nor RX on the baycom... and a RS232 analyzer shows
no activity on the port...
I also tried "cat /proc/interrupts" and this showed no increase in the
interrupt count, so I think it's something software- or kernel-related....
This is the script used to load baycom support (of course the baycom is on
/dev/ttyS0, 0x3F8, irq 4):
----------------------------------------------------------------------------
---------------------------------------
#!/bin/sh
IP_ADDR=44.134.192.231# IR4BO-3
NR_IP_ADDR=44.134.192.231# IR4BO-3
if [ $# -ne 1 ]; then
echo "Richiesto parametro ON o OFF" >&2
exit 1
fi
case $1 in
on|ON)
setserial /dev/ttyS0 uart none
modprobe hdlcdrv
modprobe baycom
sethdlc -p -i bc0 mode "ser12*" io 0x3f8 irq 4
sethdlc -i bc0 -a txd 300 slot 100 ppersist 40 half
ifconfig bc0 hw ax25 IR4BO-3 netmask 255.255.255.0 broadcast
44.134.192.255 up $IP_ADDR
mheardd
nrattach netrom
ifconfig nr0 $NR_IP_ADDR
/usr/sbin/netromd -i ;;
off|OFF)
ifconfig nr0 down
ifconfig bc0 down
killall netromd
killall mheardd
rmmod netrom
rmmod baycom
rmmod hdlcdrv
rmmod ax25 ;;
*) echo "Richiesto parametro ON o OFF" >&2
exit 1 ;;
esac
----------------------------------------------------------------------------
--------------------------------------------
These are the results I get:
root@tcp:/proc#lsmod
Module: #pages: Used by:
baycom 21
hdlcdrv 2[baycom]4
ax25 12[hdlcdrv]0
serial 70 (autoclean)
nfs 126 (autoclean)
isofs 51 (autoclean)
nls 1[isofs]0 (autoclean)
softdog 10
root@tcp:/proc#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:13598 errors:0 dropped:0 overruns:0
TX packets:13598 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:00:1C:10:52:60
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15472 errors:0 dropped:0 overruns:0
TX packets:8152 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
bc0 Link encap:AMPR AX.25 HWaddr IR4BO-3
inet addr:44.134.192.231 Bcast:44.134.192.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:4 Base address:0x3f8
So it looks OK...
__PLEASE__ give me some suggestions before I upgrade the whole system to
2.2.13 (it is only the last resort, I'm not sure at all this will solve the
problem)
If you need more information don't hesitate to write me....
thanks a lot!
Ciao,
Fabio
IZ4AFW
Effugere nemo id potest, quod futurum est. (Publilio Siro)
--
EMail [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
FidoNet 2:332/413.15
- PGP key available on request -
Home Page http://surf.to/manto *OR*
http://www.qsl.net/iz4afw