[Dxspider-support] WHO info

IZ5FSA iz5fsa.leo at tele2.it
Tue Sep 26 22:11:22 BST 2006


thanks a lot.
I'll try to improve in spider

Brian ha scritto:
>>>> anybody can help me? I'll use this field to control if there are users 
>>>> on a specific port to share it with a dx beacon spot robot (experimental 
>>>> version).
>>> AFAIK ax25d and its friends don't provide this information. Mind you,
>>> neither am I expecting it. Therefore it isn't available and there is not
>>> much I can do about it unless something sends it to me.
> 
> netstat --ax25 will show just ax25 connects which would reflect user
> callsigns -> local node services
> 
> ex:
> Active AX.25 sockets
> Dest       Source     Device  State        Vr/Vs    Send-Q  Recv-Q
> *          N1URO-6    ax1     LISTENING    000/000  0       0
> *          UROHUB-0   ax1     LISTENING    000/000  0       0
> *          N1URO-3    ax1     LISTENING    000/000  0       0
> *          LINUX-0    ax0     LISTENING    000/000  0       0
> *          N1URO-11   ax0     LISTENING    000/000  0       0
> *          SPGMA-0    ax0     LISTENING    000/000  0       0
> *          UROHUB-0   ax0     LISTENING    000/000  0       0
> *          N1URO-3    ax0     LISTENING    000/000  0       0
> N1URO-14   N1URO-3    ax0     ESTABLISHED  005/002  0       0
> *          N1URO-4    ax0     LISTENING    000/000  0       0
> N1URO-10   N1URO-3    ax1     ESTABLISHED  005/004  0       0
> *          N1URO-2    ax0     LISTENING    000/000  0       0
> 
> The same can be done for netrom connects:
> n1uro at schlitz:~$ netstat --netrom
> Active NET/ROM sockets
> User       Dest       Source     Device  State        Vr/Vs    Send-Q
> Recv-Q
> N1VHB-0    N1URO-14   N1URO-3    nr0     ESTABLISHED  000/003  0       0
> *          *          N1URO-11   nr3     LISTENING    000/000  0       0
> *          *          N1URO-3    nr0     LISTENING    000/000  0       0
> *          *          N1URO-4    nr1     LISTENING    000/000  0       0
> *          *          N1URO-2    nr2     LISTENING    000/000  0       0
> 
> You could make a simple script that could simplify this for you if you
> wished and cleaned up the display some by doing:
> 
> #!/bin/sh
> 
> # show AX.25 only:
> echo "AX25 links"; /bin/netstat --ax25|grep ESTA
> 
> # show NetRom only:
> echo "NetRom links"; /bin/netstat --netrom|grep ESTA
> 
> exit 0
> 
> 
> call it something like "hamwho":
> root at schlitz:~# hamwho
> AX25 links
> N1URO-14   N1URO-3    ax0     ESTABLISHED  001/006  0       0
> N1URO-10   N1URO-3    ax1     ESTABLISHED  000/004  0       0
> NetRom links
> N1VHB-0    N1URO-14   N1URO-3    nr0     ESTABLISHED  000/003  0       0
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.407 / Virus Database: 268.12.9/457 - Release Date: 26/09/2006



More information about the Dxspider-support mailing list