JR41 n00b
Joined: 16 Mar 2012 Posts: 6
|
Posted: Sat May 05, 2012 3:03 pm Post subject: 3G USB Modem PPP Error |
|
|
Hi,
I have a problem where I have setup and config my 3G USB Modem stick with Usb_modeswitch. It seems to detect the modem correctly, however when I type wvdialer, it stops with the following error:
Quote: |
wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 +FCLASS=0
ATQ0 V1 E1 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
AT+CGDCONT=1,"IP","internet";
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 3600000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat May 5 16:28:31 2012
--> Pid of pppd: 2309
--> Using interface ppp0
--> Disconnecting at Sat May 5 16:29:01 2012
--> 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.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Disconnecting at Sat May 5 16:29:23 2012
|
Here is my wvdialer config file:
Quote: |
cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Pin = 6108
Phone = *99#
Modem = /dev/ttyUSB1
Dial Command = ATDT
Baud = 460800
Username = username
Password = password
Phone = *99#
Stupid Mode = 1
Init1 = ATZ
Init3 = AT+CGDCONT=1,"IP","internet";
|
Here is my Usb_modeswitch.conf file
Quote: |
~ # cat /etc/usb_modeswitch.conf
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
#
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" and probably others
EnableLogging=0
#NetMan Bus 002 Device 006: ID 19d2:2003 ONDA Communication S.p.A. / Bus 002 Device 002: ID 19d2:2003 ONDA Communication S.p.A.
DefaultVendor= 0x19d2
DefaultProduct=0x2003
TargetVendor= 0x19d2
TargetProductList="2003"
CheckSuccess=20
MessageEndpoint= 0x01
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
|
And the lsusb info;
Quote: |
lsusb
Bus 002 Device 004: ID 19d2:2003 ONDA Communication S.p.A.
|
Any help will be appreciated, since I have no idea as to why it is giving me this problem!
Thanks
__________________________
I found the problem! The modem was no longer on ttyUSB1 but on /dev/ttyUSB3! After changing my wvdialer.conf to the the right usb port it connected!!
Thank you! |
|