ZBT-WG3526

准备编译环境

#apt-get install git subversion mercurial build-essential libssl-dev libncurses5-dev unzip gawk

获取源代码

git clone https://git.openwrt.org/openwrt.git

cd openwrt
./scripts/feeds update -a

将xTun放入 xTun/ feeds/packages/net/ 目录下

./scripts/feeds install -a

配置

make menuconfig

Target System    -> Ralink RT288x/RT3xxx
Subtarget System -> MT7621 based boards
Target Profile   -> ZBT-WG3526 Device



Kernel modules --->  USB Support ---> 
      kmod-usb-storage
      kmod-usb-serial
         kmod-usb-serial-option    (kmod-usb-serial-wwan)
      kmod-usb-net
         kmod-usb-qmi-wwan  (kmod-usb-wdm)
         kmod-usb-net-rndis (kmod-usb-net-cdc-ether) 选后者


Kernel modules --->  Filesystems ---> 
       kmod-fs-ext4
       kmod-fs-vfat

Kernel modules --->  Native Language Support --->
       kmoe-nls-utf8

Kernel modules ---> Other modules -->
       kmod-sdhci-mt7620   (SD卡驱动)

Utilities ---> comgt-directip (comgt)
               usbutils(可以不用这个,直接cat /sys)

Utilities ---> Terminal ---> picocom

Utilities --->  disc  ---> blkid
  
Network  --->  VPN --->         openvpn-nossl
Network  --->  Filesystem --->   sshfs
Network  --->  uqmi
               tcpdump-mini
               xTun
         
Base system  ---> block-mount

修改
package/network/utils/comgt/Makefile

本文章由作者:佐须之男 整理编辑,原文地址: ZBT-WG3526
本站的文章和资源来自互联网或者站长的原创,按照 CC BY -NC -SA 3.0 CN协议发布和共享,转载或引用本站文章应遵循相同协议。如果有侵犯版权的资 源请尽快联系站长,我们会在24h内删除有争议的资源。欢迎大家多多交流,期待共同学习进步。
分享到:更多

相关推荐