hi, I have problem in the OpenBSD -snapshots 5.3 npppd pppoe setting!
server's npppd was down for segmantation fault. when client to attache
the server.
before -current version was fine. but new -snapshots is suck.
if anyone could help my problem. please suggest for me.
#server
#/etc/sysctl.conf
net.inet.ip.forwarding=1
net.inet.ip.mforwarding=1
net.inet.gre.allow=1
net.inet.esp.enable=1
net.pipex.enable=1
#/etc/npppd/npppd-users
taro:\
:password=taro:\
:framed-ip-address=10.0.0.101
#/etc/npppd/npppd.conf
authentication LOCAL type local {
users-file "/etc/npppd/npppd-users"
}
tunnel PPPOE protocol pppoe {
listen on interface bge0
}
ipcp IPCP {
pool-address 10.0.0.2-10.0.0.254
dns-servers 8.8.8.8
}
#for pppx0
interface pppx0 address 10.0.0.1 ipcp IPCP
bind tunnel from PPPOE authenticated by LOCAL to pppx0
#for tun0
#interface tun0 address 10.0.0.1 ipcp IPCP
#bind tunnel from PPPOE authenticated by LOCAL to tun0
#client
#/etc/hostname.em0
up
#/etc/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev bge0 authproto pap \
authname 'taro' authkey 'taro' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
#after all
#client do
sh /etc/hostname.pppoe0
#server do
npppd -df /etc/npppd/npppd.conf
#for pppx0
2013-03-25 08:27:02:NOTICE: Starting npppd pid=551 version=5.0.0
2013-03-25 08:27:02:NOTICE: Load configuration
from='/etc/npppd/npppd.conf' successfully.
2013-03-25 08:27:02:INFO: pppx0 Started pppx
2013-03-25 08:27:02:INFO: Listening /var/run/npppd_ctl (npppd_ctl)
2013-03-25 08:27:02:INFO: ipcp=IPCP pool
dyn_pool=[10.0.0.2/31,10.0.0.4/30,10.0.0.8/29,10.0.0.16/28,10.0.0.32/27,10.0.0.64/26,10.0.0.128/26,10.0.0.192/27,10.0.0.224/28,10.0.0.240/29,10.0.0.248/30,10.0.0.252/31,10.0.0.254/32]
pool=[10.0.0.2/31,10.0.0.4/30,10.0.0.8/29,10.0.0.16/28,10.0.0.32/27,10.0.0.64/26,10.0.0.128/26,10.0.0.192/27,10.0.0.224/28,10.0.0.240/29,10.0.0.248/30,10.0.0.252/31,10.0.0.254/32]
2013-03-25 08:27:02:INFO: Loading pool config successfully.
2013-03-25 08:27:02:INFO: pppoed Listening on bge0 (PPPoE) [PPPOE]
using=/dev/bpf0 address=00:11:22:33:44:55
Segmentation fault
#for tun0
# npppd -df /etc/npppd/npppd.conf
2013-03-25 09:08:40:NOTICE: Starting npppd pid=8161 version=5.0.0
2013-03-25 09:08:40:NOTICE: Load configuration
from='/etc/npppd/npppd.conf' successfully.
2013-03-25 09:08:40:INFO: tun0 Started ip4addr=10.0.0.1
2013-03-25 09:08:40:INFO: Listening /var/run/npppd_ctl (npppd_ctl)
2013-03-25 09:08:40:INFO: ipcp=IPCP pool
dyn_pool=[10.0.0.2/31,10.0.0.4/30,10.0.0.8/29,10.0.0.16/28,10.0.0.32/27,10.0.0.64/26,10.0.0.128/26,10.0.0.192/27,10.0.0.224/28,10.0.0.240/29,10.0.0.248/30,10.0.0.252/31,10.0.0.254/32]
pool=[10.0.0.2/31,10.0.0.4/30,10.0.0.8/29,10.0.0.16/28,10.0.0.32/27,10.0.0.64/26,10.0.0.128/26,10.0.0.192/27,10.0.0.224/28,10.0.0.240/29,10.0.0.248/30,10.0.0.252/31,10.0.0.254/32]
2013-03-25 09:08:40:INFO: Added 13 routes for new pool addresses
2013-03-25 09:08:40:INFO: Loading pool config successfully.
2013-03-25 09:08:40:INFO: pppoed Listening on bge0 (PPPoE) [PPPOE]
using=/dev/bpf0 address=00:11:22:33:44:55
Segmentation fault
____________________________________________________________
Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.