|
Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по FreeBSD » FreeBSD - [решено] MPD5! Не выдает IP автоматически. |
|
FreeBSD - [решено] MPD5! Не выдает IP автоматически.
|
Новый участник Сообщения: 34 |
Профиль | Отправить PM | Цитировать Привет всем! У меня FreeBSD 7.0 и mpd-5.0.b1 . Настроил конфа с помощью статьей http://www.lissyara.su/?id=1680 . Запускаю mpd нормально, но когда клиент подключается, в Windows е ошибка, что «738:Сервер не назначил IP адрес». Для тестировки запускаю mpd c помощью , просто mpd5 , и там сообщение что
У меня конфе в этом строке стоит
.Если вместо просто указываю IP, типа , все ОК. Помогите , заранее спасибо |
|
Отправлено: 13:18, 19-08-2009 |
Ветеран Сообщения: 738
|
Профиль | Отправить PM | Цитировать В общем нифига ничего не понятно. Идем читаем правила оформления сообщений.
|
------- Отправлено: 21:11, 19-08-2009 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
Старожил Сообщения: 284
|
Профиль | Отправить PM | Цитировать Цитата mss_sarvarbek:
|
|
Отправлено: 23:49, 19-08-2009 | #3 |
Новый участник Сообщения: 34
|
Профиль | Отправить PM | Цитировать Вот Конф
startup: # configure the console set console self 127.0.0.1 5005 set console user admin idontforget set console open default: load pptp_server pptp_server: # Define dynamic IP address pool. set ippool add poolsat 192.168.8.1 192.168.8.15 load common_bundles # Create clonable bundle template named B common_bundles: create bundle template B set iface enable proxy-arp set iface idle 0 set iface enable tcpmssfix set ipcp yes vjcomp # Specify IP address pool for dynamic assigment. set ipcp ranges 192.168.8.2/32 ippool poolsat # set ipcp dns 192.168.1.3 # set ipcp nbns 192.168.1.4С set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless load common_links # Create clonable link template named L common_links: create link template L pptp set link action bundle B set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link enable chap-msv1 set link enable chap-msv2 set link keep-alive 10 60 set link mtu 1460 # Configure PPTP set pptp self ВнешныйИПСервера set link enable incoming |
Отправлено: 12:27, 20-08-2009 | #4 |
Ветеран Сообщения: 738
|
Профиль | Отправить PM | Цитировать эх! ну да ладно.
Цитата mss_sarvarbek:
Цитата mss_sarvarbek:
Цитата mss_sarvarbek:
|
||||
------- Отправлено: 14:15, 20-08-2009 | #5 |
Новый участник Сообщения: 34
|
Профиль | Отправить PM | Цитировать Цитата leonty:
1)Запускаю : Нормально, накаких сообщений. В логах: Aug 20 15:03:18 rim mpd: Multi-link PPP daemon for FreeBSD Aug 20 15:03:18 rim mpd: Aug 20 15:03:18 rim mpd: process 29472 started, version 5.0b1 (root@rim.uk.ua 10:00 19-Aug-2009) Aug 20 15:03:18 rim mpd: CONSOLE: listening on 127.0.0.1 5005 Aug 20 15:03:18 rim mpd: PPTP: waiting for connection on 192.168.0.237 http://smages.com/a2/fe/a2fea77668b7...e2a85e.jpg.htm И вот кусок лога: Aug 20 15:08:34 rim mpd: [L-1] Accepting PPTP connection Aug 20 15:08:34 rim mpd: [L-1] link: OPEN event Aug 20 15:08:34 rim mpd: [L-1] LCP: Open event Aug 20 15:08:34 rim mpd: [L-1] LCP: state change Initial --> Starting Aug 20 15:08:34 rim mpd: [L-1] LCP: LayerStart Aug 20 15:08:34 rim mpd: [L-1] PPTP: attaching to peer's outgoing call Aug 20 15:08:34 rim mpd: [L-1] link: UP event Aug 20 15:08:34 rim mpd: [L-1] link: origination is remote Aug 20 15:08:34 rim mpd: [L-1] LCP: Up event Aug 20 15:08:34 rim mpd: [L-1] LCP: state change Starting --> Req-Sent Aug 20 15:08:34 rim mpd: [L-1] LCP: SendConfigReq #1 Aug 20 15:08:34 rim mpd: ACFCOMP Aug 20 15:08:34 rim mpd: PROTOCOMP Aug 20 15:08:34 rim mpd: MRU 1500 Aug 20 15:08:34 rim mpd: MAGICNUM bc30d0a0 Aug 20 15:08:34 rim mpd: AUTHPROTO CHAP MSOFTv2 Aug 20 15:08:34 rim mpd: MP MRRU 1600 Aug 20 15:08:34 rim mpd: ENDPOINTDISC [802.1] 00 0e 2e ac 81 d6 Aug 20 15:08:34 rim mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent) Aug 20 15:08:34 rim mpd: MRU 1400 Aug 20 15:08:34 rim mpd: MAGICNUM 1a087980 Aug 20 15:08:34 rim mpd: PROTOCOMP Aug 20 15:08:34 rim mpd: ACFCOMP Aug 20 15:08:34 rim mpd: CALLBACK 6 Aug 20 15:08:34 rim mpd: [L-1] LCP: SendConfigRej #0 Aug 20 15:08:34 rim mpd: CALLBACK 6 Aug 20 15:08:34 rim mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent) Aug 20 15:08:34 rim mpd: MRU 1400 Aug 20 15:08:34 rim mpd: MAGICNUM 1a087980 Aug 20 15:08:34 rim mpd: PROTOCOMP Aug 20 15:08:34 rim mpd: ACFCOMP Aug 20 15:08:34 rim mpd: [L-1] LCP: SendConfigAck #1 Aug 20 15:08:34 rim mpd: MRU 1400 Aug 20 15:08:34 rim mpd: MAGICNUM 1a087980 Aug 20 15:08:34 rim mpd: PROTOCOMP Aug 20 15:08:34 rim mpd: ACFCOMP Aug 20 15:08:34 rim mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent Aug 20 15:08:36 rim mpd: [L-1] LCP: SendConfigReq #2 Aug 20 15:08:36 rim mpd: ACFCOMP Aug 20 15:08:36 rim mpd: PROTOCOMP Aug 20 15:08:36 rim mpd: MRU 1500 Aug 20 15:08:36 rim mpd: MAGICNUM bc30d0a0 Aug 20 15:08:36 rim mpd: AUTHPROTO CHAP MSOFTv2 Aug 20 15:08:36 rim mpd: MP MRRU 1600 Aug 20 15:08:36 rim mpd: ENDPOINTDISC [802.1] 00 0e 2e ac 81 d6 Aug 20 15:08:36 rim mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent) Aug 20 15:08:36 rim mpd: MP MRRU 1600 Aug 20 15:08:36 rim mpd: ENDPOINTDISC [802.1] 00 0e 2e ac 81 d6 Aug 20 15:08:36 rim mpd: [L-1] LCP: SendConfigReq #3 Aug 20 15:08:36 rim mpd: ACFCOMP Aug 20 15:08:36 rim mpd: PROTOCOMP Aug 20 15:08:36 rim mpd: MRU 1500 Aug 20 15:08:36 rim mpd: MAGICNUM bc30d0a0 Aug 20 15:08:36 rim mpd: AUTHPROTO CHAP MSOFTv2 Aug 20 15:08:36 rim mpd: [L-1] LCP: rec'd Configure Ack #3 (Ack-Sent) Aug 20 15:08:36 rim mpd: ACFCOMP Aug 20 15:08:36 rim mpd: PROTOCOMP Aug 20 15:08:36 rim mpd: MRU 1500 Aug 20 15:08:36 rim mpd: MAGICNUM bc30d0a0 Aug 20 15:08:36 rim mpd: AUTHPROTO CHAP MSOFTv2 Aug 20 15:08:36 rim mpd: [L-1] LCP: state change Ack-Sent --> Opened Aug 20 15:08:36 rim mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP Aug 20 15:08:36 rim mpd: [L-1] CHAP: sending CHALLENGE len:17 Aug 20 15:08:36 rim mpd: [L-1] LCP: LayerUp Aug 20 15:08:36 rim mpd: [L-1] LCP: rec'd Ident #2 (Opened) Aug 20 15:08:36 rim mpd: [L-1] LCP: rec'd Ident #3 (Opened) Aug 20 15:08:36 rim mpd: [L-1] CHAP: rec'd RESPONSE #1 Aug 20 15:08:36 rim mpd: Name: "vpn_admin" Aug 20 15:08:36 rim mpd: [L-1] AUTH: Auth-Thread started Aug 20 15:08:36 rim mpd: [L-1] AUTH: Trying INTERNAL Aug 20 15:08:36 rim mpd: [L-1] AUTH: INTERNAL returned undefined Aug 20 15:08:36 rim mpd: [L-1] AUTH: Auth-Thread finished normally Aug 20 15:08:36 rim mpd: [L-1] CHAP: ChapInputFinish: status undefined Aug 20 15:08:36 rim mpd: Response is valid Aug 20 15:08:36 rim mpd: Reply message: S=03F5C1D04959C4D09D065C3B6E2C942EE4545E17 Aug 20 15:08:36 rim mpd: [L-1] CHAP: sending SUCCESS len:42 Aug 20 15:08:36 rim mpd: [L-1] LCP: authorization successful Aug 20 15:08:36 rim mpd: [L-1] Matched link action 'bundle "B" ""' Aug 20 15:08:36 rim mpd: [L-1] Creating new bundle using template "B". Aug 20 15:08:36 rim mpd: [B-1] using interface ng0 Aug 20 15:08:36 rim mpd: [B-1] Bundle up: 1 link, total bandwidth 64000 bps Aug 20 15:08:36 rim mpd: [B-1] IPCP: Open event Aug 20 15:08:36 rim mpd: [B-1] IPCP: state change Initial --> Starting Aug 20 15:08:36 rim mpd: [B-1] IPCP: LayerStart Aug 20 15:08:36 rim mpd: [B-1] CCP: Open event Aug 20 15:08:36 rim mpd: [B-1] CCP: state change Initial --> Starting Aug 20 15:08:36 rim mpd: [B-1] CCP: LayerStart Aug 20 15:08:36 rim mpd: [B-1] IPCP: Up event Aug 20 15:08:36 rim mpd: [B-1] IPCP: state change Starting --> Req-Sent Aug 20 15:08:36 rim mpd: [B-1] IPCP: SendConfigReq #1 Aug 20 15:08:36 rim mpd: IPADDR 192.168.0.237 Aug 20 15:08:36 rim mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 20 15:08:36 rim mpd: [B-1] CCP: Up event Aug 20 15:08:36 rim mpd: [B-1] CCP: state change Starting --> Req-Sent Aug 20 15:08:36 rim mpd: [B-1] CCP: SendConfigReq #1 Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000060:MPPE(40, 128 bits), stateless Aug 20 15:08:36 rim mpd: [L-1] AUTH: Accounting-Thread started Aug 20 15:08:36 rim mpd: [L-1] AUTH: Accounting-Thread finished normally Aug 20 15:08:36 rim mpd: [L-1] rec'd unexpected protocol 0x802b, rejecting Aug 20 15:08:36 rim mpd: [B-1] CCP: rec'd Configure Request #5 (Req-Sent) Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: SendConfigNak #5 Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] IPCP: rec'd Configure Request #6 (Req-Sent) Aug 20 15:08:36 rim mpd: IPADDR 0.0.0.0 Aug 20 15:08:36 rim mpd: no IP address available for peer! Aug 20 15:08:36 rim mpd: NAKing with 0.0.0.0 Aug 20 15:08:36 rim mpd: PRIDNS 0.0.0.0 Aug 20 15:08:36 rim mpd: PRINBNS 0.0.0.0 Aug 20 15:08:36 rim mpd: SECDNS 0.0.0.0 Aug 20 15:08:36 rim mpd: SECNBNS 0.0.0.0 Aug 20 15:08:36 rim mpd: [B-1] IPCP: SendConfigRej #6 Aug 20 15:08:36 rim mpd: PRIDNS 0.0.0.0 Aug 20 15:08:36 rim mpd: PRINBNS 0.0.0.0 Aug 20 15:08:36 rim mpd: SECDNS 0.0.0.0 Aug 20 15:08:36 rim mpd: SECNBNS 0.0.0.0 Aug 20 15:08:36 rim mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent) Aug 20 15:08:36 rim mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 20 15:08:36 rim mpd: [B-1] IPCP: SendConfigReq #2 Aug 20 15:08:36 rim mpd: IPADDR 192.168.0.237 Aug 20 15:08:36 rim mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent) Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: SendConfigReq #2 Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: rec'd Configure Request #7 (Req-Sent) Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: SendConfigAck #7 Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: state change Req-Sent --> Ack-Sent Aug 20 15:08:36 rim mpd: [B-1] IPCP: rec'd Configure Request #8 (Req-Sent) Aug 20 15:08:36 rim mpd: IPADDR 0.0.0.0 Aug 20 15:08:36 rim mpd: no IP address available for peer! Aug 20 15:08:36 rim mpd: NAKing with 0.0.0.0 Aug 20 15:08:36 rim mpd: [B-1] IPCP: SendConfigNak #8 Aug 20 15:08:36 rim mpd: IPADDR 0.0.0.0 Aug 20 15:08:36 rim mpd: [B-1] IPCP: rec'd Configure Ack #2 (Req-Sent) Aug 20 15:08:36 rim mpd: IPADDR 192.168.0.237 Aug 20 15:08:36 rim mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd Aug 20 15:08:36 rim mpd: [B-1] CCP: rec'd Configure Ack #2 (Ack-Sent) Aug 20 15:08:36 rim mpd: MPPC Aug 20 15:08:36 rim mpd: 0x01000040:MPPE(128 bits), stateless Aug 20 15:08:36 rim mpd: [B-1] CCP: state change Ack-Sent --> Opened Aug 20 15:08:36 rim mpd: [B-1] CCP: LayerUp Aug 20 15:08:36 rim mpd: Compress using: mppc (MPPE(128 bits), stateless) Aug 20 15:08:36 rim mpd: Decompress using: mppc (MPPE(128 bits), stateless) Aug 20 15:08:36 rim mpd: [B-1] IPCP: rec'd Terminate Request #9 (Ack-Rcvd) Aug 20 15:08:36 rim mpd: [B-1] IPCP: state change Ack-Rcvd --> Req-Sent Aug 20 15:08:36 rim mpd: [B-1] IPCP: SendTerminateAck #3 Aug 20 15:08:38 rim mpd: [B-1] IPCP: rec'd Terminate Request #10 (Req-Sent) Aug 20 15:08:38 rim mpd: [B-1] IPCP: SendTerminateAck #4 Aug 20 15:08:38 rim mpd: [B-1] IPCP: SendConfigReq #5 Aug 20 15:08:38 rim mpd: IPADDR 192.168.0.237 Aug 20 15:08:40 rim mpd: [B-1] IPCP: SendConfigReq #6 Aug 20 15:08:40 rim mpd: IPADDR 192.168.0.237 Aug 20 15:08:40 rim mpd: [B-1] IPCP: rec'd Terminate Ack #6 (Req-Sent) Aug 20 15:08:40 rim mpd: [L-1] LCP: rec'd Terminate Request #11 (Opened) Aug 20 15:08:40 rim mpd: [L-1] LCP: state change Opened --> Stopping Aug 20 15:08:40 rim mpd: [L-1] AUTH: Accounting data for user vpn_admin: 6 seconds, 208 octets in, 184 octets out Aug 20 15:08:40 rim mpd: [L-1] AUTH: Accounting-Thread started Aug 20 15:08:40 rim mpd: [B-1] Bundle up: 0 links, total bandwidth 9600 bps Aug 20 15:08:40 rim mpd: [B-1] IPCP: Close event Aug 20 15:08:40 rim mpd: [B-1] IPCP: state change Req-Sent --> Closing Aug 20 15:08:40 rim mpd: [B-1] IPCP: SendTerminateReq #7 Aug 20 15:08:40 rim mpd: [B-1] error writing len 8 frame to bypass: Network is down Aug 20 15:08:40 rim mpd: [B-1] CCP: Close event Aug 20 15:08:40 rim mpd: [B-1] CCP: state change Opened --> Closing Цитата leonty:
|
||
Отправлено: 16:22, 20-08-2009 | #6 |
Новый участник Сообщения: 34
|
Профиль | Отправить PM | Цитировать Проблема было с версией . Обновил пакеты до 5,3 и все работает.
|
Отправлено: 10:43, 26-08-2009 | #7 |
Участник сейчас на форуме | Участник вне форума | Автор темы | Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
FreeBSD - MPD5, пляски с бубном... | xolod. | Общий по FreeBSD | 1 | 26-08-2009 10:53 | |
FreeBSD - MPD5 - DNS-суффикс... | xolod. | Общий по FreeBSD | 2 | 06-08-2009 13:37 | |
FreeBSD - mpd5 + abills = Сброс сессии | xolod. | Общий по FreeBSD | 1 | 14-06-2009 18:19 | |
FreeBSD - проблема с MPD5 | cail | Общий по FreeBSD | 0 | 22-05-2009 16:35 | |
FreeBSD - vpn client mpd5 freebsd 7.1 | legion_ | Общий по FreeBSD | 4 | 08-04-2009 11:14 |
|