View Single Post
Old 30-10-2006, 07:22 AM   #18 (permalink)
Desi-Tek.com
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 362
Default Re: dialup connection in ubuntu

but it works fine on fedora. and ubuntu has problem with SLIP/PPP (Point-to-Point Protocol ). and i used almost all the dialer available on Ubuntu but none of them worked for me. it only allow me to access net for 1-2 minute than it gives up.
and i am facing this problem only with gprs. never tested with external dialup modem.
and this is the output of wvdialconf
Code:
 [root@localhost Dheeraj]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1   S2   S3   S4   S5   S6   S7   S8
Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31  S32
Port Scan<*1>: S33  S34  S35  S36  S37  S38  S39  S40
Port Scan<*1>: S41  S42  S43  S44  S45  S46  S47  S48
Port Scan<*1>: S49  S50  S51  S52  S53  S54  S55  S56
Port Scan<*1>: S57  S58  S59  S60  S61  S62  S63  S64
Port Scan<*1>: S65  S66  S67  S68  S69  S70  S71  S72
Port Scan<*1>: S73  S74  S75
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: Modem Identifier: ATI -- LG Electronics Inc.
ttyUSB1<*1>: Speed 230400: AT --
ttyUSB1<*1>: Speed 230400: AT --
ttyUSB1<*1>: Speed 230400: AT -- \uffff\uffff
ttyUSB1<*1>: Max speed is 115200; that should be safe.
ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB1.
Modem configuration written to /etc/wvdial.conf.
ttyUSB1<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
__________
Ill be ver very thankfull if u will solve this problem
Code:
 root@avtar:/home/dheeraj# wvdial
--> WvDial: Internet dialer version 1.55
--> 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
--> Sending: AT+CGDCONT=1,"IP","airtelgprs.com";
AT+CGDCONT=1,"IP","airtelgprs.com";
OK
--> Modem initialized.
--> Sending: ATDT*99***2#
--> Waiting for carrier.
ATDT*99***2#
CONNECT
~[7f]}#@!}!}8} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"[1a]e~~~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Oct 28 07:10:25 2006
--> Pid of pppd: 8791
--> Using interface ppp0
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> local  IP address 10.190.202.94
--> pppd: ��[05][08]�[01][06][08]
--> remote IP address 10.0.0.1
--> pppd: ��[05][08]�[01][06][08]
--> primary   DNS address 202.56.230.5
--> pppd: ��[05][08]�[01][06][08]
--> secondary DNS address 202.56.240.5
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> Connect time 2.0 minutes.
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> pppd: ��[05][08]�[01][06][08]
--> Disconnecting at Sat Oct 28 07:12:28 2006
--> The PPP daemon has died: Lack of LCP echo responses (exit code = 15)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> Provider is overloaded(often the case) or line problem.
--> The PPP daemon has died. (exit code = 15)
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com

Last edited by Desi-Tek.com; 30-10-2006 at 07:22 AM. Reason: Automerged Doublepost
Desi-Tek.com is offline