nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

usb modem in ubuntu

This is a discussion on usb modem in ubuntu within the Ubuntu / Debian forums, part of the Linux Distribution category; Hello everyone.. I have dual boot of windows xp and ubuntu,I am using internet through a usb modem (reliance zte ...

Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2008, 10:58 PM
Junior Member
User
 
Join Date: Jun 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varunkant is on a distinguished road
Question usb modem in ubuntu

Hello everyone..

I have dual boot of windows xp and ubuntu,I am using internet through a usb modem
(reliance zte MG 880) in windows xp.How can i use this usb modem in ubuntu??

Thanks..
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-31-2008, 11:06 PM
Junior Member
User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sundar_ima is on a distinguished road
Default

STEP 1: Enter the command."sudo pico /etc/wvdial.conf" (You will be asked to enter the admisnistrator password). This will open the file wvdial.conf.


or enter the following commend


sudo gedit /etc/wvdial.conf

STEP 2: Delete the complete contents and paste the following in that file.

[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = 9380689709
Password = 9380689709
Phone = #777
Stupid Mode = 1
Inherits = Modem0

STEP 3: The Username and password in the above content should be your reliance net connect number

STEP 4: Now everything is set for you to connect.

For connecting go to Terminal and enter
"sudo modprobe usbserial vendor=0x19d2 product=0xfffd".
This command is for ZTE MG 880 cards only for other cards it is different. It will ask you to enter a password. Now enter your administrator password.
Then type "sudo wvdial cdma" now the following thing will appear in your Terminal.


--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat May 24 22:26:04 2008
--> Pid of pppd: 6099
--> Using interface ppp0
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> local IP address 220.226.8.58
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> remote IP address 220.224.135.10
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> primary DNS address 202.138.103.100
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> secondary DNS address 202.138.96.2
--> pppd: h�[06][08]h�[06][08]��[06][08]

This shows your connected to the internet.
Open your firefox browser and start browsing.

Note:
Everytime you may have to type the last two commands to connect to internet.
sudo modprobe usbserial vendor=0x19d2 product=0xfffd
sudo wvdial cdma

otherwise " wvdial cdma" is enough
Reply With Quote
  #3 (permalink)  
Old 01-01-2009, 03:45 PM
Junior Member
User
 
Join Date: Jun 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
varunkant is on a distinguished road
Default configuration not worked in Redhat linux

Thank you...

it works in Ubuntu, but when i try this configuration in Redhat Linux , terminal shows that i am connected to internet,it also give me ipaddress,primary dns address and 2ndry dns server address but when i open firefox, it gives me error you are not connected to internet or ping to some domains like ping Yahoo!, reply that unknown host.
Reply With Quote
  #4 (permalink)  
Old 01-01-2009, 04:22 PM
Junior Member
User
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sundar_ima is on a distinguished road
Default

make sure that you are not in offline. if yes then go to file and un check work offline...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Hughes Net Modem Assign IP to Server Don Getting started tutorials 1 03-24-2008 11:46 PM
How can I block yahoo masanger port from 220BX modem. chandra Windows Xp/2000/2003 server administration 3 09-27-2006 11:53 AM
PCI Modem installation asim.mcp Linux software 1 07-23-2006 08:21 PM
Linux how do I configure my modem? goku Linux software 1 07-17-2006 11:18 PM
Internal Modem in Linux ricc Linux software 5 12-23-2005 05:13 PM


All times are GMT +5.5. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36