首頁(yè) 收藏 QQ群
 網(wǎng)站導(dǎo)航

ZNDS智能電視網(wǎng) 推薦當(dāng)貝市場(chǎng)

TV應(yīng)用下載 / 資源分享區(qū)

軟件下載 | 游戲 | 討論 | 電視計(jì)算器

綜合交流 / 評(píng)測(cè) / 活動(dòng)區(qū)

交流區(qū) | 測(cè)硬件 | 網(wǎng)站活動(dòng) | Z幣中心

新手入門(mén) / 進(jìn)階 / 社區(qū)互助

新手 | 你問(wèn)我答 | 免費(fèi)刷機(jī)救磚 | ROM固件

查看: 507625|回復(fù): 145
上一主題 下一主題
[教程]

ZTE B860A 有線(itv dhcp) + wifi(互聯(lián)網(wǎng)) 雙線自動(dòng)切換腳本

  [復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2016-10-17 09:56 | 只看該作者 |只看大圖 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式 | 來(lái)自四川
本帖最后由 NadOo 于 2016-11-8 15:30 編輯



ZTE B860A 有線(itv dhcp) + wifi(互聯(lián)網(wǎng)) 雙線自動(dòng)切換腳本


本腳本適合:1. 中興B860A;
2. 當(dāng)?shù)豬tv采用dhcp方式連接;
3. 機(jī)頂盒支持有線和wifi同時(shí)保持連接(同時(shí)連接時(shí),有線和無(wú)線都有IP,但只有一個(gè)生效);


如果你是pppoe方式連接itv,參考:http://ktgpgw.cn/tv-579100-1-1.html

~~~~~
周末研究了一下,結(jié)合網(wǎng)上已有資源修改,已實(shí)現(xiàn)雙線自動(dòng)切換,成都電信B860A上測(cè)試通過(guò),分享出來(lái)供大家參考:


1. 盒子有線連接iTV,無(wú)線連接互聯(lián)網(wǎng)wifi;通過(guò)ttl或adb、telnet、ssh等方式,獲取root身份的shell,詳情參考論壇其它帖子;
2. 安裝當(dāng)貝市場(chǎng)或其它桌面程序,可通過(guò)U盤(pán)的方式,將apk文件拷貝之/data/app;
  1. #四川電信B860A v1.0版本,U盤(pán)掛載于/storage/external_storage/sda4
復(fù)制代碼

3. 以讀寫(xiě)權(quán)限重新掛載/system目錄,并創(chuàng)建netchange.sh

重新掛載目錄:
  1. mount -o rw,remount /system
復(fù)制代碼
創(chuàng)建netchange.sh并打開(kāi)vi編輯器:
  1. vi /system/bin/netchange.sh
復(fù)制代碼
編輯netchange.sh,先敲鍵盤(pán)i鍵,然后粘貼如下腳本:
  1. #!/system/bin/sh

  2. # ZTE B860A netchange.sh
  3. # eth0: iTV cable, wlan0: Wifi internet
  4. # Author: http://github.com/nadoo
  5. # Date: 2016-10-24

  6. # mount -o rw,remount /system
  7. # vi /system/bin/netchange.sh
  8. # chmod 0755 /system/bin/netchange.sh
  9. # echo "/system/bin/netchange.sh &" >> /system/bin/init.zte.post_boot.sh

  10. # disable upgrade
  11. pm block com.ztestb.upgrade

  12. # wait for wlan or itv link up
  13. while [ "$(getprop net.zte.eth.netstate)" != "CONNECTED" ] && [ "$(getprop net.zte.wifi.netstate)" != "CONNECTED" ]
  14. do
  15.         sleep 1
  16. done



  17. # 0:web 1:itv
  18. itv=1

  19. while [ 1 ]
  20. do
  21.         # check whether itv is current window
  22.         check_app=$( dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' | grep -E com.zte.browser | busybox wc -l )

  23.         # gateway and dns
  24.         web_if="wlan0"
  25.         web_gw=$(getprop dhcp.wlan0.gateway)
  26.         web_dns=$(getprop dhcp.wlan0.dns1)

  27.         itv_if="eth0"
  28.         itv_gw=$(getprop dhcp.eth0.gateway)
  29.         itv_dns=$(getprop dhcp.eth0.dns1)

  30.         if [ $check_app != 0 ] && [ $itv != 1 ]; then
  31.                 echo "=itv started..."
  32.                 if [ $itv_gw = "" ]; then
  33.                         echo "=please connect itv..."
  34.                 else
  35.                         itv=1
  36.                         ip route del
  37.                         ip route del
  38.                         ip route add default via $itv_gw
  39.                         ip route add $itv_dns via $itv_gw
  40.                         ndc resolver flushdefaultif
  41.                         ndc resolver setifdns $itv_if "" $itv_dns
  42.                         ndc resolver setdefaultif $itv_if
  43.                         sleep 1
  44.                         echo "=switched to $itv_if..."
  45.                         echo "=gateway:$itv_gw dns:$itv_dns"
  46.                 fi
  47.         elif [ $check_app = 0 ] && [ $itv = 1 ]; then
  48.                 echo "=itv stopped..."
  49.                 if [ $web_gw = "" ]; then
  50.                         echo "=please connect wifi..."
  51.                 else
  52.                         itv=0
  53.                         ip route del
  54.                         ip route del
  55.                         ip route add default via $web_gw
  56.                         ip route add $itv_dns via $itv_gw
  57.                         ndc resolver flushdefaultif
  58.                         ndc resolver setifdns $web_if "" $web_dns
  59.                         ndc resolver setdefaultif $web_if
  60.                         sleep 1
  61.                         echo "=switched to $web_if..."
  62.                         echo "=gateway:$web_gw dns:$web_dns"
  63.                 fi
  64.         fi
  65.       
  66.         sleep 1
  67.         
  68. done
復(fù)制代碼
保存腳本并退出,接連按下:ESC,:wq,回車(chē)

為腳本增加可執(zhí)行權(quán)限:
  1. chmod 0755 /system/bin/netchange.sh
復(fù)制代碼
使腳本隨機(jī)自啟動(dòng):
在/system/bin/init.zte.post_boot.sh文件最后一行,加入:
  1. /system/bin/netchange.sh &
復(fù)制代碼

4. 重新啟動(dòng)盒子,按下
遙控器"主頁(yè)"或"應(yīng)用"鍵,即可進(jìn)入桌面Launcher,將當(dāng)貝桌面設(shè)置為默認(rèn)桌面,然后將系統(tǒng)自帶應(yīng)用的"互動(dòng)電視"放置到桌面首頁(yè);

之后進(jìn)入"互動(dòng)電視",則自動(dòng)切換到有線,退出"互動(dòng)電視",則自動(dòng)切換到wifi(互聯(lián)網(wǎng))上網(wǎng),第三方apk可正常使用;
其它:解除四川電信禁止安裝apk的限制,方法(其它地區(qū)如果沒(méi)有限制apk安裝,則應(yīng)該不需要做這一步):
  1. 用機(jī)頂盒配置工具StbCfgTool,連接盒子成功后,先在基本配置欄讀取配置,再在特征配置-國(guó)家-省份-運(yùn)營(yíng)商處修改為:中國(guó)通用市場(chǎng)!然后在基本配置欄寫(xiě)入配置,重起盒子即可(如果報(bào)錯(cuò)不能寫(xiě)入,將此欄MLD版本號(hào)改為1就可以了!)
復(fù)制代碼
關(guān)于解除四川電信安裝apk的限制,可以參考byron_zhj的詳細(xì)操作說(shuō)明:
http://ktgpgw.cn/tv-567820-1-1.html








評(píng)分

參與人數(shù) 1威望 +6 金幣 +10 Z幣 +3 收起 理由
人見(jiàn)百態(tài) + 6 + 10 + 3 感謝分享^_^

查看全部評(píng)分


上一篇:求中興B860AV1.1的克隆教程!
下一篇:B860A運(yùn)行KODI黑屏
推薦
 樓主| 發(fā)表于 2016-10-31 17:08 | 只看該作者 | 來(lái)自四川
cashwl 發(fā)表于 2016-10-31 04:21
經(jīng)760EV3測(cè)試無(wú)效

我已經(jīng)改用單線多vlan方式了,有線比無(wú)線快多了,腳本差不多.

因?yàn)楦鞯丨h(huán)境不一樣,你可以:

1. 連接iTV的網(wǎng)線,斷開(kāi)wifi,分別執(zhí)行以下命令,貼出結(jié)果:
ip addr
ip route
getprop | grep dhcp
getprop | grep eth
getprop | grep ppp

2. 連接iTV的網(wǎng)線,同時(shí)連接wifi,分別執(zhí)行以下命令,貼出結(jié)果:
ip addr
ip route
getprop | grep dhcp
getprop | grep eth
getprop | grep ppp
推薦
發(fā)表于 2016-10-22 08:49 | 只看該作者 | 來(lái)自浙江
doityou 發(fā)表于 2016-10-21 12:47
我的iptv是pppoe的,可能問(wèn)題出在這,可是我不會(huì)改。

130|root@n200:/ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1452 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 74:97:81:29:d5:94 brd ff:ff:ff:ff:ff:ff
3: tunl0: <NOARP> mtu 0 qdisc noop state DOWN
    link/ipip 0.0.0.0 brd 0.0.0.0
4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
    link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
    link/tunnel6 :: brd ::
9: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1452 qdisc mq state UP qlen 1000
    link/ether 34:c3:d2:4c:2b:55 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.103/24 brd 192.168.10.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::36c3:d2ff:fe4c:2b55/64 scope link
       valid_lft forever preferred_lft forever
10: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1452 qdisc mq state DOWN qlen 1000
    link/ether 36:c3:d2:4c:2b:55 brd ff:ff:ff:ff:ff:ff
root@n200:/ # [  227.772291@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[  227.779870@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[  227.788215@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:11530
[  237.828885@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[  237.836289@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[  237.844804@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:11930
[  247.887340@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[  247.897042@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[  247.906297@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:12326
QA9:A;SVN:74E;POC:17F;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0;
no sdio debug board detected
TE : 1279059
BT : 11:31:49 Jun  2 2016
NO PMU:use DCDC
##### VDDEE voltage = 0x044c

CPU clock is 792MHz

BOARD type: 0x06
CPU type: M8M2
DDR info: 1GB(auto) @ 792MHz(1T)+Scramb EN
DDR channel: DDR 0 + DDR 1

DDR init use : 14682 us

HHH
Boot From SDIO C
0x0000008d
ucl decompress...pass
0x12345678
Boot from internal device 1st tSD/fSD on SDIO C

TE : 1519491

System Started


U-boot-svn61849(m8_k200_v1@) (Jun 02 2016 - 11:31:34)

clr h-ram
DRAM:  1 GiB
relocation Offset is: 2fe94000
show partition table:
part: 0, name :       conf, size : 400000
part: 1, name :       logo, size : 1000000
part: 2, name :   recovery, size : 1400000
part: 3, name :       misc, size : 400000
part: 4, name :       boot, size : 1400000
part: 5, name :      cache, size : 30000000
part: 6, name :     system, size : 30000000
part: 7, name :       data, size : 79000000
part: 8, name :           , size : 0   
part: 9, name :           , size : 0   
part: 10, name :           , size : 0   
part: 11, name :           , size : 0   
part: 12, name :           , size : 0   
part: 13, name :           , size : 0   
part: 14, name :           , size : 0   
part: 15, name :           , size : 0   
aml_card_type=0x200
MMC:   [mmc_register] add mmc dev_num=0, port=1, if_type=6
[mmc_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
board_type 6
register usb cfg[0][1] = 3ff6bf40
register usb cfg[2][0] = 3ff6f838
enter emmc boot
Emmckey: Access range is illegal!
[mmc_init] SDIO Port C:1, if_type=6, initialized OK!
[mmc_get_partition_table] end of part_table, index 8.
Partition table get from SPL is :
        name                        offset              size              flag
===================================================================================
   0: bootloader                         0            400000                  0
   1: reserved                      800000           1000000                  0
   2: env                          1c00000            400000                  0
   3: conf                         2400000            400000                  1
   4: logo                         2c00000           1000000                  1
   5: recovery                     4000000           1400000                  1
   6: misc                         5800000            400000                  1
   7: boot                         6000000           1400000                  1
   8: cache                        7800000          30000000                  2
   9: system                      37c00000          30000000                  1
  10: data                        68000000          79000000                  4
mmc read lba=0x4000, blocks=0x1
mmc read lba=0x4001, blocks=0x1
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
i=0,register --- emmc_key
device_boot_flag=2
EMMC BOOT: not init nand
do not init nand : cause boot_device_flag without nand
MMC BOOT, emmc_env_relocate_spec : env_relocate_spec 74
set_storage_device_flag: store 2
vpu driver detect cpu type: m8m2
vpu clk_level = 7
set vpu clk: 364000000Hz, readback: 364000000Hz(0x700)
mode = 11  vic = 31
set HDMI vic: 31
config HPLL
config HPLL done
reconfig packet setting done
Err imgread(L129):Fmt unsupported!genFmt 0x0 != 0x3
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
cvbs trimming.1.v5: 0xa0, 0x0
hdcp init_hdcp_ram...
reboot_mode=charging
Hit Enter key to stop autoboot -- :  0
exit abortboot: 0
[Logo_disp]: ====== Logo_disp ======
[draw_logo]: before read_logo_data
[draw_logo]: draw_logo 1475
[draw_logo]: draw_logo 1477
[set_logoParam]: enter the set_logoParam
[set_logoParam]:  Id            FileName                Type            No      Addr                    Size
[set_logoParam]: before the get_logo_source PAL_LOGO_PICTURE
[set_logoParam]:  <0>           LogoPic(480i)           0               1      0x11000288               541225
[set_logoParam]:  <1>           LogoPic(576i)           0               2      0x110844b4               114717
[set_logoParam]:  <2>           LogoPic(720p)           0               3      0x110a04d4               47966
[set_logoParam]:  <3>           LogoPic(1080i_p)        0               2      0x110ac034               90410
[draw_logo]: draw_logo 1520
before the  decompressToRGB
Start to decode the LOGO jpeg ...
[decompressToRGB]: before the decompress_jpeg_rgb
[decompressToRGB]: Call decompress_pic_rgb565(id=3,addr=110ac034,size=90410,maxw=1920,maxh=1080,Bpp=3) ...
[decompressToRGB]: after the decompress_jpeg_rgb
[draw_logo]: Success in decoding LOGO src file: (w=1920,h=1080,Bpp=3,data=0x3f2b0aa8)
[deinit_Logo]: all LOGO's resource (Exc. logoThread) are released
Logo_disp ret: 0
not found mac in efuse
do_bootsys to boot NORM
head magic=55667788
cmdT = mmc read boot 11ffffa0 0 704e00;bootm 12000000
hdcp init_hdcp_ram...
## ANDROID Format IMAGE
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-3.10.33
   Image Type:   ARM Linux Kernel Image (lzo compressed)
   Data Size:    6265692 Bytes = 6 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
    Ramdisk start addr = 0x125fa800, len = 0xe2a7a
      Multi dtb tool version: v2 .
      Multi dtb detected, support 7 dtbs.
        aml_dt soc: m8m2 platform: n200c variant: sdio
        dtb 0 soc: m8m2   plat: n200   vari: 1G
        dtb 1 soc: m8m2   plat: n200   vari: 2gsdhc
        dtb 2 soc: m8m2   plat: n200   vari: 2gsdio
        dtb 3 soc: m8m2   plat: n200   vari: sdhc
        dtb 4 soc: m8m2   plat: n200   vari: sdio
        dtb 5 soc: m8m2   plat: n200c   vari: sdhc
        dtb 6 soc: m8m2   plat: n200c   vari: sdio
      Find match dtb: 6
    Flat device tree start addr = 0x126ff000, len = 0x5493 magic=0xedfe0dd0
   Uncompressing Kernel Image ... OK
uboot time: 3496746 us.
EFUSE machid is not set.
Using machid 0xf81 from environment
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x50ec001
   Loading Ramdisk to 05009000, end 050eba7a ... OK
   Loading Device Tree to 05000000, end 05008492 ... OK

Starting kernel ...

[    0.146593@0] ram_console: failed to create proc entry
[    0.422709@0] aml_keys: version 0 can not be init c0af4ff0
[    0.814615@2] aml_keys: version 0 can not be init c0af4ff0
[    0.814671@2] aml_keys: version 0 can not be init c0af4ff0
[    0.857440@1] ###check hw reset function is already enabled here
[    0.982232@2] init: failed to [    1.864826@3] init: mount none to target failed
[    1.920828@3] init: mount none to target failed
[    1.925179@3] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
[    1.927871@3] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
[    1.938182@3] init: mount adb to target failed
[    2.227246@3] aml_keys: version 0 can not be init c0af4ff0
[    2.274944@1] init: mount ext4 to target failed
[    2.287346@1] init: open /data/local/bootanimation.zip failed
[    2.293218@1] init: ## ProductID: strlen (32)!
[    2.293250@1] init: StbTypeID :(334)
[    2.299775@1] init: [DingQin] load_stbconfig_set_properties --> marketCode = 1, operatorsCode = 1init: myinit: company=, vcisvraddr =  vcisvrport = , bootdir = :
[ [    2.339035@1] init: cannot find '/sbin/cp7601.sh', disabling 'zte-7601-cp'
[    2.340957@1] init: cannot find '/system/bin/IptvServ', disabling 'IptvServ'
[    2.347504@1] init: cannot find '/system/bin/ys_service', disabling 'ys-service'
[    2.355133@1] init: cannot find '/system/bin/init.toltech.sh', disabling 'toltech_devices'
[    2.364366@1] init: cannot find '/system/bin/ztepropertyd', disabling 'ztepropertyd'
[    2.423907@1] init: cannot expand '${ro.usb.vendor.string}' while writing to '/sys/class/android_usb/android0/f_mass_storage/vendor_string'
[    2.431030@1] init: property 'ro.usb.product.string' doesn't exist while expanding '${ro.usb.product.string}'
[    2.440734@1] init: cannot expand '${ro.usb.product.string}' while writing to '/sys/class/android_usb/android0/f_mass_storage/product_string'
[    2.497772@1] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[    2.501213@1] init: powerctl: cannot expand '${sys.powerctl}'
[    2.506979@1] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[    2.518034@1] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
root@n200:/ # [    2.689255@0] ztebsp: set_display_mod->store_free_scale_axis 0 0 0 1279 719
[    2.690829@0] ztebsp: set_display_mod->store_window_axis 0 33 18 1885 1060
[    9.933159@1] ztebsp: system_server->store_window_axis 0 33 18 1885 1060
[   10.051588@0] ztebsp: system_server->set_vout_window osd0=>x:33 ,y:18,w:1920,h:1080
[   10.051588@0]  osd1=> x:33,y:18,w:18,h:18
[   11.877206@0] init: untracked pid 970 exited
[   11.895718@1] init: untracked pid 971 exited
[   13.141119@2] init: untracked pid 1187 exited
[   13.679442@2] init: cannot find '/system/bin/preinstall.sh', disabling 'preinstall'
[   13.845124@1] init: no such service 'wififix'
[   15.815505@0] init: untracked pid 1063 exited
[   17.208497@1] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   17.217613@1] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   17.235906@1] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:1684
[   20.175452@2] init: untracked pid 1951 exited
[   22.856081@2] init: untracked pid 2345 exited
[   23.576411@2] init: untracked pid 2347 exited
[   27.370031@2] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   27.381035@1] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   27.389020@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:2827
[   28.285508@0] init: untracked pid 2893 exited
[   31.375148@0] init: untracked pid 3056 exited
[   37.691146@2] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   37.699242@2] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   37.707388@3] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:3456
[   39.615531@1] init: untracked pid 3554 exited
[   47.376325@0] init: untracked pid 3983 exited
[   47.769972@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   47.778458@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   47.790740@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:4005
[   50.405438@0] init: untracked pid 4131 exited
[   57.910245@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   57.917270@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   57.925572@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:4488
[   58.475999@1] init: untracked pid 4517 exited
[   66.465753@1] init: untracked pid 4852 exited
[   68.061021@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   68.089450@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   68.100525@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:4923
[   69.485216@0] init: untracked pid 4990 exited
[   77.515356@0] init: untracked pid 5311 exited
[   78.141339@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   78.148588@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   78.160107@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:5345
[   85.608720@0] init: untracked pid 5633 exited
[   88.254676@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   88.261623@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   88.270404@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:5754
[   88.667809@1] init: untracked pid 5761 exited
[   96.684980@1] init: untracked pid 6066 exited
[   98.418150@0] init: sys_prop: permission denied uid:10023  gid:10023 name:persist.service.adb.enable
[   98.425683@0] init: sys_prop: permission denied uid:10023  gid:10023 name:service.adb.tcp.port
[   98.467319@0] init: sys_prop: Unable to start service ctl [adbd] uid:10023 gid:10023 pid:6159
sleep .......
step 1
enter ddr_self_refresh
CPU off...
CPU off done
CEC M8:uboot: P_AO_DEBUG_REG0:
00000000
n200C_pwm_set_vddEE_voltage
## VDDEE voltage = 0x035c
##### duty_high = 0x001c
##### P_PWM_PWM_D value = 001c0000
suspend stay 24M...


----------------------------------------
請(qǐng)問(wèn)我家的無(wú)線網(wǎng)卡和有線網(wǎng)卡分別是哪個(gè)?
推薦
 樓主| 發(fā)表于 2016-10-17 10:00 | 只看該作者 | 來(lái)自四川
本帖最后由 NadOo 于 2016-10-24 01:14 編輯

我的環(huán)境是:ZTE B860A v1.0 成都電信,iTV采用DHCP方式連接;憑猜測(cè)加入了pppoe方式的支持,還請(qǐng)大家測(cè)試反饋;
5#
 樓主| 發(fā)表于 2016-10-17 09:58 | 只看該作者 | 來(lái)自四川
怎么腳本都被自動(dòng)切的只剩下一行了..
6#
 樓主| 發(fā)表于 2016-10-17 10:21 | 只看該作者 | 來(lái)自四川
編輯了幾次,沒(méi)辦法直接顯示超過(guò)2行的代碼,不知道是不是權(quán)限不夠,不折騰了.
7#
發(fā)表于 2016-10-17 13:28 | 只看該作者 | 來(lái)自浙江
這個(gè)厲害   正需要這個(gè)呢! 感謝樓主的分享!
8#
發(fā)表于 2016-10-17 13:32 | 只看該作者 | 來(lái)自浙江
強(qiáng)烈支持樓主ing……
9#
發(fā)表于 2016-10-17 13:32 | 只看該作者 | 來(lái)自廣東
感謝分享!
10#
發(fā)表于 2016-10-17 13:36 | 只看該作者 | 來(lái)自浙江
高手??!贊
11#
發(fā)表于 2016-10-17 14:16 | 只看該作者 | 來(lái)自四川
高手高手 佩服佩服
12#
 樓主| 發(fā)表于 2016-10-17 15:15 | 只看該作者 | 來(lái)自四川
這個(gè)腳本是在之前其它網(wǎng)友的腳本基礎(chǔ)上改進(jìn)的,不需要手動(dòng)填寫(xiě)網(wǎng)關(guān)、DNS,都是自動(dòng)獲取的。只是有個(gè)
itv_app=8 這個(gè)參數(shù),需要大家自己根據(jù)情況修改,四川電信目前設(shè)置為8就可以了。

本版積分規(guī)則

Archiver|新帖|標(biāo)簽|軟件|Sitemap|ZNDS智能電視網(wǎng) ( 蘇ICP備2023012627號(hào) )

網(wǎng)絡(luò)信息服務(wù)信用承諾書(shū) | 增值電信業(yè)務(wù)經(jīng)營(yíng)許可證:蘇B2-20221768 丨 蘇公網(wǎng)安備 32011402011373號(hào)

GMT+8, 2024-11-12 06:48 , Processed in 0.075524 second(s), 13 queries , Redis On.

Powered by Discuz!

監(jiān)督舉報(bào):report#znds.com (請(qǐng)將#替換為@)

© 2007-2024 ZNDS.Com

快速回復(fù) 返回頂部 返回列表