TELEGRAM: https://t.me/widora
command | status |
---|---|
ethmode l | only Port0,LAN |
ethmode w | only Port0,WAN |
ethmode wllll | Port0-Port4, Port0 is WAN,Port1-4 is LAN |
ethmode lllll | Port0-Port4,all is LAN |
command | status |
---|---|
wifimode ap | only AP,LAN |
wifimode sta | only STA(apcli0),WAN |
wifimode apsta | AP+STA,AP is LAN,STA is WAN |
$ ap_client
ok is connected no is not connected
$ sudo apt-get update
$ sudo apt-get install git g++ make libncurses5-dev subversion libssl-dev gawk libxml-parser-perl unzip wget python xz-utils vim zlibc zlib1g zlib1g-dev openjdk-8-jdk build-essential ccache gettext xsltproc
note: install brew and Xcode command line tools
$brew install coreutils findutils gawk gnu-getopt gnu-tar grep wget quilt xz
note: gnu-getopt is keg-only, so force linking it:brew ln gnu-getopt --force
$ git clone https://github.com/widora/openwrt_widora.git
$ cd openwrt_widora $ ./scripts/feeds update -a
$ ./scripts/feeds install -a
$ make menuconfig select the target:
Target System(Ralink RT288x/RT3xxx) --->
Subtarget(MT7688 based board) --->
Target Profile(WIDORA16128) --->
WIDORA16128:16MB FLASH + 128MB RAM
WIDORA32128:32MB FLASH + 128MB RAM
WIDORA1664:16MB FLASH + 64MB RAM
WIDORA3264:32MB FLASH + 64MB RAM
$ make -j4
the binary image name like this in bin/ramips/: openwrt-ramips-mt7688-Widoraxxxxx-squashfs-sysupgrade.bin