> From: Pat Masterson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: need help with baycom and kissattach
> Date: Saturday, April 22, 2000 11:34 PM
>
> Am I doing this right? I have a baycom on com2, and run this:
> setserial /dev/ttyS1 uart none
> modprobe baycom_ser_fdx mode="ser12*" iobase=0x2f8 irq=3
> /root/ax25-tools-0.0.6/hdlcutil/sethdlc -i bcsf0 -p mode "ser12*" io
> 0x2f8 irq 3
> /sbin/ifconfig bcsf0 hw ax25 KE2LJ-1 up
> /usr/local/bin/kissattach /dev/ttyS1 radio 44.68.8.141
>
> The output is:
> /root/ax25-tools-0.0.6/hdlcutil/sethdlc: Version 0.5; (C) 1996-1997 by
> Thomas Sailer HB9JNX/AE4WA
> driver name: baycom_ser_fdx
> current parameters: mode ser12* io 0x2f8 irq 3
> new parameters: mode ser12* io 0x2f8 irq 3
> kissattach: SIOCGIFNAME: Input/output error
>
> My axports contains this one line:
> radio KE2LJ-1 0 255 2 2 meter radio
>
> Any idea whats wrong? Thanks. -pat
>
Ok Test this may be works for you
---------------------------cut---------------------
#!/bin/bash
#
# Setup BayCom (BayCom modem, serial COM:2)
#
/bin/setserial /dev/ttyS1 uart none port 0x2f8 irq 3
/sbin/modprobe hdlcdrv
/sbin/insmod baycom_ser_fdx mode="ser12*" iobase=0x2f8 irq=3
/usr/sbin/sethdlc -p -i bcsf0 -a txd 500 slot 50 ppersist 128
/sbin/ifconfig bcsf0 44.68.8.141 hw ax25 KE2LJ-1 netmask 255.255.255.0 up
#
# Uncomment below if you think to use the Jnos with the BayCom Modem.
#/usr/sbin/net2kiss -a -i bcsf0 /dev/ptyq0 &
----------------------cut-------------------------
# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#---- -------- ----- ------ ------ ------------
bcsf0 KE2LJ-1 1200 236 3 2 meters radio (1k2
bds.)
-------------------------------cut---------------------------------------
Report from the Script file:
/usr/sbin/sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
current parameters: TX delay 200ms, TX tail 20ms, slottime 100ms,
p-persistence 40/256, Half duplex
new parameters: TX delay 500ms, TX tail 20ms, slottime 50ms,
p-persistence 128/256, Half duplex
Report from the ifconfig:
ifconfig bcsf0:
bcsf0 Link encap:AMPR AX.25 HWaddr KE2LJ-1
inet addr: 44.68.8.141 Mask:255.255.255.0
UP RUNNING MTU:256 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Interrupt:3 Base address:0x2f8
I hope this help you
73's Jose (hi8gn)
[EMAIL PROTECTED]