Dial-up Internet with your CDMA phone in Ubuntu/ Linux
Most of the time, hardware vendors provide technical support for the Windows users only. :(
People who are new to Linux do not know how to work with those hardware. Even in our institute, there is a lot of people who are not familiar with Linux, asking how to work with that kind of hardware. One common question is, 'How do I access the Internet with my CDMA telephone?'. So here it is...
First thing, prepare your data cable (either USB or Serial), and the phone. Connect the device to the computer. Probably you will not need to install any driver. Linux automatically recognizes the device. The only thing we have to do is to configure and use.
Do the following procedure to configure your modem.
1. Open a terminal (Press Alt + F2, type gnome-terminal and press Enter)
2. Type sudo pppconfig and press Enter. Give your password (not the root password) when asked and press Enter. (You will not see anything typing on the screen when entering the password).
3. You'll get a simple GUI like interface. Select Create a Connection and press Enter.
4. You have to set the following settings.
i) ISP Name - Type your ISP name and press Enter. (Eg. sltnet, suntel)
ii) Configure DNS - press the down arrow key to select Dynamic option and press the Spacebar. Then press Enter.
iii) Authentication method - just leave the default setting PAP and press Enter.
iv) Login name - Type the username you have given by your ISP and press Enter. (Eg. netguest@pre.sltnet)
v) Password - Type your ISP password and press Enter. (Note. Password is not masked ie. visible)
vi) Port Speed - Enter the maximum port speed (usually 115200 with SLTnet and Suntel) and press Enter.
vii) Pulse or Tone - Just leave the default setting Tone and press Enter.
viii) Number - Enter the ISP phone number. Usuallly this is #777. press Enter.
ix) Choose modem config - use arrow keys to select no and press Enter.
x) Enter modem port - type the modem port device filename and press Enter.
If it is connected to the first serial port, this is /dev/ttyS0 (first --> ttyS number 0, second --> ttyS number 1 and so on)
If it is connected to the second USB port, this is /dev/ttyUSB1
xi) Now you have almost done. Press up/ down arrow keys to select Finished - Write files and return to main menu. and press Enter twice.
xii) Quit the utility.
5. Now you have done the configuration part. Then to connect and disconenct.
6. Type pon your-isp-name and press Enter to dial and connect. (Eg. pon sltnet)
7. Type poff and press Enter to drop/ disconnect.
Use poff your-isp-name to disconnect a specific connection. Use poff -a to disconnect all connections. Use sudo poff -a to forced disconnect.
If you have any questions, please ask.
Thank you!
- shaakunthala's blog
- Login or register to post comments
after doing all and when try to connect there comes a error like this
/usr/sbin/pppd: In file /etc/ppp/peers/lankabell: unrecognized option '/dev/ttyUSB1'
i search the web for that error and found a site
file:///I:/linux/suntel-and-lanka-bell-cdma-phones.html
there it says the error comes bcz there was a .rule file missing in ect/udev/rules so i write it still getting the same error.
some other site tells that a softwear called ndiswrapper-0.10 should install and come compilation should be done . that the win xp drivers(some .inf files) should package for linux. but i could not install that software . make install command diint work for it.
So what should i do now??
When you are putting web address on forums, blogs, etc. be sure to double check what you copy-paste. Note that "file:///I:/linux/@#$%^&" type links work only on your computer because it is not a web address (it is a local address).
.:Shaakunthala :.
Before doing this, be sure to disconnect all connections by entring poff -a in a terminal window.
1. Type cd /dev in a terminal window and press Enter.
2. Type ls and press Enter.
3. Check whether there is a ttyUSBx (ttyUSB0, ttyUSB1 or else) item. Take note of the item.
4. Type sudo pppconfig in a terminal window and press Enter. Give your password when asked.
5. Go to the second item (Change a connection) in the list and press Enter.
6. Select your connection name (lankabell or whatever) and press Enter.
7. From the next screen that appears select the Com item (which sets the com device to /dev/ttyUSB1) and press Enter.
8. Specify the device file you have found in the third step and press Enter.
9. Now select Write files and return to main menu item and press Enter to save the configuration.
10. Exit the pppconfig utility and dial again using pon.
~ Shaakunthala ~
this is what i saw
what is the prob???????????????
ayya how connect internet in ubuntu using dial up modem. (fax modem).there is no suitable soft drivers to ubuntu for that modem(SMART LINK VOICE MODEM).