All of lore.kernel.org
 help / color / mirror / Atom feed
From: whitnl73@juno.com
To: linuxppp@indiainfo.com
Cc: linux-serial@vger.kernel.org
Subject: Re: RS485 communicatio
Date: Thu, 13 Mar 2003 19:05:14 -0500 (EST)	[thread overview]
Message-ID: <20030313.222518.8.0.whitnl73@juno.com> (raw)
In-Reply-To: <20030313061505.5944.qmail@indiainfo.com>

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

  reply	other threads:[~2003-03-14  0:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13  6:15 RS485 communicatio Linux PPP
2003-03-14  0:05 ` whitnl73 [this message]
2003-03-15  0:36   ` whitnl73
2003-03-16 23:47 ` Stuart MacDonald
  -- strict thread matches above, loose matches on Subject: below --
2003-03-13 16:56 Ed Vance
2003-03-13 17:46 ` Richard B. Johnson
2003-03-15 19:46 ` Pavel Machek
2003-03-16 19:57   ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030313.222518.8.0.whitnl73@juno.com \
    --to=whitnl73@juno.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=linuxppp@indiainfo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.