Linux-Hams archive - April 1997: Re: ERROR: cannot bind AX.25 socket, Cannot assign requested address

Re: ERROR: cannot bind AX.25 socket, Cannot assign requested address

Joerg Reuter (eiuxxcp.tphexolyg@deltalloyd.nl)
Mon, 07 Apr 1997 00:41:22 +0200


> I have a problem using ax25_call and a couple other programs. Here
> are the versions I'm Running:
> Linux-2.1.22 ; ax25-utils-2.1.22b
> I'm trying to use the program ax25_call, but whenever I do, I get
> the folowing message:
> ERROR: cannot bind AX.25 socket, Cannot assign requested address

The following patch should fix that:

--- ax25-utils-2.1.22b/user_call/ax25_call.c Fri Dec 6 16:56:45 1996
+++ ax25-utils-2.1.22b.dl1bke/user_call/ax25_call.c Tue Mar 25 19:54:39 1997
@@ -48,7 +48,7 @@
* Parse the passed values for correctness.
*/
axconnect.fsa_ax25.sax25_family = axbind.fsa_ax25.sax25_family = AF_AX25;
- axconnect.fsa_ax25.sax25_ndigis = 1;
+ axbind.fsa_ax25.sax25_ndigis = 1;

if ((addr = ax25_config_get_addr(argv[1])) == NULL) {
sprintf(buffer, "ERROR: invalid AX.25 port name - %s\r", argv[1]);

73,
Joerg Reuter ampr-net: pvk@amsterdam.nl
AX-25 : DL1BKE @ DB0ACH.#NRW.DEU.EU
Internet: zltfyz.tltm@gendorf.de

Fur? I'd rather grow my own!