you should first make sure your Ubuntu system have recognized your modem.
For that first plug out and plug in your modem.
and go to terminal(application>accessories>terminal) and type “dmesg” and see the output screen to check if the last line contains something like:
“……………… now attached to ttyUSB0″
For that first plug out and plug in your modem.
and go to terminal(application>accessories>terminal) and type “dmesg” and see the output screen to check if the last line contains something like:
“……………… now attached to ttyUSB0″
or you can also see “…… now attached to ttyUSB1″ or something else in the place of: ttyUSB0 if you see something else then make sure you type that instead of ttyUSB0 while “configuring the wvdial”(more on this below)
if you see that message then your modem is recognized by your ubuntu system and now you can use the modem.
To connect to Internet through the modem you should download a Dial up dialer software forubuntu.
You can use “WVDIAL”
To download “wvdial” you do any of this two:
a> If you already have Internet connection in your ubuntu then go to terminal and type:
“sudo apt-get install wvdial” and the system will download and install “Wvdial”
“sudo apt-get install wvdial” and the system will download and install “Wvdial”
b> Or if you don’t have Internet connection then go to this site from your windows :
http://packages.ubuntu.com/hardy/wvdial
select the ubuntu version you are using ( dapper, hardy, karmic, lucid, maverick or natty ) from the top right.
and then sclick on “i386″ or “amd64″ according to your CPU type , If you are unaware about your CPU type try i386 first and if don’t works try amd64.
and then in the page that opens click on one of the mirror site and save the .deb file.
and then sclick on “i386″ or “amd64″ according to your CPU type , If you are unaware about your CPU type try i386 first and if don’t works try amd64.
and then in the page that opens click on one of the mirror site and save the .deb file.
Now take the .deb file you downloaded to your ubuntu system and double click it and install it.
If while installing the .deb file you get error like “unable to fetch …………………….”
then search for the URL looking something like this (in the error message) : xxx.archive.server.com/abc/xyz.deb
That means your system needs other programs also to install the wvdial so you copy the URL of the .deb
package ( similar to: xyz.archive.server.com/xyz/xyz.deb ) , download them from windows andinstall them before installing wvdial.
package ( similar to: xyz.archive.server.com/xyz/xyz.deb ) , download them from windows andinstall them before installing wvdial.
So now after installation you should configure your wvdial.
To configure:
go to terminal and type:
“sudo nano /etc/wvdial.conf” press enter
and type following code there:
“sudo nano /etc/wvdial.conf” press enter
and type following code there:
[Dialer Defaults]Modem = /dev/ttyUSB0Baud = 230400Init1 = ATE0#Init2 = AT$PBTYPE=1 RPTCON=1 MTRPTTYPE=3 SMSRUIM=0 SMSTYPE=1Init3 = AT+CTA=0Init4 = ATEOV1Init5 = ATInit6 = ATS0=0ISDN = 0Modem Type = Analog ModemPhone = #777Username = your Dial-up user name herePassword = your Dial-up password hereStupid Mode = 1New PPPD = yes
replace user name and password with the user-name and password provided by your CDMAcard provider , and also replace the “ttyUSB0″ according to need as told above”
And press ctrl+x , press “y” and press enter to save.
Now to connect to Internet go to terminal and type:
“wvdial”
and press enter.
then you will be connected to CDMA Dial-Up Internet if it don’t connect you in one try , type wvdial and enter again.
do it at-least 10-20 times and you will surely be connected.(I usually get connected in 3′rd or fourth try)
No comments:
Post a Comment