[Comm] Подключение к dial-in серверу
Eugene Prokopiev
=?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Пн Янв 3 10:11:03 MSK 2005
Здравствуйте!
Давно на ALM 2.2 настраивал сервер dial-in.
Теперь подключаюсь к нему с помощью wvdial (из ALM 2.4):
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDP1234567
--> Waiting for carrier.
ATDP1234567
CONNECT 57600
--> Carrier detected. Waiting for prompt.
ALT Linux Master 2.2 (Orange)
Kernel 2.4.20-alt13-up on an i586 / l
**EMSI_REQA77E
[11]
myserver.myprodiver.ru login:
ALT Linux Master 2.2 (Orange)
Kernel 2.4.20-alt13-up on an i586 / l
**EMSI_REQA77E
[11]
myserver.myprodiver.ru login:
--> Looks like a login prompt.
--> Sending: john
john
Password:
--> Looks like a password prompt.
--> Sending: (password)
Last login: Fri Dec 31 15:35:22 2004 from localhost on ttyS1
[1b]>[john на myserver john]$
--> Hmm... a prompt. Sending "ppp".
ppp
-bash: ppp: command not found
[john на myserver john]$
--> Hmm... a prompt. Sending "ppp".
ppp
-bash: ppp: command not found
[john на myserver john]$
--> Hmm... a prompt. Sending "ppp".
ppp
-bash: ppp: command not found
[john на myserver john]$
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Mon Jan 3 09:46:17 2005
--> pid of pppd: 2191
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyS0
--> pppd: Serial line is looped back.
--> pppd: Connection terminated.
--> Disconnecting at Mon Jan 3 09:47:36 2005
--> The PPP daemon has died: Loopback detected (exit code = 17)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 17)
Однако ifup ppp0, настроенный при установке каким-то драком, работает:
Jan 3 09:43:39 athlon pppd[2079]: pppd 2.4.2 started by root, uid 0
Jan 3 09:43:39 athlon ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Jan 3 09:43:40 athlon chat[2090]: abort on (BUSY)
Jan 3 09:43:40 athlon chat[2090]: abort on (ERROR)
Jan 3 09:43:40 athlon chat[2090]: abort on (NO CARRIER)
Jan 3 09:43:40 athlon chat[2090]: abort on (NO DIALTONE)
Jan 3 09:43:40 athlon chat[2090]: abort on (NO ANSWER)
Jan 3 09:43:40 athlon chat[2090]: abort on (Invalid Login)
Jan 3 09:43:40 athlon chat[2090]: abort on (Login incorrect)
Jan 3 09:43:40 athlon chat[2090]: abort on (Username/Password Incorrect)
Jan 3 09:43:40 athlon chat[2090]: send (ATZ^M)
Jan 3 09:43:40 athlon chat[2090]: expect (OK)
Jan 3 09:43:40 athlon chat[2090]: ATZ^M^M
Jan 3 09:43:40 athlon chat[2090]: OK
Jan 3 09:43:40 athlon chat[2090]: -- got it
Jan 3 09:43:40 athlon chat[2090]: send (ATM0DT1234567^M)
Jan 3 09:43:40 athlon chat[2090]: expect (CONNECT)
Jan 3 09:43:40 athlon chat[2090]: ^M
Jan 3 09:43:58 athlon chat[2090]: ATM0DT1234567^M^M
Jan 3 09:43:58 athlon chat[2090]: CONNECT
Jan 3 09:43:58 athlon chat[2090]: -- got it
Jan 3 09:43:58 athlon chat[2090]: send (^M)
Jan 3 09:43:58 athlon chat[2090]: timeout set to 5 seconds
Jan 3 09:43:58 athlon chat[2090]: expect (~)
Jan 3 09:43:58 athlon chat[2090]: 115200^M
Jan 3 09:43:59 athlon chat[2090]: ^MALT Linux Master 2.2 (Orange)
Jan 3 09:43:59 athlon chat[2090]: ^MKernel 2.4.20-alt13-up on an i586 / l
Jan 3 09:43:59 athlon chat[2090]: ^M**EMSI_REQA77E^M^Q ^M^M
Jan 3 09:44:03 athlon chat[2090]: alarm
Jan 3 09:44:03 athlon chat[2090]: send (^M)
Jan 3 09:44:03 athlon chat[2090]: send (^M)
Jan 3 09:44:03 athlon pppd[2079]: Serial connection established.
Jan 3 09:44:04 athlon pppd[2079]: Using interface ppp0
Jan 3 09:44:04 athlon pppd[2079]: Connect: ppp0 <--> /dev/modem
Jan 3 09:44:08 athlon pppd[2079]: Remote message: Success
Jan 3 09:44:08 athlon pppd[2079]: PAP authentication succeeded
Jan 3 09:44:08 athlon pppd[2079]: Deflate (15) compression enabled
Jan 3 09:44:08 athlon pppd[2079]: local IP address 192.168.201.2
Jan 3 09:44:08 athlon pppd[2079]: remote IP address 192.168.201.180
Jan 3 09:44:08 athlon pppd[2079]: primary DNS address 192.168.101.180
Jan 3 09:44:08 athlon pppd[2079]: secondary DNS address 192.168.101.180
Jan 3 09:44:27 athlon pppd[2079]: Terminating on signal 15.
Jan 3 09:44:27 athlon pppd[2079]: Connection terminated.
Jan 3 09:44:27 athlon pppd[2079]: Connect time 0.4 minutes.
Jan 3 09:44:27 athlon pppd[2079]: Sent 102 bytes, received 96 bytes.
Jan 3 09:44:27 athlon pppd[2079]: Hangup (SIGHUP)
Jan 3 09:44:27 athlon pppd[2079]: Connect time 0.4 minutes.
Jan 3 09:44:27 athlon pppd[2079]: Sent 102 bytes, received 96 bytes.
Jan 3 09:44:27 athlon pppd[2079]: Exit.
Jan 3 09:46:17 athlon pppd[2191]: pppd 2.4.2 started by root, uid 0
Jan 3 09:46:17 athlon pppd[2191]: Using interface ppp0
Jan 3 09:46:17 athlon pppd[2191]: Connect: ppp0 <--> /dev/ttyS0
Jan 3 09:47:29 athlon pppd[2191]: Serial line is looped back.
Jan 3 09:47:35 athlon pppd[2191]: Connection terminated.
Jan 3 09:47:35 athlon pppd[2191]: Exit.
При дозвоне к провайдеру работают и wvdial и ifup ppp0
Вопрос: где и что править? На сервере dial-in? Какие конфиги показать?
--
С уважением, Прокопьев Евгений
Подробная информация о списке рассылки community