Re: Sharing a serial device between multiple linux application

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

 



On Mon, Dec 22, 2003 at 06:19:49PM +0800, Vanitha Ramaswami wrote:
> Hello,
> 
> I want to run two ppp sessions on the same device /dev/ttyWP0.
> pppd doesnt allow me to run two sessions on /dev/ttyWP0.

That's because you can't do this.

> Thats why i need to create multiple logical devices (like /dev/ttyWP1,
> /dev/ttyWP2) pointing to the same physical device /dev/ttyWP0.

How is your driver going to keep the data between the virtual devices
apart from each other?  That would involve another layer in a protocol,
right?  I suggest just connecting another serial port if you really need
to do something like this.

Good luck,

greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux