[Ilugc] Internet connection using Aircel GSM Mobile

  • From: indianathann@xxxxxxxxx (பத்மநாதன்)
  • Date: Thu Jun 18 12:27:03 2009

Dear LUGs,
                    I have an Motorola L9 Mobile. I activated aircel
mobile Internet. They offer 3 day unlimited browsing for Rs.14/- and
30 days unlimited browsing for Rs. 98/-. Aircel people gave me an
settings to configure mobile. I made it and working in mobile is ok.
                    I am having Ubuntu 8.10 and Mandriva 2009 in my
PC. I tried to configure internet connection using weaver Dial
(wvdial). But i couldn't made it. I called customer care and asked
about settings. The are helpless in Linux. But settings are confirmed
correct. I disabled firewall also. but the result is negative. The
setting details and log messages are as below.

/etc/wvdial.conf is as below

[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Phone = *99***1#
ISDN = 0
Username = <>
Init1 = ATZ
Password = <>
Modem = /dev/ttyACM0
Baud = 460800
Stupid Mode = 1
ISDN = 0
AT+CGDCONT=1,"IP","aircelgprs.pr"," ",0,0
Ask Password = 0
auto DNS = 1

sudo wvdial shows as below

padhu@padhu-desktop:~$ sudo wvdial
--> 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***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Jun 18 11:32:10 2009
--> Pid of pppd: 9216
--> Using interface ppp0
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> Disconnecting at Thu Jun 18 11:32:15 2009
--> 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
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> 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***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Jun 18 11:32:20 2009
--> Pid of pppd: 9219
--> Using interface ppp0
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> pppd: ?AW[08] 8W[08]
--> Disconnecting at Thu Jun 18 11:32:25 2009
--> 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 10 seconds
--> 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.
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Thu Jun 18 11:32:27 2009


/var/log/messages  logs during this period.is as below

Jun 18 11:31:32 padhu-desktop kernel: [ 7731.496017] usb 4-2: new full
speed USB device using uhci_hcd and address 9
Jun 18 11:31:32 padhu-desktop kernel: [ 7731.693662] usb 4-2:
configuration #1 chosen from 1 choice
Jun 18 11:31:32 padhu-desktop kernel: [ 7731.706183] cdc_acm 4-2:1.0:
ttyACM0: USB ACM device
Jun 18 11:32:10 padhu-desktop pppd[9216]: pppd 2.4.4 started by root, uid 0
Jun 18 11:32:10 padhu-desktop pppd[9216]: Using interface ppp0
Jun 18 11:32:10 padhu-desktop pppd[9216]: Connect: ppp0 <--> /dev/ttyACM0
Jun 18 11:32:10 padhu-desktop pppd[9216]: PAP authentication succeeded
Jun 18 11:32:15 padhu-desktop pppd[9216]: LCP terminated by peer
(^E^@^@^J^@^@^@^@^@^@)
Jun 18 11:32:15 padhu-desktop pppd[9216]: Modem hangup
Jun 18 11:32:15 padhu-desktop pppd[9216]: Connection terminated.
Jun 18 11:32:15 padhu-desktop pppd[9216]: Exit.
Jun 18 11:32:20 padhu-desktop pppd[9219]: pppd 2.4.4 started by root, uid 0
Jun 18 11:32:20 padhu-desktop pppd[9219]: Using interface ppp0
Jun 18 11:32:20 padhu-desktop pppd[9219]: Connect: ppp0 <--> /dev/ttyACM0
Jun 18 11:32:20 padhu-desktop pppd[9219]: PAP authentication succeeded
Jun 18 11:32:25 padhu-desktop pppd[9219]: LCP terminated by peer
(^E^@^@^J^@^@^@^@^@^@)
Jun 18 11:32:25 padhu-desktop pppd[9219]: Modem hangup
Jun 18 11:32:25 padhu-desktop pppd[9219]: Connection terminated.
Jun 18 11:32:25 padhu-desktop pppd[9219]: Exit.



I am eagerly waiting for your reply. Thanks in advance.

-- 

Padhu,
Pollachi.


Knowledge is power !

"Be an Energy (Opti)mizer - Use Electricity Wiser"

Other related posts: