Войти

Показать полную графическую версию : Вопросы после установки(настройка модема, загрузчик, иксы)


Страниц : 1 [2]

Igor_I
23-07-2007, 00:04
Прописываю параметры в /etc/ppp/ppp.conf

Цитата:В логах тоже ничего не понимаю, только вижу есть соединение или нет.

Каким образом?
Смотрю, есть ответ от роутера или нет.

Jul 18 18:53:05 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "GWH")
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: deflink: carrier -> login
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: deflink: login -> lcp
Jul 18 18:53:06 igorserver ppp[417]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: bundle: Authenticate
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: Chap Input: CHALLENGE (16 bytes)
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: Chap Output: RESPONSE (0000000)
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: Chap Input: SUCCESS (Welcome to use Quidway ROUTER, Huawei Tech.) - ответ от роутера
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: deflink: lcp -> open
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: bundle: Network

mrcnn
23-07-2007, 09:53
Jul 18 18:53:06 igorserver ppp[417]: tun0: Phase: deflink: login -> lcp

А если после этого появляется злобная надпись "Disconnected" , что тогда делать? Чем она может быть вызвана?

Igor_I
23-07-2007, 20:15
А если после этого появляется злобная надпись "Disconnected" , что тогда делать? >>>
Не знаю.


Поставил расширенные опции лога.

set log Phase Chat LCP IPCP CCP tun command


Jul 23 20:07:06 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "GWH")
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: deflink: carrier -> login
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: deflink: login -> lcp
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: FSM: Using "deflink" as a transport
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: State change Initial --> Closed
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: State change Closed --> Stopped
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: RecvConfigReq(0) state = Stopped
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MRU[4] 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MAGICNUM[6] 0xc9b316b3
Jul 23 20:07:07 igorserver ppp[417]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: ACFCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: PROTOCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MRU[4] 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MAGICNUM[6] 0xa31de169
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: SendConfigAck(0) state = Stopped
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MRU[4] 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MAGICNUM[6] 0xc9b316b3
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: LayerStart
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: ACFCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: PROTOCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MRU[4] 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MAGICNUM[6] 0xa31de169
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: ACFCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: PROTOCOMP[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MRU[4] 1492
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: MAGICNUM[6] 0xa31de169
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jul 23 20:07:07 igorserver ppp[417]: tun0: LCP: deflink: LayerUp
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: bundle: Authenticate
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: Chap Input: CHALLENGE (16 bytes)
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: Chap Output: RESPONSE (0000000)
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: Chap Input: SUCCESS (Welcome to use Quidway ROUTER, Huawei Tech.^M )
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: FSM: Using "deflink" as a transport
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: deflink: State change Initial --> Closed
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: deflink: LayerStart.
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: MPPE: Not usable without CHAP81
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: DEFLATE[4] win 15
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: PRED1[2]
Jul 23 20:07:07 igorserver ppp[417]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: deflink: lcp -> open
Jul 23 20:07:07 igorserver ppp[417]: tun0: Phase: bundle: Network
Jul 23 20:07:07 igorserver ppp[417]: tun0: IPCP: FSM: Using "deflink" as a transport
Jul 23 20:07:07 igorserver ppp[417]: tun0: IPCP: deflink: State change Initial --> Closed
Jul 23 20:07:07 igorserver ppp[417]: tun0: IPCP: deflink: LayerStart.
Jul 23 20:07:07 igorserver ppp[417]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed

mrcnn
24-07-2007, 09:52
как файл в винду из фри засунуть не знаю (надо USB флэшку прикручивать, а я даже модем прикрутить не могу), переписывал из тетради, поэтому могут быть неточности (например, маленькие буквы вместо больших, или наоборот, отсутствие тире и т.п.

Phase: using interface: tun0
Phase: deflink: Created in closed state
tun0: command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
tun0: command: adsl: set authname имя
tun0: command: adsl: set authkey код
tun0: command: adsl: set device ***
tun0: command: adsl: accept chap
tun0: command: adsl: speed sync
tun0: command: adsl: timeout 0
tun0: command: adsl: redial 15 10000
tun0: command: adsl: set dial
tun0: command: adsl: add default HISADDR
tun0: command: adsl: enable dns
tun0: Phase: PPP started (ddial mode)
tun0: Phase: bundle:Establish
tun0: Phase: deflink: closed->opening
tun0: Phase: deflink: Connected!
tun0: Phase: deflink: opening->dial
tun0: Phase: deflink: dial->carrier
tun0: Phase: deflink:carrier->login
tun0: Phase: deflink:login->lcp
tun0: LCP: deflink: State change: Initial->Closed
tun0: LCP: deflink: State change: Closed->Stopped
tun0: LCP: deflink: LayerStart
tun0: LCP: deflink: SentConfigReq(1)state=stopped
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM [6] 0x00a49497
tun0: LCP: deflink: State change: Stopped->Req-sent
tun0: LCP: deflink: Send configreq(1) State: Req-sent
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM [6] 0x00a49497
tun0: LCP: deflink: Send configreq(1) State: Req-sent
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM [6] 0x00a49497
tun0: LCP: deflink: Send configreq(1) State: Req-sent
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM [6] 0x00a49497
tun0: LCP: deflink: Send configreq(1) State: Req-sent
tun0: LCP: MRU[4] 1500
tun0: LCP: MAGICNUM [6] 0x00a49497
tun0: LCP: deflink: Send configreq(1) State: Req-sent
tun0: LCP: deflink: LayerFinish
tun0: LCP: deflink: State change: Req-sent->Stopped
tun0: LCP: deflink: State change: Stopped->Closed
tun0: LCP: deflink: State change: Closed->Initial
tun0: Phase: deflink: Disconnected
tun0: Phase: deflink: lcp->logout
tun0: Phase: deflink: logout->hangup
tun0: Phase: deflink: Connect time: 16 secs. 0 octets in, 90 octets out
tun0: Phase: deflink: total 5 bytes/sec, peak 7 bytes/sec on
tun0: Phase: deflink: HUPing 688
tun0: Phase: deflink: hangup->opening

повтор цикла


В чем проблема?

mrcnn
24-07-2007, 13:31
Кажется, понял, почему не коннектится. Нужно настроить соединение, используя RFC2516, а eciadsl использует RFC2364 и RFC1483.

разработчики драйверов пишут

================================================================================
Q: My provider use PPPoE (RFC1483, RFC2516), how can I manage to configure
this?

--------------------------------------------------------------------------------
A: First, don't use kernel's PPPoE support. It's experimental in 2.4 kernels
and used by default in Debian kernel. Use rp-pppoe instead as a userland
tool to manage the PPP connection. See 5.3.1 and 5.4.

Of course, the PPP mode defined in the ECIADSL config must be one of the
supported PPPoE modes (see `eciadsl-pppoeci --list`).

You can find rp-pppoe here:
http://www.roaringpenguin.com/pppoe

Install and configure it so that it uses tap0 as ETH interface.

Run eciadsl-start, then use rp-pppoe to enable the PPP line (see rp-pppoe
documentation).

rp-pppoe в freebsd не компилится. я в позапрошлое воскресенье пробовал и не получилось.
что можно использовать вместо пакета rp-pppoe?

Проблема сводится к поиску средства, с помощью которого можно настроить соединение с использованием RFC2516, но при этом работа с модемом идет с помощью драйвера eciadsl

Igor_I
24-07-2007, 19:21
надо USB флэшку прикручивать >>>
http://www.bsdportal.ru/viewtopic.php?t=13874&highlight=flash
http://www.bsdportal.ru/viewtopic.php?t=13740&highlight=flash




© OSzone.net 2001-2012