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.

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 »

I tried again and this time i do all steps manually and overvwrite only scp binary.
still no improvments...
is your posted pack the same in download area?
now i'm going to try the telnet fix pack in download area.
maybe is beacuse i have the telnet started at tv start?
My rcEXT

Code: Select all

/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/" /dtv/bin

$1/etc/rc.fix_telnetd&/dtv/usb/sda1/SamyGO #
My rcSGO

Code: Select all

/dtv/usb/sda1/SamyGO # cat  rcSGO
#!/bin/sh
#
# ? Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: SamyGO-CoreScript svn $Id: rcSGO 1114 2011-03-28 09:10:16Z arris69 $

# do some background checks (not implemented/need)

if [ ! -e /dtv/SGO.env ] ; then
        # some helper stuff
        alias .='source'

        # if running as real linuxrc
        if [ ! -e /proc/mounts ]; then
                mount -n -t proc /proc /proc
                mount -n -t sysfs /sys /sys >/dev/null 2>&1
        fi

        # make our mount happy, but this breaks djmount so revert it.
        # /bin/mount -o bind /proc/mounts /etc/mtab

        KERN_VER=$(cat /proc/version  | sed -e 's/\(.*inux version \)\(.*\) \(.*@.*\)$/\2/')

        # for lsusb
        # mount -n -t usbfs usbfs /proc/bus/usb

        if [ -x /etc/rc.early.local ]; then
                echo ". /etc/rc.early.local" 1>&2
        fi

        if [ -d /mtd_wiselink ] ; then
                NEW_HOME="/mtd_wiselink"
        elif [ -d /mtd_contents ] ; then
                NEW_HOME="/mtd_contents"
        elif [ -d /dtv ] ; then
                NEW_HOME="/dtv"
        else
                NEW_HOME="/sdcard"
        fi

        # harden
        if [ ! -e /mtd_rwarea/passwd ]; then
                echo "root:saJvQKUdIxRW2:0:0:SamyGO secured Root:$NEW_HOME:/bin/sh" > /mtd_rwarea/passwd
        fi
        mount -o bind /mtd_rwarea/passwd /etc/passwd

        # do the work (try to find SamyGO or start telnetd)
        # other user scripts are not supported SamyGO has
        # extensions for automount etc...
        # feature requests at: http://samygo.sourceforge.net/

        # just here for testing
        S_SCRIPT="echo Bummer >> /dev/kmsg"

        # http://sourceforge.net/apps/phpbb/samygo/viewtopic.php?f=4&t=207&start=0&hilit=libSamyGO
        # samyGo use on LN52A850 (T-SPHAUSC v.1004)
        # Postby tskitishvili ? Wed Dec 16, 2009 2:56 am
        # ... no cut in busybox

        if [ ! -z $1 ] ; then
                if [ -x "$1"/etc/rc.sysinit ] ; then
                        SYSROOT="$1"
                        S_SCRIPT="cd $1 ; ./etc/rc.sysinit 2>&1 &"
                fi
        else
                for SYSROOT in ${1:- \
                        /dtv/usb/sd*/SamyGO \
                        /dtv/usb/sd*/*/SamyGO \
                        /dtv/usb/sd*/*/*/SamyGO \
                        /mtd_tlib/SamyGO \
                        /mtd_tlib/*/SamyGO \
                        /mtd_tlib/*/*/SamyGO \
                        /mtd_down/SamyGO \
                        /mtd_contents/SamyGO \
                        /mtd_rwcommon/SamyGO \
                        /mtd_wiselink/SamyGO} ; do
                        if [ -x $SYSROOT/etc/rc.sysinit ] ; then
                                S_SCRIPT="cd $SYSROOT ; ./etc/rc.sysinit 2>&1 &"
                                break
                                # if no extension installed try telnet
                        elif [ -x /etc/telnetd_start.sh ] ; then
                                S_SCRIPT="/etc/telnetd_start.sh &"
                        else
                                echo "rc script not found in $SYSROOT"
                                # this should work on A and C series if we shipp busybox
                                # /etc/telnetd_start.sh isn't existent?
                                if [ `cat /proc/mounts | grep -c "devpts"` -gt "0" ] ; then
                                        echo "devpts is mounted, nothing to do"
                                else
                                        # hope this won't break boot process
                                        mount -n -t devpts devpts /dev/pts
                                fi
                                # this isn't realy supported for now
                                # busybox telnetd forks perse, but who knows...
                                S_SCRIPT="$SYSROOT/bin/busybox telnetd 2>&1 &"
                                # TV has no nic -> first get usb wifi working
                                #       # T-RBYDEU -> no telnet start script, has inetd
                                #       ifconfig lo 127.0.0.1
                                #       # hmm
                                #       mount -t devpts devpts /dev/pts
                                #       S_SCRIPT="/usr/sbin/inetd >/dev/null 2>&1 &"
                        fi
                done
        fi

        echo "SYSROOT=\"$SYSROOT\"" > /dtv/SGO.env
        echo "MOUNT_PATH=\"MountPlaceholder\"" >> /dtv/SGO.env
        echo "export MOD_DIR=$SYSROOT/lib/modules/$KERN_VER" >> /dtv/SGO.env
        echo "export TMPDIR=/dtv" >> /dtv/SGO.env
        echo "export HOME=$NEW_HOME" >> /dtv/SGO.env
        echo "export SMB_CONF_PATH=\"$SYSROOT/etc/samba/smb.conf\"" >> /dtv/SGO.env
        echo "LOGFILE=\"$SYSROOT/samygo.log\"" >> /dtv/SGO.env

else
        S_SCRIPT="echo Skip >> /dev/kmsg"
fi

# go to sed due busybox on T-SPHAUSC
# echo "SYSROOT=\"$(echo "$S_SCRIPT" | cut -d " " -f2)\"" > /dtv/SGO.env
# is already set
# echo "SYSROOT=\"$(echo "$S_SCRIPT" | sed 's/cd \(.*\) ;.*/\1/')\"" > /dtv/SGO.env
eval $S_SCRIPT
$1/rcEXT "$1"
/dtv/usb/sda1/SamyGO #
my rc.fix_telnetd

Code: Select all

/dtv/usb/sda1/SamyGO/etc # cat rc.fix_telnetd
#!/bin/sh
killall telnetd
. /dtv/sgoshfix
cd
my rc.sysinit

Code: Select all

/dtv/usb/sda1/SamyGO/etc # cat rc.sysinit
#!/bin/sh
#
# ? Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: SamyGO-sysinit svn $Id: rc.sysinit 1148 2011-06-07 19:49:16Z arris69 $


# some helper stuff
alias .='source'

bummer()
{
        echo "$1"
        exit 0
}

p_from_rel_info()
{
        if [ -e $1 ]; then
                DISTROOT="$SYSROOT/opt/$(sed q "$1" | sed 's/^\(\w*\) *.*/\1/')"
        else
                DISTROOT="$SYSROOT"
        fi
}

find_self()
{
        # on start holds export SYSROOT="<whatever>", written from
        # starterlib or rcSGO
        source /dtv/SGO.env
}

# if running as real rcS
if [ ! -e /proc/mounts ]; then
        /bin/mount -n -t proc /proc /proc
        /bin/mount -n -t sysfs /sys /sys >/dev/null 2>&1
fi
if [ -x /etc/rc.early.local ]; then
        echo ". /etc/rc.early.local" 1>&2
fi

# build runtime enviroment (set path and lib locations)
find_self
p_from_rel_info $SYSROOT/etc/release
export LD_LIBRARY_PATH="$DISTROOT/lib:$DISTROOT/usr/lib:$SYSROOT/lib:$SYSROOT/usr/lib:$LD_LIBRARY_PATH"
export PATH="$DISTROOT/sbin:$DISTROOT/bin:$DISTROOT/usr/bin:$DISTROOT/usr/sbin:$SYSROOT/sbin:$SYSROOT/bin:$SYSROOT/usr/bin:$SYSROOT/usr/sbin:$PATH"
# export LD_PRELOAD=""
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/SGO.env
echo "PATH=\"$PATH\"" >> /dtv/SGO.env
echo "export ENV=\"/dtv/.ashrc\"" >> /dtv/SGO.env
echo "export FRAMEBUFFER=\"/dev/sam/fb0\"" >> /dtv/SGO.env
echo "export DISTROOT=\"$DISTROOT\"" >> /dtv/SGO.env

# bit comfort after login and disable samsung grap
echo "export PATH=\"$PATH:/usr/sbin:/usr/bin:/bin:/sbin\"" > /mtd_rwarea/profile
echo "export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /mtd_rwarea/profile
echo "export SCREENDIR=/dtv/screen" >> /mtd_rwarea/profile
#echo "export PS1='# '" >> /mtd_rwarea/profile
echo "PS1='\u@tv:\w \# '" >> /mtd_rwarea/profile
echo -e "ENV=/dtv/.ashrc\nexport ENV\n" >> /mtd_rwarea/profile
echo ". /dtv/sgoshfix" >> /mtd_rwarea/profile

mount -o bind /dtv/network_opt/sh /bin/sh
echo -e "ENV=/dtv/.ashrc\nexport ENV\n" >> /mtd_rwarea/profile

/bin/mount -o bind /mtd_rwarea/profile /etc/profile

echo "alias ll='ls -l'" > /dtv/.ashrc
echo "alias md='mkdir -p'" >> /dtv/.ashrc
echo "alias vi='busybox vi'" >> /dtv/.ashrc
echo "PATH=\"$PATH\"" >> /dtv/.ashrc
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/.ashrc
echo "FRAMEBUFFER=\"/dev/sam/fb0\"" >> /dtv/.ashrc
echo "TERMINFO=\"$SYSROOT/etc/terminfo\"" >> /dtv/.ashrc
echo "TMPDIR=\"/dtv\"" >> /dtv/.ashrc
echo "export PATH LD_LIBRARY_PATH FRAMEBUFFER TMPDIR TERMINFO" >> /dtv/.ashrc

if [ -x $DISTROOT/sbin/depmod ] ; then
        $DISTROOT/sbin/depmod -v -b $SYSROOT
fi

# we don't use real init (for now)
#  v0.03 disabled stop sequence
# for i in `ls -r $SYSROOT/etc/init.d/*.init` ; do
# echo  $i stop         # hmmmmm
# done
for i in $SYSROOT/etc/init.d/*.init ; do
        $i start        # hmmmmm
done

/dtv/usb/sda1/SamyGO/etc #
Any hints?
if i start ssh i got this error

Code: Select all

login as: root
root@192.168.1.164's password:
-sh: .: line 8: can't open /dtv/sgoshfix
\u@tv:\w \#
Last edited by tempinbox on Thu Mar 05, 2015 12:50 pm, edited 1 time in total.
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 »

Do I understand correctly that till now you were trying only "part" of instructions? Whole tutorial (although touches different issue (history,scp,colors,etc.)) has to be done at once :) There are no "parts" :) It's all or nothing :)
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:Do I understand correctly that till now you were trying only "part" of instructions? Whole tutorial (although touches different issue (history,scp,colors,etc.)) has to be done at once :) There are no "parts" :) It's all or nothing :)
you undesrtand wrong i do all steps you described for c series.
not only parts.
can you help me or not?
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: you undesrtand wrong i do all steps you described for c series.
not only parts.
can you help me or not?
I don't know :P Your problem is something connected to rcEXT. What is the output of this commands:

Code: Select all

source /dtv/SGO.env
$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:
tempinbox wrote: you undesrtand wrong i do all steps you described for c series.
not only parts.
can you help me or not?
I don't know :P Your problem is something connected to rcEXT. What is the output of this commands:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT "$SYSROOT"
here's the output

Code: Select all

/ # source /dtv/SGO.env
/ # $SYSROOT/rcEXT "$SYSROOT"
/mtd_rwarea/sh: /dtv/usb/sda1/SamyGO/rcEXT: not found
but i have rcEXT

Code: Select all

/dtv/usb/sda1/SamyGO # ls -al
drwxr-xr-x   11 root     0            4096 Jan  1  1980 .
drwxr-xr-x   10 root     0            4096 Jan  1 00:00 ..
drwxr-xr-x    2 root     0            4096 Jan  1  1980 bin
-rwxr-xr-x    1 root     0               0 Oct  1  2011 clmeta.dat
drwxr-xr-x    4 root     0            4096 Jan  1  1980 doc
drwxr-xr-x   12 root     0            4096 Jan  1  1980 etc
drwxr-xr-x    3 root     0            4096 Jan  1  1980 lib
drwxr-xr-x    5 root     0            4096 Jan  1  1980 mc
drwxr-xr-x    3 root     0            4096 Jan  1  1980 opt
drwxr-xr-x    6 root     0            4096 Jan  1  1980 phpsysinfo
-rwxr-xr-x    1 root     0             706 Jan  1  1980 rcEXT
-rwxr-xr-x    1 root     0            3792 Jan  1  1980 rcSGO
-rwxr-xr-x    1 root     0           16135 Jan  1  1980 samygo.log
drwxr-xr-x    2 root     0            4096 Jan  3  2011 sbin
drwxr-xr-x    2 root     0            4096 Jan  3  2011 usr
so is possible to solve this?
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:
sectroyer wrote:
tempinbox wrote: you undesrtand wrong i do all steps you described for c series.
not only parts.
can you help me or not?
I don't know :P Your problem is something connected to rcEXT. What is the output of this commands:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT "$SYSROOT"
here's the output
SpoilerShow

Code: Select all

/ # source /dtv/SGO.env
/ # $SYSROOT/rcEXT "$SYSROOT"
/mtd_rwarea/sh: /dtv/usb/sda1/SamyGO/rcEXT: not found
but i have rcEXT

Code: Select all

/dtv/usb/sda1/SamyGO # ls -al
drwxr-xr-x   11 root     0            4096 Jan  1  1980 .
drwxr-xr-x   10 root     0            4096 Jan  1 00:00 ..
drwxr-xr-x    2 root     0            4096 Jan  1  1980 bin
-rwxr-xr-x    1 root     0               0 Oct  1  2011 clmeta.dat
drwxr-xr-x    4 root     0            4096 Jan  1  1980 doc
drwxr-xr-x   12 root     0            4096 Jan  1  1980 etc
drwxr-xr-x    3 root     0            4096 Jan  1  1980 lib
drwxr-xr-x    5 root     0            4096 Jan  1  1980 mc
drwxr-xr-x    3 root     0            4096 Jan  1  1980 opt
drwxr-xr-x    6 root     0            4096 Jan  1  1980 phpsysinfo
-rwxr-xr-x    1 root     0             706 Jan  1  1980 rcEXT
-rwxr-xr-x    1 root     0            3792 Jan  1  1980 rcSGO
-rwxr-xr-x    1 root     0           16135 Jan  1  1980 samygo.log
drwxr-xr-x    2 root     0            4096 Jan  3  2011 sbin
drwxr-xr-x    2 root     0            4096 Jan  3  2011 usr
so is possible to solve this?
Yes you have but your rcEXT is incorrectly prepared :D Did you use notepad++ with uni coding to write it ? :D
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 »

i'm trying to fixing telnet now the situation is this
i get this error

Code: Select all

# $SYSROOT/rcEXT "$SYSROOT"
ln: /dtv/bin/bin: Operation not permitted
ln: /dtv/network_opt/bin/dnsdomainname: No such file or directory
ln: /dtv/network_opt/bin/id: No such file or directory
ln: /dtv/network_opt/bin/md5sum: No such file or directory
killall: telnetd: no process killed
/dtv/usb/sda1/SamyGO/etc/rc.fix_telnetd: line 5: telnetd: not found
ln: /dtv/network_opt/bin/awk: No such file or directory
ln: /dtv/network_opt/bin/cal: No such file or directory
ln: /dtv/network_opt/bin/clear: No such file or directory
ln: /dtv/network_opt/bin/cmp: No such file or directory
ln: /dtv/network_opt/bin/diff: No such file or directory
ln: /dtv/network_opt/bin/hostname: No such file or directory
ln: /dtv/network_opt/bin/lsusb: No such file or directory
ln: /dtv/network_opt/bin/less: No such file or directory
ln: /dtv/network_opt/bin/mountpoint: No such file or directory
ln: /dtv/network_opt/bin/nc: No such file or directory
ln: /dtv/network_opt/bin/man: No such file or directory
ln: /dtv/network_opt/bin/nslookup: No such file or directory
ln: /dtv/network_opt/bin/ntpd: No such file or directory
ln: /dtv/network_opt/bin/modprobe: No such file or directory
ln: /dtv/network_opt/bin/modinfo: No such file or directory
ln: /dtv/network_opt/bin/realpath: No such file or directory
ln: /dtv/network_opt/bin/reset: No such file or directory
ln: /dtv/network_opt/bin/rmdir: No such file or directory
ln: /dtv/network_opt/bin/rtcwake: No such file or directory
ln: /dtv/network_opt/bin/stat: No such file or directory
ln: /dtv/network_opt/bin/seq: No such file or directory
ln: /dtv/network_opt/bin/sha1sum: No such file or directory
ln: /dtv/network_opt/bin/sha256sum: No such file or directory
ln: /dtv/network_opt/bin/sha512sum: No such file or directory
ln: /dtv/network_opt/bin/sort: No such file or directory
ln: /dtv/network_opt/bin/split: No such file or directory
ln: /dtv/network_opt/bin/strings: No such file or directory
ln: /dtv/network_opt/bin/su: No such file or directory
ln: /dtv/network_opt/bin/sum: No such file or directory
ln: /dtv/network_opt/bin/tee: No such file or directory
ln: /dtv/network_opt/bin/telnet: No such file or directory
ln: /dtv/network_opt/bin/tftp: No such file or directory
ln: /dtv/network_opt/bin/tftpd: No such file or directory
ln: /dtv/network_opt/bin/udpsvd: No such file or directory
ln: /dtv/network_opt/bin/time: No such file or directory
ln: /dtv/network_opt/bin/tr: No such file or directory
ln: /dtv/network_opt/bin/traceroute: No such file or directory
ln: /dtv/network_opt/bin/uniq: No such file or directory
ln: /dtv/network_opt/bin/uptime: No such file or directory
ln: /dtv/network_opt/bin/uudecode: No such file or directory
ln: /dtv/network_opt/bin/uuencode: No such file or directory
ln: /dtv/network_opt/bin/volname: No such file or directory
ln: /dtv/network_opt/bin/who: No such file or directory
ln: /dtv/network_opt/bin/whoami: No such file or directory
ln: /dtv/network_opt/bin/wc: No such file or directory
ln: /dtv/network_opt/bin/xargs: No such file or directory
but i have done every steps so why don't work?
i need help of exepert please. :oops:
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:i'm trying to fixing telnet now the situation is this
i get this error

Code: Select all

# $SYSROOT/rcEXT "$SYSROOT"

where did you run "source? I don't see it in your log told you to run:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT "$SYSROOT"
tempinbox wrote: but i have done every steps so why don't work?
i need help of exepert please. :oops:
No you keep on not posting FULL commands that I ask you to run, you use wrong text editors/encodings. In other words you keep on lying you "did everything correctly" when in fact you don't do that :)
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:i'm trying to fixing telnet now the situation is this
i get this error

Code: Select all

# $SYSROOT/rcEXT "$SYSROOT"

where did you run "source? I don't see it in your log told you to run:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT "$SYSROOT"
tempinbox wrote: but i have done every steps so why don't work?
i need help of exepert please. :oops:
No you keep on not posting FULL commands that I ask you to run, you use wrong text editors/encodings. In other words you keep on lying you "did everything correctly" when in fact you don't do that :)
so tell me what i'm doing wrong?
maybe i need other script enables like 01_01_catch_crap.init? if i use the option --color i get colors in putty but no history
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: so tell me what i'm doing wrong?
How many times do I have to repeat same stuff?
run:

Code: Select all

source /dtv/SGO.env
$SYSROOT/rcEXT "$SYSROOT"
and use notepad++ with unix encoding....
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 !!!!

Post Reply

Return to “[F] Software”