lukassg
(usa OpenSuSE)
Enviado em 30/04/2009 - 00:05h
Olá eu uso openSUSE 11, e tenho um modem USB ZTE MF636, e não estou conseguindo conectar, ja tentei varios tutoriais, mas não deram certo. Aki estão algumas das condições atuais da configuração que tentei fazer:
15-zte-mf636.rules
ACTION!="add", GOTO="ZTE_End"
# Is this the ZeroCD device?
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
# Is this the actual modem?
SUBSYSTEM=="usb", SYSFS{idProduct}=="0031",
SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"
LABEL="ZTE_ZeroCD"
# This is the ZeroCD part of the card, remove
# the usb_storage kernel module so
# it does not get treated like a storage device
#RUN+="/sbin/rmmod usb_storage"
RUN+="/usr/sbin/usb_modeswitch"
LABEL="ZTE_Modem"
# This is the Modem part of the card, let's
# load usbserial with the correct vendor
# and product ID's so we get our usb serial devices
RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0031",
# Make users belonging to the dialout group
# able to use the usb serial devices.
MODE="660", GROUP="dialout"
#MODE="660", GROUP="tty"
LABEL="ZTE_End"
wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB4
Baud = 921600
DialCommand = ATDT
Check Def Route = on
FlowControl = Hardware(CRTSCTS)
Username = brt
Password = brt
Phone = *99***1#
new PPPD = yes
Stupid mode = 1
Auto Reconnect = on
Auto DNS = on
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","brt.br"
Init4 = AT+CFUN=5
ISDN = 0
Modem Type = Analog Modem
A situação quando conecto o modem
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: new high speed USB device using ehci_hcd and address 30
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: configuration #1 chosen from 1 choice
Apr 29 21:43:40 linux-tk2i kernel: usbserial_generic 2-5:1.0: generic converter detected
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: generic converter now attached to ttyUSB0
Apr 29 21:43:40 linux-tk2i kernel: usbserial_generic 2-5:1.1: generic converter detected
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: generic converter now attached to ttyUSB2
Apr 29 21:43:40 linux-tk2i kernel: usbserial_generic 2-5:1.2: generic converter detected
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: generic converter now attached to ttyUSB3
Apr 29 21:43:40 linux-tk2i kernel: usbserial_generic 2-5:1.3: generic converter detected
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: generic converter now attached to ttyUSB4
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: New USB device found, idVendor=19d2, idProduct=0031
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: Product: ZTE CDMA Technologies MSM
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: Manufacturer: ZTE,Incorporated
Apr 29 21:43:40 linux-tk2i kernel: usb 2-5: SerialNumber: 1234567890ABCDEF
Apr 29 21:44:20 linux-tk2i sudo: root : TTY=pts/5 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/wvdial
Apr 29 21:44:21 linux-tk2i pppd[6996]: unrecognized option 'passwordfd'
(tentei usar o MCManager da VIVO mas deu esse “unrecognized option 'passwordfd'”
a execução do wvdial
linux-tk2i:~ # sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","brt.br"
AT+CGDCONT=1,"IP","brt.br"
OK
--> Sending: AT+CFUN=5
AT+CFUN=5
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Apr 29 21:44:21 2009
--> Pid of pppd: 6996
--> Disconnecting at Wed Apr 29 21:44:21 2009
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
alguem pode me ajudar, ja to ficando desesperado to a horas tentando configurar???