Forum » Forum / Per page discussions » First Steps With MBWE
started by: Automatic
on: 1212910251|%e %b %Y, %H:%M %Z|agohover
number of posts: 12
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.

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.

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
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License