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: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

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,UE65Q8C
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

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

Post by miazza »

I will check tonight and report ;)
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

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

Post by miazza »

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: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

Perhaps you need good copy of samyext4.img
LE40B653T5W,UE40D6750,UE65Q8C
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

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

Post by miazza »

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: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

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,UE65Q8C
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

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

Post by miazza »

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: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

Can you execute that command in console?

source /dtv/SGO.env
LE40B653T5W,UE40D6750,UE65Q8C
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

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

Post by miazza »

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: 10129
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso »

I think its becauae your script encoding...did you use notepad for it? pls attach it here
LE40B653T5W,UE40D6750,UE65Q8C
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. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[F] Support”