PPP getting closer (Was: Re: PPP(d), Phone Home!)
UNIX Guru Dude
geof at denali.is.net
Wed Feb 7 15:05:29 EST 1996
I would think that adding defaultroute to your ppp options would be
sufficient. This worked for me. See my previous posting to John.
}
}Hi John,
}
}> I am setting up PPP by telephone from my home Linux to G.I.T.'s
}> PPP rotor, _almost_ have it working. Thanks to dsnyder and ZOT, I have
}> gotten the link extablished, but here I am hung up again.
}
}...Stuff deleted...
}
}> Feb 7 07:21:58 <myhostname> pppd[171]: local IP address 130.207.161.32
}> Feb 7 07:21:58 <myhostname> pppd[171]: remote IP address 130.207.161.11
}> Feb 7 07:21:58 <myhostname> pppd[171]: ppp not replacing existing default route to dummy[0.0.0.0]
}
}At first glance, this error looks like your problem. You already have
}your default route set up to a dummy device on your machine. I had the
}exact same problem (I believe) and I got rid of it by deleting my
}default route before I ran pppd. My script that I created to get pppd started
}is:
}
}alex:~# cat connect
}echo "Removing default route..."
}/sbin/route del default
}echo "Executing pppd..."
}pppd /dev/ttyS0 38400
}echo "Waiting for connect..."
}sleep 40
}echo "Displaying kernel routing table..." #to make sure we got a good connect
}/sbin/route
}echo "Connected."
}
}If anyone knows of an easier way to get pppd to set a new default route
}on its own, please let me know. I do already have the line that says
}defaultroute
}in my /etc/ppp/options file. (Do the options have to be in a certain order?)
}
}Alex
}
}
--
PS: Please don't finger geof at denali.is.net, it tickles......
Until Later,
Geoffrey Myers geof at denali.is.net eiger at ichange.com gamyers at attmail.com
http://www.ticllc.net/~geof
More information about the Ale
mailing list