RS485 communicatio
Hi all,
am currently working on PPP over serial interface (RS485) in linux 2.4.2-2. I believe RS485 half duplex system and hence only one can transmit at a time. And for RS485 we basicaly use Master-Slave or Primary-Secondary kind of communication. I don't know how to achieve the same using PPP since i need to have max of 10 nodes connected via serial interface. I tested with two nodes using PPP daemon it works fine. Following are the commands i issued
In PPP server:
$usr/sbin/pppd -detach crtscts 10.10.10.100:10.10.10.101 115200 /dev/ttyS0 &
In PPP client side :
$/usr/sbin/pppd call ppp-start
where ppp-start file is copied into directory /etc/ppp/peers/ that had the following
-detach /dev/ttyS0 115200 crtscts
noauth
This point to point communication worked fine with RS485 interface. If i had to connect one more node what i need to do. Please clarify with the following
i) Whether the existing pppd takes care of the RS485 with multi node , if so how do i manage giving commands
ii) If there is no direct support how do i go ahead. Is there any other layer 2 protocol allows me to acheive TCP/IP communicattion over RS485 which is my ultimatum.
I will be grateful if anybody of them could help me with my current problem.
Thanx in advance.
Karthik
Signature · 5 lines
______________________________________________ http://www.indiainfo.com Now with POP3/SMTP access for only US$14.95/yr Powered by Outblaze
| | Hi all, | am currently working on PPP over serial interface (RS485) in linux | 2.4.2-2. I believe RS485 half duplex system and hence only one can | transmit at a time. And for RS485 we basicaly use Master-Slave or | Primary-Secondary kind of communication. I don't know how to achieve | the same using PPP since i need to have max of 10 nodes connected via | serial interface. I tested with two nodes using PPP daemon it works | fine. Following are the commands i issued | | In PPP server: | $usr/sbin/pppd -detach crtscts 10.10.10.100:10.10.10.101 115200 | /dev/ttyS0 & | | In PPP client side : | $/usr/sbin/pppd call ppp-start | where ppp-start file is copied into directory /etc/ppp/peers/ that had | the following | | -detach /dev/ttyS0 115200 crtscts | noauth | | This point to point communication worked fine with RS485 interface. If | i had to connect one more node what i need to do. Please clarify with | the following | | i) Whether the existing pppd takes care of the RS485 with multi node , | if so how do i manage giving commands
AFAIK there is no usable protocol for multidtop serial lines. Ring ten times for system a, 9 got system b...
| ii) If there is no direct support how do i go ahead. Is there any other | layer 2 protocol allows me to acheive TCP/IP communicattion over RS485 | which is my ultimatum.
Use a separate serial line between each pair of nodes, or make one a sort of hub and run a line from it to each other node?
| | I will be grateful if anybody of them could help me with my current | problem. | | Thanx in advance. | | Karthik | | --
Lawson
--
---oops---
________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
Quoted 10 lines · On Thu, 13 Mar 2003 [email protected] wrote:
AFAIK there is no usable protocol for multidtop serial lines. Ring ten times for system a, 9 got system b...
| ii) If there is no direct support how do i go ahead. Is there any other | layer 2 protocol allows me to acheive TCP/IP communicattion over RS485 | which is my ultimatum.Use a separate serial line between each pair of nodes, or make one a sort of hub and run a line from it to each other node?
Quoted 9 lines
| | I will be grateful if anybody of them could help me with my current | problem. | | Thanx in advance. | | Karthik | | --
Hmmm, what is this?
PPP multilink support (EXPERIMENTAL)CONFIG_PPP_MULTILINK
PPP multilink is a protocol (defined in RFC 1990) which allows you to combine several (logical or physical) lines into one logical PPP connection, so that you can utilize your full bandwidth.
This has to be supported at the other end as well and you need a version of the pppd daemon which understands the multilink protocol.
If unsure, say N.
Configure.help line 7235/19377 37%
Quoted 1 line
Seem to be some things in man pppd about multilink, too.
Quoted 6 lines
Lawson
--
---oops---
Quoted 9 lines
________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
---oops---
________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
From: "Linux PPP" <[email protected]>
Quoted 1 line
am currently working on PPP over serial interface (RS485) in linux
2.4.2-2. I believe RS485 half duplex system and hence only one can transmit at a time. And for RS485 we basicaly use Master-Slave or Primary-Secondary kind of communication. I don't know how to achieve the
[snip]
Quoted 1 line
This point to point communication worked fine with RS485 interface. If i
had to connect one more node what i need to do. Please clarify with the following
Quoted 2 lines
i) Whether the existing pppd takes care of the RS485 with multi node , if
so how do i manage giving commands
PPP is designed to connect two logical endpoints together. 485 multidrop is a one to many setup, which seems to me is logically incompatible with PPP. At least, simultaneously.
..Stu
--
We make multiport serial boards.
<http://www.connecttech.com>
(800) 426-8979