PDA

View Full Version : Oscam web interface setup



Nozahic
26-09-2017, 12:08 PM
Hi guys

i am new on this platform and this technologie

i try to open my oscam interface but nothing happen, i will appreciate if someone can help. I am new on that, not so cleaver but ready to learn

below my Oscam conf :

[global]
logfile = /var/tmp/oscam.log
clientmaxidle = 0
netprio = 1
unlockparental = 1
nice = -1
maxlogsize = 500
preferlocalcards = 2
block_same_ip = 0
block_same_name = 0
emmlogdir = /var/tmp/.oscam/
lb_mode = 1
lb_save = 100
lb_nbest_readers = 4
lb_nfb_readers = 2
lb_min_ecmcount = 15
lb_reopen_seconds = 900
lb_force_reopen_always = 1
lb_retrylimit = 800
lb_auto_betatunnel_mode = 3
lb_savepath = /var/tuxbox/config/loadbalancer
getblockemmauprovid = 1

[cache]


[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
delayer = 60
ecminfo_type = 1
user = update_card
read_sdt = 2
write_sdt_prov = 1
extended_cw_api = 2
boxtype = dreambox


[webif]
httpport = 8888
httpuser = admin
httppwd = admin
http_prepend_embedded_css = 1
httprefresh = 30
httphideidleclients = 0
httpshowmeminfo = 1
httpshowuserinfo = 1
httpshowreaderinfo = 1
httpshowcacheexinfo = 1
httpshowecminfo = 1
httpshowloadinfo = 1
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,172.16.0.0-172.16.255.255
hideclient_to = 0
httposcamlabel = OScam VU+
http_status_log = 1


also my oscam server :

[reader]
label = Fransat
protocol = internal
device = /dev/sci0
caid = 0500
detect = cd
mhz = 450
cardmhz = 2700
aeskeys = 0500@041950:BFB57F9F75D3430E0C047 607D620CA44,BFB57F9F75D3430E0C047 607D620CA44
group = 1



i try to log with 192.168.1.65:8888
192.168.1.65:10002 ( i manage to log with that few days ago but because the oscam was too old , i put a new oscam, like someone say on this forum )
192.168.1.65:10001
192.168.0.95:8888
ect.....

when i go to the vu+ interface 192.168.1.65

i have this info also


Network Interface (eth0)



Mac Address:

None



DHCP enabled:

False



IP:

192.168.1.65



Netmask:

255.255.255.0



Gateway:

192.168.1.1


regards

007.4
26-09-2017, 12:17 PM
192.168.1.65:8888
should work
Are you certain the oscam version you are using has been compiled with the webif module?

Nozahic
26-09-2017, 12:44 PM
Dear 007.04

Like I say I am new on that. I am not sure what you means , what I need to do

Regards

007.4
26-09-2017, 02:24 PM
First of all are you sure oscam is running?
If so then Telnet to your box and login then send these commands

cd /tmp/.oscam [enter]
cat oscam.version [enter]

Then post the output here. You should see:-

Web interface support: yes

If it is

Web interface support: no

Then it is not compiled for webif and you will never be able to connect. You would then need a different oscam version.

Nozahic
26-09-2017, 02:45 PM
You will find the pic below, I think you are right something is wrong since I put a new Oscam

Can you help me please to resolve that, because I am lost

Regards

007.4
26-09-2017, 02:55 PM
Are you sure oscam is running? Have you got pictures on encrypted channels?

I'm not familiar with Blackhole but to get a list of running processes in Telnet type

ps [enter]

or if the response to that is just
PID TTY TIME CMD
.. ...

then try

ps -A [enter]

instead.

You should see oscam listed as one of the processes. If not, it is not running. In that case you need to fix that before trying to see the webif.

Nozahic
26-09-2017, 03:31 PM
I have that, I don't think I have Oscam on

What I need to do in this case

007.4
26-09-2017, 03:46 PM
You need to start oscam!

You need to check where the binary file is located, its exact name and whether it has attributes 755 (chmod).
For me it is
/usr/bin/oscam

You also need to find the location of the config files (oscam.server, oscam.user and oscam.conf as a minimum)
for me they are in
/var/tuxbox/config

Then start oscam in Telnet with something like

cd /usr/bin [enter]

./oscam - c /var/tuxbox/config -b [enter]

Obviously using your own details.

oscam will either start and you should then be able to get the webif (if it is compiled - you can check as above)
or you will get an error message.

Nozahic
26-09-2017, 04:03 PM
Ok thank

When I go to FileZilla

I go to /usr/bin

I have 2 Oscam file in. Oscam. And Oscam-emu

My file Oscam conf, Oscam server, ect. are located in/ect/tuxbox/config

When I do cd/usr/bin. I have this message : not found

007.4
26-09-2017, 05:23 PM
There needs to be a space between cd and /usr/bin.
It should be "etc" not "ect"
In filezilla check the attributes of Oscam-emu is 755 and not 644

So to start oscam with emu (assuming capitalization of Oscam-emu is correct and it is not oscam-emu)

cd /usr/bin [enter]

./Oscam-emu -c /etc/tuxbox/config -b [enter]

Nozahic
26-09-2017, 06:08 PM
Good evening

My Oscam is with o. Not a O. Look pic

When I did cd /usr/bin it was better but after that when I tape the rest this message come on. ( see pic )

The attributes of the files is 755

Regards

007.4
26-09-2017, 07:01 PM
So oscam is not working as you have a libusb file problem. You need a different version of oscam.

Nozahic
26-09-2017, 07:04 PM
Below pic of the oscam on my TV after I press the blue button

But I notice if I press <>. I have to new Osam : Oscam-emu11233. And Oscam 11233

Maybe I need to change this settle because it look like I am on my old Oscam

Hope maybe that will help you

Regards

Mickha
26-09-2017, 07:30 PM
try selecting Oscam 11233

Nozahic
26-09-2017, 08:32 PM
Nothing work, I am completely lost, I try the last 2h to put all the diff Oscam and after to open them on the webcontroler or telnet but nothing work

What I need to do, I am sure i did some mistake when I try to upload a new Oscam

Nozahic
27-09-2017, 12:56 PM
Good afternoon guys

I put one of the other box on this morning, I have now the web interface again. I am pretty sure I did mistake when I downloaded few new Oscam this weekend
I want to say thank you to both of you for your help
I will go back to the other file now for see if 3TV can help me to have my Fransat card working

Regards

Nozahic
27-09-2017, 05:17 PM
Dear 007.4

I did what you ask me yesterday cd/tmp/.oscam. After cat oscam.version

The result is on the pic

Can you confirm my Oscam run properly because when I try to change the Oscam server file for put the info for my Fransat card, nothing happen, it look like fix or frozen

Best regards



First of all are you sure oscam is running?
If so then Telnet to your box and login then send these commands

cd /tmp/.oscam [enter]
cat oscam.version [enter]

Then post the output here. You should see:-

Web interface support: yes

If it is

Web interface support: no

Then it is not compiled for webif and you will never be able to connect. You would then need a different oscam version.

Nozahic
27-09-2017, 05:20 PM
Sorry forget the pic

007.4
27-09-2017, 05:59 PM
Well oscam is running and webif should be working too, but it does like a very old version. Check the config files are not in two locations and that you are changing the correct ones. Also you need to confirm that your card is supported by that old oscam version. I do not know about it.

Nozahic
27-09-2017, 08:12 PM
Good evening 007.4

Good news and bad news at the same time

When you say I need to look if config file are not in 2 locations, can you explain how to do that?

Also if my Oscam is a old version, how I can update Oscam ? Easy way because I am new to that

Regards

Alain