找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: hackp***

gae 带 LuCI 管理界面,支持 ar71xx / brcm47xx / brcm63xx / ramips 架构

 火... [复制链接]
发表于 2014-3-17 23:47 | 显示全部楼层
大神,吧luci-goagent安装在外接硬盘上,luci不会显示么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-17 23:49 | 显示全部楼层
本帖最后由 Mckee 于 2014-3-18 11:38 编辑

我把所有的软件都装在外界硬盘上,可是无法启动进程,求大神指导
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-18 00:00 | 显示全部楼层
安装goagent出现
Installing goagent (3.1.5) to opt...
/mnt/sda1/optware//usr/lib/opkg/info/goagent.postinst: .: line 7: can't open '/etc/uci-defaults/luci-goagent'
/mnt/sda1/optware//usr/lib/opkg/info/goagent.postinst: line 7: /etc/init.d/goagent: not found
/mnt/sda1/optware//usr/lib/opkg/info/goagent.postinst: line 7: /etc/init.d/goagent: not found
Configuring goagent.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-18 11:42 | 显示全部楼层
/mnt/sda1/optware/usr/lib/goagent$  python proxy.py
Killed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-18 12:28 | 显示全部楼层
把/mnt/sda1/optware/etc/init.d/goagent,/mnt/sda1/optware/etc/config/goagent已到了/etc/init.d/,/etc/config/,改了/etc/init.d/goagent还是不行
#!/bin/sh /etc/rc.common
# Copyright (C) 2005-2014 NowRush Studio
# Author: hackpascal <hackpascal@gmail.com>

START=60

RUN=/var/run/goagent

start()
{
        stop

        start-stop-daemon -Sqbm -x "/mnt/sda1/optware/usr/lib/goagent/goagent_wrapper" -p $RUN/proxy.pid
}

stop()
{
        if [ -f $RUN/proxy.pid ]; then
                start-stop-daemon -Kq -p $RUN/proxy.pid
                kill -9 `cat $RUN/proxy.pid`
                rm -f $RUN/proxy.pid
        fi
       
        rm -rf $RUN/*
}

restart()
{
        stop
        sleep 1
        start
}

点评

/etc/init.d/goagent 只能放在根目录下。放在其他地方不行。更改goagent位置的功能我还没做。所以现在安在外接U盘上可能没法正常工作。  发表于 2014-3-18 12:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-18 17:17 | 显示全部楼层
那把luci-goagent安装在root可以吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-20 08:13 | 显示全部楼层
楼主感谢分享,太需要了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-20 12:19 | 显示全部楼层
goagent和luci-goagent必须装到root下么

点评

是  发表于 2014-3-20 12:36
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-20 14:55 | 显示全部楼层
将goagent安装到root后,WAN没有接收数据,交换机里显示未连接,无法联网,goagent删除还是无法联网,是不是端口冲突了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-3-20 14:58 | 显示全部楼层
Mckee 发表于 2014-3-20 14:55
将goagent安装到root后,WAN没有接收数据,交换机里显示未连接,无法联网,goagent删除还是无法联网,是不 ...

这根本就不存在端口冲突一说
IP/TCP协议下的端口是不可能和物理的LAN/WAN端口冲突的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-20 15:20 | 显示全部楼层
不过安装好重启就不能联网不知道切什么
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-20 15:47 | 显示全部楼层
高端大气上档次,高手.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-21 14:21 | 显示全部楼层
hackpascal 发表于 2014-3-20 14:58
这根本就不存在端口冲突一说
IP/TCP协议下的端口是不可能和物理的LAN/WAN端口冲突的

/usr/lib/goagent/goagent_wrapper
Killed
系统进程里没相关进程
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-27 13:38 | 显示全部楼层
GoAgent,呵呵,你们懂的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-3-29 17:20 | 显示全部楼层
ERROR - [Mar 29 09:16:04] ssl.wrap_socket(self.connection=<socket at 0x76e923b0
fileno=9 sock=192.168.1.1:8087 peer=192.168.1.246:63826>) failed: [Errno 1] _ssl
.c:504: error:14094412:lib(20):func(148):reason(1042)
Traceback (most recent call last):
  File "/var/run/goagent/proxy.py", line 2252, in do_CONNECT_AGENT
    ssl_sock = ssl.wrap_socket(self.connection, keyfile=certfile, certfile=certf
ile, server_side=True)
  File "/usr/lib/python2.7/site-packages/gevent/ssl.py", line 383, in wrap_socke
t
    ciphers=ciphers)
  File "/usr/lib/python2.7/site-packages/gevent/ssl.py", line 94, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/site-packages/gevent/ssl.py", line 305, in do_handsha
ke
    return self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:504: error:14094412:lib(20):func(148):reason(1042)

这种很多,https都上不了,看起来是证书问题
import ssl正常不报错,我是DB120 硬件基本同RG100AA
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 12:18

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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