atom feed1 message in org.freebsd.freebsd-currentRe: [Fwd: PPP Broken?]
FromSent OnAttachments
Brian SomersDec 19, 1997 10:42 am 
Subject:Re: [Fwd: PPP Broken?]
From:Brian Somers (bri@awfulhak.org)
Date:Dec 19, 1997 10:42:52 am
List:org.freebsd.freebsd-current

Please respond with e-mail as I can no loger establish a working PPP session with my personal IAP.

Thanks

Ron [.....] With the 12-17-97 current, PPP seems broken. I can no longer DHCP to my IAP. Did something change in the setup that I need to know about. What is the "File exists" error shown below?

Thanks

Ron

Dec 19 02:44:01 rlb ppp[187]: Phase: NewPhase: Dead Dec 19 07:00:00 rlb ppp[187]: Phase: Connected! Dec 19 07:00:00 rlb ppp[187]: Phase: Phone: 4046541350 Dec 19 07:00:22 rlb ppp[187]: Phase: NewPhase: Authenticate Dec 19 07:00:22 rlb ppp[187]: Phase: NewPhase: Network Dec 19 07:00:23 rlb ppp[187]: Link: myaddr = 207.69.129.204 hisaddr = 168.121. 1.1 Dec 19 07:00:23 rlb ppp[187]: Link: OsLinkup: 168.121.1.1 Dec 19 07:00:23 rlb ppp[187]: Warning: Add route failed: 0.0.0.0: errno: File ex ists

I'll bet you're doing an ``add 0 0 HISADDR'' in both ppp.conf and ppp.linkup, but not doing a ``delete 0'' in ppp.linkup prior to the add. The second add is simply failing because a default route already exists.

If your IP is static, you don't need the delete or add in ppp.linkup. If it's dynamic, you do need the ``delete 0'' (or ``delete default'' with the latest versions) as well as the ``add 0 0 hisaddr'' (or ``add default hisaddr'' with the latest versions) in ppp.linkup.

If this isn't the answer, please add command logging at the start of your default section and post the relevent bits of the log.

Thanks.