Имеется модем ZTE MF 112
Пытаюсь настроить интернет на Slackware 13.37 RC3 linux-kernel-2.6.38.3
Вывод /var/log/messages
May 15 14:35:02 laptop kernel: usb 2-1: new high speed USB device using ehci_hcd and address 3
May 15 14:35:02 laptop kernel: usb 2-1: New USB device found, idVendor=19d2, idProduct=2000
May 15 14:35:02 laptop kernel: usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
May 15 14:35:02 laptop kernel: usb 2-1: Product: ZTE WCDMA Technologies MSM
May 15 14:35:02 laptop kernel: usb 2-1: Manufacturer: ZTE,Incorporated
May 15 14:35:02 laptop kernel: usb 2-1: SerialNumber: MF1800MTSD010000
May 15 14:35:02 laptop kernel: scsi7 : usb-storage 2-1:1.0
May 15 14:35:03 laptop usb_modeswitch: switching 19d2:2000 (ZTE,Incorporated: ZTE WCDMA Technologies MSM)
May 15 14:35:09 laptop kernel: usb 2-1: USB disconnect, address 3
May 15 14:35:14 laptop kernel: usb 2-1: new high speed USB device using ehci_hcd and address 4
May 15 14:35:14 laptop kernel: usb 2-1: New USB device found, idVendor=19d2, idProduct=2003
May 15 14:35:14 laptop kernel: usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
May 15 14:35:14 laptop kernel: usb 2-1: Product: ZTE WCDMA Technologies MSM
May 15 14:35:14 laptop kernel: usb 2-1: Manufacturer: ZTE,Incorporated
May 15 14:35:24 laptop kernel: usbcore: registered new interface driver usbserial
May 15 14:35:24 laptop kernel: USB Serial support registered for generic
May 15 14:35:24 laptop kernel: usbcore: registered new interface driver usbserial_generic
May 15 14:35:24 laptop kernel: usbserial: USB Serial Driver core
May 15 14:35:24 laptop kernel: USB Serial support registered for GSM modem (1-port)
May 15 14:35:24 laptop kernel: option 2-1:1.0: GSM modem (1-port) converter detected
May 15 14:35:24 laptop kernel: usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
May 15 14:35:24 laptop kernel: option 2-1:1.1: GSM modem (1-port) converter detected
May 15 14:35:24 laptop kernel: usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
May 15 14:35:24 laptop kernel: option 2-1:1.2: GSM modem (1-port) converter detected
May 15 14:35:24 laptop kernel: usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
May 15 14:35:24 laptop kernel: option 2-1:1.3: GSM modem (1-port) converter detected
May 15 14:35:24 laptop kernel: usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
May 15 14:35:24 laptop kernel: usbcore: registered new interface driver option
May 15 14:35:24 laptop kernel: option: v0.7.2:USB Driver for GSM modems
Установить соединение пытаюсь с помощью wvdial.
Фрагмент файла /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1, "IP", "internet.mts.ru"
New PPPD = 1
Modem = /dev/ttyUSB1
Phone = *99*#
Idle Seconds = 300
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 9600
Auto DNS = 1
Dial Command = ATDT
Ask Password = 0
ISDN = 0
Username = mts
Password = mts
Cформирован посредством wvdialconf
ozs@laptop:~$ sudo wvdialconf
Password:
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyUSB1<*1>: ATQ0 V1 E1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: ZTE CORPORATION
ttyUSB1<*1>: Speed 9600: AT -- OK
ttyUSB1<*1>: Max speed is 9600; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyUSB3<*1>: ATQ0 V1 E1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB3<*1>: Modem Identifier: ATI -- Manufacturer: ZTE CORPORATION
ttyUSB3<*1>: Speed 9600: AT -- OK
ttyUSB3<*1>: Max speed is 9600; that should be safe.
ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB1.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
При попытки подключения посредством wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1, "IP", "internet.mts.ru"
AT+CGDCONT=1, "IP", "internet.mts.ru"
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT*99*#
--> Waiting for carrier.
ATDT*99*#
CONNECT 7200000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun May 15 15:26:43 2011
--> Pid of pppd: 640
--> Using interface ppp0
--> pppd: P���[10]�[06][08]Ȧ[06][08][01]
--> pppd: P���[10]�[06][08]Ȧ[06][08][01]
--> pppd: P���[10]�[06][08]Ȧ[06][08][01]
--> pppd: P���[10]�[06][08]Ȧ[06][08][01]
--> pppd: P���[10]�[06][08]Ȧ[06][08][01]
--> Disconnecting at Sun May 15 15:27:14 2011
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
В /var/log/messages<br>
May 15 15:26:44 laptop kernel: PPP generic driver version 2.4.2
May 15 15:26:44 laptop pppd[640]: pppd 2.4.5 started by root, uid 0
May 15 15:26:44 laptop pppd[640]: Using interface ppp0
May 15 15:26:44 laptop pppd[640]: Connect: ppp0 <--> /dev/ttyUSB1
May 15 15:27:14 laptop pppd[640]: Connection terminated.
May 15 15:27:14 laptop pppd[640]: Modem hangup
May 15 15:27:14 laptop pppd[640]: Exit.