How to telnet to a dslbox?


Forum: Networking
Topic: How to telnet to a dslbox?
started by: andre75

Posted by andre75 on Feb. 07 2007,08:24
I have installed DSL-N on a new small IPAQ machine I bought off ebay. I want to set it up as a webserver.
First of all, let me say how impressed I was with DSL and how far it has come. It was increadibly easy to install it, although I wish the installer had a fdisk built in.

I have tried to login to my dslbox by telnet and ssh but somehow it won't work.
Telnet give me this:
telnet: Unable to connect to remote host: Connection refused
(I tried telnet dslbox and telnet 192.168.1.103 (the ip of my dslbox)).
I tried the same with putty and ssh.

Is there something I forgot to do?

I'd appreciate some ideas.

Thanks

Posted by ^thehatsrule^ on Feb. 07 2007,23:47
Quote
although I wish the installer had a fdisk built in.
Well, DSL comes with fdisk/cfdisk ... did you mean you would want it to be part of the install scripts?

No remote services are started by default.  I don't know if a daemon for telnet is included, but ssh is.
You can boot with "dsl ssh secure".  Note that you need to input a password first (hence the secure cheatcode - or you could change them manually using passwd)

Posted by andre75 on Feb. 08 2007,01:27
Quote (^thehatsrule^ @ Feb. 07 2007,18:47)
Quote
although I wish the installer had a fdisk built in.
Well, DSL comes with fdisk/cfdisk ... did you mean you would want it to be part of the install scripts?

No remote services are started by default.  I don't know if a daemon for telnet is included, but ssh is.
You can boot with "dsl ssh secure".  Note that you need to input a password first (hence the secure cheatcode - or you could change them manually using passwd)

Yes, I did an install on an old system I bought and it went straight to the FAT16 partition. I did it a second time and made a swap and ext3 partition before installing it. That worked well. Just thinking that an option in the installer would be rather comfortable. (actually it took 3 installs since the grub version wouldn't boot up, so I set it up with lilo).

I got ssh working yesterday. I wasn't even aware that you need a demon for telnet. I admit it has been years since I used linux.

Can you recommend a good reading resource about setting a box up as a web server (php + some libs, apache, mysql) and ftp server? I think I can figure it out, but I am somewhat concerned about security (I know apache better than the web server that comes with DSL, but I might give it a shot)

Also how do I set the box up NOT boot into X. I really don't need X for my purposes.

Again, I love DSL. I have done a digital picture frame with it a while ago. Its very versatile and extremely resource friendly.

Sorry for putting all my questions into a single thread.

Posted by ^thehatsrule^ on Feb. 08 2007,02:16
Quote
Yes, I did an install on an old system I bought and it went straight to the FAT16 partition.
Well the docs show how to install DSL, and includes partitioning.

Quote
I got ssh working yesterday. I wasn't even aware that you need a demon for telnet.
It's the same for sshd, since theyre both server->client oriented.

Quote
Can you recommend a good reading resource about setting a box up as a web server (php + some libs, apache, mysql) and ftp server? I think I can figure it out, but I am somewhat concerned about security (I know apache better than the web server that comes with DSL, but I might give it a shot)
I can just recommend to search about security, because I do not know much about it myself.  There are some other web server packages available in MyDSL (including Apache).

Quote
Also how do I set the box up NOT boot into X. I really don't need X for my purposes.
"dsl 2" boots into runlevel 2, which remains in console, but logs in as root.  For a better solution, there are several floating around... (removing startx from startup scripts, or maybe even removing .xinitrc)

Posted by andre75 on Feb. 08 2007,02:24
Excellent. Thanks for the response.
I will find a solution for removing X (I will set up the machine without a monitor and keyboard, thats why I need some sort of remote login).

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.