On Tue, 26 Jan 1999, Alexandre Fornieles wrote:
> When i tried to launch my rc.a25 i got the following error :
>
> /bin/setserial /dev/ttyS2 uart none
> /usr/sbin/sethdlc -p -i bcsf0 mode "ser12*" io 0x3e8 irq 5
>
> /usr/sbin/sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer
> HB9JNX/AE4WA
> /usr/sbin/sethdlc: Error Socket type not supported (94), cannot open bcsf0
My guess is you haven't included support for AF_PACKET. That isn't
included by default anymore. It's somewhere in the networking section of
make menuconfig, something like 'support for PACKET socket'. Sorry, I
don't have a 2.2.0 system here to verify that. If you compile it as a
module, you will also need "alias net-pf-17 af_packet" in your
conf.modules.
> make[1]: Entering directory `/usr/src/ax25-utils-2.1.42a/hdlcutil'
> gcc -Wall -Wstrict-prototypes -O2 -I/usr/X11R6/include -c hdrvcomm.c
> hdrvcomm.c: In function `hdrvc_init':
> hdrvcomm.c:184: `ETH_P_AX25' undeclared (first use this function)
> hdrvcomm.c:184: (Each undeclared identifier is reported only once
> hdrvcomm.c:184: for each function it appears in.)
> make[1]: *** [hdrvcomm.o] Error 1
> make[1]: Leaving directory `/usr/src/ax25-utils-2.1.42a/hdlcutil'
> make: *** [all] Error 2
> root@f5kow:/usr/src/ax25-utils-2.1.42a#
Try adding "#include <linux/if_ether.h>" to the list of includes in
hdrvcomm.c.
--
--... Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ...--