Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > [SOLVED] Please help in setting up Airtel MobileOffice

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 07-20-2008   #1 (permalink)
Just Joined!
 
Join Date: Jul 2008
Location: Delhi, India
Posts: 71
Send a message via Yahoo to thinkfree
[SOLVED] Please help in setting up Airtel MobileOffice

Please help. I am connecting using data cable on Airtel and wvdial.conf looks like that

Quote:
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Phone = *99#
ISDN = 0
Username = none
Init1 = ATZ
Password = none
Modem = /dev/ttyACM0
Baud = 46080
stupid mode = 1
But when I try to connect I get the following message in terminal

Quote:
--> 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 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Jul 18 12:30:44 2008
--> Pid of pppd: 5719
--> pppd: �[06][08]H�[06][08]
--> Using interface ppp0
--> pppd: �[06][08]H�[06][08]
--> pppd: �[06][08]H�[06][08]
--> pppd: �[06][08]H�[06][08]
--> pppd: �[06][08]H�[06][08]
--> pppd: �[06][08]H�[06][08]
--> pppd: �[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> Disconnecting at Fri Jul 18 12:30:51 2008
--> 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: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Disconnecting at Fri Jul 18 12:31:13 2008
The result is same for Ubuntu, Fedora and OpenSuse
thinkfree is offline  


Old 07-20-2008   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Does the system recognize it as a modem? Is the proper driver loading?

Enter this command in a terminal, and post the output here:
Code:
lsusb
You can also check the output of this command, after inserting the modem into a USB port:
Code:
dmesg
This will output system messages. To view the messages live, as they happen, use this command. You will need to be root, so use su or sudo;
Code:
tail -f /var/log/messages
Make note of the port it is assigning to the modem, such as 'ttyUSB0' or similar.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 07-20-2008   #3 (permalink)
Just Joined!
 
Join Date: Jul 2008
Location: Delhi, India
Posts: 71
Send a message via Yahoo to thinkfree
Yes it was being recognised as a modem, and even connectionn was made. But it disconnected just after connecting. After 3 days of hard work, I found the solution. Editing the wvdial file as following worked.

Quote:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
FlowControl = Hardware(CRTSCTS)
Dial Command = ATDT
SetVolume=0
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
Inherits = Modem0
ISDN = 0
Phone = *99***1#
Mode = 1
Password = b
Ask Password = 0
Username = a
stupid mode = 1
Compuserve = 0
Idle Seconds = 2000
Auto DNS = 1
thinkfree is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:00 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2