How to set wireless Internet access in Linux

Source: Internet
Author: User
Article Title: how to set wireless Internet access in Linux. 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.
A few days ago, the company just launched a Toshiba L10 laptop. after a few days of competition, we finally figured out how to set up wireless Internet access through the wireless network card and CDMA mobile phone. In fact, they are not complex. we will briefly describe them below:
  
   1. connect to the Internet through the wireless network card of the client.
  
If your laptop is equipped with a CPU of the centrino, you must have a built-in wireless network card. So where can I find the driver in LINUX? You can go to the INTEL website to download the corresponding model. The model of my nic is IPW2200 (if you do not know the model, go to WINDOWS to view it ), select the LINUX operating system and click download.
  
The downloaded file name is ipw2200_linux_1_0_0.tgz. Run the tar xvzf ipw2200_linux_1_0_0.tgz command to decompress the package. Enter the decompressed directory intel_ipw2200/. you can see a description file named INSTALL, which is very detailed and can be installed step by step. Here I will briefly describe the corresponding steps and descriptions:
  
First, check whether the corresponding driver has been installed in the system. If an old driver exists, delete the driver or back up the driver file to another place to avoid conflicts. In general, you can find the files that may conflict as follows:
  
For I in ieee80211 ipw2200; do find/lib/modules/'uname-R'-iname $ {I} *; done
  
After the driver is installed, the output after running the preceding command is
  
/Lib/modules/2.6.9-1.649/kernel/drivers/net/wireless/ieee80211_crypt.ko
/Lib/modules/2.6.9-1.649/kernel/drivers/net/wireless/ieee80211_crypt_wep.ko
/Lib/modules/2.6.9-1.649/kernel/drivers/net/wireless/ieee80211.ko
/Lib/modules/2.6.9-1.649/kernel/drivers/net/wireless/ipw2200.ko
  
Back up the above files to other places and delete them.
  
You also need to check whether there are old configuration commands in the kernel settings file, and delete them if any:
  
For I in IEEE80211 IPW; do grep CONFIG _ $ {I}/lib/modules/'uname-r'/build/include/linux/autoconf. h; done
  
After the preparation is complete, you must note that This driver is only applicable to kernels later than version 2.6 (This driver is currently a 2.6 only driver .).
  
Decompress the original code
  
Tar xzvf ipw2200-1.0.0.tgz
Cd ipw2200-1.0.0
  
Make (if you want to compile a kernel environment that is not the current host, you can use make KSRC =/path/to/kernel)
Make install
  
Next, install firmware.
  
First extract the ipw2200-fw-2.2.tgz under intel_ipw2200. Store the extracted five files to the hotplug firmware Directory. Generally, the files are/lib/firmware/(you can use cat/etc/hotplug/firmware. agent | grep FIRMWARE_DIR.
  
Run the modprobe ipw2200 command to install the SDK successfully.
  
If you do not use the make install command, you can install and uninstall the load and unload under the ipw2200-1.0.0.
  
After the installation is successful, you can click "new" and select "wireless connection" in the graphic interface through system-config-network. then you can see the "Intel corp. the PRO/Wireless 2200BG (eth1) option proves that the NIC driver is successfully installed, and the installation can be completed through simple configuration. After the installation is complete, go to the system-config-network interface and select the wireless network card and click "activate" to enable wireless Internet access.
  
   2. use a CDMA mobile phone to access the Internet
  
My CDMA phone is a LG-W800, using its own USB cable after computer connection. Display after using lsusb:
  
Bus 003 Device 002: ID 046d: c016 Logitech, Inc.
Bus 003 Device 001: ID :0000
Bus 002 Device 003: ID 1004: 6000 LG Electronics, Inc.
Bus 002 Device 001: ID :0000
Bus 001 Device 001: ID :0000
  
Fortunately, I was able to check it out.
  
After entering/dev, I found that a ttyACM0 device file is missing. after trying to use ln-s/dev/ttyACM0/dev/modem, in the same way, use system-config-network to enable "hardware" in the graphic interface, click "new", select modem, and click "OK, select "/dev/modem" for "modem device. Return to "device", click "new" and select "modem". Next, add "#777" to the phone number, and the provider name is "uni ", "CARD" is written for both the "login name" and "password". The next step is completed by default. Click "activate" on the page to access the Internet. The Internet access fee is 0.005 RMB/KB, which is very expensive. However, you can apply for a monthly subscription, and the speed is good. So much.
  
In addition, the sound card of my notebook has not been completed yet. who is using this notebook to provide some experience?
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.