LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-07-2012, 12:37 PM   #1
suvankar
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 11-08-2012, 07:17 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I browse the internet on my mobile phone, using my PC/Laptop's internet connec mohitdaksh Ubuntu 2 12-05-2010 01:28 AM
GSM mobile internet connection using wvdial basheer Ubuntu 1 05-07-2010 05:59 AM
Connected to Internet w/wvdial but ppp fails to 'negotiate' Guvvy Linux - Newbie 11 02-09-2005 10:14 AM
redhat is connected to the internet, but i cant browse the web??!?! please help myk3 Linux - Networking 4 11-17-2003 12:19 PM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration