Trial of CDMA wireless Internet access in ubuntu8.10

Source: Internet
Author: User
Tags dmesg
Article title: Trial of CDMA wireless Internet access in ubuntu8.10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

First of all, I would like to thank ghost_diy for helping me solve this solution!

First, let's talk about the purpose of using the CDMA network!

We use CDMA to connect to a laptop to access the Internet without restriction! (Wifi is inconvenient after all! No wireless router can be found anywhere !) It cannot be used to play large online games! It cannot be used to view any video files on the network! It cannot be used to download software from P2P networks such as BT or ED! However, it allows you to sell or buy an objective profit stock at critical times, and allows you to receive an important email from your boss or lead at critical times, it can make you feel lonely on the train, and make you feel impatient at night ........ (It seems that people are running out of their questions. let's make full use of their imagination to see if they are playing an important role in your life and work !)

Let's start with the question!

Since it is the lowest-end solution, the cost will certainly save a lot of money, but the same effect is not quite ideal!
First, you have to have a CDMA mobile phone. I personally do not recommend the CDMA network card recommended by China Unicom or other vendors. The cost is too high. it will take several hundred dollars to get a card! I suggest you go to the old market to find a CDMA mobile phone! You only need to make a normal call! My cell phone just spent 50 yuan to get a battery. it can only take 5 minutes, and the screen has no CDMA phone shown! (You don't need to call it anyway! It doesn't matter !) And then connect to China Unicom to get a SIM card! Whatever card you want! Anyway, the cost of CDMA Internet access is 1 hour, 3 RMB, 6 RMB! (At least Fuzhou will pay this price .......)

Then you have the above devices! You can configure it!

The following is how to configure ghost_diy. I have made some changes!
$ Dmesg

Check whether there are any words similar to "ttyUSB". if yes, skip to step 5. if not, at least the following information should appear:

Reference:
Usb 5-1: new full speed USB device using uhci_hcd and address 2
Usb 5-1: configuration #1 chosen from 1 choice

The above information should at least indicate that your usb device is missing from the system, but you just don't know what kernel module should be used to match it.
3. Execution
Code:
$ Sudo lsusb
There should be characters similar to cdma, such as mine:
Reference:
Bus 005 Device 002: ID 05c6: 3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
Here, 05c6: 3197 is very important. it corresponds to the vendor and product in the module parameters in the following step. your values may not be the same as mine.
4. now we can load the appropriate kernel module. generally, usb Serial is used. however, to specify a specific parameter, let the kernel know the usb device's vendor and product. for example, I will use the command:
Code:
$ Sudo modprobe usbserial vendor = 0x05c6 product = 0x3197

Write the data according to the vendor and product values shown by lsusb, but 0x must be added, otherwise it will not succeed. Run dmesg again to see the following information:
Reference:
Usbcore: registered new interface driver usbserial
Drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Usbserial_generic 5-1:1. 0: generic converter detected
Usb 5-1: generic converter now attached to ttyUSB0
Usbserial_generic 5-1:1. 1: generic converter detected
Usb 5-1: generic converter now attached to ttyUSB1
Usbcore: registered new interface driver usbserial_generic
Drivers/usb/serial/usb-serial.c: USB Serial Driver core

Some systems may be ttyACM0.

Usbcore: registered new interface driver usbserial
Drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Usbserial_generic 5-1:1. 0: generic converter detected
Usb 5-1: generic converter now attached to ttyACM0
Usbserial_generic 5-1:1. 1: generic converter detected
Usb 5-1: generic converter now attached to ttyACM1
Usbcore: registered new interface driver usbserial_generic
Drivers/usb/serial/usb-serial.c: USB Serial Driver core

[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.