[SOLVED] FTP and Files Overwrite

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

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

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by juusso »

maybe you're using wrong editor and your scripts become damaged. that's why it may fail.
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: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

I had the same thought but I'm using Notepad++ that seems a good one.
Do you suggest to use a different one ?

miazza
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: [Testing] Update2: E series widget -autostart w/o USB

Post by juusso »

Notepad++ is right choice, then here should be another reason. Runing script from console really can help us to find what`s wrong. But for some unknown for me reasons you`re ignoring this my request to help you. If you`ve got webshell working, then this task is simple to do. Isn`t?
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: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

juuso wrote:Notepad++ is right choice, then here should be another reason. Runing script from console really can help us to find what`s wrong. But for some unknown for me reasons you`re skipping this my request to help you. If you get webshell working, then this task is simple. Isn`t?
juuso, I'm reading and try to follow your instructions but I am blocked to the fact that also with webshell working, I do not get any answer from the shell.
Yes, I connect but when I send

. /dtv/SGO.env
/mnt/etc/init.d/04_04_samba.init start

sh: /mnt/etc/init.d/04_04_samba.init: Permission denied

I do not get any answer, only black screen...

Believe me , I'm following all your kind help ;) .

miazza
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: [Testing] Update2: E series widget -autostart w/o USB

Post by juusso »

then use netcat on port 1023. Look at this video. This helps you to start with netcat:
SpoilerShow
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
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [Testing] Update2: E series widget -autostart w/o USB

Post by juusso »

miazza wrote: sh: /mnt/etc/init.d/04_04_samba.init: Permission denied
This is your answer : sh: /mnt/etc/init.d/04_04_samba.init: Permission denied why do you think you fail? And this is why the scripts stops (it won`t start at all) and you get black screen further. Script can`t be executed if it has wrong permissions. Your script has 0644 permissions - you`ve deleted it first and uploaded trough ftp after editing? :)

Now do this first:

Code: Select all

chmod 755 /mnt/etc/init.d/04_04_samba.init
And after this you can start it:

Code: Select all

/mnt/etc/init.d/04_04_samba.init start
I`m pretty sure now you will get it working. For future - don`t delete script trough ftp, just overwrite file with new one and it become proper file permissions automatically. But first you have to set it`s permissions to 755.
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: [Testing] Update2: E series widget -autostart w/o USB

Post by miazza »

From shell after fresh install of the widget:

Login: user
Password:
Successful login!

root@(none) phpsysinfo $ . /dtv/SGO.env

root@(none) phpsysinfo $ /mnt/etc/init.d/04_04_samba.init start
insmod: can't insert '/mnt/lib/modules/2.6.35.13/kernel/fs/cifs/cifs.ko': invalid module format
Search Shares
on: 192.168.1.9
creating lame upcase table
creating lame lowcase table
on: 192.168.1.2
creating lame upcase table
creating lame lowcase table
on: 192.168.1.1
creating lame upcase table
creating lame lowcase table
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.28]
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.28]

The SMB folder is now visible but empty.
My SMB NAS is at 192.168.1.5.
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: [Testing] Update2: E series widget -autostart w/o USB

Post by juusso »

miazza wrote: root@(none) phpsysinfo $ /mnt/etc/init.d/04_04_samba.init start
insmod: can't insert '/mnt/lib/modules/2.6.35.13/kernel/fs/cifs/cifs.ko': invalid module format
Okey, finally some significant step further. Please give me the output of command:

Code: Select all

cat /.version
And tell me please when last did you re-install SamyGO-E widget? I mean re-installed using Develop section in smarthub. This is important.
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: FTP and Files Overwrite

Post by miazza »

Thanks again for the assistance.

root@(none) phpsysinfo $ cat /.version
"Echo.P 0091" KERNEL MODULE VERSION : "0081.0701, DTV, Echo.P, debug, DEU_BRANCH"

I reinstalled the widget from develop as new a few hour ago.
In the ZIP I have seen that the last file updated is dated 23rd April so it should be the last version of 128mb.xfs.

miazza
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: FTP and Files Overwrite

Post by juusso »

Okey, next:

Code: Select all

. /dtv/SGO.env
ls -la $SYSROOT/lib/modules/
ls -la $SYSROOT/lib/modules/64/
ls -la $SYSROOT/lib/modules/81/
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 “[E] Support”