米柚愛好者論壇

 找回密碼
 立即註冊
樓主: 鸚鵡
打印 上一主題 下一主題

[功能包] 小米路由器mini 翻牆套件 for 小米電視/小米盒子 (2016.06.19 更新設定檔)

  [複製鏈接]

11

主題

0

好友

1693

積分

大二

Rank: 4Rank: 4

61#
發表於 2014-11-17 21:55:53 |只看該作者
Mi2Sir 發表於 2014-11-17 21:54
也正確

在打入

login as: root
root@192.168.31.1's password: ********


BusyBox v1.19.4 (2014-11-14 19:43:23 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-----------------------------------------------------
        Welcome to XiaoQiang!
-----------------------------------------------------
root@XiaoQiang:~# ps |grep privoxy
  530 root      1748 S    grep privoxy
root@XiaoQiang:~# ps |grep privoxy
  741 root      1748 S    grep privoxy
root@XiaoQiang:~# cat /etc/rc.local
# restore phy config
speed=$(uci -q get xiaoqiang.common.WAN_SPEED)
[ -n "$speed" ] && /usr/sbin/phyhelper swan "$speed"
/etc/init.ezbox.sh
exit 0
root@XiaoQiang:~# ls -l /etc/init.ezbox.sh
-rwxr-xr-x    1 root     root           378 Nov  7 00:41 /etc/init.ezbox.sh
root@XiaoQiang:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_prerouting  all  --  anywhere             anywhere

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_postrouting  all  --  anywhere             anywhere

Chain MINIUPNPD (1 references)
target     prot opt source               destination

Chain delegate_postrouting (1 references)
target     prot opt source               destination
postrouting_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
zone_lan_postrouting  all  --  anywhere             anywhere
zone_wan_postrouting  all  --  anywhere             anywhere

Chain delegate_prerouting (1 references)
target     prot opt source               destination
prerouting_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
zone_lan_prerouting  all  --  anywhere             anywhere
zone_wan_prerouting  all  --  anywhere             anywhere

Chain postrouting_lan_rule (1 references)
target     prot opt source               destination

Chain postrouting_rule (1 references)
target     prot opt source               destination

Chain postrouting_wan_rule (1 references)
target     prot opt source               destination

Chain prerouting_lan_rule (1 references)
target     prot opt source               destination
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x3575757&&0x0>>0x16&0x3c@0x18&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x1c&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x20&0xdfdfdf00=0x434f4d00" redir ports 53
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x18&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x1c&0xdfdfdf00=0x434f4d00" redir ports 53

Chain prerouting_rule (1 references)
target     prot opt source               destination

Chain prerouting_wan_rule (1 references)
target     prot opt source               destination

Chain zone_lan_postrouting (1 references)
target     prot opt source               destination
postrouting_lan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */

Chain zone_lan_prerouting (1 references)
target     prot opt source               destination
prerouting_lan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */

Chain zone_wan_postrouting (1 references)
target     prot opt source               destination
postrouting_wan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
MASQUERADE  all  --  anywhere             anywhere

Chain zone_wan_prerouting (1 references)
target     prot opt source               destination
MINIUPNPD  all  --  anywhere             anywhere
prerouting_wan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
root@XiaoQiang:~# cd /extdisks/sda1/xiaomi_router/ezbox
-ash: cd: can't cd to /extdisks/sda1/xiaomi_router/ezbox
root@XiaoQiang:~#

62

主題

34

好友

2萬

積分

版主

論壇老灰阿

Rank: 12Rank: 12

62#
發表於 2014-11-17 21:56:13 |只看該作者
鸚鵡 發表於 2014-11-17 21:47
@Mi2Sir

speed=$(


0.6.40
才有的
有影響嗎

我用過ok阿
還是我記錯了?

62

主題

34

好友

2萬

積分

版主

論壇老灰阿

Rank: 12Rank: 12

63#
發表於 2014-11-17 21:59:22 |只看該作者
文成 發表於 2014-11-17 21:55
login as: root
's password: ********

你並沒有把檔案複製到隨身碟上阿!

11

主題

0

好友

1693

積分

大二

Rank: 4Rank: 4

64#
發表於 2014-11-17 21:59:23 |只看該作者
Mi2Sir 發表於 2014-11-17 21:56

0.6.40
才有的

大大 我的xiaomi_router資料夾是在/extdisks/sda/裡面呢

11

主題

0

好友

1693

積分

大二

Rank: 4Rank: 4

65#
發表於 2014-11-17 22:01:55 |只看該作者
Mi2Sir 發表於 2014-11-17 21:59
你並沒有把檔案複製到隨身碟上阿!

login as: root
root@192.168.31.1's password: ********


BusyBox v1.19.4 (2014-11-14 19:43:23 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-----------------------------------------------------
        Welcome to XiaoQiang!
-----------------------------------------------------
root@XiaoQiang:~# ps |grep privoxy
  530 root      1748 S    grep privoxy
root@XiaoQiang:~# ps |grep privoxy
  741 root      1748 S    grep privoxy
root@XiaoQiang:~# cat /etc/rc.local
# restore phy config
speed=$(uci -q get xiaoqiang.common.WAN_SPEED)
[ -n "$speed" ] && /usr/sbin/phyhelper swan "$speed"
/etc/init.ezbox.sh
exit 0
root@XiaoQiang:~# ls -l /etc/init.ezbox.sh
-rwxr-xr-x    1 root     root           378 Nov  7 00:41 /etc/init.ezbox.sh
root@XiaoQiang:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_prerouting  all  --  anywhere             anywhere

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_postrouting  all  --  anywhere             anywhere

Chain MINIUPNPD (1 references)
target     prot opt source               destination

Chain delegate_postrouting (1 references)
target     prot opt source               destination
postrouting_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
zone_lan_postrouting  all  --  anywhere             anywhere
zone_wan_postrouting  all  --  anywhere             anywhere

Chain delegate_prerouting (1 references)
target     prot opt source               destination
prerouting_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
zone_lan_prerouting  all  --  anywhere             anywhere
zone_wan_prerouting  all  --  anywhere             anywhere

Chain postrouting_lan_rule (1 references)
target     prot opt source               destination

Chain postrouting_rule (1 references)
target     prot opt source               destination

Chain postrouting_wan_rule (1 references)
target     prot opt source               destination

Chain prerouting_lan_rule (1 references)
target     prot opt source               destination
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x3575757&&0x0>>0x16&0x3c@0x18&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x1c&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x20&0xdfdfdf00=0x434f4d00" redir ports 53
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x18&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x1c&0xdfdfdf00=0x434f4d00" redir ports 53

Chain prerouting_rule (1 references)
target     prot opt source               destination

Chain prerouting_wan_rule (1 references)
target     prot opt source               destination

Chain zone_lan_postrouting (1 references)
target     prot opt source               destination
postrouting_lan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */

Chain zone_lan_prerouting (1 references)
target     prot opt source               destination
prerouting_lan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */

Chain zone_wan_postrouting (1 references)
target     prot opt source               destination
postrouting_wan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
MASQUERADE  all  --  anywhere             anywhere

Chain zone_wan_prerouting (1 references)
target     prot opt source               destination
MINIUPNPD  all  --  anywhere             anywhere
prerouting_wan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
root@XiaoQiang:~# cd /extdisks/sda1/xiaomi_router/ezbox
-ash: cd: can't cd to /extdisks/sda1/xiaomi_router/ezbox
root@XiaoQiang:~# /extdisks/sda/xiaomi_router/ezbox
-ash: /extdisks/sda/xiaomi_router/ezbox: Permission denied
root@XiaoQiang:~#

62

主題

34

好友

2萬

積分

版主

論壇老灰阿

Rank: 12Rank: 12

66#
發表於 2014-11-17 22:02:34 |只看該作者
文成 發表於 2014-11-17 21:59
大大 我的xiaomi_router資料夾是在/extdisks/sda/裡面呢

@鸚鵡

那ㄟ 安ㄋ  ?

sda 不是 sda1

62

主題

34

好友

2萬

積分

版主

論壇老灰阿

Rank: 12Rank: 12

67#
發表於 2014-11-17 22:05:55 |只看該作者
文成 發表於 2014-11-17 22:01
login as: root
's password: ********

確認一下 打入

cd /extdisks/sda/xiaomi_router/ezbox

11

主題

0

好友

1693

積分

大二

Rank: 4Rank: 4

68#
發表於 2014-11-17 22:06:26 |只看該作者
Mi2Sir 發表於 2014-11-17 22:05
確認一下 打入

cd /extdisks/sda/xiaomi_router/ezbox

root@XiaoQiang:~# /extdisks/sda/xiaomi_router/ezbox
-ash: /extdisks/sda/xiaomi_router/ezbox: Permission denied
root@XiaoQiang:~#

62

主題

34

好友

2萬

積分

版主

論壇老灰阿

Rank: 12Rank: 12

69#
發表於 2014-11-17 22:07:14 |只看該作者
文成 發表於 2014-11-17 22:06
root@XiaoQiang:~# /extdisks/sda/xiaomi_router/ezbox
-ash: /extdisks/sda/xiaomi_router/ezbox: Perm ...

漏了前面的 cd

11

主題

0

好友

1693

積分

大二

Rank: 4Rank: 4

70#
發表於 2014-11-17 22:08:51 |只看該作者
Mi2Sir 發表於 2014-11-17 22:07
漏了前面的 cd

login as: root
root@192.168.31.1's password: ********


BusyBox v1.19.4 (2014-11-14 19:43:23 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-----------------------------------------------------
        Welcome to XiaoQiang!
-----------------------------------------------------
root@XiaoQiang:~# ps |grep privoxy
  530 root      1748 S    grep privoxy
root@XiaoQiang:~# ps |grep privoxy
  741 root      1748 S    grep privoxy
root@XiaoQiang:~# cat /etc/rc.local
# restore phy config
speed=$(uci -q get xiaoqiang.common.WAN_SPEED)
[ -n "$speed" ] && /usr/sbin/phyhelper swan "$speed"
/etc/init.ezbox.sh
exit 0
root@XiaoQiang:~# ls -l /etc/init.ezbox.sh
-rwxr-xr-x    1 root     root           378 Nov  7 00:41 /etc/init.ezbox.sh
root@XiaoQiang:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_prerouting  all  --  anywhere             anywhere

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
delegate_postrouting  all  --  anywhere             anywhere

Chain MINIUPNPD (1 references)
target     prot opt source               destination

Chain delegate_postrouting (1 references)
target     prot opt source               destination
postrouting_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
zone_lan_postrouting  all  --  anywhere             anywhere
zone_wan_postrouting  all  --  anywhere             anywhere

Chain delegate_prerouting (1 references)
target     prot opt source               destination
prerouting_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
zone_lan_prerouting  all  --  anywhere             anywhere
zone_wan_prerouting  all  --  anywhere             anywhere

Chain postrouting_lan_rule (1 references)
target     prot opt source               destination

Chain postrouting_rule (1 references)
target     prot opt source               destination

Chain postrouting_wan_rule (1 references)
target     prot opt source               destination

Chain prerouting_lan_rule (1 references)
target     prot opt source               destination
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x3575757&&0x0>>0x16&0x3c@0x18&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x1c&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x20&0xdfdfdf00=0x434f4d00" redir ports 53
REDIRECT   udp  --  anywhere             anywhere             udp dpt:domain u32 "0x0>>0x16&0x3c@0x14&0xffdfdfdf=0x64d4957&&0x0>>0x16&0x3c@0x18&0xdfdfdfff=0x49464903&&0x0>>0x16&0x3c@0x1c&0xdfdfdf00=0x434f4d00" redir ports 53

Chain prerouting_rule (1 references)
target     prot opt source               destination

Chain prerouting_wan_rule (1 references)
target     prot opt source               destination

Chain zone_lan_postrouting (1 references)
target     prot opt source               destination
postrouting_lan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */

Chain zone_lan_prerouting (1 references)
target     prot opt source               destination
prerouting_lan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */

Chain zone_wan_postrouting (1 references)
target     prot opt source               destination
postrouting_wan_rule  all  --  anywhere             anywhere             /* user chain for postrouting */
MASQUERADE  all  --  anywhere             anywhere

Chain zone_wan_prerouting (1 references)
target     prot opt source               destination
MINIUPNPD  all  --  anywhere             anywhere
prerouting_wan_rule  all  --  anywhere             anywhere             /* user chain for prerouting */
root@XiaoQiang:~# cd /extdisks/sda1/xiaomi_router/ezbox
-ash: cd: can't cd to /extdisks/sda1/xiaomi_router/ezbox
root@XiaoQiang:~# /extdisks/sda/xiaomi_router/ezbox
-ash: /extdisks/sda/xiaomi_router/ezbox: Permission denied
root@XiaoQiang:~# cd /extdisks/sda/xiaomi_router/ezbox
root@XiaoQiang:/extdisks/sda/xiaomi_router/ezbox#

點評

鸚鵡  回應最新的就好 之前的訊息 不用再貼上 XD  發表於 2014-11-17 22:22
您需要登錄後才可以回帖 登錄 | 立即註冊

手機版|米柚愛好者論壇

GMT+8, 2025-9-6 06:21 , Processed in 0.018818 second(s), 25 queries .

Powered by MIUI@EZBOX

© 2014-2025 EZBOX

回頂部