DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th May 2009
kaschei kaschei is offline
New User
 
Join Date: May 2009
Posts: 3
Thanked 0 Times in 0 Posts
Default pppoe

Hi to all. I have one big problem with my OpenBSD box. I connect to my isp over pppoe. With FreeBSD I did not have any problems but since I use OpenBSD I can not connect anymore. My ppp.conf look like:
default:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr 10.0.0.1/0 10.0.0.2/0

pppoe:
set device "!/usr/sbin/pppoe -i rl0"
enable dns
set authname kaschei
set authkey pass
disable ipv6cp
set dial
set login
add default HISADDR


So my questions are What is wrong and How to configure pppoe in OpenBSD. Thanks in advance
Reply With Quote
  #2   (View Single Post)  
Old 12th May 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

It's been a long time since I used ADSL, but one thing I remember is that you need to bring the interface up.

# echo "up" > /etc/hostname.rl0 # or ifconfig rl0

You might also want to try out the kernel pppoe(4) client if you're unable to figure out pppoe(8).
Reply With Quote
  #3   (View Single Post)  
Old 20th May 2009
Dazhelpwiz Dazhelpwiz is offline
Port Guard
 
Join Date: May 2008
Location: Townsville, Australia
Posts: 34
Thanked 2 Times in 2 Posts
Default

Heres the files etc I use on my openbsd boxes for pppoe.

/etc/rc.local
Code:
/usr/sbin/ppp -ddial pppoe
/etc/pf.conf
Code:
ext_if="tun0"
/etc/hostname.xxx
Code:
up
/etc/ppp/ppp.conf
Code:
default:
 set log Phase Chat IPCP CCP tun command
 set redial 15 0
 set reconnect 15 10000
 set server /var/run/ppp.sock "" 0177

pppoe:
 set device "!/usr/sbin/pppoe -i vr0"
 disable acfcomp protocomp
 deny acfcomp
 set mtu max 1448
 set mru max 1448
 set speed sync
 disable lqr
#set lqrperiod 5
 set cd 5
 set dial
 set login
 set timeout 0
 set authname authname@ISP 
 set authkey password
 add! default HISADDR
 enable dns
 enable mssfixup
/etc/ppp/ppp.linkup

Code:
MYADDR:
  ! sh -c "/sbin/pfctl -e -f /etc/pf.conf"
I hope that helps some.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pppoe internet connection on another lladdr enaqx General software and network 3 4th July 2009 12:07 AM
PF and kernel-level PPPoE(4) gezley OpenBSD Security 3 15th May 2009 06:56 PM
PPPoE -> ADSL Router (Bridge) - Slow connect? DraconianTimes OpenBSD General 0 31st December 2008 01:07 PM
Modem PPPoE vs OpenBSD PPPoE ryoken OpenBSD Security 13 15th June 2008 10:07 PM


All times are GMT. The time now is 08:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick