Re: Setup pppd over rs-485 point-to-point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 03/17/2017 11:45 AM, Mike O'Connor wrote:
On 17/03/2017 1:48 PM, Woody Wu wrote:
Hi,

I want to setup pppd to connect a Linux laptop to an embedded Linux
device. The Linux box connected to a rs-232 to rs485 converter, then
the convert connected via a two-wire rs-485 cable to the embedded
Linux device's rs-485 port.

This generally will not work as rs-485 is half duplex, the issue is that
the switching time between transmit and receive will mean loss of data,
how ever RS-422 will work.

On the otherhand, I can make success with similar commands when two
devices connected with rs-232.  So I guess, this failure was because
the rs-485 is half-duplex.  But I searched google, people seemed say
pppd should work over a point-to-point rs-485 connection.  So I want
to get help from your experts.

I've not done any searches but I can not see how it could ever work. PPP
is a an async meaning it can transmit and receive at any time.
Thanks in advance.
-woody
Mike


One of the search result is this: "http://linux-ppp.vger.kernel.narkive.com/Xcw4wgUF/ppp-over-rs-485";, in which Karthik mentioned he has success with the rs-485 point to point connect although he still has problem with multi-drop bus. To me, I only has interests in point-to-point and hope there exits a solution.

-woody

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux