Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 18:43:13 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        Ron Bolin <rbolin@netchannel.net>
Cc:        FreeBSD Current Mailing List <freebsd-current@freebsd.org>
Subject:   Re: [Fwd: PPP Broken?] 
Message-ID:  <199712191843.SAA27770@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Fri, 19 Dec 1997 10:02:35 EST." <349A8C8B.49369B00@netchannel.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

> --
> -------------------------------------------------------------------------------
> Ron Bolin, Sr. Software Eng, NetChannel     Web: http://www.netchannel.net
> E-mail: rbolin@netchannel.net               Web: http://www.gsu.edu/~gs01rlb
> Ph: 770-729-2929 Ext 249 Hm: 770-992-6875   Web: http://www.mindspring.com/~rlb

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712191843.SAA27770>