pppd “Couldn't get channel number: Input/output error”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one side:



pppd -detach crtscts lock 10.2.10.2:10.2.10.2 /dev/ttyUSB0 38400 &


and this on the other:



pppd -detach crtscts lock 10.2.10.1:10.2.10.1 /dev/ttyUSB0 38400 &


However, running the same command between a linux box and an embedded linux device (sama5d3x-mb) I receive the following error message:



Couldn't get channel number: Input/output error


This message can appear on either the desktop linux side or the embedded linux side, it just depends on which end the first command is issued. I also occasionally see this message:



LCP: timeout sending Config-Requests


Obviously something isn't setup correctly in the embedded environment. These are the only error messages that appear in the log.



If I instead open up the serial ports using putty/screen I can tx/rx characters back and forth just fine.



One thing I noticed is that on my desktop system I have a folder at /etc/ppp that contains many files. Such a folder does not exist on the embedded environment. I tried dumping a copy there with rsync. However, their presence doesn't seem to make a difference.



Both the deskop and embedded platform report pppd version 2.4.5



Google results mostly turn to dead ends. Short of browsing through the pppd source code, or setting up a sniffer to inspect for any traffic on the lines, I'm sure not where to go from here. Any recommendations?










share|improve this question



























    up vote
    1
    down vote

    favorite












    I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one side:



    pppd -detach crtscts lock 10.2.10.2:10.2.10.2 /dev/ttyUSB0 38400 &


    and this on the other:



    pppd -detach crtscts lock 10.2.10.1:10.2.10.1 /dev/ttyUSB0 38400 &


    However, running the same command between a linux box and an embedded linux device (sama5d3x-mb) I receive the following error message:



    Couldn't get channel number: Input/output error


    This message can appear on either the desktop linux side or the embedded linux side, it just depends on which end the first command is issued. I also occasionally see this message:



    LCP: timeout sending Config-Requests


    Obviously something isn't setup correctly in the embedded environment. These are the only error messages that appear in the log.



    If I instead open up the serial ports using putty/screen I can tx/rx characters back and forth just fine.



    One thing I noticed is that on my desktop system I have a folder at /etc/ppp that contains many files. Such a folder does not exist on the embedded environment. I tried dumping a copy there with rsync. However, their presence doesn't seem to make a difference.



    Both the deskop and embedded platform report pppd version 2.4.5



    Google results mostly turn to dead ends. Short of browsing through the pppd source code, or setting up a sniffer to inspect for any traffic on the lines, I'm sure not where to go from here. Any recommendations?










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one side:



      pppd -detach crtscts lock 10.2.10.2:10.2.10.2 /dev/ttyUSB0 38400 &


      and this on the other:



      pppd -detach crtscts lock 10.2.10.1:10.2.10.1 /dev/ttyUSB0 38400 &


      However, running the same command between a linux box and an embedded linux device (sama5d3x-mb) I receive the following error message:



      Couldn't get channel number: Input/output error


      This message can appear on either the desktop linux side or the embedded linux side, it just depends on which end the first command is issued. I also occasionally see this message:



      LCP: timeout sending Config-Requests


      Obviously something isn't setup correctly in the embedded environment. These are the only error messages that appear in the log.



      If I instead open up the serial ports using putty/screen I can tx/rx characters back and forth just fine.



      One thing I noticed is that on my desktop system I have a folder at /etc/ppp that contains many files. Such a folder does not exist on the embedded environment. I tried dumping a copy there with rsync. However, their presence doesn't seem to make a difference.



      Both the deskop and embedded platform report pppd version 2.4.5



      Google results mostly turn to dead ends. Short of browsing through the pppd source code, or setting up a sniffer to inspect for any traffic on the lines, I'm sure not where to go from here. Any recommendations?










      share|improve this question















      I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one side:



      pppd -detach crtscts lock 10.2.10.2:10.2.10.2 /dev/ttyUSB0 38400 &


      and this on the other:



      pppd -detach crtscts lock 10.2.10.1:10.2.10.1 /dev/ttyUSB0 38400 &


      However, running the same command between a linux box and an embedded linux device (sama5d3x-mb) I receive the following error message:



      Couldn't get channel number: Input/output error


      This message can appear on either the desktop linux side or the embedded linux side, it just depends on which end the first command is issued. I also occasionally see this message:



      LCP: timeout sending Config-Requests


      Obviously something isn't setup correctly in the embedded environment. These are the only error messages that appear in the log.



      If I instead open up the serial ports using putty/screen I can tx/rx characters back and forth just fine.



      One thing I noticed is that on my desktop system I have a folder at /etc/ppp that contains many files. Such a folder does not exist on the embedded environment. I tried dumping a copy there with rsync. However, their presence doesn't seem to make a difference.



      Both the deskop and embedded platform report pppd version 2.4.5



      Google results mostly turn to dead ends. Short of browsing through the pppd source code, or setting up a sniffer to inspect for any traffic on the lines, I'm sure not where to go from here. Any recommendations?







      embedded serial-port pppd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:36









      Community♦

      1




      1










      asked Jan 8 '16 at 23:35









      dtmland

      286213




      286213

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f254184%2fpppd-couldnt-get-channel-number-input-output-error%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f254184%2fpppd-couldnt-get-channel-number-input-output-error%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay