Mgetty and PPP
Gert Doering (gert@greenie.muc.de)
Fri, 30 Apr 1999 21:33:50 +0200
Hi,
On Fri, Apr 30, 1999 at 03:15:48PM -0400, Ronald wrote:
> ******** /etc/ppp/options ********
> require-pap
> refuse-chap
> auth
> crtscts
> modem
> proxyarp
> login
> ms-dns 209.104.74.98
> ms-dns 205.236.182.30
> defaultroute
> debug
> *********************************************
If that's a "client login", most definitely you don't need "defaultroute"
- that's for your upstream connection to your provider, not for a
link where just one system is connected to. (On the *client* side, you
want "defaultroute").
As for "proxyarp", this depends whether you want to set up separate
address space for the dial-in clients, or want to let them use parts of
the address space on your ethernet.
> Apr 30 14:19:39 ron kernel: ppp_dev_xmit: writing 19 chars
> Apr 30 14:19:39 ron kernel: ppp: write frame, count = 20
(switch off "kdebug", it's not really useful here)
> Apr 30 14:19:40 ron pppd[214]: rcvd [IPCP ConfAck id=0x1 <addr 209.104.74.102> <compress VJ 0f 01>]
> Apr 30 14:19:40 ron pppd[214]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns 0.0.0.0> <ms-dns 0.0.0.0>]
> Apr 30 14:19:40 ron pppd[214]: sent [IPCP ConfNak id=0x2 <addr 209.104.74.126> <ms-dns 209.104.74.98> <ms-dns 205.236.182.30>]
You should be able to run a ping between the two addresses 209.104.74.102
and 209.104.74.126 as soon as the link is up (those are the addresses that
are negotiated, and routes for those are set up).
To be able to reach the Internet from the dialup client, you have to
- enable "ip_forwarding" on the Linux box
- make sure the next hop router knows that it is supposed to send
packets to the dial in client via the Linux "router".
For best results, consult a local network guru, and explain to him your
complete network topology (which routers are where, what addresses are
routed to you by your Internet provider, etc.) - otherwise, we can only
guess what the problems might be.
gert
PS: Don't work as "root".
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de