Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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.

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.