Re: PPP over null modem
On Tue, 2 May 2000, Dan Brosemer wrote:
> I'm trying to install potato over a PPP connection between a laptop with no
> network card (hermod) and a desktop with ethernet (bolverk).
>
> I can communicate over the null modem between machines with minicom no
> problem.
>
> hermod:~# pppd -detach /dev/ttyS0 57600 192.168.5.2:192.168.5.1 crtscts
> debug noauth
> bolverk:~# pppd -detach /dev/ttyS1 57600 192.168.5.1:192.168.5.2 crtscts
> debug noauth
You can setup a user on the "server" so that when the user logs in, pppd
would be started; in /etc/passwd:
pppuser:.......:/usr/local/bin/ppplogin
in which ppplogin basically a script that starts pppd:
/usr/sbin/pppd file /etc/ppp/options
On the client machine, set a ppp connection up with a self-written chat
script; the script handles the login: and password: prompts.
If you have a network card on your laptop, it would be nice; you can setup
IP alias feature on the kernel so that you can monitor both machines with
ease (you don't have to go back and forth between them). Just use a
network number for the ethernet and another for the ppp link.
Oki
Reply to: