"doesn't work" is NO info for metempinbox 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.
Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
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 !!!!
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 !!!!
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Still needs help for get this working could you simply explain me what i've to do?sectroyer wrote:"doesn't work" is NO info for metempinbox 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.Post the results of commands I asked. Post logs, errors
Something
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
yeah replace every instance of /dtv/bin in my scripts to $SYSROOT/bintempinbox wrote: Still needs help for get this working could you simply explain me what i've to do?
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 !!!!
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 !!!!
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Done as you say find dtv/bin only one time and replaced with $SYSROOT/binsectroyer wrote:yeah replace every instance of /dtv/bin in my scripts to $SYSROOT/bintempinbox wrote: Still needs help for get this working could you simply explain me what i've to do?
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 #
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
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Yeah I made mistake
Get back to previous files and replace:
to

Code: Select all
/dtv/network_opt/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 !!!!
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 !!!!
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
done again --> is right??? but still no workssectroyer wrote:Yeah I made mistakeGet back to previous files and replace:
toCode: Select all
/dtv/network_opt/Code: Select all
$SYSROOT/bin/
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
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?
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
What is the output of running:
script?
Code: Select all
$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 !!!!
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 !!!!
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
here is the outputsectroyer wrote:What is the output of running:script?Code: Select all
$SYSROOT/rcEXT "$SYSROOT"
Code: Select all
/ # $SYSROOT/rcEXT "$SYSROOT"
/mtd_rwarea/sh: /rcEXT: not found
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
ehhh if you keep on forgetting that you should ALWYAS RUN:
FIRST than how we can continue ? With the rest:
Code: Select all
source /dtv/SGO.envCode: 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 !!!!
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 !!!!
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
even if i alwyas run source /dtv/SGO.env the result is the samesectroyer wrote:ehhh if you keep on forgetting that you should ALWYAS RUN:FIRST than how we can continue ? With the rest:Code: Select all
source /dtv/SGO.envCode: Select all
echo $SYSROOT $SYSROOT/rcEXT "$SYSROOT"
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