Christoph Berg wrote:
>
> Hi,
>
> I've tried to get a baycom modem working here, but:
>
> #sethdlc -p -i /dev/bc1
> sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA
> sethdlc: Error Operation not supported by device (19), cannot ioctl
> /dev/bc1
>
> #lsmod
> Module Size Used by
> baycom_ser_fdx 8288 0 (unused)
> hdlcdrv 9360 4 [baycom_ser_fdx]
> ax25 65032 0 [hdlcdrv]
> af_packet 9688 0
>
> #l /dev/bc*
> crw-r--r-- 1 root root 51, 0 Feb 23 14:56 /dev/bc0
> crw-r--r-- 1 root root 51, 1 Feb 23 14:56 /dev/bc1
>
> It seems that sethdlc does not even care about the device, I get the same
> error message when specifying an non-exiting device.
Right. baycom is a network driver, not a char device driver (actually,
it was 3 years ago). Try using bcsf0 or bcsf1 instead of /dev/bc1
Tom