LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-01-2007, 01:38 PM   #1
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Rep: Reputation: 0
tata indicom usb modem on ubuntu 7.04


hello to all
i m very new to this site as i m to ubuntu linux

i tried to access internet from it using the tata indicom CDMA 1x usb modem.

every thing got right but still i m not able to open any site
so plz help me out
i tried the following -:


saurabh@saurabh-laptop:~$ wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyAC<*1>: Modem Identifier: ATI -- ERRORM0
ttyACM0<*ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp8128': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
saurabh@saurabh-laptop:~$ emacs error.txt &
[2] 8147
saurabh@saurabh-laptop:~$ emacs /etc/wvdial.conf &
[3] 8166
[2] Done emacs error.txt
saurabh@saurabh-laptop:~$ sudo -s
Password:
root@saurabh-laptop:~# emacs /etc/wvdial.conf &
[1] 8200
root@saurabh-laptop:~# wvdial
--> WvDial: Internet dialer version 1.56
--> 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#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Oct 1 09:47:05 2007
--> Pid of pppd: 8212
--> Using interface ppp0
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> local IP address 59.161.10.7
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> remote IP address 172.23.118.88
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> primary DNS address 202.54.29.5
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]
--> secondary DNS address 202.54.10.2
--> pppd: %G�%@[08][06][08]%G�%@[10][06][08]


and than i disconnected


i think the main problem is -:

ttyAC<*1>: Modem Identifier: ATI -- ERROR

but i m not sure
plz help
 
Old 10-01-2007, 06:35 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Please list one thread per topic.
 
Old 10-02-2007, 01:03 AM   #3
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Red face main problem

i think the main problem is -:

ttyAC<*1>: Modem Identifier: ATI -- ERROR
 
Old 10-02-2007, 12:41 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
This is a duplicate of: http://www.linuxquestions.org/questi...d.php?t=588678

Reported.
 
Old 10-03-2007, 04:08 AM   #5
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Question when i ping (cont. tata indicom usb modem on ubuntu 7.04)(sorry for multiple threads)

ping www.google.com
PING www.l.google.com (209.85.153.104) 56(84) bytes of data.
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=1 ttl=243 time=356 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=2 ttl=243 time=358 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=3 ttl=243 time=359 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=4 ttl=243 time=378 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=5 ttl=243 time=409 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=6 ttl=243 time=359 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=7 ttl=243 time=378 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=8 ttl=243 time=358 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=9 ttl=243 time=358 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=10 ttl=243 time=358 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=11 ttl=243 time=358 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=12 ttl=243 time=359 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=13 ttl=243 time=362 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=14 ttl=243 time=379 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=15 ttl=243 time=360 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=16 ttl=243 time=361 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=17 ttl=243 time=402 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=18 ttl=243 time=362 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=19 ttl=243 time=362 ms
64 bytes from im-in-f104.google.com (209.85.153.104): icmp_seq=20 ttl=243 time=363 ms




after i do a ctrl-c -:

--- www.l.google.com ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 18992ms
rtt min/avg/max/mdev = 356.604/367.171/409.052/14.553 ms


at the browser when i try to connect , it shows connecting but it never connects.
 
Old 10-03-2007, 04:10 AM   #6
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Talking somebody please help..............

plz somebody help me out as soon as possible so that i can
become interactive from my linux box
to this world..........
 
Old 10-04-2007, 05:00 AM   #7
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
hello anybody???
 
Old 10-04-2007, 08:28 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
  1. I haven't done Linux dial-up for years, so I can't give any direct help.
  2. You are experiencing the fall out of double posting:
    1. The moderator closed the "wrong" thread, i.e. the one that contained useful responses.
    2. The moderator didn't link the closed thread to this one. (Some do, many don't; I have no reason to believe it's required of them.)
    3. The moderator didn't combine the 2, again it can be done but it's not standard practice.
  3. You're being too impatient, LQ users are spread around the world, in different time zones, allow at least 24, if not 48, hours for all the replies to come in. Also we're volunteers ...
  4. You haven't bothered to completely fill out your profile, so we don't know where you are & therefore what local conditions are.
  5. You didn't provide a link to info. on your modem.
  6. You give no report of what happened when you followed the advice given in posts 3 & 4 of the closed thread. (You did follow their suggestions, didn't you?)
  7. Read this.
 
Old 10-05-2007, 10:40 AM   #9
divine18e
LQ Newbie
 
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
@archtoad6
thanks for ur reply

but i replied to the post asking what happens on ping

the picture now is that i m able to connect from windows using the modem
but not fron the ubuntu


and the worst part of it is that i don't know what to do to solve this problem.....
so i m completely dependent on u ppl.
so plz try n help
 
Old 12-03-2007, 06:27 AM   #10
sim_astro
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Thumbs up

try this

sudo wvdialconf /etc/wvdial.conf
sudo vi wvdial.conf

edit following lines
; username = <>
; password = <>
; phone = <>

so that it look like this

username = internet
password = internet
phone = #777
Stupid Mode = 1
 
Old 12-03-2007, 10:13 PM   #11
sim_astro
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Smile

and
don't forget to make entry in /etc/resolv.conf

use following command in ubuntu
sudo vi /etc/resolv.conf
nameserver 202.54.15.30
nameserver 202.54.1.30
:wq to save and quit

this works for me on fedora 7

enjoy
 
Old 01-05-2008, 04:50 AM   #12
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I don't know whether there is still any interest in this thread, but ...

In post #5, the OP showed the successful results of a ping. This would show that the Internet connection is established, and, since the ping was by name, that DNS is working. I don't know what the problem with using the browser is.

divine18e,

If you are still interested in solving this, please post back.
 
Old 01-05-2008, 06:30 AM   #13
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
If you have already solved it, please post what you did -- it will help the next person.
 
Old 01-06-2008, 10:30 PM   #14
sim_astro
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Dear Friend,

i agree that u are able to ping, but in browser u enter website name and not ip-address of website,

mapping from website name to ip-address is done by DNS. And in Linux /etc/resolv.conf is responsible to redirect the host to DNS. Where pinging is different thing (it only check the route and not help any other app like web-browser).

so just enter dns name in /etc/resolv.conf

nameserver xxx.xxx.xxx.xxx
nameserver zzz.zzz.zzz.zzz

where xxx.xxx.xxx.xxx is ip of dns-1
and zzz.zzz.zzz.zzz is ip of dns-2


hope this will help u.
 
Old 01-07-2008, 01:26 AM   #15
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by sim_astro View Post
mapping from website name to ip-address is done by DNS. And in Linux /etc/resolv.conf is responsible to redirect the host to DNS. Where pinging is different thing (it only check the route and not help any other app like web-browser).
What you say about DNS is true. What you say about pinging is true if you are pinging by IP address. However, if you are pinging by name, then the ping command must first resolve the name through DNS (or /etc/hosts). Since I doubt the original poster had www.google.com in the hosts file, the fact that that the ping worked means DNS is working. In fact this is the standard way to tell if DNS is working. People are told to, in sequence:

Code:
ping localhost
ping <IP address>
ping <website name>
or for an example:

Code:
ping localhost
ping 64.179.4.146
ping www.linuxquestions.org
Pinging localhost verifies that networking works. Pinging the address (for sites that respond to pings!) verifies Internet access. Pinging by name shows the DNS system works.

Try it yourself. Move /etc/resolv.conf to a different directory or change the values in it to something bogus. Then try pinging something by name. When I did it, I got:

Code:
[user@Box user]$ ping www.google.com
ping: unknown host www.google.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to internet through tata indicom modem nayankk Linux - Networking 2 10-07-2007 08:53 AM
Regarding installationof Tata Indicom broadband in RHEL or CentOS arnabc79@gmail.com Linux - Networking 7 09-08-2007 09:52 AM
regaring tata indicom broadband instalation on RHEL orCentOS arnabc79@gmail.com Linux - Hardware 1 09-05-2007 02:25 AM
How to configure LG CDMA Tata indicom phone in Fedora core 4 Linux ayyub_amu Linux - Hardware 1 10-13-2006 04:24 PM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration