On 01-Feb-99 [EMAIL PROTECTED] wrote:
> Hey there.
>
> How can I iternally connect a Packet program running in DOSemu
> with the Linux Kernal ?
> My DOS programs can use the TF(xxx), BPQ or Flexnet drivers.
> Are there some way to create a internal seial port? or what?
>
> I know it can be done, but how?
>
> /David
Hello David,
> /David
You need to create an internal kiss loop-back
try with this simplified example:
start script 1 KISS TNC connected to COM3:
#
#!/bin/bash
#
#ax25.sh
#
kissattach -i 44.133.8.8 /dev/cua2 port1
kissattach -i /dev/ptyqa port2
rxecho
#
# /etc/ax25/rxecho.conf
#
# This means that packets received on port '1' are copied to port '2' if they
# are destined to oh2bns-1 or oh2bns-2. All packets from port '2' are copied
# to port '1'.
#
# There may be empty lines and an arbirary amount of white space around the
# tokens but the callsign field must not have any spaces in it. There can be
# up to MAXCALLS callsigns in the callsign field.
#
port1 port2 *
port port1 *
edit dosemu.conf file
# /etc/dosemu.conf
#
#
..
..
#
$_com1 = "" # e.g. "/dev/mouse" or "/dev/cua0"
$_com2 = "/dev/ttyqa" # e.g. "/dev/modem" or "/dev/cua1" <---- put this
$_com3 = "" # dito "/dev/cua2"
$_com4 = "" # dito "/dev/cua3"
and now you have a kiss device in dosmemu com2:
I test it with TFKISS and TPK terminal MS/DOS packet program
and runs OK.
best 73
----------------------------------
E-Mail: [EMAIL PROTECTED]
http://ea3bkz.astro-radio.com
Date: 07-Apr-99 Time: 09:27:34
This message was sent by XFMail
----------------------------------