Results 1 to 2 of 2
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-18-2010 #1
- Join Date
- May 2007
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.
- 08-27-2010 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
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...Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!