找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 风儿吹过

玩客云安装entware

[复制链接]
发表于 2017-10-18 14:15 | 显示全部楼层
风儿吹过 发表于 2017-10-18 12:09
opt占用的是根目录空间,可以在app目录建立opt目录,然后软连接到根目录opt

玩客云能在/etc下建一个rc.local文件实现用户定义的自启吗?

点评

看完 /thunder/script 和/thunder/bin 下脚本就懂了  详情 回复 发表于 2017-10-25 16:24
不清楚,你可以试试  详情 回复 发表于 2017-10-18 19:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-10-18 19:08 | 显示全部楼层
yhboss 发表于 2017-10-18 14:15
玩客云能在/etc下建一个rc.local文件实现用户定义的自启吗?

不清楚,你可以试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-18 23:38 来自手机 | 显示全部楼层
我是一个小白用户,我想问一下这个软件运行环境里,有没有对网络摄像头录制的软件?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-19 00:01 | 显示全部楼层
大佬能写下搭建web环境的帖子吗  尝试搭建失败
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-19 19:34 | 显示全部楼层

值得收藏。。。。。
值得收藏。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-20 08:54 | 显示全部楼层
谢谢分享。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-20 13:06 | 显示全部楼层
开启rpc出错,有办法吗?

点评

[attachimg]184610[/attachimg] 特意试了一下,frpc没有问题  详情 回复 发表于 2017-10-20 19:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-10-20 19:30 | 显示全部楼层
photoss 发表于 2017-10-20 13:06
开启rpc出错,有办法吗?


特意试了一下,frpc没有问题

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-23 14:56 | 显示全部楼层
为啥不能自动启动,在最前面加了挂载命令,是不是不行啊?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-25 15:03 | 显示全部楼层
为啥S93entware放进去了,权限755,但是为啥不能自动启动啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-25 16:24 | 显示全部楼层
yhboss 发表于 2017-10-18 14:15
玩客云能在/etc下建一个rc.local文件实现用户定义的自启吗?

看完 /thunder/script 和/thunder/bin 下脚本就懂了

点评

不太明白是什么意思,是把一些启动命令放到/thunder/script/run.sh里还是啥呀?  详情 回复 发表于 2017-10-28 14:52
昨天退回去修了,不知道能不能换,回来了看一下  详情 回复 发表于 2017-10-26 09:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-26 09:31 | 显示全部楼层
yjc666 发表于 2017-10-25 16:24
看完 /thunder/script 和/thunder/bin 下脚本就懂了

昨天退回去修了,不知道能不能换,回来了看一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-28 14:52 来自手机 | 显示全部楼层
yjc666 发表于 2017-10-25 16:24
看完 /thunder/script 和/thunder/bin 下脚本就懂了

不太明白是什么意思,是把一些启动命令放到/thunder/script/run.sh里还是啥呀?

点评

/thunder/bin/run.sh 调用其他启动脚本  详情 回复 发表于 2017-10-30 09:32
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-30 09:32 | 显示全部楼层
本帖最后由 yjc666 于 2017-10-30 09:36 编辑
yhboss 发表于 2017-10-28 14:52
不太明白是什么意思,是把一些启动命令放到/thunder/script/run.sh里还是啥呀?

/thunder/bin/run.sh  调用其他启动脚本
  1. init_env ()
  2. {
  3.     mkdir /tmp/plugin_tmp
  4.     CHECK_DEFAULT_OPKG=`md5sum /thudner/etc/.opkg_default.conf | awk '{print $1}'`
  5.     CHECK_OPKG=`md5sum /thunder/etc/opkg.conf | awk '{print $1}'`
  6.     if [ "$CHECK_DEFAULT_OPKG" != "$CHECK_OPKG" ]; then
  7.         cp /thunder/etc/.opkg_default.conf /thunder/etc/opkg.conf
  8.     fi
  9.     echo '/sbin/mdev' > /proc/sys/kernel/hotplug
  10.     /bin/busybox cp -a /thunder/etc/securetty /etc/
  11.     SN_TAIL=`/thunder/bin/readkey sn | grep "data:" | sed 's/.*\(....\)$/\1/'`
  12.     /thunder/bin/readkey sn | grep "data:" | awk '{print $2}' > /tmp/miner_sn
  13.     chmod 777 /tmp/miner_sn
  14.     HOSTNAME=OneCloud_$SN_TAIL
  15.     echo $HOSTNAME > /etc/hostname
  16.     hostname -F /etc/hostname
  17.     export PATH=$PATH:/thunder/bin
  18.     export LD_LIBRARY_PATH=/thunder/lib
  19.     export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
  20.     export QT_QPA_FONTDIR=/usr/share/fonts
  21.     export media_arm_audio_decoder='ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm'
  22.     export media_libplayer_modules='libcurl_mod.so,libdash_mod.so'
  23.     update_busybox
  24.     check_ramlist
  25.     UBUSD_SERV_PID=`ps | grep ubusd | grep -v grep`
  26.     [ -z "$UBUSD_SERV_PID" ] && ubusd -s /var/run/ubus.sock &
  27.     sleep 1
  28.     rm -rf /var/cache
  29.     mkdir -p /var/cache
  30.     uhttpd -p 127.0.0.1:80 -u /ubus -t 13 -a -h /thunder/www &
  31.     /thunder/bin/minissdpd -i eth0 -i lo
  32.     touch /tmp/.xunlei_msgqueue
  33.     touch /tmp/.xunlei_module_queue
  34.     touch /tmp/.mnt_usb_queue
  35.     [ ! -d "/misc" ] &&  mkdir /misc
  36.     [ ! -d "/app" ] &&  mkdir /app
  37.     sh /etc/rc.common /etc/init.d/odhcpd stop
  38.     sh /etc/rc.common /etc/init.d/odhcpd disable
  39.     #    sh /etc/rc.common /etc/init.d/dnsmasq stop
  40.     #    sh /etc/rc.common /etc/init.d/dnsmasq disable
  41.     #iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to $(nvram get lan_ipaddr)
  42.     #iptables -t nat -A PREROUTING -i br0 -p tcp --dport 53 -j DNAT --to $(nvram get lan_ipaddr)

  43.     mkdir -p /tmp/nginx/logs
  44.     mkdir -p /tmp/nginx/socket
  45.     /thunder/bin/nginx -p /tmp/nginx -c /thunder/etc/conf/nginx.conf
  46.    
  47.         /thunder/bin/hsd
  48. }

  49. run_app ()
  50. {
  51.     /usr/sbin/insmod /thunder/lib/sch_tbf.ko
  52.     /usr/sbin/insmod /thunder/lib/sch_prio.ko
  53.     /usr/sbin/insmod /thunder/lib/sch_sfq.ko
  54.     /bin/sh /thunder/etc/start_app.sh  &
  55. }

  56. run_sys ()
  57. {

  58.     /thunder/bin/syswatch &
  59.     /thunder/app/thunder/lib/EmbedThunderManager 0 > /dev/null &
  60.     exit 0
  61. }

  62. run_plugin()
  63. {
  64.     for init_script in /misc/etc/rc.d/S??*;do
  65.            sh  /misc/etc/rc.common  $init_script start &
  66.     done
  67. }
复制代码

thunder/bin  thunder/etc目录下的一些脚本

把 { "server.domain": "kjapi0.peiluyou.com", "server.port": "443" } 中域名随便改一个不存在的,就不会被替换密码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

run.sh会被自动恢复的?今天查看了一下,10月28日添加进去的东西没有了,可是现在文件的修改日期却是10月10日,这什么情况  详情 回复 发表于 2017-10-31 10:14
要是改了密码不是会被封号的嘛  详情 回复 发表于 2017-10-30 14:27
谢谢指导!现在已经联网了,初始密码应该已经变了吧,改服务器配置也没用了吧  详情 回复 发表于 2017-10-30 14:27
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-30 14:27 | 显示全部楼层
yjc666 发表于 2017-10-30 09:32
/thunder/bin/run.sh  调用其他启动脚本
thunder/bin  thunder/etc目录下的一些脚本

谢谢指导!现在已经联网了,初始密码应该已经变了吧,改服务器配置也没用了吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 09:01

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表