On 11/10/07, Daniel Melameth <[EMAIL PROTECTED]> wrote:
> On 11/10/07, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote:
> > Mitja Mu>enih wrote:
> > > I just found the hard way that my old hostname.pppoe0 file which used to
> > > work under 4.1 causes a spectacular failure on 4.2.
> > >
> > > # sh /etc/netstart pppoe0
> > > ifconfig: SIOCSIFGENERIC(SPPPIOSDEFS): Device busy
> > >
> > > The reason turned out to be a whitespace character after the \ sign in
> > > hostname.pppoe0.
> > >
> > > Simplest way to recreate is to take the example from man and add a
> > > whitespace at the end of the first or second line after \.
> > >
> > > # cat hostname.pppoe0
> > > inet 0.0.0.0 255.255.255.255 NONE \
> > > pppoedev vr2 authproto chap \
> > > authname 'xxxx' authkey 'yyyy' up
> > > dest 0.0.0.1
> > >
> > > Can somebody verify this? All my pppoe machines are remote.
> >
> > can verify that i had similar problems: updated to 4.2-release from 4.1
> > on i386 with working hostname.pppoe0; read manpage, changed format
> > slightly to the one you show above; all attempts at getting the
> > interface to come up did not work, however, on reboot pppoe0 came up and
> > is working; have not fiddled since
> >
> > based on the troubles i had, i would not even consider upgrading a
> > remote machine that uses pppoe until i could get this to work cleanly on
> > a local machine. maybe pre-empting the change in hostname.pppoe syntax
> > could do it, not sure. still have yet to upgrade my pppoe machines at
> > work, can try this tomorrow and report back.
>
> Had a similar issue when upgrading from 4.1--syntax changed--but I
> have no whitespace issue.  I simply updated hostname.pppoe0 per the
> man page and it works like it did before--but now I actually see the
> gateway output in ifconfig pppoe0.

Thought it might make sense to note this in the Upgrade Guide--so if
nick@ is interested:

Index: upgrade42.html
===================================================================
RCS file: /cvs/www/faq/upgrade42.html,v
retrieving revision 1.24
diff -u -r1.24 upgrade42.html
--- upgrade42.html      1 Nov 2007 02:40:20 -0000       1.24
+++ upgrade42.html      11 Nov 2007 05:56:07 -0000
@@ -70,6 +70,7 @@
   <li><a href="#dedc">[alpha Only] Some de(4) NICs will become dc(4)</a>
   <li><a href="#acpi">[i386 Only] apm(4) takes precedence over acpi(4)</a>
   <li><a href="#rc.conf">rc.conf</a>
+  <li><a href="#pppoe">pppoe(4) configuration changes</a>
   <li><a href="#kern">Modified kernel</a>
   </ul>
 <li><a href="#upgrade">The upgrade process</a>
@@ -310,6 +311,16 @@
 Otherwise, pull your existing <tt>rc.conf</tt> into the top of your
 existing <tt>rc.conf.local</tt> file <i>and remove the last line</i>
 before doing the rest of this process.
+
+<p>
+<a name="pppoe"></a>
+<li><b>pppoe(4) configuration changes:</b><br>
+The configuration of PPPoE has changed slightly.  Please see
+<a 
href="http://www.openbsd.org/cgi-bin/man.cgi?query=pppoe&apropos=0&sektion=4&;
+manpath=OpenBSD+4.2&arch=i386">
+pppoe(4)</a> for details, but normal scenarios will require a couple of
+changes to the PPPoE configuration file, typically
+<tt>/etc/hostname.pppoe0</tt>, or the PPPoE connection will not work.

 <p>
 <a name="kern"></a>

Reply via email to