Skip to content

myvobot/linux_openwrt

 
 

Repository files navigation

敬告某些国内厂家

Widora发布的MT7688 WI-FI驱动因版权限制只能运行在NEO、BIT模组、集成BIT模组的产品上,在其他7688上运行属于侵权行为,侵权必究。

Hello everybody

how to check if connected to some AP? use ap_client command,check return is ok or no

$ ap_client

ok is connected no is not connected

branch

master:the default firmware,only port0

wllll:port0 is WAN, port1-port4 is LAN

nojffs2: fix the Small probability file system crashes,wait to merge master

set the board mode.

$ widora_mode
MODE REPEATER CLIENT ROUTER PPPOE
LAN eth0 ap apcli0 eth0 ap ap
WAN apcli0 eth0
"widora_mode repeater" or "widora_mode repeater ssid key"
"widora_mode client" or "widora_mode client ssid key"
"widora_mode router"
"widora_mode pppoe" or "widora_mode pppoe name key"

How to compile?

1.install depend

Ubuntu14.04

$ 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

Macos

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

2.download the source use git

$ git clone https://github.com/widora/openwrt_widora.git

3.update the feeds

$ cd openwrt_widora $ ./scripts/feeds update -a

$ ./scripts/feeds install -a

4.config

$ make menuconfig select the target:

Target System(Ralink RT288x/RT3xxx) --->

Subtarget(MT7688 based board) --->

Target Profile(Widora) --->

note

Widora:16MB FLASH + 128MB RAM

Widora32M:32MB FLASH + 128MB RAM

5.make

$ make -j4

6.image

the binary image name like this in bin/ramips/: openwrt-ramips-mt7688-Widora-squashfs-sysupgrade.bin

Releases

No releases published

Packages

No packages published

Languages

  • C 42.3%
  • C++ 31.6%
  • HTML 14.6%
  • Makefile 5.1%
  • Shell 2.0%
  • Objective-C 1.5%
  • Other 2.9%