I was reading in the Jnos mail list about a problem with getting a KPC3 + or Kam modem in kiss or out of kiss. There are some nice examples of how that works.
First get the modem out of Kiss.
echo -e "\xc0\xff\xc0" > /dev/ttyS0'
In the autoexec.nos
attach asy ttyS0 - ax25 p144 4096 256 9600 ifconfig p144 description "p144 - 144 Mhz - 1200 baud" ifconfig p144 ax25 bbscall w3xsc-1 ax25 digipeat p144 off ifconfig p144 tcp mss 216 ifconfig p144 tcp window 432 arp eaves p144 on source p144.local # Pause a sec to make sure the TNCs have time to reset pause 1 trace p144 0111 ax25 bcport p144 on trace p144 0111 ./logs/p144.trace 1000
In the p144.local file
# Serial interface comm p144 "xxx" comm p144 "INTFACE TERM" comm p144 "ABAUD 9600" comm p144 "XFLOW OFF" comm p144 "START $00" comm p144 "STOP $00" comm p144 "XON $00" comm p144 "XOFF $00" comm p144 "TXFLOW OFF" comm p144 "TRFLOW OFF" comm p144 "MONITOR OFF" # Radio interface comm p144 "HBAUD 1200" comm p144 "XMITOK ON" comm p144 "CD SOFTWARE" # Services comm p144 "DIGIPEAT OFF" comm p144 "NUMNODES 0" comm p144 "USERS 0" comm p144 "PBBS 0" # 'PBBS 0' causes a soft reset if not already set to 0 pause 2 # Identification comm p144 "MYCALL w3xsc-15" comm p144 "MYPBBS w3xsc-14" comm p144 "BTEXT SCCo ARES/RACES W3XSC BBS - Mountain View - Offline" comm p144 "BEACON EVERY 15" # AX.25 channel comm p144 "PACLEN 0" comm p144 "MAXFRAME 2" comm p144 "RETRY 8" comm p144 "FRACK 5" comm p144 "SLOTTIME 10" comm p144 "PERSIST 96" comm p144 "DWAIT 0" comm p144 "DIGIPEAT OFF" comm p144 "TXDELAY 40" comm p144 "CHECK 30" # KISS mode comm p144 "INTFACE KISS" pause 1 comm p144 "RESET" pause 2 # KISS Parameters param p144 TxDelay 40 param p144 Persist 96 param p144 SlotTime 10 param p144 FullDup 0
This was the first option, now the second.
# KPC3P stuff remark KPC3P USB (1200 baud) on port 'kpc3p' attach asy ttyUSB1 - ax25 kpc3p 4096 256 1200 ifconfig kpc3p description "kpc3p - 1200 baud port" # Put the KPC3P into KISS mode # the pauses are critical -- things may fail # sporadically if pauses are too short. remark "Putting the KPC3P into KISS mode -- " remark " this takes about 10 seconds!" pause 2 comm kpc3p "" pause 2 comm kpc3p "intface kiss" pause 2 comm kpc3p "reset" pause 5
I have tested both options and they work perfectly. Nice.