[App] libSoftPowerOff D/E/F/H
Re: [App] libSoftPowerOff D/E/F/H
You should try kill -9 for oscam, dunno why but sometimes soft kill is enough or forced kill might be needed (seems to depend on oscam version). Retry then on 3023 and 3123 (don't remember the right one on Skype root )
I do NOT receive any PM. Please use forum.
- momchetoi
- SamyGO Project Donor
- Posts: 92
- Joined: Thu Apr 23, 2015 7:36 pm
- Location: in front of the TV
Re: [App] libSoftPowerOff D/E/F/H
Code: Select all
/mnt # killall -9 oscam
killall: oscam: no process killed
/mnt # kill -9 oscam
ash: invalid number 'oscam'
/mnt #
/mnt # kill -9 oscam-*
ash: invalid number 'oscam-*'
/mnt # killall -9 oscam-*
killall: oscam-*: no process killed
/mnt #
And what about the problem with CMD_libAirToSat
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
Re: [App] libSoftPowerOff D/E/F/H
I do NOT receive any PM. Please use forum.
- momchetoi
- SamyGO Project Donor
- Posts: 92
- Joined: Thu Apr 23, 2015 7:36 pm
- Location: in front of the TV
Re: [App] libSoftPowerOff D/E/F/H
OK, that command killed oscam. CMD_ON works, expected.
About libAirToSat I tried both 3023 and 3123 - no success
About libAirToSat I tried both 3023 and 3123 - no success
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
Re: [App] libSoftPowerOff D/E/F/H
What if you inject it directly from Telnet?
does it work?
Code: Select all
samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so CABLE
I do NOT receive any PM. Please use forum.
- momchetoi
- SamyGO Project Donor
- Posts: 92
- Joined: Thu Apr 23, 2015 7:36 pm
- Location: in front of the TV
Re: [App] libSoftPowerOff D/E/F/H
YES, it does, but the script doesn`t
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
- momchetoi
- SamyGO Project Donor
- Posts: 92
- Joined: Thu Apr 23, 2015 7:36 pm
- Location: in front of the TV
Re: [App] libSoftPowerOff D/E/F/H
Could you post also the full text for cmd_off.sh with this command
as this one doesn`t work for me
Here the result when executing it
But oscam is not killed
Code: Select all
kill -9 $(/mnt/bin/pgrep oscam-)
Code: Select all
#!/bin/sh
echo "kill -9 $(/mnt/bin/pgrep oscam-)"
Code: Select all
/mnt # /mnt/opt/privateer/usr/bin/cmd_off.sh
kill -9 3310
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
Re: [App] libSoftPowerOff D/E/F/H
Let's first focus on libAirTosat, in CMD script replace:
by
and check if it works
Code: Select all
echo "$SAMYGOSODIR/samyGOso -A -B -l $SODIR/libAirToSat.so CABLE" | /dtv/bin/nc localhost 3023
Code: Select all
(echo "$SAMYGOSODIR/samyGOso -A -B -l $SODIR/libAirToSat.so CABLE" ; sleep 2) | /mnt/bin/telnet localhost 23
I do NOT receive any PM. Please use forum.
- momchetoi
- SamyGO Project Donor
- Posts: 92
- Joined: Thu Apr 23, 2015 7:36 pm
- Location: in front of the TV
Re: [App] libSoftPowerOff D/E/F/H
changed and yes, it does
libAirToSat is ok now cmd_off.sh is now the problem
libAirToSat is ok now cmd_off.sh is now the problem
UE40H6500 - T-MST14DEUC fw. 2606.2 ==>to 2130/Skype root/ with oscam
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
UE32EH5450 - T-MST10PDEUC fw. 1042.0 with oscam
UE32J5500 - T-HKMFDEUC fw. 1570 ==>1412 with oscam
TP-Link C6U with OpenWrt 21.02 & TL-WR842N v.3.1 OpenWrt 15.05.1 with oscam and smartmouse
Re: [App] libSoftPowerOff D/E/F/H
Ok, now let's do the same for oscam scripts
CMD_OFF:
CMD_ON:
CMD_OFF:
Code: Select all
#!/bin/sh
(echo "kill -9 $(/mnt/bin/pgrep oscam-)" ; sleep 2) | /mnt/bin/telnet localhost 23
Code: Select all
#!/bin/sh
(echo "/mnt/opt/privateer/usr/bin/oscam/oscam-* -c /mnt/opt/privateer/usr/bin/oscam -w 0 -b" ; sleep 2) | /mnt/bin/telnet localhost 23
I do NOT receive any PM. Please use forum.