Page 3 of 8
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 1:02 pm
by juusso
maybe you're using wrong editor and your scripts become damaged. that's why it may fail.
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 1:40 pm
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
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 3:29 pm
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?
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 3:37 pm
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
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 3:41 pm
by juusso
then use netcat on port 1023. Look at this video. This helps you to start with netcat:
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 3:57 pm
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.
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 5:06 pm
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.
Re: [Testing] Update2: E series widget -autostart w/o USB
Posted: Sun Apr 28, 2013 5:10 pm
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:
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.
Re: FTP and Files Overwrite
Posted: Sun Apr 28, 2013 5:30 pm
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
Re: FTP and Files Overwrite
Posted: Sun Apr 28, 2013 5:35 pm
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/