Forum » Forum / Per page discussions » First Steps With MBWE
Started by: Automatic
On: 1212910251|%e %b %Y, %H:%M %Z|agohover
Number of posts: 17
rss icon RSS: New posts
This is the discussion related to the wiki page First Steps With MBWE.
Making ssh permanent by uncommeting inetd.conf
number3number3 1212910530|%e %b %Y, %H:%M %Z|agohover

I noticed that in all the instructions there is still being told that adding the sshd to inittab instead of just uncommenting the inetd.conf to enable the sshd permanently.

Being not a unix guru, I am not sure what it the best way of doing things in this case. To me uncommenting something that is already installed is better then adding something to the inittab…

Anyone any advice?

unfold Making ssh permanent by uncommeting inetd.conf by number3number3, 1212910530|%e %b %Y, %H:%M %Z|agohover
Re: Making ssh permanent by uncommeting inetd.conf
alephsmithalephsmith 1213492341|%e %b %Y, %H:%M %Z|agohover

I am going to rearrange a bit of this page.
1. Mention this hack: http://www.mybook-linux.co.nr/sshaccess.html
2. Consider remove the bit about compiling nano natively? With optware is this really necessary?

I think it could be a little clearer still (maybe as a TOC and frame it as a series of steps rather than what it is now)

Let me know if you disagree.

unfold Re: Making ssh permanent by uncommeting inetd.conf by alephsmithalephsmith, 1213492341|%e %b %Y, %H:%M %Z|agohover
Re: Making ssh permanent by uncommeting inetd.conf
number3number3 1214171094|%e %b %Y, %H:%M %Z|agohover

I agree.
1. seems to be the more security aware way of doing things. Setting up a password on the way is good.
2. I don't think people need to compile themselfs, with optware. So I suggest moving it to another page, or leave it on a Tab as alternative ;-)

unfold Re: Making ssh permanent by uncommeting inetd.conf by number3number3, 1214171094|%e %b %Y, %H:%M %Z|agohover
Re: Making ssh permanent by uncommeting inetd.conf
kevkukevku 1215086283|%e %b %Y, %H:%M %Z|agohover

you have a nano /etc/inetd.conf command before you even have installed nano/optware.


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Making ssh permanent by uncommeting inetd.conf by kevkukevku, 1215086283|%e %b %Y, %H:%M %Z|agohover
Re: Making ssh permanent by uncommeting inetd.conf
TeinturManTeinturMan 1215087820|%e %b %Y, %H:%M %Z|agohover

The /etc/inetd.conf configuration should be included in the Martin Hinner 's hack only , as it is not necessary with the other…
Unfortunately, i do not have sufficient wiki knowledge to modify these Tabs items…

So maybe, Alephsmith who already have done a beautifull job may want to update it..?

unfold Re: Making ssh permanent by uncommeting inetd.conf by TeinturManTeinturMan, 1215087820|%e %b %Y, %H:%M %Z|agohover
Re: Making ssh permanent by uncommeting inetd.conf
fraterfrater 1215105088|%e %b %Y, %H:%M %Z|agohover

lol….

LEARN VI !!!!!

unfold Re: Making ssh permanent by uncommeting inetd.conf by fraterfrater, 1215105088|%e %b %Y, %H:%M %Z|agohover
kevkukevku 1215086020|%e %b %Y, %H:%M %Z|agohover

wow. very nice page i must say, now if anyone is willing to make a better start page then go ahead, we could use one.


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold by kevkukevku, 1215086020|%e %b %Y, %H:%M %Z|agohover
fraterfrater 1215104938|%e %b %Y, %H:%M %Z|agohover

Now a good wiki about installing Optware.

Which means adding /opt/bin:/opt/sbin in front of the rest of the path, modifying ld.so.conf, running ldconfig… A script in /etc/init.d that will start all programs that are in /opt/etc/init.d.
Most want to install php.. so that could be the first example…

modifying /etc/lighttpd/lighttpd.conf, including /etc/lighttpd/conf.d and adding an extra config there (for example my evhost.conf so you have dynamic virtual hosting)

unfold by fraterfrater, 1215104938|%e %b %Y, %H:%M %Z|agohover
alephsmithalephsmith 1215475969|%e %b %Y, %H:%M %Z|agohover

Is there any reason we are not hosting our own ssh hack from the wiki?

Martin's script was great for the first couple months but surely we can cook up a better one here?

Who owns this site: www.mybook-linux.co.nr ? Can anyone confirm that this hack does indeed work with the latest firmware version? Would we be able to get permission to host it from here as well, or at least copy the instructions to our first steps page.

unfold by alephsmithalephsmith, 1215475969|%e %b %Y, %H:%M %Z|agohover
Re:
TeinturManTeinturMan 1215502614|%e %b %Y, %H:%M %Z|agohover

I agree with you, the first ssh hack should be hosted in this wiki.
It is not needed to have a php server,
a simple html page containing the following code in the wiki should be enough…

<a href=\"http://<Url of wiki>/configssh.sh\">firmware</a>

You could keep a line in the tutorial to reference the original site, so that the author will still be identified?

unfold Re: by TeinturManTeinturMan, 1215502614|%e %b %Y, %H:%M %Z|agohover
alephsmithalephsmith 1215910043|%e %b %Y, %H:%M %Z|agohover

OK, I want to insert some text about how to set up users in this page. It seems that people need explicit instructions about which user to create where in order to be able to ssh in properly.

TBH I don't quite remember myself, but I am assuming it goes something like this:

1. Create admin user in webinterface (admin:12345)
2. Create filesharing user in webinterface (filesharer:abcde)
3. Run ssh hack

Note ALLCAPS for username


4. Login via ssh using filesharing user FILESHARER:abcde

Note: root pass will be different depending on the hack used
Martin hinner= root:<blank Pass>
mybook-linux= root:root


5. su to root
6. Change root password passwd
unfold by alephsmithalephsmith, 1215910043|%e %b %Y, %H:%M %Z|agohover
Re:
fraterfrater 1215937234|%e %b %Y, %H:%M %Z|agohover

Apparently people are having more success when following my tutorial.
Why not copy that or provide a link?

last edited on 1215937250|%e %b %Y, %H:%M %Z|agohover by frater + show more
unfold Re: by fraterfrater, 1215937234|%e %b %Y, %H:%M %Z|agohover
WebServer Feature Pack Start Up pb Solved:
TeinturManTeinturMan 1246398021|%e %b %Y, %H:%M %Z|agohover

Hi all,
some of you told me that the Web Server Feature pack for the White Light Mybook was no longer working after a reboot.
This problem is now solved by upgrading to the System_Configuration FeaturePAck .

Note that the technical solution has been finally to rename S90optware in S99toptware

Thanks for your understanding…

unfold WebServer Feature Pack Start Up pb Solved: by TeinturManTeinturMan, 1246398021|%e %b %Y, %H:%M %Z|agohover
It would appear method 2 and method 3 are now the same
ttguyttguy 1250328634|%e %b %Y, %H:%M %Z|agohover

If you follow the instructions mentioned in Method 2 - cleaner it says to run from instructions at http://www.mybook-linux.co.nr/sshaccess.html
And this site says execute mybook1.110mb.com/firmware.php.
However, Method 2 tab also mentions that mybook1.110mb.com is not working and that you should run martin.hinner.info/mybook/firmware.php

Method 3 says to follow instructions at http://martin.hinner.info/mybook/sshaccess.php and this site says execute martin.hinner.info/mybook/firmware.php

So as you see method 2 and Method 3 are identicle - right?

ttguy

unfold It would appear method 2 and method 3 are now the same by ttguyttguy, 1250328634|%e %b %Y, %H:%M %Z|agohover
Re: It would appear method 2 and method 3 are now the same
ttguyttguy 1250333629|%e %b %Y, %H:%M %Z|agohover

Perhaps this
users6.nofeehost.com/MybookAlternative/MBWE-SSH-ENABLE is the Second method - as described on http://mybookworld.wikidot.com/ssh-enable

Presumably this is different to the martin.hinner.info/mybook/firmware.php method.

The script is supposedly published here
http://users6.nofeehost.com/MybookAlternative/MBWE-SSH-ENABLE/MBWE-SSH-ENABLE.sh

but this comes back with

404 - File Not Found

The file either does not exist or this member
has violated the Terms of Service and his account has been terminated.

http://<mybookip>/auth/firmware_upgrade.pl?fwserver=users6.nofeehost.com/MybookAlternative/MBWE-SSH-ENABLE
does bring up the New firmware available page in the Shared Storage Manger so it would appear some file exists at users6.nofeehost.com/MybookAlternative/MBWE-SSH-ENABLE - I just can not see it.

unfold Re: It would appear method 2 and method 3 are now the same by ttguyttguy, 1250333629|%e %b %Y, %H:%M %Z|agohover
Re: It would appear method 2 and method 3 are now the same
TeinturManTeinturMan 1250338642|%e %b %Y, %H:%M %Z|agohover

Hittguy,
my opinion, is that the "Firststeps" is getting a real mess….

the method 1 is only working on Mybook WhiteLight,

and i think method 2 or 3 are not the best, the one i recommend is the following:
(equivalent to method 2, but with an additional log file )

(also note that method 2 should be very different from method 3: because the MArtin hinner prevent to login to ssh via root, as method 2 does not do that…

http://mybookworld.wikidot.com/ssh-enable

Regards,

Re: It would appear method 2 and method 3 are now the same
The PuppeteerThe Puppeteer 1252374420|%e %b %Y, %H:%M %Z|agohover

I'm in the middle of reconfiguring a blue ring and I could not get method 2 to work. It might be because of the adverts used there, I'm not sure, but I could not get it to work.

New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License