November 22, 2024, 09:30:16 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0  (Read 14680 times)

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Sir
I am facing Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0.At first i configured the /etc/wvdial.conf file as bellow

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1
ISDN = 0
Auto DNS = 1
Modem Type = USB Modem
Phone = #777
Username = internet
Password = internet
Dial Command = ATDT
Ask Password = 0
Stupid Mode = 1

then i run command as bellow
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.54.0
--> 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+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Mar 14 10:37:08 2009
--> pid of pppd: 4467
--> Using interface ppp0
--> pppd: to DNS
--> pppd: to DNS
--> pppd: to DNS
--> pppd: to DNS
--> local  IP address 59.161.60.75
--> pppd: to DNS
--> remote IP address 172.23.119.14
--> pppd: to DNS
--> primary   DNS address 202.54.29.5
--> pppd: to DNS
--> secondary DNS address 202.54.10.2
--> pppd: to DNS

Sir it's become hang hare.So kindly help me by solving this hanging situation.I will be thankful to you.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #1 on: March 17, 2009, 06:10:36 PM »
Hanged ?
Means you are not to browse internet after this ?

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #2 on: March 18, 2009, 06:10:28 AM »
Yes "hang" i want to mean it that it is not proceed and remain same and i am not able to access the internet.

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #3 on: March 18, 2009, 09:32:26 AM »
Yes sir I mean that it is not proceed after that and remain same and i could not access the internet.Sir please help me by solving the problem.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #4 on: March 18, 2009, 04:55:30 PM »
Try again running wvdial and from another terminal window, give me output of "ifconfig"


Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #5 on: March 19, 2009, 08:46:54 AM »
After run ifconfig it gives ip address as
[root@localhost ~]# ifconfig
lo        Link encap:Local Loopback   
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1314 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2058470 (1.9 MiB)  TX bytes:2058470 (1.9 MiB)
 
ppp0      Link encap:Point-to-Point Protocol   
          inet addr:59.161.32.167  P-t-P:172.23.119.14  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:64 (64.0 b)  TX bytes:94 (94.0 b)

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #6 on: March 19, 2009, 08:48:27 AM »
Sir please help me.What i have to do now...?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #7 on: March 19, 2009, 06:10:36 PM »
Here
Code: [Select]
ppp0      Link encap:Point-to-Point Protocol   
          inet addr:59.161.32.167  P-t-P:172.23.119.14  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:64 (64.0 b)  TX bytes:94 (94.0 b)
Here it shows that your internet is connected.

Well, do again wvdial and give me output of following so that I can verify one more thing..
Code: [Select]
ping 208.67.222.222Give me first 4-5 lines of the output.
« Last Edit: March 20, 2009, 05:48:46 PM by Ricky »

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #8 on: March 21, 2009, 07:26:11 AM »
O/p of ping 208.67.222.222
PING 208.67.222.222 (208.67.222.222) 56(84) bytes of data.
64 bytes from 208.67.222.222: icmp_seq=1 ttl=50 time=2128 ms
64 bytes from 208.67.222.222: icmp_seq=2 ttl=50 time=1227 ms
64 bytes from 208.67.222.222: icmp_seq=3 ttl=50 time=568 ms
64 bytes from 208.67.222.222: icmp_seq=4 ttl=50 time=528 ms
64 bytes from 208.67.222.222: icmp_seq=5 ttl=50 time=569 ms
64 bytes from 208.67.222.222: icmp_seq=6 ttl=50 time=529 ms

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #9 on: March 21, 2009, 07:30:08 AM »
But till now web browser displayed Server could not connect.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #10 on: March 21, 2009, 07:29:11 PM »
Buddy, good news it that your internet is connected and is working.

Now open hour /etc/resolv.conf
Add following lines in its end:

Code: [Select]
nameserver 208.67.222.222

Now connect to internet and try surfing !

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #11 on: March 22, 2009, 04:01:32 AM »
Sir,
Lots of thanks.Yes this site is actually benificial.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #12 on: March 22, 2009, 08:15:22 PM »
I am glad .. it worked for you!
Its all about helping each other, in future may be you can help others on it!

Offline rashid

  • Linux Noob !
  • *
  • Posts: 9
Re: Problem to connect Tata Indicom CDMA modem in RED HAT Linux 5.0
« Reply #13 on: March 23, 2009, 04:46:36 AM »
Yes that is the specialty of Open Source.