Re: RS485 communication

From: Paul Mackerras (paulus@au1.ibm.com)
Date: Mon Mar 24 2003 - 22:23:12 EST


Cigol C writes:

> i) Linux PPP interface with IP: Registration, Packet send/receive/close
> ii) Linux PPP interface with serial driver:Registration, Packet send/receive/close

See Documentation/networking/ppp_generic.txt in any recent linux
kernel source tree.

> iii) Linux PPP server configuration and initial sequence of working. i.e. associating a IP address with serial device and ppp0

You will need a plugin for pppd that provides a new channel type. See
the rp-pppoe plugin for an example of how this is done.

However, given that rs485 is multidrop, I really don't think PPP is
the best protocol to use.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:18 EST