[SOLVED] FTP and Files Overwrite
[SOLVED] FTP and Files Overwrite
hello to everybody,
I'm a real beginner with linux and therefore I ask before to make disasters.
I have samygo installed on TV
I have FTP perfectly running
Now, in order to start to use SMB I need to overwrite some files in the following folders:
/mtd_rwarea
/mnt/etc/samba
/mnt/etc/init.d
is it sufficent to overwrite the files by FTP or shall I also modify the permissions of the files ?
I ask this because once I forgot to change permissions on my mobile and needed to reflash it.
Sorry for the noob question.
Hopefully when my SMB will be running I will write a tutorial for noob like me...
miazza
I'm a real beginner with linux and therefore I ask before to make disasters.
I have samygo installed on TV
I have FTP perfectly running
Now, in order to start to use SMB I need to overwrite some files in the following folders:
/mtd_rwarea
/mnt/etc/samba
/mnt/etc/init.d
is it sufficent to overwrite the files by FTP or shall I also modify the permissions of the files ?
I ask this because once I forgot to change permissions on my mobile and needed to reflash it.
Sorry for the noob question.
Hopefully when my SMB will be running I will write a tutorial for noob like me...
miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: FTP and Files Overwrite
viewtopic.php?f=53&t=5817&p=41632#p41632
What is the output (in netcat session) to those commands:
What is the output (in netcat session) to those commands:
Code: Select all
. /dtv/SGO.env
/mnt/etc/init.d/04_04_samba.init start
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
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
Re: FTP and Files Overwrite
Hi juuso,
I have never used netcat... ...but I will do soon and I will post the answer.
There is alot to read and to study and I like this..
Thanks for your for the time being.
miazza
I have never used netcat... ...but I will do soon and I will post the answer.
There is alot to read and to study and I like this..
Thanks for your for the time being.
miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: FTP and Files Overwrite
You can`t use putty, it wont work on E series, just netcat.
EDIT:
Okey, we have troubleshooted ES7505 and as result - non working cifs.ko module. Now you need to edit 04_04.samba.init and replace
to
after this restart tv and pray
for NFS should be same way:??
EDIT:
Okey, we have troubleshooted ES7505 and as result - non working cifs.ko module. Now you need to edit 04_04.samba.init and replace
Code: Select all
case $1 in
start)
insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
Code: Select all
case $1 in
start)
insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/cifs/cifs.ko
after this restart tv and pray
for NFS should be same way:
SpoilerShow
Code: Select all
case $1 in
start)
# for systems with modular nfs kernel support
insmod $MOD_DIR/kernel/net/sunrpc/sunrpc.ko
insmod $MOD_DIR/kernel/fs/lockd/lockd.ko
insmod $MOD_DIR/kernel/fs/nfs_common/nfs_acl.ko
insmod $MOD_DIR/kernel/fs/nfs/nfs.ko
Code: Select all
case $1 in
start)
# for systems with modular nfs kernel support
insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/net/sunrpc/sunrpc.ko
insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/lockd/lockd.ko
#insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/nfs_common/nfs_acl.ko #module doesnt exist at all!
insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/nfs/nfs.ko
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
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
Re: FTP and Files Overwrite
I tried with putty and I do not have any output...juuso wrote:viewtopic.php?f=53&t=5817&p=41632#p41632
What is the output (in netcat session) to those commands:Code: Select all
. /dtv/SGO.env /mnt/etc/init.d/04_04_samba.init start
Standard Telnet not working...
miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: FTP and Files Overwrite
putty wont work, just netcat. But now you don`t need it at all, just use ftp, get file, edit it and upload it back to tv.
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
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
Re: FTP and Files Overwrite
In summary this is the situation:juuso wrote:Or you can use putty, but i dont know if it will work on E series.
Okey, we have troubleshooted ES7505 and as result - non working cifs.ko module. Now you need to edit 04_04.samba.init and replacetoCode: Select all
case $1 in start) insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
Code: Select all
case $1 in start) insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/cifs/cifs.ko
after this restart tv and pray
FTP running fine
Putty working even if I'm not very familiar with that.
04_04.samba.init modified as suggested and:
DEST_DIR=$MOUNT_PATH/smb
SERVER="191.168.1.5"
#SERVER="191.168.1.5? # if you want a fixed server
SHARES="PUBLIC"
FR_NAME="Samba Server"
# M_OPTS="rw,user=${USER},password=${PASSWD}"
M_OPTS="$PERM,user=${USER},password=${PASSWD},codepage=cp1250,iocharset=utf8"
SERVERS="Don't set me!!"
smb.conf -> /mnt/etc/samba:
# set workgroup, own share etc...
include = /mtd_rwarea/smb.conf
workgroup = HOME
netbios name = Samsung-TV
server string = Some Server
04_04_samba.init -> /mnt/etc/init.d
smb_userdata not present.
The result continue to be the same:
Samygo virtual usb running but I can only see:
- video
- photo
- music
When I enter one of these I only see OCAP-LSV and nothing else even after long time.
any suggestion ?
miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: FTP and Files Overwrite
Suggestion is to read what we`re posting. Thanks.
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
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
Re: FTP and Files Overwrite
Hi juuso,juuso wrote:Suggestion is to read what we`re posting. Thanks.
it is the whole day I'm reading and trying everything.
Most likely II've lost something.
Never mind.
May be I'm too much beginner for such a job.
Sorry if I took your time.
Ciao
miazza
I have also edited 04_04.samba.init and replaced it as you recommended:
case $1 in
start)
insmod $SYSROOT/lib/modules/81/2.6.35.13/kernel/fs/cifs/cifs.ko
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
Re: FTP and Files Overwrite
Try to reinstall widget. Something was fixed... And tell about result.
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
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