Sethdlc configuration error for HDLC interface
Can anyone help me with HDLC on linux?
Actually configuring patched HDLC on linux kernel 2.4.20.
The patching is done as HDLC version on 2.4.20 is 1.02 and upgraded to 1.14 to support HDLC to Ethernet bridging.
From the patching looks like Ioctl interface is changed to support physical and logical (protocol) configuration for HDLC.
Driver doesnt currently support physical parameter setting as is set for required parameters.
On driver module insertion the interface shows frame relay as follows:
hdlc0 Link encap:Frame Relay Access Device
POINTOPOINT NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:25 Base address:0x2000
Now when you try to configure HDLC interface as follows for HDLC interface:
# sethdlc hdlc0 hdlc nrz no-parity
following error is thrown
hdlc0: Unable to set HDLC protocol information: Operation not supported
Trying to configure for HDLC-ETH type using sethdlc
Appriaciate any support on this.
Thanks in Advance.