Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
h3. PPP

PPP

Setup:

...



launch host with:

...


{code
}
pppd -detach crtscts lock proxyarp <local IP>:<remote IP> /dev/ttyUSB1 921600
{code}

launch client with:

...


{code
}
sudo pppd -detach crtscts lock defaultroute noauth <local IP>:<remote IP> /dev/ttyO1 921600
{code}

make sure IP forwarding is enabled on the host:

...


{code
}
sysctl -w net.ipv4.ip_forward=1
cat /proc/sys/net/ipv4/ip_forward
{code}

useful websites:

...


[http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/

...

]
[http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html

...

wiring

Impulse pin numbers from the micromodem implementation doc.

...

pin

...

color

...

impulse

...

breakout color

...

ftdi color

...

com1rx

...

yellow

...

1

...

black

...

orange

...

com1tx

...

green

...

3

...

red

...

yellow

...

com2tx

...

orange

...

2

...

white

...

yellow

...

com2rx

...

blue

...

4

...

green

...

orange

...

com2cts

...

grey

...

5

...

orange

...

green

...

com2rts

...

purple

...

6

...

yellow

...

brown

...

v+

...

red

...

7

...

brown

...

nc

...

gnd

...

black

...

8

...

blue

...

]

h3. wiring

Impulse pin numbers from the micromodem implementation doc.

|| pin || color || impulse || breakout color || ftdi color ||
| com1rx | yellow | 1 | black | orange |
| com1tx | green | 3 | red | yellow |
| com2tx | orange | 2 | white | yellow |
| com2rx | blue | 4 | green | orange |
| com2cts | grey | 5 | orange | green |
| com2rts | purple | 6 | yellow | brown |
| v\+ | red | 7 | brown | nc |
| gnd | black | 8 | blue | black |