hello,

I'm trying to get my optoscc card working under linux 2.2.6 with the
ax25-driver built-in in the kernel, but I have a problem with attaching the
interfaces with 'kissattach' (ps.jnos under linux works great with my scc
card).

my /etc/rc.d/rc.ax25 look like this:
# Configure PA0HZP OptoPcSCC card with sccinit
/sbin/sccinit
#
# "A" side of first SCC, portname scc0
/sbin/ifconfig scc0 44.137.8.122 hw ax25 PE2TCP-1 up
/sbin/ifconfig scc0 netmask 255.255.255.0 mtu 256
#
# "B" side of first SCC, portname scc1
/sbin/ifconfig scc1 44.137.8.122 hw ax25 PE2TCP-2 up
/sbin/ifconfig scc1 netmask 255.255.255.0 mtu 256
#
# "A" side of second SCC, portname scc2
/sbin/ifconfig scc2 44.137.8.122 hw ax25 PE2TCP-4 up
/sbin/ifconfig scc2 netmask 255.255.255.0 mtu 256
#
# "B" side of second SCC, portname scc3
/sbin/ifconfig scc3 44.137.8.122 hw ax25 PE2TCP-9 up
/sbin/ifconfig scc3 netmask 255.255.255.0 mtu 256
#
# Attach SCC interfaces to JNOS with ptyXX/ttyXX pairs
/usr/sbin/net2kiss -i scc0 /dev/ptypa &
/usr/sbin/net2kiss -i scc1 /dev/ptypb &
/usr/sbin/net2kiss -i scc2 /dev/ptypc &
/usr/sbin/net2kiss -i scc3 /dev/ptypd &
#
kissattach /dev/ttypa ax0
kissattach /dev/ttypb ax1
kissattach /dev/ttypc 4k8
kissattach /dev/ttypd 9k6
# EOF

When the kissattach cmds are executed I get the message:

"kissattach: TIOCSETD: Invalid argument"

I don't know whether I use the right arguments with kissattach, but I tried
different possibilities without succes.

My axports:
# /etc/ax25/axports
ax0  PE2TCP-1 1200 255 2 (1200 bps)
ax1 PE2TCP-2 1200 255 2 (1200 bps)
4k8 PE2TCP-3 4800 255 2 (4800 bps)
9k6 PE2TCP-4 9600 255 2 (9600 bps)

Can anybody tell me what I do wrong here?
Or if you're working with a scc can as well, you can send me your
configuration files...

I would be pleased!

Sven,
pe2tcp.


Reply via email to