http://www.valleynet.bc.ca/~dan/autoppp.html
I assume you have turned ip forwarding in your kernel?
If not then
echo '1' /proc/sys/net/ipv4/ip_forward
THAT WILL NOT turn it on! But, I know it's something very close to this.
I'll repost when I get to the office with the correct command (if someone
else hasen't already).
If that doesn't do it (you still need that though.
You should setup separate options files for each dialin line.
eg.
/etc/ppp/options.ttyR0
206.4.43.5:206.4.43.134
/etc/ppp/options.ttyR1
206.4.43.5:206.4.43.135
/etc/ppp/options.ttyR2
206.4.43.5:206.4.43.136
/etc/ppp/options.ttyR3
206.4.43.5:206.4.43.137
Make sure you add any other need options for each separate line in those
files. Actually, you can leave all the common options in /etc/ppp/options
But, myself I find it cleaner to put them all in their own options file.
Dan
At 09:24 AM 6/1/98 +8, Robert Ankeney wrote:
>
>I am having problems getting a PPP server working. I've recently
>installed RedHat V5.0 Linux on a Pentium II machine with 32M of RAM.
>I'm using a Comtel RocketPort serial board to handle 4 modems for
>dialin. The machine is also being used as a router. I've set up a ppp
>login that appears to work properly, except it doesn't route packets
>and thus I can't see anything outside the machine (including the name
>server). I see an error message in /var/log/messages that says
>"Cannot determine ethernet address for proxy ARP", but I can't see
>what the problem is. This script worked fine on an old machine
>running Linux 1.2.8. The script reads:
>
>-------------------
>#!/bin/csh
>
>switch (`tty`)
>
> case '/dev/ttyR0':
> set ip = 206.4.43.134
> breaksw
>
> case '/dev/ttyR1':
> set ip = 206.4.43.135
> breaksw
>
> case '/dev/ttyR2':
> set ip = 206.4.43.136
> breaksw
>
> case '/dev/ttyR3':
> set ip = 206.4.43.137
> breaksw
>
>endsw
>
>exec /usr/sbin/pppd -detach asyncmap 0 netmask 255.255.255.0 lock
>modem crtscts proxyarp 206.4.43.5:$ip & exec /usr/sbin/pppd passive
>proxyarp 206.4.43.5:$ip
>
>-------------------
>
>The IP address of the machine is 206.4.43.5.
>
>The messages from /var/adm/messages are:
>
>-----
>May 25 17:55:45 fog kernel: CSLIP: code copyright 1989 Regents of the
>University of California
>May 25 17:55:45 fog kernel: PPP: version 2.2.0 (dynamic channel
>allocation)
>May 25 17:55:45 fog kernel: PPP
>Dynamic channel allocation code copyright 1995 Caldera, Inc.
>May 25 17:55:45 fog kernel: PPP line discipline registered.
>May 25 17:55:45 fog kernel: registered device ppp0
>May 25 17:55:45 fog pppd[24856]: pppd 2.2.0 started by ppp, uid 500
>May 25 17:55:45 fog pppd[24856]: Using interface ppp0
>May 25 17:55:45 fog pppd[24856]: Connect: ppp0 <--> /dev/ttyR2
>May 25 17:55:51 fog pppd[24856]: local IP address 206.4.43.5
>May 25 17:55:51 fog pppd[24856]: remote IP address 206.4.43.136
>May 25 17:55:51 fog pppd[24856]: Cannot determine ethernet address
>for proxy ARP
>May 25 17:55:54 fog pppd[24856]: CCP terminated at peer's request
>May 25 17:55:54 fog pppd[24856]: Compression disabled by peer.
>May 25 17:58:08 fog pppd[24856]: LCP terminated at peer's request
>May 25 17:58:08 fog pppd[24856]: Hangup (SIGHUP)
>May 25 17:58:08 fog pppd[24856]: Modem hangup
>May 25 17:58:08 fog pppd[24856]: Connection terminated.
>May 25 17:58:08 fog pppd[24856]: Exit
>May 25 17:59:45 fog kernel: PPP: ppp line discipline
>successfully unregistered
>-----
>
>Our version of the ppp RPM is ppp-2.3.3-2.
>
>Our default gateway is our internet router.
>
>Can anyone see what I'm missing? BTW, I also tried connecting using
>the method in the PPP HOWTO, and experience the same problem. Any
>assistance would be much appreciated.
>
>Thanks!
>Robert Ankeney
>[EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.