UMC(MTS) and rfcomm_pppd via PDA

Настройка сетевых служб, маршрутизации, фаерволлов. Проблемы с сетевым оборудованием.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
zl0y
ефрейтор
Сообщения: 50
Зарегистрирован: 2008-07-06 21:58:29

UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение zl0y » 2008-08-22 15:26:17

Помогите с настройкой сабжа в freebsd

Состряпал вот такое в ppp.conf

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

rfcomm-dialup:
    enable force-scripts
    disable ipv6
    disable ipv6cp
    disable mppe
    enable lqr
    set dial "ABORT BUSY \"\" ATE1 OK AT+CGDCONT=1,\\\"IP\\\",\\\"www.umc.ua\\\" OK ATD*99***1# CONNECT"
    disable acfcomp
    disable protocomp
    disable vjcomp
    disable pred1
    disable deflate
    set authname
    set authkey
    set ifaddr 0 0
    add !default HISADDR
Запускаю

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

rfcomm_pppd -a pda -c -C dun -l rfcomm-dialup
и получаю:

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

Aug 22 15:21:58 amokk ppp[19333]: Phase: Using interface: tun0                                                                                  
Aug 22 15:21:58 amokk ppp[19333]: Phase: deflink: Created in closed state                                                                               
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)                                                
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: enable force-scripts                                                                    
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable ipv6                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable ipv6cp                                                                          
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable mppe                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: enable lqr                                                                              
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set dial ABORT BUSY "" ATE1 OK AT+CGDCONT=1,\"IP\",\"www.umc.ua\" OK ATD*99***1# CONNECT
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable acfcomp                                                                         
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable protocomp                                                                       
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable vjcomp                                                                          
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable pred1                                                                           
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: disable deflate                                                                         
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set authname                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set authkey                                                                             
Aug 22 15:21:58 amokk ppp[19333]: tun0: Command: rfcomm-dialup: set ifaddr 0 0                                                                          
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: PPP Started (direct mode).                                                                               
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: bundle: Establish                                                                                        
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: closed -> opening                                                                               
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: Connected!                                                                                      
Aug 22 15:21:58 amokk ppp[19333]: tun0: Phase: deflink: opening -> dial                                                                                 
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: deflink: Dial attempt 1 of 1                                                                              
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: ATE1^M                                                                                              
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): OK                                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: ^M                                                                                              
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: OK^M                                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: AT+CGDCONT=1,"IP","www.umc.ua"^M                                                                    
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): OK                                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: AT+CGDCONT=1,"IP","www.umc.ua"^M^M                                                              
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Received: OK^M                                                                                            
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Send: ATD*99***1#^M                                                                                       
Aug 22 15:21:58 amokk ppp[19333]: tun0: Chat: Expect(30): CONNECT                                                                                       
Aug 22 15:22:12 amokk ppp[19333]: tun0: Chat: Received: ATD*99***1#^M^M                                                                                 
Aug 22 15:22:12 amokk ppp[19333]: tun0: Chat: Received: CONNECT^M                                                                                       
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: dial -> carrier                                                                                 
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: carrier -> login                                                                                
Aug 22 15:22:12 amokk ppp[19333]: tun0: Phase: deflink: login -> lcp                                                                                    
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: FSM: Using "deflink" as a transport                                                                        
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: deflink: State change Initial --> Closed                                                                   
Aug 22 15:22:12 amokk ppp[19333]: tun0: LCP: deflink: State change Closed --> Stopped                                                                   
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: LayerStart                                                                                        
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped                                                                  
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACCMAP[6] 0x00000000                                                                                      
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MRU[4] 1500                                                                                               
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM[6] 0x13e5f37e                                                                                    
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Stopped --> Req-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACCMAP[6] 0x00000000                                                                                      
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)                                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM[6] 0x7e809f64                                                                                    
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  PROTOCOMP[2]                                                                                              
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACFCOMP[2]                                                                                                
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACCMAP[6] 0x00000000                                                                                      
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)                                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM[6] 0x7e809f64                                                                                    
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  PROTOCOMP[2]                                                                                              
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACFCOMP[2]                                                                                                
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent                                                                
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent                                                                     
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM 13e5f37e                                                                                         
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)                                                               
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACCMAP[6] 0x00000000                                                                                      
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MRU[4] 1500                                                                                               
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM[6] 0x13e5f37e                                                                                    
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvCodeRej(2) state = Ack-Sent                                                                   
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent                                                                 
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  ACCMAP[6] 0x00000000                                                                                      
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MRU[4] 1500                                                                                               
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM[6] 0x13e5f37e                                                                                    
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: State change Ack-Sent --> Opened                                                                  
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: LayerUp                                                                                           
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: SendIdent(1) state = Opened                                                                       
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  MAGICNUM 13e5f37e
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: bundle: Authenticate
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: deflink: his = PAP, mine = none
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: Pap Output:  ********
Aug 22 15:22:13 amokk ppp[19333]: tun0: Warning: Sending empty PAP authname!
Aug 22 15:22:13 amokk ppp[19333]: tun0: LCP: deflink: RecvCodeRej(3) state = Opened
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: Pap Input: SUCCESS ()
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: FSM: Using "deflink" as a transport
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: deflink: State change Initial --> Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: CCP: deflink: State change Closed --> Stopped
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: deflink: lcp -> open
Aug 22 15:22:13 amokk ppp[19333]: tun0: Phase: bundle: Network
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: FSM: Using "deflink" as a transport
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: State change Initial --> Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: LayerStart.
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Aug 22 15:22:13 amokk ppp[19333]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP:  IPADDR[6] 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: deflink: LayerUp.
Aug 22 15:22:14 amokk ppp[19333]: tun0: IPCP: myaddr 88.214.79.47 hisaddr = 88.214.79.47
Aug 22 15:22:14 amokk ppp[19333]: tun0: Warning: ff02:5::/32: Change route failed: errno: Network is unreachable
Aug 22 15:22:20 amokk ppp[19333]: tun0: LCP: deflink: RecvTerminateAck(1), dropped (expected 3)
и все отваливается, где копать?

Хостинговая компания 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/
Выделенные сервера, Россия, Москва, от 2460 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение paradox » 2008-08-22 15:45:48

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

    disable acfcomp
    disable protocomp
    disable vjcomp
    disable pred1
    disable deflate
как минимум включить
а как максимум закоментировать
что бы было по умолчанию

зы
может ты еще и ipcp закроешь?)

zl0y
ефрейтор
Сообщения: 50
Зарегистрирован: 2008-07-06 21:58:29

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение zl0y » 2008-08-22 15:57:31

а толку? включил, теперь материт

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

Aug 22 15:56:04 amokk ppp[21372]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Aug 22 15:56:04 amokk ppp[21372]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Aug 22 15:56:04 amokk ppp[21372]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Aug 22 15:56:04 amokk ppp[21372]: tun0: CCP: deflink: State change Req-Sent --> Stopped
линк отваливается через несколько секунд, в телефоне ничего не надо ковырять?

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение paradox » 2008-08-22 16:03:13

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

default:
	set log Phase Chat LCP IPCP CCP tun command

	set device /dev/ttyp9
	set speed 38400
	set ctsrts off

	set dial "ABORT BUSY \"\" ATE1 OK AT+CGDCONT=1,\\\"IP\\\",\\\"hyper.net\\\" OK ATD*99# CONNECT"

	set timeout 180
	enable dns

	disable pap
	disable chap
	disable mppe

	set ifaddr 0.0.0.0/0 0.0.0.0/0 255.255.255.0
	add default HISADDR
100% рабочий
токо я делаю сначала rfcomm_sppd
что бы создался ttyp9
тоест был обычный ком порт
а потом ppp запускаю

чет мне rfcomm_pppd не нравиться....

zl0y
ефрейтор
Сообщения: 50
Зарегистрирован: 2008-07-06 21:58:29

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение zl0y » 2008-08-22 16:10:51

о, надо было телефон *99# поставить, все заработало. Спасибо.


Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-06 21:13:45

zl0y писал(а):о, надо было телефон *99# поставить, все заработало. Спасибо.
а куда поставил та?

таже батва :(

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

Jan  6 23:31:42 kaktus ppp[4151]: Phase: Using interface: tun0
Jan  6 23:31:42 kaktus ppp[4151]: Phase: deflink: Created in closed state
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: default: enable force-scripts
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: default: enable dns
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set authname
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set authkey
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set phone *99#
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set dial ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\"IP\",\"internet.tele2.ru\" OK \dATDT\T TIMEOUT 40 CONNECT
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: disable acfcomp protocomp vjcomp deflate pred1 pap chap mppe
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set mtu 576
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set login
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set timeout 100
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: enable dns
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: resolv rewrite
Jan  6 23:31:42 kaktus ppp[4151]: tun0: IPCP: Primary nameserver set to 212.247.152.26
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: set ifaddr 0 0 255.255.255.255
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Command: tele2: add default HISADDR
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Phase: PPP Started (direct mode).
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Phase: bundle: Establish
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Phase: deflink: closed -> opening
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Phase: deflink: Connected!
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Phase: deflink: opening -> dial
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Phone: *99#
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: deflink: Dial attempt 1 of 1
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Send: AT^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Expect(5): OK
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Received: AT^M^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Received: OK^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Send: ATE1Q0^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Expect(5): OK
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Received: ATE1Q0^M^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Received: OK^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Send: AT+CGDCONT=1,"IP","internet.tele2.ru"^M
Jan  6 23:31:42 kaktus ppp[4151]: tun0: Chat: Expect(5): OK
Jan  6 23:31:43 kaktus ppp[4151]: tun0: Chat: Received: AT+CGDCONT=1,"IP","internet.tele2.ru"^M^M
Jan  6 23:31:43 kaktus ppp[4151]: tun0: Chat: Received: OK^M
Jan  6 23:31:43 kaktus ppp[4151]: tun0: Chat: Send: ATDT*99#^M
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Chat: Expect(40): CONNECT
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Chat: Received: ATDT*99#^M^M
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Chat: Received: CONNECT^M
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Phase: deflink: dial -> carrier
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Phase: deflink: carrier -> login
Jan  6 23:31:45 kaktus ppp[4151]: tun0: Phase: deflink: login -> lcp
Jan  6 23:31:45 kaktus ppp[4151]: tun0: LCP: FSM: Using "deflink" as a transport
Jan  6 23:31:45 kaktus ppp[4151]: tun0: LCP: deflink: State change Initial --> Closed
Jan  6 23:31:45 kaktus ppp[4151]: tun0: LCP: deflink: State change Closed --> Stopped
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: LayerStart
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MRU[4] 1500
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MAGICNUM[6] 0x22c66da3
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvConfigReq(57) state = Req-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  PROTOCOMP[2]
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  ACFCOMP[2]
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: SendConfigAck(57) state = Req-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  PROTOCOMP[2]
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  ACFCOMP[2]
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MAGICNUM 22c66da3
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MAGICNUM[6] 0x22c66da3
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  Magic 0x22c66da3 is REJected!
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MRU[4] 1500
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvCodeRej(58) state = Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MRU[4] 1500
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: LayerUp
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: SendIdent(1) state = Opened
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  MAGICNUM 00000000
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: bundle: Authenticate
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: deflink: his = PAP, mine = none
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: Pap Output:  ********
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Warning: Sending empty PAP authname!
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvCodeRej(59) state = Opened
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: Pap Input: SUCCESS ()
Jan  6 23:31:46 kaktus ppp[4151]: tun0: CCP: FSM: Using "deflink" as a transport
Jan  6 23:31:46 kaktus ppp[4151]: tun0: CCP: deflink: State change Initial --> Closed
Jan  6 23:31:46 kaktus ppp[4151]: tun0: CCP: deflink: State change Closed --> Stopped
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: deflink: lcp -> open
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: bundle: Network
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP: FSM: Using "deflink" as a transport
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP: deflink: State change Initial --> Closed
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP: deflink: LayerStart.
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP:  PRIDNS[6] 212.247.152.26
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jan  6 23:31:46 kaktus ppp[4151]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvProtocolRej(56) state = Opened
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: RecvProtocolRej(57) state = Opened
Jan  6 23:31:46 kaktus ppp[4151]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: RecvConfigReq(57) state = Req-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: SendConfigAck(57) state = Req-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  PRIDNS[6] 193.12.150.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  SECDNS[6] 212.247.152.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: Primary nameserver set to 193.12.150.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: Secondary nameserver set to 212.247.152.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  PRIDNS[6] 193.12.150.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  SECDNS[6] 212.247.152.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  IPADDR[6] 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  PRIDNS[6] 193.12.150.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  SECDNS[6] 212.247.152.26
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: LayerUp.
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: myaddr 90.143.58.57 hisaddr = 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 90.143.58.57 -> 90.143.58.57): File exists
Jan  6 23:31:47 kaktus ppp[4151]: tun0: Error: ipcp_InterfaceUp: unable to set ip address
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: LayerDown: 90.143.58.57
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: SendTerminateReq(3) state = Opened
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: State change Opened --> Closing
Jan  6 23:31:47 kaktus ppp[4151]: tun0: LCP: deflink: SendIdent(2) state = Opened
Jan  6 23:31:47 kaktus ppp[4151]: tun0: LCP:  MAGICNUM 00000000
Jan  6 23:31:47 kaktus ppp[4151]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: RecvTerminateAck(3) state = Closing
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: LayerFinish.
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: 0 packets in, 0 packets out
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Thu Jan  6 23:31:46 2011
Jan  6 23:31:47 kaktus ppp[4151]: tun0: IPCP: deflink: State change Closing --> Closed
Jan  6 23:31:47 kaktus ppp[4151]: tun0: LCP: deflink: RecvCodeRej(60) state = Opened
в журнале гафкает так

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

Jan  6 23:31:42 kaktus sdpd[4098]: Got signal 15. Total number of signals received 1
Jan  6 23:31:42 kaktus kernel: tun0: link state changed to UP
Jan  6 23:31:46 kaktus ppp[4151]: tun0: Warning: Sending empty PAP authname!
Jan  6 23:31:47 kaktus ppp[4151]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 90.143.58.57 -> 90.143.58.57): File exists
Jan  6 23:31:47 kaktus kernel: ifa_add_loopback_route: insertion failed
Jan  6 23:31:47 kaktus ppp[4151]: tun0: Error: ipcp_InterfaceUp: unable to set ip address
почему не может отдать айпишку и роут назначить нефига не пойму.. :(
в рц.конф специально все роуты убрал, а толку фик :(

вот конфиг

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

default:
 set log Phase Chat LCP IPCP CCP tun command 
 ident user-ppp VERSION (built COMPILATIONDATE)
 enable force-scripts
 enable dns
####
tele2:
 set authname
 set authkey
 set phone "*99#"
 set dial "ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\\\"IP\\\",\\\"internet.tele2.ru\\\" OK \\dATDT\\T TIMEOUT 40 CONNECT"
 disable acfcomp protocomp vjcomp deflate pred1 pap chap mppe
 set mtu 576
 set login
 set timeout 100
 enable dns
 resolv rewrite
 set ifaddr 0 0 255.255.255.255
 add default HISADDR
#####
megafon:
 set dial "ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set phone "*99#"
 resolv rewrite
 set ifaddr 0 0 255.255.255.255
 add default HISADDR
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-06 21:21:44

paradox писал(а): токо я делаю сначала rfcomm_sppd
что бы создался ttyp9
тоест был обычный ком порт
а потом ppp запускаю

чет мне rfcomm_pppd не нравиться....
кстати, так тоже делал..
не подымается чота ком порт :(

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

sdpcontrol -a MPx220 search dun

Record Handle: 0x00010004
Service Class ID List:
        Dial-Up Networking (0x1103)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 7
Bluetooth Profile Descriptor List:
        Dial-Up Networking (0x1103) ver. 1.0 

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

rfcomm_sppd -a MPx220 -t /dev/ttyp1
rfcomm_sppd: Could not obtain RFCOMM channel: Attribute not found 
:(
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Гость
проходил мимо

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение Гость » 2011-01-11 5:51:36

опций маловато
если что пробуй обычный rfcomm_pppd

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-11 11:34:18

Гость писал(а):опций маловато
если что пробуй обычный rfcomm_pppd
в смысле маловато? вы про тунель иль ком-порт?

про ком-порт мыслю так, похоже "типа нет" ево там

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

[13:13] /etc/bluetooth >sdpcontrol -a MPx220 browse
ничо не броузится
ищем

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

[13:14] /etc/bluetooth >sdpcontrol -a MPx220 search                                                                                                                                
Usage: Search <Service>                                                                                                                                                            
Search for the <Service>. The <Service> parameter is a 16-bit UUID of the                                                                                                          
service to search for. For some services it is possible to use service name                                                                                                        
instead of service UUID                                                                                                                                                            
                                                                                                                                                                                   
        <Service> - xxxx; 16-bit UUID of the service to search for                                                                                                                 
                                                                                                                                                                                   
        Known service names                                                                                                                                                        
        ===================                                                                                                                                                        
        CIP   - Common ISDN Access                                                                                                                                                 
        CTP   - Cordless Telephony                                                                                                                                                 
        DUN   - DialUp Networking                                                                                                                                                  
        FAX   - Fax                                                                                                                                                                
        FTRN  - OBEX File Transfer                                                                                                                                                 
        GN    - GN                                                                                                                                                                 
        HID   - Human Interface Device                                                                                                                                             
        HSET  - Headset                                                                                                                                                            
        LAN   - LAN Access Using PPP                                                                                                                                               
        NAP   - Network Access Point                                                                                                                                               
        OPUSH - OBEX Object Push                                                                                                                                                   
        SP    - Serial Port
ищем сериал порт

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

[13:14] /etc/bluetooth >sdpcontrol -a MPx220 search sp
[13:14] /etc/bluetooth >
и пусто :(
хотя вендовым активсинком порт эмулируется..

ищем дун

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

[13:14] /etc/bluetooth >sdpcontrol -a MPx220 search dun                                                                                                                            
                                                                                                                                                                                   
Record Handle: 0x00010004
Service Class ID List:
        Dial-Up Networking (0x1103)
Protocol Descriptor List:
        L2CAP (0x0100)
        RFCOMM (0x0003)
                Protocol specific parameter #1: u/int8/bool 7
Bluetooth Profile Descriptor List:
        Dial-Up Networking (0x1103) ver. 1.0
а с обычным рфкомом как быть? в принципе конфиг практически тотже, что и у zl0y-го оратора
с какими опциями еще поиграться?
есть смутные сомненья на предмет ИПв6..
судя по логу, если его отключить, то до "чата" вообще не доходит, и ИП-ку не отдаёт..
если ИПв6 заенаблить, тунель подымается, но после "чата" тут же отваливается..
такое впечатление, что есь некая опция (по поднятию тунеля и роутинга) именно с ИПв6 (с которым у меня чота в ядре "выключено")
ибо с 4-й версией даже до "тунеля" не доходит..
лог сего момента, к сожалению, дома забыл
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Гость
проходил мимо

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение Гость » 2011-01-11 16:00:16

по логу очевидно что проблема в выдачи ip
Jan 6 23:31:47 kaktus ppp[4151]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 90.143.58.57 -> 90.143.58.57): File exists
точнее это проблема ppp в неумении создавать такие тунели наверное
пробуй какойто айпи задать в ifaddr, а не 0 0

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-11 23:38:05

вот ппп.лог с выключенным ИПв6

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

Jan 12 01:35:24 kaktus ppp[3697]: Phase: Using interface: tun0
Jan 12 01:35:24 kaktus ppp[3697]: Phase: deflink: Created in closed state
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: default: enable force-scripts
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: default: enable dns
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set authname
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set authkey
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set phone *99#
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set dial ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\"IP\",\"internet\" OK \dATDT\T TIMEOUT 40 CONNECT
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: disable ipv6
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: disable ipv6cp
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: enable lqr
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set mtu 576
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set login
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: set timeout 100
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: enable dns
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: resolv rewrite
Jan 12 01:35:24 kaktus ppp[3697]: tun0: IPCP: Primary nameserver set to 83.149.49.238
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: add default HISADDR
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: PPP Started (direct mode).
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: bundle: Establish
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: deflink: closed -> opening
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: deflink: Connected!
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: deflink: opening -> dial
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Phone: *99#
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: deflink: Dial attempt 1 of 1
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Send: AT^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Expect(5): OK
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Received: AT^M^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Received: OK^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Send: ATE1Q0^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Expect(5): OK
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Received: ATE1Q0^M^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Received: OK^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Send: AT+CGDCONT=1,"IP","internet"^M
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Chat: Expect(5): OK
Jan 12 01:35:26 kaktus ppp[3697]: tun0: Chat: Received: AT+CGDCONT=1,"IP","internet"^M^M
Jan 12 01:35:26 kaktus ppp[3697]: tun0: Chat: Received: OK^M
Jan 12 01:35:26 kaktus ppp[3697]: tun0: Chat: Send: ATDT*99#^M
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Chat: Expect(40): CONNECT
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Chat: Received: ATDT*99#^M^M
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Chat: Received: CONNECT^M
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Phase: deflink: dial -> carrier
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Phase: deflink: carrier -> login
Jan 12 01:35:28 kaktus ppp[3697]: tun0: Phase: deflink: login -> lcp
Jan 12 01:35:28 kaktus ppp[3697]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 12 01:35:28 kaktus ppp[3697]: tun0: LCP: deflink: State change Initial --> Closed
Jan 12 01:35:28 kaktus ppp[3697]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: LayerStart
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MRU[4] 1500
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MAGICNUM[6] 0x8dedb595
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvConfigReq(59) state = Req-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: SendConfigAck(59) state = Req-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MAGICNUM 8dedb595
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MAGICNUM[6] 0x8dedb595
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  Magic 0x8dedb595 is REJected!
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MRU[4] 1500
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvCodeRej(99) state = Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MRU[4] 1500
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: LayerUp
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: SendIdent(1) state = Opened
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: bundle: Authenticate
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: deflink: his = PAP, mine = none
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: Pap Output:  ********
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Warning: Sending empty PAP authname!
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvCodeRej(100) state = Opened
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: Pap Input: SUCCESS ()
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: FSM: Using "deflink" as a transport
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: deflink: State change Initial --> Closed
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: deflink: LayerStart.
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: MPPE: Not usable without CHAP81
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP:  DEFLATE[4] win 15
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP:  PRED1[2] 
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: deflink: lcp -> open
Jan 12 01:35:29 kaktus ppp[3697]: tun0: Phase: bundle: Network
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP: FSM: Using "deflink" as a transport
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP: deflink: State change Initial --> Closed
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP: deflink: LayerStart.
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.0.0.252
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP:  PRIDNS[6] 83.149.49.238
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jan 12 01:35:29 kaktus ppp[3697]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: RecvProtocolRej(94) state = Opened
Jan 12 01:35:29 kaktus ppp[3697]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jan 12 01:35:29 kaktus ppp[3697]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: RecvConfigReq(64) state = Req-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.213.101.97
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: SendConfigAck(64) state = Req-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.213.101.97
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: LCP: deflink: SendIdent(2) state = Opened
Jan 12 01:35:30 kaktus ppp[3697]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:35:30 kaktus ppp[3697]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.0.0.252
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  PRIDNS[6] 83.149.49.238
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jan 12 01:35:30 kaktus ppp[3697]: tun0: LCP: deflink: RecvCodeRej(101) state = Opened
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.213.101.97
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] changing address: 10.0.0.252  --> 10.213.101.97
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: Primary nameserver set to 83.149.49.234
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: Secondary nameserver set to 83.149.49.238
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.213.101.97
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:35:30 kaktus ppp[3697]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP:  IPADDR[6] 10.213.101.97
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: LayerUp.
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: myaddr 10.213.101.97 hisaddr = 10.213.101.97
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 10.213.101.97 -> 10.213.101.97): File exists
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Error: ipcp_InterfaceUp: unable to set ip address
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: LayerDown: 10.213.101.97
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: SendTerminateReq(4) state = Opened
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: State change Opened --> Closing
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: SendIdent(3) state = Opened
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: RecvTerminateAck(4) state = Closing
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: LayerFinish.
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: Connect time: 2 secs: 0 octets in, 0 octets out
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: 0 packets in, 0 packets out
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Wed Jan 12 01:35:29 2011
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: State change Closing --> Closed
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: bundle: Terminate
Jan 12 01:35:31 kaktus ppp[3697]: tun0: CCP: deflink: State change Stopped --> Closed
Jan 12 01:35:31 kaktus ppp[3697]: tun0: CCP: deflink: State change Closed --> Initial
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: LayerDown
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: SendTerminateReq(3) state = Opened
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: State change Opened --> Closing
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: open -> lcp
Jan 12 01:35:31 kaktus ppp[3697]: tun0: IPCP: deflink: State change Closed --> Initial
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: RecvCodeRej(102) state = Closing
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: RecvTerminateAck(3) state = Closing
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: LayerFinish
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: State change Closing --> Closed
Jan 12 01:35:31 kaktus ppp[3697]: tun0: LCP: deflink: State change Closed --> Initial
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: Disconnected!
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: lcp -> logout
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: logout -> hangup
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: Disconnected!
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: Connect time: 7 secs: 590 octets in, 607 octets out
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: 15 packets in, 15 packets out
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase:  total 171 bytes/sec, peak 129 bytes/sec on Wed Jan 12 01:35:29 2011
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: deflink: hangup -> closed
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: bundle: Dead
Jan 12 01:35:31 kaktus ppp[3697]: tun0: Phase: PPP Terminated (normal).
а вот с включенным

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

Jan 12 01:34:02 kaktus ppp[3626]: Phase: Using interface: tun0
Jan 12 01:34:02 kaktus ppp[3626]: Phase: deflink: Created in closed state
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: default: enable force-scripts
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: default: enable dns
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set authname
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set authkey
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set phone *99#
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set dial ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\"IP\",\"internet\" OK \dATDT\T TIMEOUT 40 CONNECT
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: enable lqr
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set mtu 576
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set login
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: set timeout 100
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: enable dns
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: resolv rewrite
Jan 12 01:34:02 kaktus ppp[3626]: tun0: IPCP: Primary nameserver set to 83.149.49.238
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Command: mega: add default HISADDR
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Phase: PPP Started (direct mode).
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Phase: bundle: Establish
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Phase: deflink: closed -> opening
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Phase: deflink: Connected!
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Phase: deflink: opening -> dial
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Phone: *99#
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: deflink: Dial attempt 1 of 1
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Send: AT^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Expect(5): OK
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Received: AT^M^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Received: OK^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Send: ATE1Q0^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Expect(5): OK
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Received: ATE1Q0^M^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Received: OK^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Send: AT+CGDCONT=1,"IP","internet"^M
Jan 12 01:34:02 kaktus ppp[3626]: tun0: Chat: Expect(5): OK
Jan 12 01:34:04 kaktus ppp[3626]: tun0: Chat: Received: AT+CGDCONT=1,"IP","internet"^M^M
Jan 12 01:34:04 kaktus ppp[3626]: tun0: Chat: Received: OK^M
Jan 12 01:34:04 kaktus ppp[3626]: tun0: Chat: Send: ATDT*99#^M
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Chat: Expect(40): CONNECT
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Chat: Received: ATDT*99#^M^M
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Chat: Received: CONNECT^M
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Phase: deflink: dial -> carrier
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Phase: deflink: carrier -> login
Jan 12 01:34:05 kaktus ppp[3626]: tun0: Phase: deflink: login -> lcp
Jan 12 01:34:05 kaktus ppp[3626]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 12 01:34:05 kaktus ppp[3626]: tun0: LCP: deflink: State change Initial --> Closed
Jan 12 01:34:05 kaktus ppp[3626]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP: deflink: LayerStart
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  MRU[4] 1500
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  MAGICNUM[6] 0x92a31506
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Jan 12 01:34:06 kaktus ppp[3626]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvConfigReq(57) state = Req-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: SendConfigAck(57) state = Req-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  MAGICNUM 92a31506
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  MAGICNUM[6] 0x92a31506
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  Magic 0x92a31506 is REJected!
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  MRU[4] 1500
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvCodeRej(95) state = Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACFCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  PROTOCOMP[2]
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  ACCMAP[6] 0x00000000
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  MRU[4] 1500
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: LayerUp
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: SendIdent(1) state = Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: bundle: Authenticate
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: deflink: his = PAP, mine = none
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: Pap Output:  ********
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Warning: Sending empty PAP authname!
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvCodeRej(96) state = Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: Pap Input: SUCCESS ()
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: FSM: Using "deflink" as a transport
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: deflink: State change Initial --> Closed
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: deflink: LayerStart.
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: MPPE: Not usable without CHAP81
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP:  DEFLATE[4] win 15
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP:  PRED1[2] 
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: deflink: lcp -> open
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: bundle: Network
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP: FSM: Using "deflink" as a transport
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP: deflink: State change Initial --> Closed
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP: deflink: LayerStart.
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.0.0.252
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP:  PRIDNS[6] 83.149.49.238
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jan 12 01:34:07 kaktus ppp[3626]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvProtocolRej(90) state = Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jan 12 01:34:07 kaktus ppp[3626]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvProtocolRej(91) state = Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: RecvProtocolRej(92) state = Opened
Jan 12 01:34:07 kaktus ppp[3626]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Jan 12 01:34:07 kaktus ppp[3626]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: RecvConfigReq(62) state = Req-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: SendConfigAck(62) state = Req-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP: deflink: SendIdent(2) state = Opened
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.0.0.252
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  PRIDNS[6] 83.149.49.238
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP: deflink: RecvCodeRej(97) state = Opened
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] changing address: 10.0.0.252  --> 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: Primary nameserver set to 83.149.49.234
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: Secondary nameserver set to 83.149.49.238
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  IPADDR[6] 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  PRIDNS[6] 83.149.49.234
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP:  SECDNS[6] 83.149.49.238
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: LayerUp.
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: myaddr 10.203.222.79 hisaddr = 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 10.203.222.79 -> 10.203.222.79): File exists
Jan 12 01:34:08 kaktus ppp[3626]: tun0: Error: ipcp_InterfaceUp: unable to set ip address
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: LayerDown: 10.203.222.79
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: SendTerminateReq(4) state = Opened
Jan 12 01:34:08 kaktus ppp[3626]: tun0: IPCP: deflink: State change Opened --> Closing
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP: deflink: SendIdent(3) state = Opened
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP:  MAGICNUM 00000000
Jan 12 01:34:08 kaktus ppp[3626]: tun0: LCP:  TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP: deflink: RecvTerminateAck(4) state = Closing
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP: deflink: LayerFinish.
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP: Connect time: 2 secs: 0 octets in, 0 octets out
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP: 0 packets in, 0 packets out
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Wed Jan 12 01:34:07 2011
Jan 12 01:34:09 kaktus ppp[3626]: tun0: IPCP: deflink: State change Closing --> Closed
Jan 12 01:34:09 kaktus ppp[3626]: tun0: LCP: deflink: RecvCodeRej(98) state = Opened
Jan 12 01:34:10 kaktus ppp[3626]: tun0: LCP: deflink: RecvProtocolRej(93) state = Opened
Jan 12 01:34:10 kaktus ppp[3626]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Jan 12 01:34:10 kaktus ppp[3626]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Jan 12 01:34:12 kaktus ppp[3626]: tun0: LCP: deflink: RecvTerminateReq(47) state = Opened
Jan 12 01:34:12 kaktus ppp[3626]: tun0: LCP: deflink: LayerDown
Jan 12 01:34:12 kaktus ppp[3626]: tun0: LCP: deflink: SendTerminateAck(47) state = Opened
Jan 12 01:34:12 kaktus ppp[3626]: tun0: LCP: deflink: State change Opened --> Stopping
Jan 12 01:34:12 kaktus ppp[3626]: tun0: CCP: deflink: State change Stopped --> Closed
Jan 12 01:34:12 kaktus ppp[3626]: tun0: CCP: deflink: State change Closed --> Initial
Jan 12 01:34:12 kaktus ppp[3626]: tun0: Phase: deflink: open -> lcp
Jan 12 01:34:12 kaktus ppp[3626]: tun0: IPCP: deflink: State change Closed --> Initial
Jan 12 01:34:12 kaktus ppp[3626]: tun0: Phase: bundle: Terminate 
интерфейс подымается

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

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
	inet 10.203.222.79 --> 10.203.222.79 netmask 0xffffffff 
	Opened by PID 3626 
и тут же валится..

в первом случае (без ИПв6) вобще какието "круговые" процессы..
после этого

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

Jan 12 01:35:24 kaktus ppp[3697]: tun0: IPCP: Primary nameserver set to 83.149.49.238
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Command: mega: add default HISADDR
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: PPP Started (direct mode).
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: bundle: Establish
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: deflink: closed -> opening
Jan 12 01:35:24 kaktus ppp[3697]: tun0: Phase: deflink: Connected!
пора бы и "остановиться", роут и линк к точке уже есть..
но дальнейший пап\чап, похоже, всё ломает..

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

 mega:
 set authname
 set authkey
 set phone "*99#"
 set dial "ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \\dATDT\\T TIMEOUT 40 CONNECT"
 disable acfcomp protocomp vjcomp deflate pred1 pap chap mppe

 disable ipv6
 disable ipv6cp
# disable mppe

 enable lqr
 set mtu 576
 set login
 set timeout 100
 enable dns

 resolv rewrite
# set ifaddr 0 0 255.255.255.255
# set ifaddr 0/0 10.10.10.10
# set ifaddr 0 0 10.10.10.10
# set ifaddr 10.10.10.10 10.10.10.10 255.255.255.255
# set ifaddr 10.203.18.31 10.203.18.31 255.255.255.255
 add default HISADDR 
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Гость
проходил мимо

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение Гость » 2011-01-12 0:25:21

а ничего что в тунеле на обеих концах один и тот же айпи? а такого в ppp быть не может
ага в ppp
потому что в mpd это позволяет
но я не о том
вы ifaddr посмотрите что тулите
два одинаковых айпи на обе стороны тунеля
уже не зер гуд

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-12 10:38:39

да я уже думал об этом.. у других же как то работает..
а что толку статикой туда пихать адреса, ежели у оператора заточено всё по "виндовой схеме"

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

DNS-суффикс этого подключения . . :
Описание . . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Физический адрес. . . . . . . . . : 00-53-45-00-00-00
Dhcp включен. . . . . . . . . . . : нет
IP-адрес . . . . . . . . . . . . : 10.213.160.228
Маска подсети . . . . . . . . . . : 255.255.255.255
Основной шлюз . . . . . . . . . . : 10.213.160.228
DNS-серверы . . . . . . . . . . . : 83.149.49.234
83.149.49.238
NetBIOS через TCP/IP. . . . . . . : отключен

C:\>
Гость писал(а):потому что в mpd это позволяет
вы намекаете.. что можно как то заюзать.. аля rfmpd.. :oops:
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Гость
проходил мимо

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение Гость » 2011-01-12 15:16:02

да я уже думал об этом.. у других же как то работает..
а ничего что в тунеле на обеих концах один и тот же айпи? а такого в ppp быть не может
ага в ppp
потому что в mpd это позволяет

ps ну подвигайте подвигайте виндовые контейнеры фрюшным fdisk'ом ))

Аватара пользователя
dekloper
ст. лейтенант
Сообщения: 1302
Зарегистрирован: 2008-02-24 15:43:19
Откуда: давно здесь сидим..
Контактная информация:

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение dekloper » 2011-01-12 15:46:01

придется мозгом думать, ибо
у других же как то работает..
:drinks:
зы. я к тому, что не надо ради того чтоб побить винт напополам мучительно рыскать в поисках всяких мажиков, акрёнисов, пурагонов..
ТОВАгИЩИ! БгАТЬЯ И СЕСТгЫ! ДОЛОЙ гАВНОДУШИЕ!

Гость
проходил мимо

Re: UMC(MTS) and rfcomm_pppd via PDA

Непрочитанное сообщение Гость » 2011-01-12 15:51:26

либо фикси ppp что бы он умел это
либо пробуй ifaddr назначить правильно, а то ты его даже синтаксис не знаешь)

ps а ты почитай что он делал, ага. потому что бить винт fdiskОм когда у тебя еще один раздел фрибсд - может и нормально
но бить винт и вообще использовать какие то юниксовые манипуляции для виндовых разделов, я как раз не рекомендую
и так и написал, если на винте более чем одна ОС и эта ос винда - PQM80 и только
psps еще рекомендую не пользоватся менеджерами дисков в MacOSx - можете вообще остатся без разделов ))))