22F5400 no telnet no VUSB and no remote working.

Here for general support for F series TVs, request and problem solve area.

User avatar
juusso
SamyGO Moderator
Posts: 9775
Joined: Sun Mar 07, 2010 6:20 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by juusso » Fri Sep 30, 2016 10:18 am

Nope. It is easy to write, but i never did that... :)

ps. Is wc available on TV? can you check?

Code: Select all

. /dtv/SGO.env
wc -c /mnt/samygo.log
piece of code which could be useful. 9999_9999_deleteLogs.init (chmod it to 755)

Code: Select all

#!/bin/sh
#
# ? Copyright 1996-2016, SamyGO
#
#
. /dtv/SGO.env

case $1 in
	start)
		files="/mnt/samygo.log /mnt/sam.log"
		maxsize=120000 # adjust filesize here
		for file in $files; do
			actualsize=$(wc -c <"$file")
				if [ $actualsize -ge $maxsize ]; then
					rm -f $file
				fi
		done
	;;
	*)
	echo "Usage: $0 {start}" 1>&2
	exit 0
	;;
esac
For maxsize need to decide what size is is too big here...
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

miazza
SamyGO Project Donor
Posts: 658
Joined: Wed Apr 03, 2013 6:10 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by miazza » Fri Sep 30, 2016 10:37 am

I will check tonight and report ;)
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

miazza
SamyGO Project Donor
Posts: 658
Joined: Wed Apr 03, 2013 6:10 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by miazza » Fri Sep 30, 2016 4:58 pm

Now I have again the problem but log files are deleted.
samyext4.img is 128 Mb ...

I do not know what to do next.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

User avatar
juusso
SamyGO Moderator
Posts: 9775
Joined: Sun Mar 07, 2010 6:20 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by juusso » Fri Sep 30, 2016 5:05 pm

Perhaps you need good copy of samyext4.img
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

miazza
SamyGO Project Donor
Posts: 658
Joined: Wed Apr 03, 2013 6:10 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by miazza » Sat Oct 01, 2016 12:41 pm

I restored an old samyext4.img and it works now.

wc is supported:

Code: Select all

VDLinux#> wc -c /mnt/samygo.log
27006 /mnt/samygo.log
Script seems not working:

Code: Select all

VDLinux#> wc -c /mnt/samygo.log
27300 /mnt/samygo.log
VDLinux#> wc -c /mnt/sam.log
36750917 /mnt/sam.log
VDLinux#>
Max size 120000 actual 36750917
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

User avatar
juusso
SamyGO Moderator
Posts: 9775
Joined: Sun Mar 07, 2010 6:20 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by juusso » Sat Oct 01, 2016 1:21 pm

Script works, coz:
VDLinux#> wc -c /mnt/sam.log
36750917 /mnt/sam.log
VDLinux#>
And you said actual size was 36750917.

So with default walue of 120000 script will delete log when it will be equal or greater 120Kb. I guess you need bigger log or?

p.s. emmm, you showed output after you placed script into init dir and did chmod 755 to it?
p.p.s. please attach your script you say won`t work for you.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

miazza
SamyGO Project Donor
Posts: 658
Joined: Wed Apr 03, 2013 6:10 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by miazza » Sun Oct 02, 2016 10:54 am

juusso wrote:Script works, coz:
VDLinux#> wc -c /mnt/sam.log
36750917 /mnt/sam.log
VDLinux#>
And you said actual size was 36750917.

So with default walue of 120000 script will delete log when it will be equal or greater 120Kb. I guess you need bigger log or?

p.s. emmm, you showed output after you placed script into init dir and did chmod 755 to it?
p.p.s. please attach your script you say won`t work for you.
Of course the script is chmod +x ;)
I attach script and logs (now sorter because I deleted them and resterted.

log reports:

Code: Select all

/mnt/etc/init.d/9999_9999_deleteLogs.init: .: line 6: can't open '/dtv/SGO.env
really strange ...
deletelog.rar
You do not have the required permissions to view the files attached to this post.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

User avatar
juusso
SamyGO Moderator
Posts: 9775
Joined: Sun Mar 07, 2010 6:20 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by juusso » Sun Oct 02, 2016 10:57 am

Can you execute that command in console?

source /dtv/SGO.env
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

miazza
SamyGO Project Donor
Posts: 658
Joined: Wed Apr 03, 2013 6:10 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by miazza » Sun Oct 02, 2016 11:08 am

What do you mean ? sorry for the silly question.

Code: Select all

VDLinux#> source /dtv/SGO.env
VDLinux#>
I can run . /dtv/SGO.env from telnet without any problem and all other scripts are running well.

I guess that log is getting bigger because of oscam ... it records all ECM in log...
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.

User avatar
juusso
SamyGO Moderator
Posts: 9775
Joined: Sun Mar 07, 2010 6:20 pm

Re: 22F5400 no telnet no VUSB and no remote working.

Post by juusso » Sun Oct 02, 2016 11:13 am

I think its becauae your script encoding...did you use notepad for it? pls attach it here
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[F] Support”