LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Connected To Mobile Using Wvdial But Can't Browse Internet in linux? (http://www.linuxquestions.org/questions/linux-wireless-networking-41/connected-to-mobile-using-wvdial-but-cant-browse-internet-in-linux-4175436117/)

suvankar 11-07-2012 12:37 PM

Connected To Mobile Using Wvdial But Can't Browse Internet in linux?
 
Dear Sir/Madam
I’ve spent nearly on week to figure out how to configure my USB modem
to start surfing on internet.Obviously i don’t know what i’m doing so i need some help.
I’m using MANDRIVA2010-i586 operating system.

I’m getting an error message when trying to connect internet using wvdial.

Now when i enter this command


[root@localhost ~]# wvdialconf create


i get a long output like


Scanning your serial ports for a modem.

Modem Port Scan: Scanning ttyS1 first, /dev/modem is a link to it.

Modem Port Scan: S1

ttyS0: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud

ttyS0: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud

ttyS0: ATQ0 V1 E1 — and failed too at 115200, giving up.

Modem Port Scan: S2 S3

WvModem: Cannot get information for serial port.

ttyACM0: ATQ0 V1 E1 — OK

ttyACM0: ATQ0 V1 E1 Z — OK

ttyACM0: ATQ0 V1 E1 S0=0 — OK

ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK

ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK

ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK

ttyACM0: Modem Identifier: ATI — Samsung GT-S3500i

ttyACM0: Speed 4800: AT — OK

ttyACM0: Speed 9600: AT — OK

ttyACM0: Speed 19200: AT — OK

ttyACM0: Speed 38400: AT — OK

ttyACM0: Speed 57600: AT — OK

ttyACM0: Speed 115200: AT — OK

ttyACM0: Speed 230400: AT — OK

ttyACM0: Speed 460800: AT — OK

ttyACM0: Max speed is 460800; that should be safe.

ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.

ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0?



Now when i enter wvdial i got following error from the terminal


[root@localhost ~]# wvdial

–> WvDial: Internet dialer version 1.60

–> Cannot get information for serial port.

–> Initializing modem.

–> Sending: AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

OK

–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

OK

–> Modem initialized.

–> Sending: ATDT*99***1#

–> Waiting for carrier.

ATDT*99***1#

CONNECT

–> Carrier detected. Waiting for prompt.

–> Don’t know what to do! Starting pppd and hoping for the best.

–> Starting pppd at Sun Oct 28 18:16:03 2012

–> Pid of pppd: 13344

–> Using interface ppp0

–> pppd: Connect: ppp0 /dev/ttyACM0

–> pppd: LCP: timeout sending Config-Requests

–> pppd: Connection terminated.

–> pppd: Modem hangup

–> Disconnecting at Sun Oct 28 18:16:33 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

–> Cannot get information for serial port.

–> Initializing modem.

–> Sending: AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”
–> Sending: ATQ0

–> Re-Sending: AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

–> Modem not responding.

–> Cannot get information for serial port.

–> Initializing modem.

–> Sending: AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

–> Sending: ATQ0

–> Re-Sending: AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

–> Modem not responding.

–> Disconnecting at Sun Oct 28 18:17:08 2012




And my wvdial.conf looks like



[Dialer Defaults]

Modem = /dev/ttyACM0

Baud = 460800

Init1 = AT+CGDCONT=1,”IP”,”TATA.DOCOMO.INTERNET”

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

ISDN = 0

Modem Type = USB Modem

Phone = *99#

Username = SUVANKAR

Password = 1234

Stupid Mode = 1


So, I request you,please give a solution in simple language so that i can solve this problem easily.thank you for your time and consideration.

druuna 11-08-2012 07:17 AM

Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread: https://www.linuxquestions.org/quest...et-4175436115/

Reported for closure.


All times are GMT -5. The time now is 03:24 AM.