Use a PHS wireless Nic to access the Internet in Ubuntu

Source: Internet
Author: User
Tags dmesg
After studying for a whole day, I went around to ask questions and finally solved the problem by myself. It is said that Microsoft will force to use its Vista and will not provide XP pre-installed since January, if you want to change to Linux, use Ubuntu. I have been a member of Linux since today, and I am no longer under pressure from Microsoft. I am very happy to think about it. Haha. According to my understanding, wireless Internet access is divided into two types: Wireless Broadband, wireless network card 3945abg, which is generally called Wi-Fi wireless network, and wireless network card.

After studying for a whole day, I went around to ask questions and finally solved the problem by myself. It is said that Microsoft will force to use its Vista and will not provide XP pre-installed since January, if you want to change to Linux, use Ubuntu. I have been a member of Linux since today, and I am no longer under pressure from Microsoft. I am very happy to think about it. Haha.

In my current understanding, wireless Internet access is divided into two types: Wireless Broadband, wireless network cards of the 3945abg type, which are generally called Wi-Fi wireless networks, the other is wireless dial-up, which is my kind. The network speed is very slow. Now there are basically three methods in China: Mobile EDGE/GPRS, china Unicom's CDMA 1X and China Telecom's PHS. I have asked a lot of information on the Internet. Most of the questions about surfing the Internet are asking how to configure wireless network adapters (3945abg and so on) in Ubuntu, and few questions about wireless dial-up access, most of them are CDMA and EDGE, which PHS cannot find. My hardware card is a USB interface. The following is my solution:

1. Unplug the USB hardware card and enter the command dmesg> ~ /00

2. Plug in the USB hardware card and enter the command dmesg> ~ /11

3. Comparison ~ /00 and ~ /11 the similarities and differences between the two files will be found ~ /11 ~ A few more lines at/00, which is the key.

4. Below are some of my extra lines. Pay attention to the red pen:
[2, 548.393824] usb 2-2: new full speed USB device using uhci_hcd and address 5
[2, 548.545624] usb 2-2: configuration #1 chosen from 1 choice
[548.548523] pl2303 2-. 0: pl2303 converter detected
[2, 548.548802] usb 2-2: pl2303 converter now attached to ttyUSB0

5. Open/etc/wvdial. conf to edit it:
Cd/etc
Sudo gedit wvdial. conf

6. Change the content:
[Dialer Defaults]
Phone = 16300 #4
Username = 16300
Password = 16300
Baud = 230400
New PPPD = yes
Modem =/dev/ttyUSB0

7. Save the file, open the terminal, and use wvdial to dial the number to access the Internet.

Network disconnection usually ends the wvdial process by pressing Ctrl + C on the terminal, and then closes the terminal. In this case, the terminal cannot be closed after the wvdial command is executed. The terminal must be retained. Otherwise, the network will be disconnected, fortunately, Linux has a concept of workspace, like a virtual desktop in win, but L directly comes with this function, which is much more convenient. Just move the window to be retained directly to another workspace. You can also enable apt-get update and put it there without affecting usage, and there won't be a bunch of icons in the taskbar in the lower right corner like Win, haha.

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.