pci scc cards
Greetings..
We are having trouble trying to configure PCI SCC Card. The chip used is a
SUN 1889 (Dual Port card). Currently we use a script..
#!/bin/sh
# ax25 startup scripts echo "Attach AX.25 devices to relevant ports" # setserial /dev/ttyS2 uart 16750 port 0xe800 baud_base 19200 setserial /dev/ttyS3 uart 16750 port 0xec00 baud_base 76800 # /sbin/modprobe mkiss /sbin/modprobe netrom /sbin/modprobe ax25 # /usr/sbin/kissnetd /dev/ptyqa /dev/ptyqb & sleep 2 echo "Attach AX.25 loopback ports" /usr/sbin/kissattach /dev/ttyqa loop0 10.1.1.1 /usr/sbin/kissattach /dev/ttyqb loop1 10.1.1.2 /usr/sbin/kissattach /dev/ttyS2 2 44.136.176.220 /usr/sbin/kissattach /dev/ttyS3 3 44.136.177.220 # /sbin/ifconfig ttyS2 44.136.176.220 netmask 255.255.255.0 \ broadcast 44.136.176.255 arp hw ax25 vk5tty-15 up /sbin/ifconfig ttyS3 44.136.177.220 netmask 255.255.255.0 \ broadcast 44.136.176.255 arp hw ax25 vk5tty-13 up
We tried looking at psicscc program, however, there is NO support for SUN 1889 chip. Is there an alternative to the way we are doing it or using pciscc. We had just moved away from ISA DRSI cards using the Z8530drv, as the cards were damaged.
The problem we get is cannot attach kiss to the devices.. Any help would be much appreciated
Signature · 3 lines
Regards - Stef VK5HSX
Adelaide, Sth Australia
-= Support Open Source =-Quoted 6 lines
Greetings..
We are having trouble trying to configure PCI SCC Card. The chip used is
a
SUN 1889 (Dual Port card). Currently we use a script..
[snip]
Quoted 10 lines
We tried looking at psicscc program, however, there is NO support for SUN 1889
chip. Is there an alternative to the way we are doing it or using pciscc. We had just moved away from ISA DRSI cards using the Z8530drv, as the cards
were damaged.The problem we get is cannot attach kiss to the devices.. Any help would be much appreciated
Hi Stef
Bad luck on the choice of cards - what you have there is NOT an SCC card and will never operate in the same manner as the DRSI card you used to use.
What you have is a simple dual UART card which can be treated the same way as the normal serial ports on the motherboard - no syncronous data, no HDLC, no direct modem connection for AX25 :-((
Best advice would be to exchange the card for a standard serial multi-port card that is supported by the Linux kernel as I doubt you will find a 'commercial' SCC card apart from the Baycom team (that I know of anyway!)
Signature · 2 lines
Robin Gilks zl3rob/g8ecj Internet: [email protected] http://www.gilks.org
Linux AX25 Digipeating Software
Hello all,
Is there any good, reasonably modern Linux Digipeater software out there? I've noticed that axdigi is still dated 1997 and won't compile on any reasonably modern system, and the old binary from 1997 won't run with any reasonably modern kernel.
Someone suggested that I try ax25digi, but ax25digi is not on the linux-hams site, and even google only brings up 6 websites that mention it - and even then only complaints about it - nothing about where to get it.
I found a couple forums where someone else was asking, very clearly, if there was an AX.25-level digipeater program out there, and all the replies were about APRS digipeating, not what the original poster really asked about. (APRS forwarding really isn't digipeating anyway - more like bridging or routing - different OSI layer).
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
Thanks in advance,
Dave
VA3BHF
Re: Linux AX25 Digipeating Software
Quoted 11 lines · Dave Stubbs
Hello all,
Is there any good, reasonably modern Linux Digipeater software out there? I've noticed that axdigi is still dated 1997 and won't compile on any reasonably modern system, and the old binary from 1997 won't run with any reasonably modern kernel.
Someone suggested that I try ax25digi, but ax25digi is not on the linux-hams site, and even google only brings up 6 websites that mention it - and even then only complaints about it - nothing about where to get it.
Quoted 9 lines
I found a couple forums where someone else was asking, very clearly, if there was an AX.25-level digipeater program out there, and all the replies were about APRS digipeating, not what the original poster really asked about. (APRS forwarding really isn't digipeating anyway - more like bridging or routing - different OSI layer).
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Signature · 2 lines
Bob Nielsen, N7XY n7xy (at) n7xy.net Bainbridge Island, WA http://www.n7xy.net
Re: Linux AX25 Digipeating Software
Quoted 9 lines
Quoted 4 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Another choice is digi_ned. It's extremely flexible, and comes with a number of sample configuration files. One of them, lightly edited, will cause it to act as a very straightforward single-port generic AX.25 digipeater.
Re: Linux AX25 Digipeating Software
In reply to Bob NielsenQuoted 12 lines
Quoted 5 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Actually, there's no file there with that name at all.
Dave
VA3BHF
RE: Linux AX25 Digipeating Software
-----Original Message-----
Quoted 6 lines
Quoted 5 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
Quoted 7 lines
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Actually, there's no file there with that name at all.
Try without the 25, axdigi.tgz downloaded for me:-)
I also could noit get it to compile, and get an error from the binary, and would love to have the this app working. Just no time to try myself.
Willie, WJ3G
Re: Linux AX25 Digipeating Software
Quoted 14 lines · Wilson G. Hein
-----Original Message-----
Quoted 6 lines
Quoted 5 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
Quoted 7 lines
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Quoted 7 lines
Actually, there's no file there with that name at all.
Try without the 25, axdigi.tgz downloaded for me:-)
I also could noit get it to compile, and get an error from the binary, and would love to have the this app working. Just no time to try myself.
Sorry about the broken URL, thanks Willie.
The binary appears to have been built with libc4 (this thing really is old!). I suspect that it is written for an older version of gcc, as well. The oldest one I have is 2.95 and that bombs, as do 3.2 and 3.3. I'm not a C programmer, so can't reallly help there.
The only reason it still exists in the TAPR repository is that I haven't taken the time to clean out the obsolete stuff. I probably will, once we get the new tapr.org server fully online.
I don't know if Craig VK2XLZ (the author) still frequents this list, but if so maybe he could comment.
Bob, N7XY
Re: Linux AX25 Digipeating Software
Quoted 4 lines · Bob Nielsen
The binary appears to have been built with libc4 (this thing really is old!). I suspect that it is written for an older version of gcc, as well. The oldest one I have is 2.95 and that bombs, as do 3.2 and 3.3. I'm not a C programmer, so can't reallly help there.
Just a quick and dirty hack... Maybe this works, at least it compiles for me now...
Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
axdigi.c +6 -5
@@ -20,17 +20,18 @@* 12th June 1997. */ -#include <linux/if.h> -#include <linux/if_ether.h> +#include <net/if.h> #include <netinet/in.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> +#include <string.h> #include <unistd.h> -#include <linux/ax25.h> +#include <netax25/ax25.h> + +#define ETH_P_AX25 0x0002int recv_packet (unsigned char *buf,int size,unsigned char *port);void print_call (unsigned char *buf);
@@ -250,4 +251,4 @@ } }/* for */ } - +
Re: Linux AX25 Digipeating Software
In reply to Bob NielsenQuoted 8 lines · Bob Nielsen
Sorry about the broken URL, thanks Willie.
The binary appears to have been built with libc4 (this thing really is old!). I suspect that it is written for an older version of gcc, as well. The oldest one I have is 2.95 and that bombs, as do 3.2 and 3.3. I'm not a C programmer, so can't reallly help there.
Quoted 6 lines
The only reason it still exists in the TAPR repository is that I haven't taken the time to clean out the obsolete stuff. I probably will, once we get the new tapr.org server fully online.
I don't know if Craig VK2XLZ (the author) still frequents this list, but if so maybe he could comment.
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
I've been playing with AX.25 on another box again and didn't realize digipeating was lacking until this thread. This prompted me to grab the file and save Tomi's patch.
73, de Nate >>
Signature · 5 lines
Wireless | Amateur Radio Station N0NB | Successfully Microsoft
Amateur radio exams; ham radio; Linux info @ | free since January 1998.
http://www.qsl.net/n0nb/ | "Debian, the choice of
My Kawasaki KZ-650 SR @ | a GNU generation!"
http://www.networksplus.net/n0nb/ | http://www.debian.orgRe: Linux AX25 Digipeating Software
Quoted 5 lines · Nate Bargmann
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
FWIW, there is an axdigi-0.02.tar.gz at the old ax25 tools home at http://he.fi/. The patch I sent, was against this. I have absolutely no idea if this is the latest version or not...
Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
Re: Linux AX25 Digipeating Software
Quoted 11 lines · Tomi Manninen
Quoted 5 lines · Nate Bargmann
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
FWIW, there is an axdigi-0.02.tar.gz at the old ax25 tools home at http://he.fi/. The patch I sent, was against this. I have absolutely no idea if this is the latest version or not...
That is sightly newer than the version I found at the TAPR site. Jonathan Naylor patched it previously to compile on 2.1 kernels (the original was compiled on kernel 1.1.95 with GCC 2.6.2 and libc 4.6.27, per the README file.)
I'll play around with it (and the new patch) a bit and if it looks useful, I'll upload a new *unofficial* version to the tapr site.
Bob N7XY
Re: Linux AX25 Digipeating Software
In reply to Tomi ManninenQuoted 8 lines · Tomi Manninen
Quoted 5 lines · Nate Bargmann
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
Quoted 4 lines
FWIW, there is an axdigi-0.02.tar.gz at the old ax25 tools home at http://he.fi/. The patch I sent, was against this. I have absolutely no idea if this is the latest version or not...
The binary in that package appears to run on my system running a 2.4.26 kernel (I had to install libc5 first). I don't have any way to see if it actually is functional, however.
Bob
Re: Linux AX25 Digipeating Software
Quoted 9 lines · Bob Nielsen
Quoted 8 lines · Tomi Manninen
Quoted 5 lines · Nate Bargmann
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
Quoted 8 lines
Quoted 4 lines
FWIW, there is an axdigi-0.02.tar.gz at the old ax25 tools home at http://he.fi/. The patch I sent, was against this. I have absolutely no idea if this is the latest version or not...
The binary in that package appears to run on my system running a 2.4.26 kernel (I had to install libc5 first). I don't have any way to see if it actually is functional, however.
I applied Tomi's patch and compiled on a 2.6.9 system (glibc/libc6 2.3.2). This binary also runs on my 2.4.26 system. I didn't have an opportunity to try digipeating with it, however. This revised version (renumbered to avoid confusion) can be downloaded from:
ftp://ftp.tapr.org/software_lib/ax25/axdigi-0.03.tgz
73, Bob N7XY
Re: Linux AX25 Digipeating Software
Quoted 19 lines · Bob Nielsen
Quoted 9 lines · Bob Nielsen
Quoted 8 lines · Tomi Manninen
Quoted 5 lines · Nate Bargmann
Perhaps until Craig declares it obsolete this should be hosted *somewhere* just to preserve access to the code. Digipeating is sometimes not recommended by some, but it would be nice if this code could be updated if for no other reason than to have the Linux AX.25 capability meet the spec.
Quoted 8 lines
Quoted 4 lines
FWIW, there is an axdigi-0.02.tar.gz at the old ax25 tools home at http://he.fi/. The patch I sent, was against this. I have absolutely no idea if this is the latest version or not...
The binary in that package appears to run on my system running a 2.4.26 kernel (I had to install libc5 first). I don't have any way to see if it actually is functional, however.
Quoted 6 lines
I applied Tomi's patch and compiled on a 2.6.9 system (glibc/libc6 2.3.2). This binary also runs on my 2.4.26 system. I didn't have an opportunity to try digipeating with it, however. This revised version (renumbered to avoid confusion) can be downloaded from:
ftp://ftp.tapr.org/software_lib/ax25/axdigi-0.03.tgz
Oops, that should have been
ftp://ftp.tapr.org/software_lib/Linux/ax25/axdigi-0.03.tgz
Thanks to SP1LOP for pointing out my error.
Quoted 9 lines
73, Bob N7XY
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Bob Nielsen, N7XY n7xy (at) n7xy.net Bainbridge Island, WA http://www.n7xy.net
Re: Linux AX25 Digipeating Software
In reply to Wilson G. HeinQuoted 19 lines · Wilson G. Hein
-----Original Message-----
Quoted 7 lines
Quoted 7 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
Quoted 9 lines
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Quoted 9 lines
Actually, there's no file there with that name at all.
Try without the 25, axdigi.tgz downloaded for me:-)
I also could noit get it to compile, and get an error from the binary, and would love to have the this app working. Just no time to try myself.
Uh,
But if you read my original post, you'll see that I had already tried axdigi, and asked if there was anything else. Kinda odd pointing back to the same software then...
I guess the upshot of all this is that what people call "ax25digi" is not actually a separate piece of software from "axdigi", but it is actually the same thing, just poorly remembered.
Dave...
VA3BHF
Re: Linux AX25 Digipeating Software
In reply to Dave StubbsQuoted 7 lines · Dave Stubbs
Quoted 7 lines
Quoted 3 lines
So, after all that - is there a good program out there that does simple, single-port, layer 2, AX.25 digipeating and works with kernel 2.6?
I'm not aware of any other non-APRS digi software, but you can get ax25digi at:
Quoted 7 lines
Quoted 4 lines
ftp://ftp.tapr.org/software_lib/Linux/ax25/ax25digi.tgz
Actually, there's no file there with that name at all. Dave
VA3BHF
Hmmm, there is an 'axdigi.tgz' at
ftp://ftp.tapr.org/software_lib/Linux/ax25
HTH, Chuck