Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

tempinbox wrote:why i can't simply copy your or denny packet unzip to my harddisk and get all working?
done as you said doesn't work.
"doesn't work" is NO info for me :P Post the results of commands I asked. Post logs, errors :P Something :P
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:
tempinbox wrote:why i can't simply copy your or denny packet unzip to my harddisk and get all working?
done as you said doesn't work.
"doesn't work" is NO info for me :P Post the results of commands I asked. Post logs, errors :P Something :P
Still needs help for get this working could you simply explain me what i've to do?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

tempinbox wrote: Still needs help for get this working could you simply explain me what i've to do?
yeah replace every instance of /dtv/bin in my scripts to $SYSROOT/bin :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:
tempinbox wrote: Still needs help for get this working could you simply explain me what i've to do?
yeah replace every instance of /dtv/bin in my scripts to $SYSROOT/bin :)
Done as you say find dtv/bin only one time and replaced with $SYSROOT/bin
here are how look my files

Code: Select all

/ # cd /dtv/usb/sda1/SamyGO
/dtv/usb/sda1/SamyGO # ls
bin         etc         opt         rcSGO       usr
clmeta.dat  lib         phpsysinfo  samygo.log
doc         mc          rcEXT       sbin
/dtv/usb/sda1/SamyGO # cat rcEXT
#!/bin/sh

source /dtv/SGO.env

#echo "alias sgopwd='cd $1'" >> /dtv/SGO.env

echo "#!/dtv/network_opt/sh" > /dtv/sgoshfix
echo ". /dtv/SGO.env" >> /dtv/sgoshfix
echo "export HOME=\"$1\"" >> /dtv/sgoshfix
echo "export TERMINFO='$1/etc/terminfo'" >> /dtv/sgoshfix
echo "export TERM='xterm-color'" >> /dtv/sgoshfix
echo "export FRAMEBUFFER='/dev/sam/fb0'" >> /dtv/sgoshfix
echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/sgoshfix
echo "export PATH=\"$PATH\"" >> /dtv/sgoshfix
echo "export SYSROOT=\"$SYSROOT\"" >> /dtv/sgoshfix
echo "export PS1='\u@tv:\w \\$ '" >> /dtv/sgoshfix

chmod +x /dtv/sgoshfix

ln -s "$SYSROOT/opt/privateer/usr/bin/" $SYSROOT/bin

$1/etc/rc.fix_telnetd&/dtv/usb/sda1/SamyGO # cd etc
/dtv/usb/sda1/SamyGO/etc # ls
Wireless        fb.modes        rc.sysinit      timestamp
apache2         fw_env.config   release         version
bluetooth       httpd.conf      samba           vsftpd.conf
busybox.links   init.d          ssmtp           wgetrc
default         php             sysctl.conf
dropbear        rc.fix_telnetd  terminfo
/dtv/usb/sda1/SamyGO/etc # cat rc.fix_telnetd
#!/bin/sh
killall telnetd
. /dtv/sgoshfix
cd
telnetd -l /dtv/network_opt/sh/dtv/usb/sda1/SamyGO/etc #
Still no history across reconnections, no color too.
i get colors only if i use the option --color with ls
try putty kitty and default windows telnet client.
is the framebuffer init script needed? because i disabled it
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

Yeah I made mistake :) Get back to previous files and replace:

Code: Select all

/dtv/network_opt/
to

Code: Select all

$SYSROOT/bin/
:)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:Yeah I made mistake :) Get back to previous files and replace:

Code: Select all

/dtv/network_opt/
to

Code: Select all

$SYSROOT/bin/
:)
done again --> is right??? but still no works

Code: Select all

/ # cd /dtv/usb/sda1/SamyGO
/dtv/usb/sda1/SamyGO #  ls
bin         etc         opt         rcEXT       sbin
clmeta.dat  lib         phpsysinfo  rcSGO       usr
doc         mc          rcCMDs      samygo.log
/dtv/usb/sda1/SamyGO # cat rcEXT
#!/bin/sh

source /dtv/SGO.env                                                             

echo "#!$SYSROOT/bin/sh" > /dtv/sgoshfix                                        
echo ". /dtv/SGO.env" >> /dtv/sgoshfix                                          
echo "export HOME=\"$1\"" >> /dtv/sgoshfix                                      
echo "export TERMINFO='$1/etc/terminfo'" >> /dtv/sgoshfix
echo "export TERM='xterm-color'" >> /dtv/sgoshfix
echo "export FRAMEBUFFER='/dev/sam/fb0'" >> /dtv/sgoshfix
echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/sgoshfix
echo "export PATH=\"$PATH\"" >> /dtv/sgoshfix
echo "export SYSROOT=\"$SYSROOT\"" >> /dtv/sgoshfix
echo "export PS1='\u@tv:\w \\$ '" >> /dtv/sgoshfix

chmod +x /dtv/sgoshfix

ln -s "$SYSROOT/opt/privateer/usr/bin/" /dtv/bin

$1/etc/rc.fix_telnetd&

for i in `cat $1/rcCMDs`
do
    ln -s /bin/busybox $SYSROOT/bin/$i
done

$1/etc/rc.fix_telnetd&/dtv/usb/sda1/SamyGO # cd etc
/dtv/usb/sda1/SamyGO/etc #  ls
Wireless        fb.modes        rc.sysinit      timestamp
apache2         fw_env.config   release         version
bluetooth       httpd.conf      samba           vsftpd.conf
busybox.links   init.d          ssmtp           wgetrc
default         php             sysctl.conf
dropbear        rc.fix_telnetd  terminfo
/dtv/usb/sda1/SamyGO/etc # cat rc.fix_telnetd
#!/bin/sh
killall telnetd
. /dtv/sgoshfix
cd
telnetd -l $SYSROOT/bin/
/dtv/usb/sda1/SamyGO/etc #

Code: Select all

/ # source /dtv/SGO.env
/ # echo $SYSROOT
/dtv/usb/sda1/SamyGO
/ # $SYSROOT/rcEXT "$SYSROOT"
ln: /dtv/bin/bin: Operation not permitted
killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
ln: /dtv/usb/sda1/SamyGO/bin/dnsdomainname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/id: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/md5sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/awk: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cal: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/clear: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cmp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/diff: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/hostname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/lsusb: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/less: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/mountpoint: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/man: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nslookup: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/ntpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modprobe: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modinfo: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/realpath: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/reset: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rmdir: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rtcwake: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/stat: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/seq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha1sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha256sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha512sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sort: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/split: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/strings: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/su: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tee: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/telnet: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/udpsvd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/time: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tr: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/traceroute: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uniq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uptime: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uudecode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uuencode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/volname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/who: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/whoami: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/wc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/xargs: Operation not permitted
/ # killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
i understand and i know that my $SYSROOT=/dtv/usb/sda1/SamyGO so i've add the file in right place but still no working.
as i says i done hotelmode hack with the channellist trick and then i set samygoextension.
But in samygoextension 0.3.6 for c series in etc/init.d/ the telnet script is missing and i need to have telnet ever enabled available instantly after power on. So i think that this fix doesn't work because the telnet script doesn't exist.
are here any c series owner that can share how to get this working?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

What is the output of running:

Code: Select all

$SYSROOT/rcEXT "$SYSROOT"
script?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:What is the output of running:

Code: Select all

$SYSROOT/rcEXT "$SYSROOT"
script?
here is the output

Code: Select all

/ # $SYSROOT/rcEXT "$SYSROOT"
/mtd_rwarea/sh: /rcEXT: not found
what's next?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by sectroyer »

ehhh if you keep on forgetting that you should ALWYAS RUN:

Code: Select all

source /dtv/SGO.env
FIRST than how we can continue ? With the rest:

Code: Select all

echo $SYSROOT
$SYSROOT/rcEXT "$SYSROOT"
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
tempinbox
Posts: 317
Joined: Wed May 11, 2011 7:00 pm

Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series

Post by tempinbox »

sectroyer wrote:ehhh if you keep on forgetting that you should ALWYAS RUN:

Code: Select all

source /dtv/SGO.env
FIRST than how we can continue ? With the rest:

Code: Select all

echo $SYSROOT
$SYSROOT/rcEXT "$SYSROOT"
even if i alwyas run source /dtv/SGO.env the result is the same

Code: Select all

/ # source /dtv/SGO.env
/ # echo $SYSROOT
/dtv/usb/sda1/SamyGO
/ # $SYSROOT/rcEXT "$SYSROOT"
ln: /dtv/bin/bin: Operation not permitted
killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
ln: /dtv/usb/sda1/SamyGO/bin/dnsdomainname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/id: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/md5sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/awk: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cal: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/clear: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/cmp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/diff: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/hostname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/lsusb: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/less: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/mountpoint: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/man: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/nslookup: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/ntpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modprobe: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/modinfo: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/realpath: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/reset: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rmdir: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/rtcwake: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/stat: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/seq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha1sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha256sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sha512sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sort: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/split: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/strings: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/su: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/sum: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tee: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/telnet: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftp: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tftpd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/udpsvd: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/time: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/tr: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/traceroute: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uniq: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uptime: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uudecode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/uuencode: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/volname: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/who: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/whoami: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/wc: Operation not permitted
ln: /dtv/usb/sda1/SamyGO/bin/xargs: Operation not permitted
/ # killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found

Post Reply

Return to “[F] Software”