The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"mpd + клиенты на Linux..."
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"mpd + клиенты на Linux..."  
Сообщение от weldpua2008 email(ok) on 23-Мрт-07, 23:01 
Привет всем
Вот пытаюсь подрубиться к своему серверу на FreeBSD: mpd4.1+freeradius+freenibs...
Клиентская машина: Debian Etch 4.0 за январь 2007

pppd version 2.4.4
pptp-linux 1,7,0-2

В логах Debiana вижу вот что:
лог1:
Mar 23 21:40:31 localhost pptp[8865]: anon log[logecho:pptp_ctrl.c:676]: Echo Request received.
Mar 23 21:40:31 localhost pptp[8865]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 6 'Echo-Reply'
Mar 23 21:40:31 localhost pptp[8865]: anon log[logecho:pptp_ctrl.c:676]: Echo Reply received.
Mar 23 21:40:40 localhost pptp[8865]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Mar 23 21:40:40 localhost pptp[8865]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 23 21:40:40 localhost pptp[8865]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Mar 23 21:45:48 localhost pptp[9171]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 56945).
Mar 23 21:46:16 localhost pptp[9174]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Mar 23 21:46:16 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 23 21:46:16 localhost pptp[9174]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)

лог2:
Mar 23 21:45:48 localhost pppd[9170]: pppd 2.4.4 started by root, uid 0
Mar 23 21:45:48 localhost pppd[9170]: Using interface ppp0
Mar 23 21:45:48 localhost pppd[9170]: Connect: ppp0 <--> /dev/pts/4
Mar 23 21:45:48 localhost pptp[9171]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 56945).
Mar 23 21:45:49 localhost pppd[9170]: CHAP authentication succeeded
Mar 23 21:45:49 localhost pppd[9170]: kernel does not support PPP filtering
Mar 23 21:45:49 localhost pppd[9170]: not replacing existing default route via 10.11.28.1
Mar 23 21:45:49 localhost pppd[9170]: Cannot determine ethernet address for proxy ARP
Mar 23 21:45:49 localhost pppd[9170]: local  IP address 192.168.0.2
Mar 23 21:45:49 localhost pppd[9170]: remote IP address 192.168.0.1
Mar 23 21:45:49 localhost pppd[9170]: primary   DNS address 10.11.28.1
Mar 23 21:46:16 localhost pptp[9174]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Mar 23 21:46:16 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 23 21:46:16 localhost pptp[9174]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Mar 23 21:46:16 localhost pppd[9170]: Terminating on signal 15
Mar 23 21:46:16 localhost pppd[9170]: Modem hangup
Mar 23 21:46:16 localhost pppd[9170]: Connect time 0.5 minutes.
Mar 23 21:46:16 localhost pppd[9170]: Sent 336 bytes, received 0 bytes.
Mar 23 21:46:16 localhost pppd[9170]: Connection terminated.
Mar 23 21:46:16 localhost pppd[9170]: Exit.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "mpd + клиенты на Linux..."  
Сообщение от weldpua2008 email(ok) on 23-Мрт-07, 23:05 
Сервер FreeBSD, mpd4.1:

mpd.conf:
pptp400:
        new -i ng400 pptp400 pptp400
        set ipcp ranges  192.168.11.1/32  192.168.12.148/32
        load pptp_standart

pptp_standart:
#    set pptp enable always-ack
    set pptp disable windowing
    set iface route default
    set iface disable on-demand
    set iface enable tcpmssfix
    set bundle disable multilink
    set link yes acfcomp protocomp
    set iface up-script "/usr/local/etc/mpd4/link-up"
    set iface down-script "/usr/local/etc/mpd4/link-down"
    set link no pap chap
    set link enable chap
    set link keep-alive 10 75
    set ipcp yes vjcomp
    set ipcp dns 10.11.28.1
#    set link mtu 1460
#    set link mru 1460
    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 pptp enable incoming
    set pptp disable originate
#   set radius config /opt/radius.conf
    set radius me 127.0.0.1
    set radius retries 2
    set radius server 127.0.0.1 passwd 1812 1813
    set radius timeout 5
    set auth acct-update 300
    set auth enable radius-auth
    set auth enable radius-acct

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "mpd + клиенты на Linux..."  
Сообщение от andreish on 30-Мрт-07, 09:59 
Привет
У тебя проблемма с маршрутизацией
Пакеты не уходят дальше твоего интерфейса
Перед установкой соединения пропиши маршрут
route add -host <addr_pptp_server> gw <addr_gw> dev eth0
А после добавь другие маршруты типа
route add -net 192.168.0.0/24 dev ppp0
Думаю что все заработает


>Привет всем
>Вот пытаюсь подрубиться к своему серверу на FreeBSD: mpd4.1+freeradius+freenibs...
>Клиентская машина: Debian Etch 4.0 за январь 2007
>
>pppd version 2.4.4
>pptp-linux 1,7,0-2
>
>В логах Debiana вижу вот что:
>лог1:
>Mar 23 21:40:31 localhost pptp[8865]: anon log[logecho:pptp_ctrl.c:676]: Echo Request received.
>Mar 23 21:40:31 localhost pptp[8865]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>6 'Echo-Reply'
>Mar 23 21:40:31 localhost pptp[8865]: anon log[logecho:pptp_ctrl.c:676]: Echo Reply received.
>Mar 23 21:40:40 localhost pptp[8865]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
>Mar 23 21:40:40 localhost pptp[8865]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>12 'Call-Clear-Request'
>Mar 23 21:40:40 localhost pptp[8865]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
>Mar 23 21:45:48 localhost pptp[9171]: anon log[main:pptp.c:267]: The synchronous pptp option is
>NOT activated
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>1 'Start-Control-Connection-Request'
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
>
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>7 'Outgoing-Call-Request'
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID
>0, peer's call ID 56945).
>Mar 23 21:46:16 localhost pptp[9174]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
>Mar 23 21:46:16 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>12 'Call-Clear-Request'
>Mar 23 21:46:16 localhost pptp[9174]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
>
>лог2:
>Mar 23 21:45:48 localhost pppd[9170]: pppd 2.4.4 started by root, uid 0
>
>Mar 23 21:45:48 localhost pppd[9170]: Using interface ppp0
>Mar 23 21:45:48 localhost pppd[9170]: Connect: ppp0 <--> /dev/pts/4
>Mar 23 21:45:48 localhost pptp[9171]: anon log[main:pptp.c:267]: The synchronous pptp option is
>NOT activated
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>1 'Start-Control-Connection-Request'
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
>
>Mar 23 21:45:48 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>7 'Outgoing-Call-Request'
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
>Mar 23 21:45:49 localhost pptp[9174]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID
>0, peer's call ID 56945).
>Mar 23 21:45:49 localhost pppd[9170]: CHAP authentication succeeded
>Mar 23 21:45:49 localhost pppd[9170]: kernel does not support PPP filtering
>Mar 23 21:45:49 localhost pppd[9170]: not replacing existing default route via 10.11.28.1
>
>Mar 23 21:45:49 localhost pppd[9170]: Cannot determine ethernet address for proxy ARP
>
>Mar 23 21:45:49 localhost pppd[9170]: local  IP address 192.168.0.2
>Mar 23 21:45:49 localhost pppd[9170]: remote IP address 192.168.0.1
>Mar 23 21:45:49 localhost pppd[9170]: primary   DNS address 10.11.28.1
>Mar 23 21:46:16 localhost pptp[9174]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
>Mar 23 21:46:16 localhost pptp[9174]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is
>12 'Call-Clear-Request'
>Mar 23 21:46:16 localhost pptp[9174]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
>Mar 23 21:46:16 localhost pppd[9170]: Terminating on signal 15
>Mar 23 21:46:16 localhost pppd[9170]: Modem hangup
>Mar 23 21:46:16 localhost pppd[9170]: Connect time 0.5 minutes.
>Mar 23 21:46:16 localhost pppd[9170]: Sent 336 bytes, received 0 bytes.
>Mar 23 21:46:16 localhost pppd[9170]: Connection terminated.
>Mar 23 21:46:16 localhost pppd[9170]: Exit.


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру