当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu16 32位运行oscam出现问题(成功解決,)
帖子发表于 : 2016-07-05 0:03 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
請版主刪掉吧。


附件:
搜狗截图16年07月05日0004_1.png
搜狗截图16年07月05日0004_1.png [ 15.79 KiB | 被浏览 1312 次 ]


最后由 zzq12345 编辑于 2016-07-11 9:04,总共编辑了 2 次
页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-05 7:32 

注册: 2009-08-04 16:33
帖子: 16892
送出感谢: 21
接收感谢: 1827
看看 能否幫上忙

資料來源
http://linuxsat-support.com/showthread. ... scam-webif

試試

1. Go to folder etc/tuxbox/config and edit file oscam.config
代码:
[webif]
httpport = 16002
httpuser =
httppwd =
httprefresh = 10
httpallowed = 127.0.0.1,192.168.0.100-192.168.0.200

You can edit the port, username and password to your own.

2. If you find you still cannot connect change the httpallowed to this
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-05 8:33 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
資料來源
http://linuxsat-support.com/showthread. ... scam-webif

試試

1. Go to folder etc/tuxbox/config and edit file oscam.config
代码:
[webif]
httpport = 16002
httpuser =
httppwd =
httprefresh = 10
httpallowed = 127.0.0.1,192.168.0.100-192.168.0.200

You can edit the port, username and password to your own.

2. If you find you still cannot connect change the httpallowed to this
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

我最开始也是这么设置的,127.0.0.1,192.168.0.0-192.168.255.255, 只要添加了在网页中httpport = 16002
httpuser =
httppwd = 这三个中任何一个都出现上述问题


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-05 8:43 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
資料來源
http://linuxsat-support.com/showthread. ... scam-webif

試試

1. Go to folder etc/tuxbox/config and edit file oscam.config
代码:
[webif]
httpport = 16002
httpuser =
httppwd =
httprefresh = 10
httpallowed = 127.0.0.1,192.168.0.100-192.168.0.200

You can edit the port, username and password to your own.

2. If you find you still cannot connect change the httpallowed to this
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255



您好,我刚才通过winscp进入usr/local/etc,更改了oscam.conf,添加了用户名和账号,然后启动OSCAM,就提示403 Forbidden,Access denied.无法登陆。我发现这个文件的权限和其他文件一样,都是0644.即使我改成0755 权限也不行。此外,如果删除该文件,重现启动oscam也可以进去,就是这个webif无法更改。


附件:
搜狗截图16年07月05日0847_2.png
搜狗截图16年07月05日0847_2.png [ 6.54 KiB | 被浏览 1256 次 ]
搜狗截图16年07月05日0844_1.png
搜狗截图16年07月05日0844_1.png [ 21.79 KiB | 被浏览 1256 次 ]

页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-05 8:46 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
此外,我用了14.0桌面版和16.10服务器版都是出现webif无法修改的问题。我曾记得用去年用10.4版本桌面版架设OSCAM ,就正常运行。是不是ubuntu用户权限设置问题。目前仅仅设置了普通用户和root用户。


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-05 15:54 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
今天继续测试,单独改webif中的端口没有问题,单独改端口加用户名也没问题,只要不同时出现密码和用户名就可以,运转正常。如果同时添加用户名和密码,就提示无法进入服务器(禁止的服务器例如上图中出现的情况),要求输入用户名和密码。有没有高手帮忙解决分析原因呢。重新编译也是这个问题。服务器安装参考的http://tieba.baidu.com/p/2214529777。 只不过本人系统是win2003,自己安装的VM虚拟机,再在虚拟机中添加了ubuntu服务器。


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-09 20:53 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
今天調試讀卡器成功。目前就是這個webif中的user 和password設置有問題。希望高手指點


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-10 8:33 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
看看 能否幫上忙

資料來源
http://linuxsat-support.com/showthread. ... scam-webif

試試

1. Go to folder etc/tuxbox/config and edit file oscam.config
代码:
[webif]
httpport = 16002
httpuser =
httppwd =
httprefresh = 10
httpallowed = 127.0.0.1,192.168.0.100-192.168.0.200

You can edit the port, username and password to your own.

2. If you find you still cannot connect change the httpallowed to this
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

大神,是不是我的ubuntu桌面版 沒有設置用戶組啊,我在懷疑subversion給用戶權限問題


页首
 用户资料  
 
9 楼 
 文章标题 : Re: ubuntu16 32位运行oscam出现问题
帖子发表于 : 2016-07-10 17:09 

注册: 2016-07-04 23:43
帖子: 16
系统: win2003 ubuntu16服务器
送出感谢: 0 次
接收感谢: 0 次
成功了,


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译