rssnsj / openwrt-hc5x61 Goto Github PK
View Code? Open in Web Editor NEWOpenWrt Patch for HiWiFi HC5661 / HC5761 / HC5861
Home Page: http://rssn.cn/roms/
OpenWrt Patch for HiWiFi HC5661 / HC5761 / HC5861
Home Page: http://rssn.cn/roms/
增加了一个vpn配置,加到了wan口的防火墙上,但是无法连接,不知道是什么原因。相关的软件都安装。
我想编译一个gccgo 我想编译一个go写的程序 官方的sdk包make的时候显示:
This source tree cannot be used for building firmware.
If you mean building an OpenWrt package, please follow:
使用luci更新后电脑能获取IP地址,路由不能获取ip地址;
使用Uboot重刷这个固件,电脑不能获取IP地址。
使用固件:Barrier Breaker - r43770(1-1-2015 )
我自己直接从openwrt上svn barrier_breaker_43801,
并参照hiwifi-hc5761.patch修改和增加文件后编译的固件也出现同样的问题。
Matthew.
网络interface中添加l2tp的vpn,默认路由,并为一些IP添加了路由使用默认wan接口路由
配置完成之后,2.4G和5G的wifi访问一切正常
使用有线lan接口访问不经过vpn的流量正常,也能打开路由器后台界面
使用有线lan接口访问经过vpn的流量就访问不了了,但是ping这些经过vpn路由的ip是能ping通的
比如百度是经过vpn路由的,使用有线网可以ping通百度,但是使用浏览器无法打开百度的网页,并且在浏览器尝试打开百度的过程中,可以看到ping百度的延迟从几十毫秒到上千毫秒一直在跳
因为极路由自己的固件只支持 WPA-个人,所以才用到本固件。
2.4G 支持 WPA-Enterprise 验证方式,但 5G 的不支持: 即使我 ssh 连接到路由器,手工改了 /etc/config/wireless 也不行(见下面的配置)
config wifi-iface
option device 'mt7610e'
option ifname 'rai0'
option network 'lan'
option mode 'ap'
option ssid '..................-5G'
option encryption 'wpa2'
option auth_server '192.168.X.X'
option acct_server '192.168.X.X'
option auth_secret '***'
option acct_secret '***'
如果按照上面的配置启动 5G 的 ssid,它就会变成开放式 wifi ……
5G无法通过luci配置加密模式
需要更改/etc/config/wireless才能更改加密模式
发现插入优盘或者FTDI设备,一点反应都没有?需要安装哪些模块?
通过 luci 添加第二个 2.4G 的无线设备时,保存并应用,此时设备是能启动起来的。
但是看一下 /etc/config/wireless 时,新加的网络接口设备名为 rai0,这个名称与 5G 的 ifname 是相同的,这样的话,如果重启wifi (执行 wifi up 命令),无线就启动不了了
不知道是否与多个 wifi-device 有关,我家里的路由器只有 2.4G 的 wifi 设备,通过 luci 配置时,ifname 是自动从 wlan0-1 递增的
ap-sta模式,wwan mac显示00:00:00:00:00:00,但可以上网,上级显示是ralink的mac.克隆mac后会使无线无法开启。直接改/etc/config/network后,wwan可以显示对应的mac,但上级路由还是原来的ralink mac.
make menuconfig后输入“/”,就只有搜索到 kmod-iptunnel6 ,
kmod-iptunnel kmod-iptunnel4都是 unknown.
kmod-yavlan 则是 No matches found
版本:barrier_breaker 43929
MATTHEW.
使用的是gfwlist自动代理,安全DNS端口是1053,开启了通过ss隧道走支持TCP的DNS。手机上的play商店下载应用进度条闪几下就没了,怀疑是ss没有代理Google Play用的5228端口?
用你的固件,刷了极1S。路由工作正常,只是不能翻墙啊。有什么特别的设置吗?
好几次了…
openwrt 14.07 的软件包似乎安装不了
安装 tc 的时候
出错提示
Collected errors:
极2 用了SS 没有用facebook无法上
刚刷完机,dnsmasq是存在的没有pdnsd,重启后就有pdnsd没有dnsmasq了,
只有关闭pdnsd了dnsmasq才能启动,
/etc/pdnsd.conf 中没有端口号的设置,导致启动时使用默认53端口与dnsmasq冲突。
HC5761
如题。5G 可能存在一些问题。
http://openwrt-dist.sourceforge.net/
主要是 我自己安装这几个 东西。就那个 SS 怎么也无法运行起来。。好奇怪。。。又找不 相关的 讨论串。。。
对了 直接用 Dnsmasq-Full 不好吗?(反正这个固件是专门给几款路由用。。直接集成它不是更方便?)
HC5761
比如我的现在就成了:
Generic WEXT 802.11 (mt7610e)
Channel: 44 (? GHz) | Bitrate: 433.5 Mbit/s
Generic WEXT 802.11 (radio0)
Channel: 44 (? GHz) | Bitrate: 433.5 Mbit/s
下载说明里说极1S和极2通用,但是下载只有openwrt-ramips-mt7620a-hiwifi-hc5761-squashfs-sysupgrade.bin文件,没有HC5661的,刷入极1S会无法开机。
刚clone了openwrt Chaos Calmer (trunk)官方代码:https://dev.openwrt.org/wiki/GetSource
git clone [email protected]:openwrtio/openwrt.git
git clone git://git.openwrt.org/openwrt.git
cd openwrt
make menuconfig
选了Ralink和MT7620,Target Profile里出现了小米路由 Xiaomi MiWiFi Mini,如图:
建议:把极路由也提交到openwrt官方代码里,便于开发者编译。
现在大部分的HC5761都推送成了9008的固件了,串口已经没有办法获取Terminal了,求刷uboot的办法
执行make编译后,在下载pdnsd源码时,由于makefile中得地址没有更新,会导致下载失败,编译不通过。正确地址为https://gitorious.org/pdnsd/pdnsd.git
原始有问题地址是git://gitorious.org/pdnsd/pdnsd.git
软件包的来源是默认的软件源,具体表现是,开启进程没问题,一旦使用RPC操作任务(添加/暂停/删除),就会有很高几率报错并退出,已知3种报错分别是Segmentation falt、Illegal instruction、Bus error,自己编译了aria2以及它的依赖包(即aria2、libc、zlib、libxml2、libstdcpp、libopenssl)强制安装之后问题不再重现,我挂载了一张格成ext4的16G SD卡作extroot,我没有在之前的固件里使用过extroot,不知是否与此有关。
极1S 用mtd刷机变砖。如何正确刷机?
安全TCP连接容易断开的问题
以前是从一个https的svn仓库里update时,会遇到错误,提示ssl传输失败什么来着的错误……
使用windows远程桌面(带网络级别身份验证)从wan连接到lan里面的电脑时(防火墙配置端口转发),也出现了远程桌面不断断开,提示“数据加密错误”……
并且,wan和lan之间转发时,速度并不是很高。
是否是因为NAT的bug导致转发速率不高以及造成了加密传输时的数据损坏呢?
如何编译出像项目Release那样的包含MTK闭源驱动的镜像?
如题。HC5761路由器刷机后没有进行其他的配置。但是路由器内网的ftp客户端无法使用被动模式访问外网的ftp,主动模式可用。并且内网的机器无法连接外网的PPTP协议的VPN,而IPsec协议的VPN可用。
http://www.right.com.cn/forum/thread-163542-1-1.html
5G LED设置, 测试好像正常。
用最新代码编译出来安装kmod-usb-serial与kmod-usb-serial-ftdi仍然报错
Installing kmod-usb-serial (3.10.49-1) to root...
Collected errors:
kernel (= 3.10.49-1-d76e6f324569f8ee594c00fbbee62f37) \*
自动挂载的移动硬盘是只读的,我的硬盘是ntfs的,添加rw参数也没用,而且看不到中文名字的目录和文件,因为安装了迅雷离线,所以需要进行写入操作,如果保持使用只读格式的需要在50-mount.sh中case段中修改为
mount_opts="$mount_opts -t $fs_type -o rw,iocharset=utf8,umask=000,nls=utf8,dmask=0000,fmask=0000"
如果使用ntfs-3g挂载后就可以进行读写操作了,需要修改为
mount_opts="$mount_opts -t ntfs-3g -o rw,iocharset=utf8,noatime,big_writes,async,nls=utf8"
但是感觉ntfs-3g好像没有直接使用内核ntfs方式读取速度快。
为了和fat格式区分开来,我改成了
case "$fs_type" in
vfat)
mount_opts="$mount_opts -t $fs_type -o rw,iocharset=utf8,umask=000,nls=utf8,dmask=0000,fmask=0000"
;;
ntfs)
mount_opts=$mount_opts -t "$fs_type"-3g -o rw,iocharset=utf8,noatime,big_writes,async,nls=utf8
;;
"")
mount_opts="$mount_opts -o dmask=0000,fmask=0000"
;;
*)
mount_opts="$mount_opts -t $fs_type"
;;
esac
我也不知道到底是不是我硬盘的问题。
if [ -d /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm ]; then (cd /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm; find ./ > /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm.files); SHELL= /home/xxx/openwrt-hc5x61/openwrt-ramips/staging_dir/host/bin/flock /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/.staging-dir.flock -c ' mv /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm.files /home/xxx/openwrt-hc5x61/openwrt-ramips/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/packages/linux-atm.list && cp -fpR /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm/* /home/xxx/openwrt-hc5x61/openwrt-ramips/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/; '; fi
rm -rf /home/xxx/openwrt-hc5x61/openwrt-ramips/tmp/stage-linux-atm
touch /home/xxx/openwrt-hc5x61/openwrt-ramips/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.linux-atm_installed
WARNING: skipping atm-tools -- package not selected
WARNING: skipping atm-debug-tools -- package not selected
WARNING: skipping atm-diagnostics -- package not selected
WARNING: skipping br2684ctl -- package not selected
WARNING: skipping atm-aread -- package not selected
WARNING: skipping atm-awrite -- package not selected
WARNING: skipping atm-atmdiag -- package not selected
WARNING: skipping atm-atmdump -- package not selected
WARNING: skipping atm-atmswitch -- package not selected
WARNING: skipping atm-saaldump -- package not selected
WARNING: skipping atm-sonetdiag -- package not selected
WARNING: skipping atm-svc_recv -- package not selected
WARNING: skipping atm-svc_send -- package not selected
WARNING: skipping atm-ttcp_atm -- package not selected
WARNING: skipping atm-atmaddr -- package not selected
WARNING: skipping atm-atmloop -- package not selected
WARNING: skipping atm-atmtcp -- package not selected
WARNING: skipping atm-esi -- package not selected
WARNING: skipping atm-atmsigd -- package not selected
WARNING: skipping atm-bus -- package not selected
WARNING: skipping atm-ilmid -- package not selected
WARNING: skipping atm-ilmidiag -- package not selected
WARNING: skipping atm-lecs -- package not selected
WARNING: skipping atm-les -- package not selected
WARNING: skipping atm-mpcd -- package not selected
WARNING: skipping atm-zeppelin -- package not selected
make[3]: Leaving directory /home/xxx/openwrt-hc5x61/openwrt-ramips/package/network/utils/linux-atm' make[2]: Leaving directory
/home/xxx/openwrt-hc5x61/openwrt-ramips'
make[1]: *** [/home/xxx/openwrt-hc5x61/openwrt-ramips/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/xxx/openwrt-hc5x61/openwrt-ramips'
make: *** [world] 错误 2
在用自己的shell脚本的 qos tc 命令的时候
有如下报错,我自己编译的固件似乎没有,麻烦周知,脚本在我的[gist]里 (https://gist.github.com/swshan/74db1dfad7d8c1943cd0)
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
我会继续尝试,可能是脚本语法的问题
update 搜索了一下 可能是缺少了 iptables 的u32 模块
ps, 最好加上 hfsc 相关的东西
参考 http://wiki.openwrt.org/doc/howto/packet.scheduler/packet.scheduler.example4
Load kernel modules (will need HFSC / FQ_CODEL / INGRESS qdiscs, and FLOW / U32 classifiers)
MODULES='sch_hfsc sch_ingress sch_fq_codel cls_flow cls_u32'
GFW-List自动代理失效,换成所有非天草IP才能用
另外SWAP不能设置缓存大小,这是openwrt的bug吗
I'm trying to update via tftp, but no luck.
TFTP from server 192.168.1.88; our IP address is 192.168.1.119
Filename 'recovery.bin'.
TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (b8:8d:12:53:98:68)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############
done
Bytes transferred = 8388612 (800004 hex)
NetBootFileXferSize= 00800004
recovery img chk failed!
浏览网页,图片会有一两张是 花掉的。
下载 文件,基本上 都是 各种解压文件错误。。。
头都大了,不会是我把路由弄坏了?
就只用了 “不死 U-Boot” 然后各种刷来刷去。。。折腾得头大。
都准备跟着 大大的 OpenWrt Patch 自己 编译 看看。。。
刷了开不了鸡 不管是你你编译的还是自己用你源码编译,只有电源灯闪 ,不能获取IP 不能访问路由
换了两张 SD 卡。在/dev
里都没有任何显示。重启过路由器也是一样。请问如何解决,或者需要搜集哪些数据?
按照http://openwrt-hiwifi.github.io/#nav-bulid 上的步骤编译,并没有在recovery.bin目录下生成 openwrt-HC5761-recovery.bin、openwrt-HC5661-recovery.bin 。。。
另外,如何确认u-boot已经解锁?“你懂的“真的很调皮~~~
代理监控后发现GooglePlay下载链接的是
gvt0.com
gvt1.com
gvt2.com
gvt3.com
gvt4.com
gvt5.com
这几个据说是GoogleCDN的地址,需要添加到域名列表里才能下载,但是有的时候还是很慢,不知道是为什么。
hc5761上配置VPN无法通过VPN来上网,有bug,单独拿来用是好的,待其他同仁测试是否正常,我的联系方式 QQ:58036298 请注明 是通过github
5G luci配置模式信道不可选,国家代码不可选
openwrt自带的qos效果不行啊,单IP控制不住BT……
集散固件下载地址错误,原链接:https://github.com/rssnsj/openwrt-hc5x61/releases/releases 多了一个releases,应改为:https://github.com/rssnsj/openwrt-hc5x61/releases/
2.4G WIFI 正常打开失败,无法设置信道,只能在导航目录选 无线 进入后才能开启,信道只能在配置文件里修改,而前台无选项。谢谢。
http://www.anz.ru/files/mediatek/MT7620_Datasheet.pdf
看到文档里说支持
“Hardware NAT with IPv6 and 2 Gbps wired speed”
请教一下如何支持呢?
在编译最新release的源码时发现config中mt7610e没有enable,请问打开5G需要config那些选项?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.