> From: Tomi Manninen <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: About ARPSD..!!
> Date: Sunday, April 23, 2000 9:00 AM
>
> On Sun, 23 Apr 2000, Hamish Moffatt wrote:
>
> > > socket: Invalid argument
> > >
> > > and it exit, I was looking in the file sockets.ccp
> > > in the following line:
> > >
> > > / * Create the receive socket * /
> > > if ((rx_socket = socket(AF_PACKET, SOCKET_PACKET, htons(proto))) ==
-1)
> > >
> > > if I change the AF_PACKET for the AF_INET, the program works in TX
> > > via RF Link but non RX in the RF Link, in RedHat 6.1 as AF_PACKET
yes
> > > it works using the ax25 tools in RX
> > >
> > > My main Question is your patch works for the RedHat 5.2 ??
> >
> > AF_INET is for TCP/IP and not for AX.25 though. I think the problem
> > is that you are not running aprsd as root -- it must be run as root
> > to create the AF_PACKET socket if I recall correctly? (Just as
> > "listen" must be run as root -- and listen is where I got the above
> > code from originally.)
>
> (AF_INET, SOCK_PACKET) was the old way of getting a packet capture socket
> that worked with 2.0.x kernels. (AF_PACKET, SOCK_PACKET) only works on
> 2.1.x and newer.
>
> Jose are you possibly running a 2.0.x kernel in the RH5.2 box?
>
> --
> Tomi Manninen Internet: [EMAIL PROTECTED]
> OH2BNS AX.25: [EMAIL PROTECTED]
> KP20ME04 Amprnet: [EMAIL PROTECTED]
Hi Tomi,
that is right I'm running on my AMPRNET Machine RH5.2 with the kernel
2.0.36
73's Jose(hi8gn)
[EMAIL PROTECTED]