BAYCOM modem configuration for LINUX

   Home Page            Info_page             QTH_Brno


To connect Baycom modem to Linux radio application it is necessary the Linux Kernel contents following modules for the Baycom modem usage:
ax25
mkiss
netrom
hdlcdrv
baycom_ser_fdx
or these modules should be enabled during the Kernel recompilation.

Then the Linux must contain program:
setserial
Case you have not recompile the Kernel and not enabled these modules directly into the Kernel you can check if the above named modules are present in the Kernel by command:
# /sbin/modprobe -k ax25
# /sbin/modprobe -k mkiss
# /sbin/modprobe -k netrom
# /sbin/modprobe -k hdlcdrv
and baycom driver SER12 (for example) to serial port COM2
# /sbin/modprobe -k baycom_ser_fdx mode="ser12*" iobase=0x2f8 irq=3

If all modprobe commands have positive result (there should be no any response after each command) you can install these modules first with commands:
# /sbin/insmod ax25
# /sbin/insmod mkiss
# /sbin/insmod netrom



1/ Then in case you will use only one Baycom modem, create Baycom driver with commands:

(Switch modem (for example) to serial port COM1)
# /sbin/setserial /dev/ttyS0 uart none
# /sbin/insmod hdlcdrv
and baycom driver SER12 to serial port COM1
# /sbin/insmod baycom_ser_fdx mode="ser12*" iobase=0x3f8 irq=4

2/ Then in case you will use more Baycom modems on more ports, create Baycom devices bc0, bc1, bc2 etc. with commands:

(Switch here one modem (for example) to serial port COM1 as device bc0
# /sbin/insmod hdlcdrv
# /sbin/insmod baycom*
# /sbin/sethdlc -p -i bc0 mode "ser12*" io 0x3f8 irq 4

THE PAGE IS FURTHER DEVELOPED ...