RE: Sharing a serial device between multiple linux application

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

 



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.

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

so that i can run one ppp session on /dev/ttyWP1 and the other on 
/dev/ttyWP2, but the packets from both the devices will go thro /dev/ttyWP0

Thanks
Vanitha
-----Original Message-----
From:	Greg KH [SMTP:greg@kroah.com]
Sent:	Monday, December 22, 2003 6:07 PM
To:	Vanitha Ramaswami
Cc:	'kernelnewbies@nl.linux.org'
Subject:	Re: Sharing a serial device between multiple linux application

On Mon, Dec 22, 2003 at 05:05:18PM +0800, Vanitha Ramaswami wrote:
> Hi All,
> 
> How do i share the serial device /dev/ttyWP0 between two applications..?

Have both applications open the device at the same time.

> How do i create multiple logical devices (like /dev/ttyWP1,
> /dev/ttyWP2) pointing to the same physical device /dev/ttyWP0..?

Why would you want to do this?

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