LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   usb modem on ubuntu 7.04 (https://www.linuxquestions.org/questions/ubuntu-63/usb-modem-on-ubuntu-7-04-a-588678/)

divine18e 10-01-2007 01:54 PM

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]

Larry Webb 10-01-2007 06:34 PM

I can't help you from experience but did a "Google" with -linux tata indicom modem- and found numerous articles. If no one answers in a day or so you may want to check it out.

144419855310001 10-02-2007 11:46 AM

The output from wvdial looks like everything is working fine:

you've been able to contact your ISP, and you've been assigned an IP address...

Quote:

--> 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]


...what happens when you try to do this after using wvdial?:

Quote:

ping www.google.com
?

archtoad6 10-02-2007 12:43 PM

This is a duplicate of: http://www.linuxquestions.org/questi...d.php?t=588673

Reported.

XavierP 10-02-2007 01:31 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 04:29 PM.