diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-05-18 15:38:58 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-05-18 15:38:58 +0000 |
commit | e5ca97a6b35af4107862019c615a0c2301dab87b (patch) | |
tree | 2ae397bec9454b40cbd10bd3071000d7e5be3a3a | |
parent | 7b252e8baaf2edc0b38ce52dcd3c7ea6448b044b (diff) |
the physical interface must be marked UP
ok naddy@
-rw-r--r-- | share/man/man4/pppoe.4 | 10 | ||||
-rw-r--r-- | share/man/man4/sppp.4 | 3 |
2 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man4/pppoe.4 b/share/man/man4/pppoe.4 index 2a85ef7384f..d26e95a9044 100644 --- a/share/man/man4/pppoe.4 +++ b/share/man/man4/pppoe.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pppoe.4,v 1.9 2006/05/17 11:50:23 jmc Exp $ +.\" $OpenBSD: pppoe.4,v 1.10 2006/05/18 15:38:57 reyk Exp $ .\" $NetBSD: pppoe.4,v 1.26 2003/10/02 07:06:36 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -109,6 +109,14 @@ inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev ne0 \e !/sbin/route add default 0.0.0.1 .Ed .Pp +To mark the physical interface UP, just write a single +.Ql up +in +.Pa /etc/hostname.ne0 +or the corresponding +.Xr hostname.if 5 +file. +.Pp Since this is a PPP interface, the addresses assigned to the interface may change during PPP negotiation. There is no fine grained control available for deciding diff --git a/share/man/man4/sppp.4 b/share/man/man4/sppp.4 index b7032a9f46b..5858861efe9 100644 --- a/share/man/man4/sppp.4 +++ b/share/man/man4/sppp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sppp.4,v 1.11 2006/05/17 11:57:48 jmc Exp $ +.\" $OpenBSD: sppp.4,v 1.12 2006/05/18 15:38:57 reyk Exp $ .\" .\" Copyright (c) 1997 Joerg Wunsch .\" @@ -175,6 +175,7 @@ A possible call to that could have been used to bring the interface into the state shown by the previous example: .Bd -literal -offset indent +# ifconfig em0 up # ifconfig pppoe0 0.0.0.0 0.0.0.1 netmask 0xffffffff \e pppoedev em0 \e authproto chap authname uriah authkey "some secret" \e |