Решил собрать PPPoE на MPD-3.18
Поставил конфиги, при запуске
/usr/local/etc/rc.d/mpd.sh start
не создано ни одного ng интерфейса ;-\
Но MPD запущен...
ps aux | grep mpd
root 72501 0.0 1.1 2688 1372 ?? Is 12:12AM 0:00.01 /usr/local/sbin/mpd -b
Что я забыл сделать?
Конфиги:
mpd.conf
Код:
default:
load client1
load client2
client1:
new -i ng0 client1 client1
set ipcp ranges 172.16.0.129/32 172.16.0.1/32
load pppoe_standard
client2:
new -i ng1 client2 client2
set ipcp ranges 172.16.0.130/32 172.16.0.1/32
load pppoe_standard
pppoe_standard:
set iface disable on-demand
set iface idle 0
set bundle disable multilink
set link mtu 1492
set link mru 1492
set link max-redial -1
set link no chap pap
set link enable pap
set link keep-alive 60 180
set ipcp yes vjcomp
set ipcp dns 192.168.1.2
set pppoe iface vlan0
set pppoe service ""
set pppoe enable incoming
set pppoe disable originate
set radius server 192.168.1.2 mysecret 1812 1813
set radius timeout 10
set radius config /etc/radius.conf
set radius retries 3
set radius acct-update 60
set bundle enable radius-acc
set bundle enable radius-auth
set ipcp yes radius-ip
open
Поставил конфиги, при запуске
/usr/local/etc/rc.d/mpd.sh start
не создано ни одного ng интерфейса ;-\
Но MPD запущен...
ps aux | grep mpd
root 72501 0.0 1.1 2688 1372 ?? Is 12:12AM 0:00.01 /usr/local/sbin/mpd -b
Что я забыл сделать?
Конфиги:
mpd.conf
Код:
default:
load client1
load client2
client1:
new -i ng0 client1 client1
set ipcp ranges 172.16.0.129/32 172.16.0.1/32
load pppoe_standard
client2:
new -i ng1 client2 client2
set ipcp ranges 172.16.0.130/32 172.16.0.1/32
load pppoe_standard
pppoe_standard:
set iface disable on-demand
set iface idle 0
set bundle disable multilink
set link mtu 1492
set link mru 1492
set link max-redial -1
set link no chap pap
set link enable pap
set link keep-alive 60 180
set ipcp yes vjcomp
set ipcp dns 192.168.1.2
set pppoe iface vlan0
set pppoe service ""
set pppoe enable incoming
set pppoe disable originate
set radius server 192.168.1.2 mysecret 1812 1813
set radius timeout 10
set radius config /etc/radius.conf
set radius retries 3
set radius acct-update 60
set bundle enable radius-acc
set bundle enable radius-auth
set ipcp yes radius-ip
open