pppd âCouldn't get channel number: Input/output errorâ
Clash 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?
embedded serial-port pppd
add a comment |Â
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?
embedded serial-port pppd
add a comment |Â
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?
embedded serial-port pppd
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
embedded serial-port pppd
edited Apr 13 '17 at 12:36
Communityâ¦
1
1
asked Jan 8 '16 at 23:35
dtmland
286213
286213
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password