Привет ВСЕМ!
Стоит у Меня mpd 3,18(убил, поставил)-> 3,18_4 и 4.
3.18 патчил от сюда: ftp:ftp.ufanet.ru/pub/boco/mpd/, сейчас недоступно
Там же и мпд брал, а вот как звутся патчи, которые наложил:mpd-3.18-chap.diff
mpd-3.18-close-channel-recursion-bug-2.diff
mpd-3.18-down-event-in-state-opening-fix.diff
mpd-3.18-drop-user-1.diff
mpd-3.18-ng_tcpmss-2.diff
mpd-3.18-ng_tcpmss-ng_tee-2.diff
mpd-3.18-tcpsyn-bpf-program-fix.diff
mpd-3.18-tee.diff
При попытке запустить
Вот такая штука:
предыдушие нормально запустились
......
[pptp112] ppp node is "mpd9523-pptp112"
[pptp112] can't connect iface and inet: File exists
[pptp112] netgraph initialization failed
[pptp113] ppp node is "mpd9523-pptp113"
[pptp113] can't connect iface and inet: File exists
[pptp113] netgraph initialization failed
[pptp114] ppp node is "mpd9523-pptp114"
[pptp114] can't connect iface and inet: File exists
[pptp114] netgraph initialization failed
[pptp115] ppp node is "mpd9523-pptp115"
[pptp115] can't connect iface and inet: File exists
[pptp115] netgraph initialization failed
[pptp116] ppp node is "mpd9523-pptp116"
mpd: pipe: Too many open files in system
mpd: fatal error, exiting
[pptp2] IPCP: Down event
[pptp2] IFACE: Close event
...
и так до 116
Вот скрипт которым создал mpd.conf + mpd.links:
#!/bin/sh
echo "default:"
b=0
i=$b
j=$b
echo "">mpd.conf
echo "">mpd.links
until [ $i -gt 250 ]
do
echo " load pptp$i">>mpd.conf
echo "pptp$i:
set link type pptp">>mpd.links
i=`expr $i + 1`
done
until [ $j -gt 250 ]
do
echo "pptp$j:
new -i ng$j pptp$j pptp$j
set ipcp ranges 192.168.11.1/32 192.168.11.$j/32
load pptp_standart ">>mpd.conf
j=`expr $j + 1`
done
echo "
pptp_standart:
set iface disable on-demand set bundle disable multilink set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
set ipcp dns 192.168.10.1
#set ipcp nbns 10.128.1.42
set iface enable proxy-arp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40 set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
#your_IP
set pptp self 192.168.10.1
set pptp enable incoming
set pptp disable originate">>mpd.conf