Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    4

    Sethdlc configuration error for HDLC interface


    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 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:

    #ifconfig hdlc0
    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
    collisions:0 txqueuelen: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.

    Regards
    prasad

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,452
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •