NTLK Linux + PPP + Newton

From: Sam Powell (sam.powell@cwcom.net)
Date: Tue Jan 04 2000 - 11:38:46 EST


*Please dont be put off by this apparently complex problem
it really isnt - (it just needs lots of backround)*

OK, Im about to kill myself with this annoying problem. Out there
(the web) I found a document called the Linux+Newton Mini-FAQ
which shows how to connect a linux box and a Newton using PPP.

It suggested:

/usr/sbin/pppd -detach local lock proxyarp 128.0.0.20:128.0.0.5 /dev/ttyS0

So you know my network looks like this, DNS works for everything:

192.168.42.1 ---------------- 192.168.42.2
  Platinum ethernet Astatine (proxy)
      |
      |
      | ppp
             |
      |
192.168.42.3
Newton (newt)

(in parenthesis) = alias.

and a configuration to reflect this on the Newton, this just didnt
at all. Eventually I came up with a configuration of:

pppd /dev/ttyS0 115200 defaultroute crtscts 192.168.42.1:192.168.42.3
netmask 255.255.255.0 domain powell -detach local proxyarp lock

And set the newton's local IP to 192.168.42.3, and its Gateway + DNS
(my box does DNS) as 139.168.42.1. It connects up and works, I can
load NetHopper and enter the URL http://platinum.powell which gets
nicely resolved to 192.168.42.1 and gets the default apache page no probs.
Similarly with PT100 - I can telnet into platinum, my Linux box no probs.

There is another machine on my network, astatine, of IP 192.168.42.2
which can be resolved from platinum, and from my newton, platinum
can ping astatine, and the newton, but the newton cannot see anything
on my network other that platinum (192.168.42.1). The proxyarp
option is meant to allow access to my entire network from the machine
connecting by ppp. Indeed, when pppd starts it say that it is configuring
proxyarp for eth0 which *is* the connect card.

I can think of one possible thing, could it be that since both eth0 and
also the ppp interface are both configured as 192.168.42.1 cause probs?
might it be that the newton sends a request for data from 192.168.42.2
back down the ppp pipe? If that is the case then should I just change
the IP addresses on the newton and platinum for the ppp interface?

If that is the case, should they both be ion the same subnet (the range of IP
addresses) - as int would 192.168.42.4:192.168.42.5 work? or do
I need something diff? like 10.0.0.1:10.0.0.2?

Anyhow, without getting access to my net through the ppp link it is next to
useless - since astatine is my web proxy (I have *2* winmodems) and
I want to surf on it.

As usual many thanks,
                Sam Powell

ICQ: 10061444
web: come.to/thepicarchive
email: sam.powell@cwcom.net

Linux, the ultimate NT service pack

******************************************
This month's NewtonTalk brought to you by:

EVOTE.COM, the ultimate Political Junkie site on the 'Net.

The Clinton Administration, the George Bush
2000 Campaign, and almost every other major
U.S. politician has said something nasty
about us at some time. Find out why at:
http://www.evote.com

******************************************

Need Subscribe/Unsubscribe info?
Visit http://www.planetnewton.com



This archive was generated by hypermail 2b29 : Tue Feb 01 2000 - 00:01:05 EST