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:

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.

Regards
prasad

08-27-2010

Rubberman

Personally, I would just bit the bullet and purchase an HDLC to Ethernet bridge bit of hardware. In my case, I just know about HDLC, but have no practical experience with it. Sometimes, the cost to do it yourself (in terms of time), is more than it's worth. Of course, sometimes the cost of what should be simple hardware to do the same is a budget breaker... :-(