Linux OS uses 3g Nic and linux OS 3g Nic
A few months ago, opensuse13.2 came out, but it was always itchy. At that time, I had been using the campus network and had not used a 3G Nic for a long time. When I got home, I set up a 3G network card, but it didn't respond when I plugged it into the computer. I was always prompted to create a network connection or something. At the beginning, I thought for a while without a prompt. I manually created one through the graphic interface. However, there is no connection option. Therefore, Google has found two solutions, which are described in detail below.
The first method is implemented by configuring wvdial. The Sina Blog "Install Huawei E261 Nic on Ubuntu10.04" and "Configure 3g cdma Nic on linux" are described in detail, here is a brief description.
Step 1: Install usb-modeswitch andwvdial
For how to install these two items, check the operating system package management.
Step 2: You need to know the ID of the 3G Nic and use the lsusb command to obtain the device ID in the usb. For example, I use Huawei's e261, and one line is "Bus 002 Device 006: ID 12d1: 1446 Huawei Technologies Co ., ltd. ", remember the ID, that is," 12d1: 1446"
Step 3: Modify the file "/etc/usb_modeswitch.d/12d1 \: 1446", change DefaultVendor and TargetVendor to 12d1, change DefaultProduct to 1446, and add 1436 to TargetProductList. After the modification, insert E261, and the automatic switch is set to modem.
Step 4: Use wvdial for dialing. Modify/etc/wvdial. conf, add Phone = * 99 # Password = 3 gnet Username = 3 gnet In the last line, and run wvdial under root to access the Internet.
The second method is to use the general driver of the Huawei data card. Download the driver from the download link of the Huawei data card, decompress the driver, execute "./install" in the driver folder, install the driver, restart the computer, and insert the 3G Nic.
To make a simple comment, the first two methods above are generic. No matter what 3G network card is used, the second method is limited to Huawei's 3G network card, but it is simple and crude.