Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an OpenBSD 5.1 installed + a cable from my ISP. I have the username/password for the PPPoE connection, but how can I configure the connection to be permanent? (I have 1 interface on the machine.)

UPDATE: according to google I will need to fill out the /etc/ppp/ppp.conf file..

share|improve this question

Never tried to configure PPP myself, but there is a excellent FAQ on the OpenBSD homepage, including examples for configuring PPP: http://www.openbsd.org/faq/faq6.html#PPP

share|improve this answer
up vote 1 down vote accepted


lii0 is the WAN interface


echo "up" > /etc/hostname.lii0


vi /etc/hostname.pppoe0 
inet NONE \
pppoedev lii0 authproto pap \
!/sbin/route add default -ifp pppoe0


sh /etc/netstart
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.