分页: 1 / 1

ubuntu16 32位运行oscam出现问题(成功解決,)

发表于 : 2016-07-05 0:03
zzq12345
請版主刪掉吧。

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-05 7:32
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

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-05 8:33
zzq12345
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 = 这三个中任何一个都出现上述问题

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-05 8:43
zzq12345
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无法更改。

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-05 8:46
zzq12345
此外,我用了14.0桌面版和16.10服务器版都是出现webif无法修改的问题。我曾记得用去年用10.4版本桌面版架设OSCAM ,就正常运行。是不是ubuntu用户权限设置问题。目前仅仅设置了普通用户和root用户。

Re: ubuntu16 32位运行oscam出现问题

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

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-09 20:53
zzq12345
今天調試讀卡器成功。目前就是這個webif中的user 和password設置有問題。希望高手指點

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-10 8:33
zzq12345
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給用戶權限問題

Re: ubuntu16 32位运行oscam出现问题

发表于 : 2016-07-10 17:09
zzq12345
成功了,