Hey,
Yes, I think that PPP might be your easiest option on the laptop.
Definitely make sure you have a null-modem cable (aka laplink cable)
I haven't done anything with IP masquerading though.
To run a PPP between both the desktop and the laptop, you can probably
have the desktop assign the IP address to both ends since it is offering
the service to the laptop. For you internal LAN use IP's in the
range of 192.168.0.0 - 192.168.255.0 with a netmask of 255.255.255.0.
On the laptop run (assumes COM1 connected to desktop):
pppd -detach defaultroute passive persist mtu 1500 /dev/ttyS0 38400 &
On the server run (assumes COM1 connected to laptop):
pppd -detach 192.168.0.254:192.168.0.1 netmask 255.255.255.0 persist mtu
1500 /dev/ttyS0 38400 &
Try putting them in the /etc/rc.d/rc.local files and reboot.
Depending on how old the pppd is on the laptop, you might consider
putting something newer in. I think most of the options are all
still in the old releases of pppd. If not, then try the man page on pppd
to see what options it supports.
Hope this helps,
Tuan
On Tue, 16 Mar 1999, Izatt, Wayne wrote:
> I have an ancient laptop running kernel 1.2.13 which I'd like to network
> (occaisionally) via its serial port to my desktop 2.0.36 machine. There is
> no possibility of installing a NIC on the laptop. The desktop box will, in a
> few days time, have a cable connection to the net, and I plan to create a
> small IP-masq'ed net at home with one or two other machines.
>
> Has anyone gone through the process of connecting machines via a null modem
> cable, and is PPP my best option?
>
> ta, wayne
>
> ==========================================================
> "He took it all too far, but boy could he play guitar."
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]