Page 5 of 26

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

Posted: Mon Jun 16, 2014 11:28 pm
by sectroyer
panni wrote:No, I think we misunderstood each other. My SSH is working now, without your fix and without SRS_module. I've just changed the shell of root in /etc/passwd to /bin/sh (from /mnt/bin/ash) and now the login works.
You were able to edit /etc/passwd without SRS_module ? :) I don't know what happens :D I don't own F :) I can just say what I have experienced on E :)

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

Posted: Mon Jun 16, 2014 11:30 pm
by panni
Yeah, FTP -> download /mnt_rwarea/passwd -> change shell to /bin/sh -> upload -> restart dropbear -> profit

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

Posted: Tue Jun 17, 2014 5:23 am
by sectroyer
panni wrote:Yeah, FTP -> download /mnt_rwarea/passwd -> change shell to /bin/sh -> upload -> restart drop bear -> profit
Ehhh this should work only if you have SRS or mount module loaded... Have any of those? :)

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

Posted: Tue Jun 17, 2014 8:31 am
by juusso
I think he has mount.ko, else no mount bind possible at all.

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

Posted: Tue Jun 17, 2014 11:36 am
by sectroyer
juuso wrote:I think he has mount.ko, else no mount bind possible at all.
Yeah that's also what I think but I want to avoid any new surprises :)

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

Posted: Tue Jun 17, 2014 11:47 pm
by panni
I guess so, I'm using an unmodified original SamyGO for my F-Series, the newest I could find. Firmware 1.118.2

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

Posted: Wed Jun 18, 2014 12:23 pm
by sectroyer
panni wrote:I guess so, I'm using an unmodified original SamyGO for my F-Series, the newest I could find. Firmware 1.118.2
Please don't guess :) Just post the result of this command:

Code: Select all

lsmod
:)

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

Posted: Thu Jun 19, 2014 6:57 pm
by panni
SRS_module is loaded. I didn't enable it though, it was enabled when I installed SamyGO.

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

Posted: Thu Jun 19, 2014 11:00 pm
by sectroyer
panni wrote:SRS_module is loaded. I didn't enable it though, it was enabled when I installed SamyGO.
That explaines everything :) you can do what you want :) mount -bind, etc :)

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

Posted: Sat Jun 21, 2014 1:13 am
by bobiturboto
panni wrote:No, I think we misunderstood each other. My SSH is working now, without your fix and without SRS_module. I've just changed the shell of root in /etc/passwd to /bin/sh (from /mnt/bin/ash) and now the login works.
I can confirm also after changing the file now I have ssh access too F8000

Code: Select all

root:saJvQKUdIxRW2:0:0:SamyGO secured Root:/mnt:/bin/sh