Openwrt 3G module and openwrt3 g Module

Source: Internet
Author: User

Openwrt 3G module and openwrt3 g Module

Hardware environment:

The Development Board is RT5053F.

The 3G module is for ZTE MC2176 Telecom


The procedure is as follows:

  • Add VID and PID

    You can obtain the VID and PID by inserting the device into your computer and running the lsusb command in linux,

    Or add all IDS supported by the product to the option. c file according to the wireless module driver user manual.
    Openwrt-1407 in the following location: build_dir/target-mipsel_24kec + dsp_uClibc-0.9.33.2/linux-ramips_mt7620n/drivers/usb/serial/option. c

  • Kernel compilation Configuration
    make kernel_ menuconfig
    Configuration items related to USB serial port driver:
    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 Translators[*]       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

    Configuration of 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 software packages:

    pppchatcomgtlibrtlibusb-1.0usb-modeswithzlib

    Save and execute make V = 99 and then burn the compiled image file to the Development Board. Start the Development Board






  • Configure the network

    /etc/config/networkconfig interface 'ppp0'        option ifname 'ppp0'        option service 'evdo'        option username 'card'        option password 'card'        option device '/dev/ttyUSB0'        option proto '3g'        option dialnumber '#777'        option apn 'ctnet'        option auto 1


  • Restart the network

    /etc/init.d/netwrok restart

    Run the ifcong command after restart. If the ppp interface is displayed, the dial is successful,







  • 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.