Hardware environment:
Development Board for RT5053F
3G module for ZTE MC2176 Telecom Edition
Here are the steps to do
Add vid, PID
The method of obtaining the VID and PID is to plug the device into the computer and run the LSUSB command under Linux.
or follow the Wireless module driver manual to add the product support IDs to the Option.c file
openwrt-1407 in the following location: Build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620n/linux-3.10.49/drivers /usb/serial/option.c
- compilation configuration of the kernel
Make Kernel_ Menuconfig
USB Serial Drive-related configuration items:Device Drivers ---> [*] USB support ---> <*> support for host-side usb[*] USB Announce New devices[*] Enable USB persist by default<*> EHCI HCD (USB 2.0) support[*] Root Hub Transaction Trans Lators[*] Improved Transaction Translator scheduling<*> OHCI HCD (USB 1.1) support<*> USB Modem (CDC ACM) support<*> USB Printer support<*> usb Wireless Device Management support<*> USB Serial Converter support ---> <*> USB driver for GSM and CDMA modems
Related configuration for PPP dialing:
Device Drivers ---> [*] Network Device support ---><*> PPP (Point-to-Point Protocol) support <*> PPP bsd-compress compression<*> PPP Deflate compression[*] PPP filtering<*> PPP MPPE compression (encryption) [*] PPP multilink support<*> PPP over ethernet<*> PPP support For async serial ports<*> PPP support for sync TTY ports
Required Packages:
Pppchatcomgtlibrtlibusb-1.0usb-modeswithzlib
Save execute make v=99 and burn the compiled image file to the Development Board. Then launch the Development Board
Configure network
/etc/config/networkconfig interface ' ppp0 ' option ifname ' PPP 0 ' option service ' EVDO ' option username ' card ' option password ' card ' option device '/dev/tty USB0 ' option proto ' 3g ' option Dialnumber ' #777 ' option APN ' ctnet ' option auto 1
Restart Network
/etc/init.d/netwrok restart
After restarting, run the Ifcong command, if the PPP interface indicates a successful dial-up,
OpenWrt 3g Module Online