Hello,

I meet some troubles on setup a PPPOE server with npppd daemon. I've done some
test on release and snaptshot and had differents problems.

First my config files..


#/etc/nppp/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 POE_ipv4 protocol pppoe {
        listen on interface em0
}

ipcp IPCP {
        pool-address 10.0.0.2-10.0.0.254
        dns-servers 8.8.8.8
}

interface tun0 address 10.0.0.1 ipcp IPCP
bind tunnel from POE_ipv4 authenticated by LOCAL to tun0



### On OBSD 5.3 release :

network logs :
11:46:15.756957 PPPoE-Discovery
        code Initiation, version 1, type 1, id 0x0000, length 12
        tag Service-Name, length 0
        tag Host-Uniq, length 4 \005\024G\212

npppd logs :
2013-10-16 11:52:09:NOTICE: Starting npppd pid=14540 version=5.0.0
2013-10-16 11:52:09:NOTICE: Load configuration from='/etc/npppd/npppd.conf' successfully.
2013-10-16 11:52:09:INFO: tun0 Started ip4addr=10.0.0.1
2013-10-16 11:52:09:INFO: Listening /var/run/npppd_ctl (npppd_ctl)
2013-10-16 11:52:09: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-10-16 11:52:09:INFO: Added 13 routes for new pool addresses
2013-10-16 11:52:09:INFO: Loading pool config successfully.
2013-10-16 11:52:09:INFO: pppoed Listening on em0 (PPPoE) [POE_ipv4] using=/dev/bpf1 address=18:03:73:2e:cc:62
Segmentation fault

After de DISCOVERY message the server crash with "Segmentation fault"

### On OBSD 5.3 snapshot (2weeks ago version) :
I'm doing some tests last night and got other problems. I don't have
my snapshots stations here but the symptom is :

npppd logs side  somthings like that :
...unable to agree auth proto...

Network side :
request.reject when client propose pap or chap or whatever.

I 'll give you full log tonight.

Is someone have some idea ?

Thanks

Bruno

Reply via email to