Skip to contentSkip to conversation

Making a loop device

DISCUSSION Peter 2 participants 2 messages Dec 10, 2004 – Dec 13, 2004

lore
Share & tools
lore

Peter

author
#0 lore raw

Hi

Setting up a new system here but it has 1 com port on it. Normaal I use 2 comports to make a loopback

There must be a way to make a pseudo device and make a loop with them But I can remember (and with google) how to setup

Running kernel 2.6 here

Peter
PC2A

#1 lore raw
Quoted 7 lines · On Fri, 10 Dec 2004 13:54:34 +0100 Peter wrote:

Hi

Setting up a new system here but it has 1 com port on it. Normaal I use 2 comports to make a loopback

There must be a way to make a pseudo device and make a loop with them But I can remember (and with google) how to setup

You can use a pair of linked pseudo ttys, such as /dev/ptyp0 (master) and/dev/ttyp0 (slave). You must always open master side firt.

Here is an example of how to use pseudottys to link jnos to the linux kernel via slip.

http://www.tldp.org/HOWTO/AX25-HOWTO/x2141.html#AEN2300