[Ilugc] Tata Indicom USB Modem on Debian Etch

  • From: krazy.lizard@xxxxxxxxx (krazy lizard)
  • Date: Sat Mar 15 13:38:32 2008

M.Ganesh wrote:

krazy lizard wrote:
baskar k wrote:
 
try this after running wvdial
route add default net ppp0

HTH
(K.BASKAR)

On Fri, Mar 14, 2008 at 3:04 PM, M.Ganesh <ganeshpulsars@xxxxxxxxx>
wrote:

     
krazy lizard wrote:
         
M.Ganesh wrote:

             
Bharathi Subramanian wrote:

                 
 On Thu, 13 Mar 2008, M.Ganesh wrote:


                     
I am trying to use Tata-Indicom USB modem (model CDMA 1x USB) with
my Debian-Etch box. I am unable to browse any website.

                          
 Few month ago, Ma Siva posted the working conf files for Tata USB
 modem. So plz search in our archive.

 Bye :)

                      
Hi,

Thanks for the pointer, but the thread has finally ended with  
:'( :

<quote>

On 9/29/07, Antano Solar <solar345 <at> gmail.com> wrote:

                 
 If you do whatever you did to get so far and just change the
gateway
 to the right ip. It should work


                      
Thanks Antano. I will try that.

anbudan,
Ma Sivakumar

</quote>

So I could not make out what finally worked. Moreover the same setup
(/etc/wvdial.conf) works well in my Mint-Cassandra laptop.

Looking forward to some help..

Regards Ganesh

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with "unsubscribe
<password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


                  
what i guess is that you are able to connect to the net using wvdial
command. you'll get some messages on the terminal such as local ip,
remote ip & dns1 etc. but u r not able to browse the internet. this
happens when ur routing is not proper. check your routing table

route -n

the last line should be something like
0.0.0.0         ur gatewayip     0.0.0.0         UG    0     
0        0
ppp0

if not change the gateway manually to the remote ip that u got & it
should work. also check whether ur dns servers get updated to the
tata
dns servers

cat /etc/resolv.conf

krazy


              
Hi Sivakumar,

I followed your set of instructions, but the results have not changed.
Anyway thanks for responding.

Hi krazy,

The modem is indeed 'plug to surf whiz model'.

The $route -n output and ping output are given below. The $cat
/etc/resolv.conf  output is already pasted in dpaste
(http://dpaste.com/hold/39252/ ;).

You had suggested to change the gateway manually. Can you please
tell me
how to do it.

Thanks in advance
Regards Ganesh

#route -n

output---------------------------------------------------------------------------

Kernel IP routing table
Destination         Gateway         Genmask           Flags Metric Ref
Use Iface
172.23.129.14   0.0.0.0            255.255.255.255 UH    0      0
0 ppp0
192.168.0.0       0.0.0.0            255.255.255.0     U       0
0        0 eth0
0.0.0.0              192.168.0.1     0.0.0.0                 UG
0      0        0 eth0

#-----------------------------------------------------------------------------------------------

#ping 203.197.12.30 (primary dns
address)----------------------------------------
PING 203.197.12.30 (203.197.12.30) 56(84) bytes of data.
 From 192.168.0.71 icmp_seq=1 Destination Host Unreachable
 From 192.168.0.71 icmp_seq=2 Destination Host Unreachable
 From 192.168.0.71 icmp_seq=3 Destination Host Unreachable
 From 192.168.0.71 icmp_seq=4 Destination Host Unreachable

--- 203.197.12.30 ping statistics ---
7 packets transmitted, 0 received, +4 errors, 100% packet loss, time
6014ms, pipe 3

#-----------------------------------------------------------------------------------------------


_______________________________________________
          
your default gateway is messed up. *
*

*0.0.0.0              192.168.0.1     0.0.0.0                 UG
0      0        0 eth0

*this line is telling the system to access the internet using the
ethernet card, but you are connecting to the internet using ppp0, in
this case  172.23.129.14   0.0.0.0            255.255.255.255 UH   
0      0
0 ppp0

what you need to do is
route del default gw **192.168.0.1

**route add default gw 172.23.129.14 (ppp0 ip)
in this case.

krazy.
  
Hi krazy,

Your suggestion worked. I was able to browse the net, but suddenly
"Google dropped connection". When I check $route the default route had
vanished. When I added it again, net connection started working again.
Thanks for the info.

Now, do I have to do this every time I fire-up wvdial or is there a
way to do this at system start-up?

Thanks in advance

Regards Ganesh

because you have a static route set in ur routing table for the lan,
when u connect using wvdial it's not able to change the routing table.
there are two options.
1. disconnect ur ethernet cable(manually) or from command line (ifdown
eth0)  & then run wvdial. it should automatically set the routing table
for you.
or
2. delete the static route (default gateway) from ur routing table &
then run wvdial.

having both lan & usb connected at the same time is possible but u need
read about managing the routing table if you want to be on the lan &
browse the net using usb modem.

krazy.

Other related posts: