mpd5 и iPad 3

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
oleks1y
рядовой
Сообщения: 35
Зарегистрирован: 2009-06-30 11:30:45

mpd5 и iPad 3

Непрочитанное сообщение oleks1y » 2012-04-25 14:49:11

Настроил mpd5 c использованием протокола pptp.
Вот конфиг:

Код: Выделить всё

startup:
	# configure the console
	set console self 127.0.0.1 5005
	set console user foo bar
	set console user foo1 bar1
	set console open
	# configure the web server
	set web self 127.0.0.1 5006
	set web user foo bar
	set web open

# Default configuration is "pptp_server"

default:
	load pptp_server

pptp_server:

# Define dynamic IP address pool.

	set ippool add pool1 10.189.159.2 10.189.159.250
	set ippool add pool2 192.168.100.2 192.168.100.250


# Create clonable bundle template named B

	create bundle template B
	set iface enable proxy-arp
	set iface enable tcpmssfix

# Specify IP address pool for dynamic assigment.

	set ipcp ranges 10.189.159.1/32 ippool pool1
	set ipcp ranges 192.168.100.1/32 ippool pool2
	set ipcp dns 192.168.100.52
	set ipcp nbns 192.168.100.52
# The five lines below enable Microsoft Point-to-Point encryption

# (MPPE) using the ng_mppc(8) netgraph node type.

	set bundle enable compression
	set ccp yes mppc
	set ccp yes mpp-e40
	set ccp yes mpp-e128
	set ccp yes mpp-stateless

# Create clonable link template named L

	create link template L pptp	
	set link action bundle B

# Multilink adds some overhead, but gives full 1500 MTU.

	set link no pap
	set link enable chap
	set link enable chap-msv1
	set link enable chap-msv2

# Configure PPTP

        set pptp self 8x.xx.xx.xx
	set pptp disable windowing
	set pptp enable always-ask

# Allow to accept calls

        set link enable incoming
С виндовых тачек все подключается работает прекрасно. Но вот с iPad 3 подключаться никак не хочет. Пишет "Коммуникационное утр-во отключило ваше соединение и т.д.".
Версия iOS v 5.1 (9B176)
Вырезка с лога mpd при попытке подключения с iPad вот:

Код: Выделить всё

Apr 25 13:14:09 free mpd: [L-1] Accepting PPTP connection
Apr 25 13:14:09 free mpd: [L-1] link: OPEN event
Apr 25 13:14:09 free mpd: [L-1] LCP: Open event
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Initial --> Starting
Apr 25 13:14:09 free mpd: [L-1] LCP: LayerStart
Apr 25 13:14:09 free mpd: [L-1] PPTP: attaching to peer's outgoing call
Apr 25 13:14:09 free mpd: [L-1] link: UP event
Apr 25 13:14:09 free mpd: [L-1] link: origination is remote
Apr 25 13:14:09 free mpd: [L-1] LCP: Up event
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Starting --> Req-Sent
Apr 25 13:14:09 free mpd: [L-1] LCP: SendConfigReq #1
Apr 25 13:14:09 free mpd:  ACFCOMP
Apr 25 13:14:09 free mpd:  PROTOCOMP
Apr 25 13:14:09 free mpd:  MRU 1500
Apr 25 13:14:09 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:09 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:09 free mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Apr 25 13:14:09 free mpd:  ACCMAP 0x00000000
Apr 25 13:14:09 free mpd:  MAGICNUM 500e7b78
Apr 25 13:14:09 free mpd:  PROTOCOMP
Apr 25 13:14:09 free mpd:  ACFCOMP
Apr 25 13:14:09 free mpd: [L-1] LCP: SendConfigAck #1
Apr 25 13:14:09 free mpd:  ACCMAP 0x00000000
Apr 25 13:14:09 free mpd:  MAGICNUM 500e7b78
Apr 25 13:14:09 free mpd:  PROTOCOMP
Apr 25 13:14:09 free mpd:  ACFCOMP
Apr 25 13:14:09 free mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #2
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #3
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #3 (Ack-Sent)
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #4
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #4 (Ack-Sent)
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #5
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #5 (Ack-Sent)
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #6
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: rec'd Configure Reject #6 (Ack-Sent)
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:11 free mpd: [L-1] LCP: SendConfigReq #7
Apr 25 13:14:11 free mpd:  ACFCOMP
Apr 25 13:14:11 free mpd:  PROTOCOMP
Apr 25 13:14:11 free mpd:  MRU 1500
Apr 25 13:14:11 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:11 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #7 (Ack-Sent)
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #8
Apr 25 13:14:12 free mpd:  ACFCOMP
Apr 25 13:14:12 free mpd:  PROTOCOMP
Apr 25 13:14:12 free mpd:  MRU 1500
Apr 25 13:14:12 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #8 (Ack-Sent)
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #9
Apr 25 13:14:12 free mpd:  ACFCOMP
Apr 25 13:14:12 free mpd:  PROTOCOMP
Apr 25 13:14:12 free mpd:  MRU 1500
Apr 25 13:14:12 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #9 (Ack-Sent)
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: SendConfigReq #10
Apr 25 13:14:12 free mpd:  ACFCOMP
Apr 25 13:14:12 free mpd:  PROTOCOMP
Apr 25 13:14:12 free mpd:  MRU 1500
Apr 25 13:14:12 free mpd:  MAGICNUM 5fa7594a
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: rec'd Configure Reject #10 (Ack-Sent)
Apr 25 13:14:12 free mpd:  AUTHPROTO CHAP MSOFTv2
Apr 25 13:14:12 free mpd: [L-1] LCP: not converging
Apr 25 13:14:12 free mpd: [L-1] LCP: parameter negotiation failed
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Ack-Sent --> Stopped
Apr 25 13:14:12 free mpd: [L-1] LCP: LayerFinish
Apr 25 13:14:12 free mpd: [L-1] PPTP call terminated
Apr 25 13:14:12 free mpd: [L-1] link: DOWN event
Apr 25 13:14:12 free mpd: [L-1] LCP: Close event
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Stopped --> Closed
Apr 25 13:14:12 free mpd: [L-1] LCP: Down event
Apr 25 13:14:12 free mpd: [L-1] LCP: state change Closed --> Initial
Apr 25 13:14:12 free mpd: [L-1] link: SHUTDOWN event 
Подскажите плиз что делать?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35464
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: mpd5 и iPad 3

Непрочитанное сообщение Alex Keda » 2012-08-14 20:00:51

это айпад кривой...
вернее фрю в нём укривили до невозможности =))
Убей их всех! Бог потом рассортирует...

mymymy
сержант
Сообщения: 224
Зарегистрирован: 2008-05-16 21:23:38
Откуда: Москва

Re: mpd5 и iPad 3

Непрочитанное сообщение mymymy » 2012-09-06 10:57:59

Рабочий конф mpd5. Винда, фряха, macОС,iOS- все прекрасно соединяет с шифрованием
#cat /usr/local/etc/mpd5/mpd.conf

Код: Выделить всё

startup:
        set user admin password admin
        set console self 127.0.0.1 5005
        set console open
        set web self 0.0.0.0 5006
        set web open
default:
        load pptp_server

pptp_server:
        set ippool add poolsat 10.1.1.3 10.1.1.5
        create bundle template B
        set iface enable proxy-arp
        set iface idle 0
        set iface enable tcpmssfix
        set ipcp yes vjcomp
        set ipcp ranges 10.1.1.6/32 ippool poolsat
        set ipcp dns 10.1.1.21
        set ipcp nbns 10.1.1.21
        set bundle enable compression
        set ccp yes mppc
        set mppc yes compress e40 e56 e128 stateless
        create link template L pptp
        set link action bundle B
        set link enable multilink
        set link yes acfcomp protocomp
        set link no pap chap eap
        set link enable chap
        set link enable chap-msv1
        set link enable chap-msv2
        set link mtu 1460
        set link keep-alive 10 60

        set pptp self 1.1.1.1
        set link enable incoming
#cat /usr/local/etc/mpd5/mpd.links

Код: Выделить всё

pptp0:
 set link type pptp
 set pptp disable windowing
 set pptp enable always-ack
pptp1:
 set link type pptp
 set pptp disable windowing
 set pptp enable always-ack
pptp2:
 set link type pptp
 set pptp disable windowing
 set pptp enable always-ack
Последний раз редактировалось mymymy 2012-09-06 11:01:02, всего редактировалось 1 раз.

mymymy
сержант
Сообщения: 224
Зарегистрирован: 2008-05-16 21:23:38
Откуда: Москва

Re: mpd5 и iPad 3

Непрочитанное сообщение mymymy » 2012-09-06 10:58:23

в т.ч и iPAD new