Wvdial не коннектится

Автор: firemen Дата: 17.01.2004 12:00 Помогите, wvdial гне хочет коннектится.
модем zyxel Omni 56k
В bash пишет:

ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDP006
--> Waiting for carrier.
ATDP006
CONNECT 115200/V.34 21600/MNP5
--> Carrier detected. Waiting for prompt.
If you not have access, please, close this window
User Access Verification
Username:
--> Looks like a login prompt.
--> Sending: demo
demo
Password:
--> Looks like a password prompt.
--> Sending: (password)
Username:
--> Looks like a login prompt.
--> Sending: demo
demo
Password:
--> Looks like a password prompt.
--> Sending: (password)
Username:
--> Looks like a login prompt.
--> Sending: demo
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sat Jan 17 11:13:49 2004
--> pid of pppd: 945
--> Disconnecting at Sat Jan 17 11:13:56 2004
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)

В wvdial.conf :

[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Dial Command = ATDP
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = 006
Username = demo
Password = demo
New PPPD = yes

Буду рад если поможете.
Re: wvdial не коннектится 17.01.2004 16:011ex Вариант для Zyzel UNO
---
$ cat /etc/wvdial.conf
[Dialer defaults]
Modem = /dev/usb/ttyACM0
Baud = 460800
SetVolume = 1
Dial Command = ATDP
Init1 = ATZ
FlowControl = CRTSCTS
Stupid Mode = 1
New PPPD = 1

[Dialer rol]
Phone = 7923333
Username = rol
Password = rol


$ cat /etc/ppp/options
/dev/modem
460800
asyncmap 00000000
debug
lock
modem
+pap
-chap
---
Bash не знает команды ATZ, важно как вы осуществляете дозвон,
1. wvdial
2. pppd ..wvdial
3. через скрипт ifup ppp0 итд
Все три варианта отлично работают Пример дозвона на rol-Москва по варианту 2:
---
$ pppd call rol
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDP7923333
--> Waiting for carrier.
ATDP7923333
CONNECT 460800/V.22b 2400/MNP5
--> Carrier detected. Chatmode finished.
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/modem
..................
Terminating on signal 2.
Script /etc/ppp/ip-down started (pid 1460)
Connect time 0.6 minutes.
Sent 148 bytes, received 142 bytes.
---
RSS-материал