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

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
zzq12345
帖子: 16
注册时间: 2016-07-04 23:43
系统: win2003 ubuntu16服务器

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

#1

帖子 zzq12345 » 2016-07-05 0:03

請版主刪掉吧。
附件
搜狗截图16年07月05日0004_1.png
搜狗截图16年07月05日0004_1.png (15.79 KiB) 查看 3741 次
上次由 zzq12345 在 2016-07-11 9:04,总共编辑 2 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#2

帖子 poloshiao » 2016-07-05 7:32

看看 能否幫上忙

資料來源
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
zzq12345
帖子: 16
注册时间: 2016-07-04 23:43
系统: win2003 ubuntu16服务器

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

#3

帖子 zzq12345 » 2016-07-05 8:33

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 = 这三个中任何一个都出现上述问题
zzq12345
帖子: 16
注册时间: 2016-07-04 23:43
系统: win2003 ubuntu16服务器

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

#4

帖子 zzq12345 » 2016-07-05 8:43

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) 查看 3685 次
搜狗截图16年07月05日0844_1.png
zzq12345
帖子: 16
注册时间: 2016-07-04 23:43
系统: win2003 ubuntu16服务器

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

#5

帖子 zzq12345 » 2016-07-05 8:46

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

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

#6

帖子 zzq12345 » 2016-07-05 15:54

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

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

#7

帖子 zzq12345 » 2016-07-09 20:53

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

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

#8

帖子 zzq12345 » 2016-07-10 8:33

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給用戶權限問題
zzq12345
帖子: 16
注册时间: 2016-07-04 23:43
系统: win2003 ubuntu16服务器

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

#9

帖子 zzq12345 » 2016-07-10 17:09

成功了,
回复