On Sat, Apr 22, 2000 at 05:01:07PM -0300, Jose R. Marte A. wrote:
> Hamish I have made the patch to the aprsd 2.1.1  
> for the support of the ax.25 tools in RedHat 6.1  
> and in a same way I made it with the APRSD 2.1.0,

I will bring out a new version of the aprsd mods for 2.1.1.
But it should work OK just patching them as you did.

> 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.)


Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Reply via email to