Transferred from: http://www.right.com.cn/forum/thread-103082-1-1.html
Recently bought a Huawei e303s card, the previous 703 of the OpenWrt is based on the need to dial and use a USB flash drive to set up. The following IPA is installed:
COMGT dialing
KMOD-USB2 comes with
KMOD-USB-OHCI comes with
Kmod-usb-storage Large Capacity Storage driver
Block-mount External loading
KMOD-FS-EXT4 format support
Kmod-usb-serial Drive
Kmod-usb-serial-option Additional Drive
Kmod-usb-serial-wwan, this one was installed together.
KMOD-USB-ACM This does not pretend also OK, I have two network cards, can use
Usb-modeswitch mode switch, this must be installed, or 303 is displayed as a storage device
Usb-modeswitch-data network card database, recommended
My own system is Ubuntu 12.04, plugged in 303s after showing more than one USB NIC for Huawei Hilink, Then the configuration interface is 192.168.1.1, the computer as long as the DHCP can be directly connected to the Internet, so the previous 3g dialing settings Ah Those are useless, consider that the network card built-in a routing system and then through the USB card when LAN port, so that needs cdc_ether to drive, Then proceed to install the following package:
Kmod-usb-net
Kmod-usb-net-rndis
Kmod-usb-net-cdc-ether
Udev
Usbutils This I think wasted space, not installed, installed can use LSUSB display USB device, chicken ribs
After all this has been installed, do not worry about restarting the next route, plug in the network card, and then DMESG, the USB device should be displayed Cdc_ether as eth1 available.
Then Vi/etc/config/network
Add to
Config interface ' wan2 '
OPTION ifname ' eth1 '
Option Proto ' DHCP '
Option DNS ' 8.8.8.8,8.8.4.4 ' #这个随便, dispensable
If you do not have the WAN to add a "wan" directly to the line, if it is a WAN below this also do not have to do.
(Remember to change the network parameters in the zone Wan in the firewall to ' Wan Wan2 ')
You should be able to surf the internet after ifup.
This series of Internet card settings should be similar, I crossing network said e585 Drive can not.
Said more general, a lot of packages are not must be installed, because I only use the U disk, ordinary 3g Internet card, and Huawei's this hilink, these packages are enough, not installed Luci, because 4m space is too tight, u disk function removed can be installed Luci, I have not tried, I now have about 500k of space left, free students can try their own
Tp-link wr703n using the Huawei Hilink series Internet card Settings "Turn"