Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 1997 16:48:17 -0700 (MST)
From:      Wes Peters - Softweyr LLC <softweyr@xmission.com>
To:        rmike@sbox.tu-graz.ac.at
Cc:        questions@freebsd.org
Subject:   Re: ppp and SIOCAIFADDR: File exists
Message-ID:  <199703272348.QAA25504@xmission.xmission.com>
In-Reply-To: <Pine.BSF.3.91.970327083119.428A-100000@dwarf.tu-graz.ac.at> from "Michael Ranner" at Mar 27, 97 08:35:37 am

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Ranner recently lamented:
> I have problems with /usr/sbin/ppp. Every second start I get the error 
> message "SIOCAIFADDR: File exists". But the output of the ppp.log seems 
> to be ok, and it also says "PPP on dwarf", so that it seems it has a ppp 
> connection.

GENERAL FREEBSD_QUESTIONS USAGE NOTE:
You should search for this message in the mail archives before sending
it to 50,000 people or so via email; this subject has been discussed ad
nauseum.

You're adding a default route when the PPP link comes up, right?  But
you're not deleteing any existing default route first, right?  In
ppp.linkup, before you 'add 0 0 HISADDR', try 'delete 0 0':

MYADDR:
 delete 0 0 
 add 0 0 HISADDR


> Sometimes I get also the message "rtinit: wrong ifa ...", but I dont 
> know, if this has something to do with the first error message.

Yeah, something to do with the ifa_addrlist in the PPP if structure.
Deleting the old address should take care of this problem.

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



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