[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PPP setup question



> Sydney, 28 March 2000
> 
> Hi,
> 
> I am trying to set up ppp on OpenBSD v2.6.  Once the
> connection is made (apology for the long log below!),
> and I start Netscape, I am getting the following error
> message:
> 
> `Netscape is unable to locate the server www.magna.com.au
>  Please check the server name and try again`.
> 
> 
> Below is the session log (starting ppp as root):
[.....]
> PPP ON paganini> show route
> Destination	Gateway		Flags	Netif
> 127/8		127.0.0.1	UGRS	lo0
> 127.0.0.1	127.0.0.1	UH	lo0
> 192.168.1/24	link#2		UC	fxp0
> 192.168.1.100	127.0.0.1	UGHS	lo0
> 203.111.61.129	203.111.61.187	UH	tun0
> 224/4		127.0.0.1	URS	lo0
> 
> 
> I can ping 203.111.61.129, but I can't ping 203.111.61.187!  Why?
[.....]
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: set device /dev/cua01
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: disable pred1 lqr chap
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: deny pred1 lqr chap
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: set speed 115200
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: set redial 3 10
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Command: default: set timeout 0
> Mar 28 09:47:37 paganini ppp[23745]: tun0: Phase: PPP Started (interactive mode).
[.....]
> default:
>  set log Phase Chat LCP IPCP CCP tun command
>  set device /dev/cua01
>  disable pred1 lqr chap
>  deny pred1 lqr chap
>  set speed 115200
>  set dial "ABORRT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
> ATEQ0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>  set redial 3 10
>  enable dns
> 
> 
> The rest of the (ppp.conf)file is unmodified.
> 
> What I am missing here?

You're missing your default route.  Try ``add default HISADDR'' 
either at the ppp prompt or in the config file.

This is the reason for the ping to local end of the interface not 
working too.

> Thanks for the help.
> 
> Ioan Nemes
> inemes@transylvania.com.au

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !