On Mon, 10 Apr 2000,  Sven Vermeulen wrote about,  problem while kissattaching scc 
interfaces:
> 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
> #
> #
> # Attach SCC interfaces to JNOS with ptyXX/ttyXX pairs
> /usr/sbin/net2kiss -i scc0 /dev/ptypa &
> #

Now i presume you want the data "piped" to jnos, if that is the case then
you need to use something like;

attach asy /dev/ttypa - ax25 scc0 <buffsize> <paclen> <baudrate>


I used to do the same thing with PE1CHL's net program,  for linux i did;

net2kiss -i scc1 /dev/ptypa &

In autoexec.nos i had;

attach asy /dev/ttypa - ax25 lap.48 1024 512 4800 pi1goe

However there is no need to do it this way, simply doing sccinit under
linux and attaching the interfaces in Xnos with attach asy bla bla, is
enough.

I belive i used the following to attach the interfaces under net-chl;

attach asy /dev/scc0 - ax25 scc0 512 256 1200 $CALLSIGN

If it all sounds and looks like mumbo jumbo send me a personal in the Dutch
langauge, i am sure i can explain and give you some examples.


> kissattach /dev/ttypa ax0
> # EOF
> 
> When the kissattach cmds are executed I get the message:
> 
> "kissattach: TIOCSETD: Invalid argument"

The TIOCSETD is caused by not having the kmiss module loaded or it is not
compiled into the kernel.

Using the scc driver one does NOT need to use kissattach.

> 
> 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?

If i could say it without sounding like a school teacher, you seem to be
doing it  all wrong.

> Or if you're working with a scc can as well, you can send me
> your configuration files...

I could but i rather think you would not understand them as i have used
definitions.

> I would be pleased!

Ik ben altijd blij.


> Sven,
> pe2tcp.
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

Reply via email to