1
lazycat 2015-02-06 13:29:34 +08:00
感谢。。。一直用着N14U的固件。。。
能不能集成一个带802.1x验证的固件呢? |
3
mozutaba 2015-02-06 14:24:25 +08:00
先感谢,再问:
系统升级刷入? 有什么已知bug? ss会不会卡住? |
4
riaqn 2015-02-06 15:31:44 +08:00
一般我不用trunk,更新太快,不稳定。
比如strongswan在trunk上就连不上,在Break barrier上就没问题。 |
5
shangjiyu OP @mozutaba uboot下刷入, bug待反馈(不知道,我自己用在自己设置下没有问题)... ss卡住?这只是个客户端, 具体还需自己设置服务器, 代理规则...
|
6
tyhunter 2015-02-06 16:16:23 +08:00
Mark,等回学校刷下试试
|
10
ivyswen 2015-02-27 10:49:04 +08:00
能否分享一下,BB版增加ry-1支持的方法?
|
11
shangjiyu OP @ivyswen 这个patch 你可以参考下
Index: target/linux/ramips/dts/RY-01.dts =================================================================== --- target/linux/ramips/dts/RY-01.dts (revision 0) +++ target/linux/ramips/dts/RY-01.dts (revision 0) @@ -0,0 +1,130 @@ +/dts-v1/; + +/include/ "mt7620n.dtsi" + +/ { + compatible = "xcloud,ry-01", "ralink,mt7620n-soc"; + model = "XCloud RY-01"; + + palmbus@10000000 { + gpio0: gpio@600 { + status = "okay"; + }; + + gpio2: gpio@660 { + status = "okay"; + }; + + gpio3: gpio@688 { + status = "okay"; + }; + + spi@b00 { + status = "okay"; + + m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + #compatible = "mx25l6405d"; + compatible = "w25q128"; + reg = <0 0>; + linux,modalias = "m25p80", "w25q128"; + spi-max-frequency = <10000000>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0xfb0000>; + }; + }; + }; + }; + + ehci@101c0000 { + status = "okay"; + }; + + ohci@101c1000 { + status = "okay"; + }; + + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + ralink,port-map = "wllll"; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; + }; + + pinctrl { + state_default: pinctrl0 { + default { + ralink,group = "ephy", "wled"; + ralink,function = "gpio"; + }; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + wan { + label = "xcloud:red:wan"; + gpios = <&gpio2 0 1>; + }; + lan4 { + label = "xcloud:red:lan4"; + gpios = <&gpio2 1 1>; + }; + lan3 { + label = "xcloud:red:lan3"; + gpios = <&gpio2 2 1>; + }; + lan2 { + label = "xcloud:red:lan2"; + gpios = <&gpio2 3 1>; + }; + lan1 { + label = "xcloud:red:lan1"; + gpios = <&gpio2 3 1>; + }; + air { + label = "xcloud:red:air"; + gpios = <&gpio3 0 1>; + }; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + reset { + label = "reset"; + gpios = <&gpio0 1 1>; + linux,code = <0x198>; + }; + wps { + label = "wps"; + gpios = <&gpio0 2 1>; + linux,code = <0x211>; + }; + }; +}; Index: target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk =================================================================== --- target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk (revision 0) +++ target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk (revision 0) @@ -0,0 +1,18 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/XCloud-RY-01 + NAME:=XCloud RY 01 + PACKAGES:=\ + kmod-usb-core kmod-usb2 kmod-usb-ohci \ + kmod-ledtrig-usbdev +endef + +define Profile/Default/Description + Support for XCloud RY 01 +endef +$(eval $(call Profile,XCloud-RY-01)) Property changes on: target/linux/ramips/mt7620/profiles/xcloud-ry-01.mk ___________________________________________________________________ Added: svn:executable + * Index: target/linux/ramips/base-files/etc/board.d/01_leds =================================================================== --- target/linux/ramips/base-files/etc/board.d/01_leds (revision 44550) +++ target/linux/ramips/base-files/etc/board.d/01_leds (working copy) @@ -202,6 +202,11 @@ set_wifi_led "asus:blue:air" set_usb_led "asus:blue:usb" ;; + ry-01) + ucidef_set_led_default "power" "power" "xcloud:red:power" "1" + set_wifi_led "xcloud:red:wifi" + set_usb_led "xcloud:red:usb" + ;; rp-n53) ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0" set_wifi_led "asus:blue:wifi" Index: target/linux/ramips/base-files/etc/board.d/02_network =================================================================== --- target/linux/ramips/base-files/etc/board.d/02_network (revision 44550) +++ target/linux/ramips/base-files/etc/board.d/02_network (working copy) @@ -154,6 +154,7 @@ f5d8235-v2 | \ hg255d | \ rt-n14u | \ + ry-01 | \ wrtnode | \ wt3020 | \ ur-326n4g | \ Index: target/linux/ramips/base-files/lib/ramips.sh =================================================================== --- target/linux/ramips/base-files/lib/ramips.sh (revision 44550) +++ target/linux/ramips/base-files/lib/ramips.sh (working copy) @@ -172,6 +172,9 @@ *"Asus RT-N14U") name="rt-n14u" ;; + *"XCloud RY-01") + name="ry-01" + ;; *"Asus RT-N13U") name="rt-n13u" ;; Index: target/linux/ramips/base-files/lib/upgrade/platform.sh =================================================================== --- target/linux/ramips/base-files/lib/upgrade/platform.sh (revision 44550) +++ target/linux/ramips/base-files/lib/upgrade/platform.sh (working copy) @@ -78,6 +78,7 @@ rt-n10-plus | \ rt-n13u | \ rt-n14u | \ + ry-01 | \ rt-n15 | \ rt-n56u | \ rut5xx | \ Index: target/linux/ramips/image/Makefile =================================================================== --- target/linux/ramips/image/Makefile (revision 44550) +++ target/linux/ramips/image/Makefile (working copy) @@ -858,6 +858,7 @@ Image/Build/Profile/MLWG2=$(call BuildFirmware/Default16M/$(1),$(1),mlwg2,MLWG2) Image/Build/Profile/WMR300=$(call BuildFirmware/Default8M/$(1),$(1),wmr-300,WMR300) Image/Build/Profile/RT-N14U=$(call BuildFirmware/Default8M/$(1),$(1),rt-n14u,RT-N14U) +Image/Build/Profile/RY-01=$(call BuildFirmware/Default16M/$(1),$(1),ry-01,RY-01) Image/Build/Profile/WR8305RT=$(call BuildFirmware/Default8M/$(1),$(1),wr8305rt,WR8305RT) Image/Build/Profile/WRTNODE=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode,WRTNODE) Image/Build/Profile/WT3020=$(call BuildFirmware/PorayDualSize/$(1),$(1),wt3020,WT3020) @@ -887,12 +888,12 @@ $(call Image/Build/Profile/MLWG2,$(1)) $(call Image/Build/Profile/WMR300,$(1)) $(call Image/Build/Profile/RT-N14U,$(1)) + $(call Image/Build/Profile/RY-01,$(1)) $(call Image/Build/Profile/WR8305RT,$(1)) $(call Image/Build/Profile/WRTNODE,$(1)) $(call Image/Build/Profile/WT3020,$(1)) $(call Image/Build/Profile/XIAOMI-MIWIFI-MINI,$(1)) $(call Image/Build/Profile/ZBT-WA05,$(1)) - $(call Image/Build/Profile/ArcherC20i,$(1)) endef endif |
12
shangjiyu OP |
13
shangjiyu OP 我擦。。 paste code test
https://gist.github.com/shangjiyu/c25b847c5f0e62c428b3 |
14
ivyswen 2015-03-02 06:35:52 +08:00 via Android
非常感谢!
|
15
guanyongxin 2015-03-09 08:24:02 +08:00
qos v4 正常了吗?git-15.020.45040-a46d203这个版本的QOS v4无效额..
|
16
guanyongxin 2015-03-09 15:08:58 +08:00
可以集成个qos-emong功能吗,原版的QOS功能用着实在蛋疼,想单IP限速都不行
|
17
guanyongxin 2015-03-09 16:54:32 +08:00
启动pdnsd显示错误
root@OpenWrt:~# /etc/init.d/pdnsd start Starting proxy DNS server: pdnsdError: Bad config file permissions: file /etc/pdnsd.conf must be only writeable by the user. |
18
shangjiyu OP @guanyongxin 权限问题自己修改下好了,有空再折腾下QoS。 另981213大大的分支貌似有2860v2的优化和QoS补丁
|
19
guanyongxin 2015-03-10 08:05:51 +08:00
@shangjiyu 981213?有链接么?981213是V2EX的用户名吗
|
20
shangjiyu OP |
21
tyhunter 2015-03-27 13:00:10 +08:00
LZ你好,我刷了你的固件之后,发现shadowsocks始终无法启动,试着用SSH连接路由器后手动开启SS也是没有反应,这是什么原因?
|
23
tyhunter 2015-03-27 18:13:46 +08:00
@shangjiyu dnsmasq和SS都没办法使用
Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: reading /tmp/resolv.conf.auto Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using local addresses only for domain lan Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using nameserver 10.80.96.250#53 Fri Mar 27 18:10:32 2015 daemon.info dnsmasq[2929]: using nameserver 202.96.104.17#53 Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 1) Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5727 Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 2) Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5729 Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:32 2015 user.info autossh[5723]: starting ssh (count 3) Fri Mar 27 18:10:32 2015 user.info autossh[5723]: ssh child pid is 5731 Fri Mar 27 18:10:32 2015 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan) Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 4) Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5756 Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 5) Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5757 Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:33 2015 user.info autossh[5723]: starting ssh (count 6) Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh child pid is 5758 Fri Mar 27 18:10:33 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:35 2015 daemon.info privoxy[3180]: Restart request due to 'ifup' of interface 'wan' Fri Mar 27 18:10:35 2015 user.info autossh[5723]: starting ssh (count 7) Fri Mar 27 18:10:35 2015 user.info autossh[5723]: ssh child pid is 5840 Fri Mar 27 18:10:35 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:10:36 2015 daemon.notice privoxy[3180]: Shutdown successfully Fri Mar 27 18:10:38 2015 daemon.notice privoxy[6090]: Started successfully Fri Mar 27 18:10:38 2015 user.notice ddns-scripts[6108]: myddns_ipv4: PID '6108' started at 2015-03-27 18:10 Fri Mar 27 18:10:38 2015 user.warn ddns-scripts[6108]: myddns_ipv4: Service section disabled! - TERMINATE Fri Mar 27 18:10:38 2015 user.warn ddns-scripts[6108]: myddns_ipv4: PID '6108' exit WITH ERROR '1' at 2015-03-27 18:10\n Fri Mar 27 18:10:43 2015 user.info autossh[5723]: starting ssh (count 8) Fri Mar 27 18:10:43 2015 user.info autossh[5723]: ssh child pid is 6159 Fri Mar 27 18:10:43 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh Fri Mar 27 18:11:01 2015 user.info autossh[5723]: starting ssh (count 9) Fri Mar 27 18:11:01 2015 user.info autossh[5723]: ssh child pid is 6267 Fri Mar 27 18:11:01 2015 user.info autossh[5723]: ssh exited with error status 1; restarting ssh |
24
shangjiyu OP @tyhunter .... 一点有用的信息都没有... 你先关闭不需要的程序(autossh, privoxy 等等), 然后重启ss 看下log... (可能没有/etc/ipset 这个目录..) dnsmasq的话 默认是启用chinadns的(忽然发现默认配置里面有个172.16.7. 的内网ip... 失误)
折腾还是需要点知识的.. |
25
yuhaaitao 2015-03-31 13:39:55 +08:00
多谢,原来如意云1还可以刷这么多功能
|
26
ivyswen 2015-04-12 14:06:54 +08:00
我用你最新的补丁编译出来了,但是lan口、USB的灯都不亮。但是在luci里讲lan1-4、USB分别指向别的设备是可以亮的。
配置如下 config led 'led_power' option name 'power' option default '1' option sysfs 'dteam:red:power' config led 'led_wan' option name 'wan' option default '0' option sysfs 'dteam:red:wan' option trigger 'heartbeat' config led 'led_wifi_led' option name 'wifi' option trigger 'netdev' option mode 'link tx rx' option default '0' option dev 'ra0' option sysfs 'dteam:red:wifi' config led 'led_usb' option name 'USB' option trigger 'usbdev' option dev '1-1' option interval '50' option sysfs 'dteam:red:usb' option default '0' |
27
hero18688 2015-05-06 00:41:49 +08:00
LZ你好,我用的型号是zbt-wa05,看上去led数量和分布跟如意云一样,但我把flash从8m改成16m后系统灯 无线灯就不亮了,请教下你是怎么修改的
|
28
hero18688 2015-05-06 16:30:51 +08:00
刷过楼主的固件里,网线插哪个口都是wan灯亮,其他不亮,但是通过gpio命令,网口灯都可以设置亮灭的,是因为每个灯没有关联到对应网口吗?希望修正
我看到如意云官方固件插拔网线会有对应网口提示 [ 68.390000] ESW: Link Status Changed - Port3 Link UP [ 69.260000] ESW: Link Status Changed - Port3 Link Down [ 73.370000] ESW: Link Status Changed - Port2 Link UP [ 74.240000] ESW: Link Status Changed - Port2 Link Down 楼主固件没有。 |
29
stcode 2015-06-01 20:19:11 +08:00
RY-1刚刷了,无线设置页面打不开,提示网关错误,
|
30
shangjiyu OP |
32
stcode 2015-06-02 22:59:43 +08:00
@shangjiyu RY-1刷了,基本正常,无线发射速率最高只有54 Mbit/s,还有无线那个信道没有12,13,有时会出现12,13信道选择项,但是选择保存之后,无线就会关闭。辛苦了,
|
33
stcode 2015-06-12 09:05:36 +08:00
对比了几个固件才发现,原来楼主编译的是RY-1A这个型号,难怪无线只有54MB呢,无线驱动不匹配,
楼主能否帮忙帮忙编译一个RY-1的固件,配置了好久的编译环境都不成功.先谢谢了 |