There is no "killall" in "FOR E DO THIS" section It would be great if you could clean all this patches and use the "right way" to see if this one also works for youzoelechat wrote:I also have colors I didn't have before
I've just lost telnet on port 1023, probably due to "killall telnetd" in telnet daemon, is that part needed on E?
edit: ok, the answer is no. That's finally the only part I've messed up, nothing dramatic
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
Yes, I've already done it.
Everything works flawlessly, port 1023 is backAfter this I have working bash history, telnet, ssh and scp
I do NOT receive any PM. Please use forum.
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Okay. From your post I got impression that you made some C and E mix patchzoelechat wrote:Yes, I've already done it.Everything works flawlessly, port 1023 is backAfter this I have working bash history, telnet, ssh and scp
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
Sort of
I've kept dropbear from C post (files are the same it seems?) with its original name: dropbear (replacing existing one)
And I didn't do symbolic link to dbclient, I also kept my own busybox.
In fact I just didn't do the last part you've added when you clarified what to do on E
But no more rcEXT, modded rcSGO, daemon, etc...
I've kept dropbear from C post (files are the same it seems?) with its original name: dropbear (replacing existing one)
And I didn't do symbolic link to dbclient, I also kept my own busybox.
In fact I just didn't do the last part you've added when you clarified what to do on E
But no more rcEXT, modded rcSGO, daemon, etc...
I do NOT receive any PM. Please use forum.
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Without dbclient scp may not work correctlyzoelechat wrote:Sort of
I've kept dropbear from C post (files are the same it seems?) with its original name: dropbear (replacing existing one)
And I didn't do symbolic link to dbclient, I also kept my own busybox.
In fact I just didn't do the last part you've added when you clarified what to do on E
But no more rcEXT, modded rcSGO, daemon, etc...
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
Ok, I trust you but I like to understand...
Is there a fundamental difference between your attached dropbear and already included in SamyGO one? (ssh/scp already works with this one 277kb<>396kb).
I can't get sshd.init script to work, ssh/scp only work if I unconditionnally launch dropbear (at the end of catch_crap for exemple)
More I wonder how your "dropbearmulti" can be effective since it is called nowhere in sshd.init.
Also you add these lines in catch_crap while they already exist in sshd.init, so is it necessary to have them twice?:
To resume, everything works as it should but not by following exactly your guide...
Is there a fundamental difference between your attached dropbear and already included in SamyGO one? (ssh/scp already works with this one 277kb<>396kb).
I can't get sshd.init script to work, ssh/scp only work if I unconditionnally launch dropbear (at the end of catch_crap for exemple)
More I wonder how your "dropbearmulti" can be effective since it is called nowhere in sshd.init.
Also you add these lines in catch_crap while they already exist in sshd.init, so is it necessary to have them twice?:
Code: Select all
/bin/mount -o bind /mtd_rwarea/passwd /etc/passwd
/bin/mount -o bind /mtd_rwarea/profile /etc/profile
I do NOT receive any PM. Please use forum.
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
The issues you are experiencing are exacly because youd didn't follow the tutoral exacly and installed dropbear manuallyzoelechat wrote:Ok, I trust you but I like to understand...
Is there a fundamental difference between your attached dropbear and already included in SamyGO one? (ssh/scp already works with this one 277kb<>396kb).
I can't get sshd.init script to work, ssh/scp only work if I unconditionnally launch dropbear (at the end of catch_crap for exemple)
More I wonder how your "dropbearmulti" can be effective since it is called nowhere in sshd.init.
Also you add these lines in catch_crap while they already exist in sshd.init, so is it necessary to have them twice?:To resume, everything works as it should but not by following exactly your guide...Code: Select all
/bin/mount -o bind /mtd_rwarea/passwd /etc/passwd /bin/mount -o bind /mtd_rwarea/profile /etc/profile
Code: Select all
ls -l /mnt/opt/privateer/usr/sbin/dropbear
lrwxrwxrwx 1 root 0 41 Jan 1 1970 /mnt/opt/privateer/usr/sbin/dropbear -> /mnt/opt/privateer/usr/sbin/dropbearmulti
root@tv:~ # lff /mnt/opt/privateer/usr/sbin/dropbearmulti
Code: Select all
ls -l /mnt/bin/scp
lrwxrwxrwx 1 root 0 41 Jan 1 1970 /mnt/bin/scp -> /mnt/opt/privateer/usr/sbin/dropbearmulti
ls -l /mnt/bin/dbclient
lrwxrwxrwx 1 root 0 41 Jan 1 1970 /mnt/bin/dbclient -> /mnt/opt/privateer/usr/sbin/dropbearmulti
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
I'm not really experiencing issues but again I like to understand what I'm doing...
After my first experiments I've reset all and exactly followed your tutorial. It is simply unclear !
As is, you can get nice colors in telnet but not ssh/scp working at all. Or maybe by confusely taking a few infos from C tuto.
Don't you like to answer questions?
In original SamyGO it seems that there's no symbolic links but multiple instances of the same file with different names (dropbear, dropbearmulti, dropbearkey...). That's probably what confused me.
Anyway, it works now and I will let you know if I see any problem happening without using these symbolic links
After my first experiments I've reset all and exactly followed your tutorial. It is simply unclear !
As is, you can get nice colors in telnet but not ssh/scp working at all. Or maybe by confusely taking a few infos from C tuto.
Don't you like to answer questions?
In original SamyGO it seems that there's no symbolic links but multiple instances of the same file with different names (dropbear, dropbearmulti, dropbearkey...). That's probably what confused me.
Anyway, it works now and I will let you know if I see any problem happening without using these symbolic links
I do NOT receive any PM. Please use forum.
Re: Fixing SamyGO telnet/SSH/SCP/bash on C/D/E/F series
Symbolic links use less space and If you use to much space on /mtd_rwcommon/ you will have problemszoelechat wrote:I'm not really experiencing issues but again I like to understand what I'm doing...
After my first experiments I've reset all and exactly followed your tutorial. It is simply unclear !
As is, you can get nice colors in telnet but not ssh/scp working at all. Or maybe by confusely taking a few infos from C tuto.
Don't you like to answer questions?
In original SamyGO it seems that there's no symbolic links but multiple instances of the same file with different names (dropbear, dropbearmulti, dropbearkey...). That's probably what confused me.Anyway, it works now and I will let you know if I see any problem happening without using these symbolic linkszoelechat wrote: So if I did understand everything correctly you used "my" E tutorial and just used multiple istances of dropbearmulti instead of symbolic links(ssh.init working?)?
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
Ok, so once for all which files need to be linked to dropbearmulti?
dropbear, scp and dbclient that's it?
What about dropbearkey and dropbearconvert?
edit: files aren't in /mtd_rwcommon but /mnt
dropbear, scp and dbclient that's it?
What about dropbearkey and dropbearconvert?
edit: files aren't in /mtd_rwcommon but /mnt
I do NOT receive any PM. Please use forum.