Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: make ssh,http,ftp start up on boot?< Next Oldest | Next Newest >
o0oO Offline





Group: Members
Posts: 2
Joined: Oct. 2004
Posted: Oct. 30 2004,00:16 QUOTE

Hi, im new to DSL and so far i like it alot! I was planning to use it as a server and am posting to ask how can i make ssh, http, and ftp start up everytime i restart the machine? thanks in advance!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Oct. 30 2004,05:11 QUOTE

Several ways...

When booting up at the very first boot prompt:

boot  dsl ssh monkey ftp

This will boot and start those servers, press F2 at that first prompt display these and many other boot time options.

Or you can add these lines to /opt/bootlocal.sh

/etc/init.d/ssh start
/opt/monkey-0.8.2/bin/banana start
/usr/sbin/betaftpd

If this is a hard drive install, then you are done, else...

If you are using liveCD or compressed then be sure that /opt/bootlocal.sh is added to your filetool.lst and then backup.

Then at boot prompt

boot:  dsl restore=hda1

where hda1 is where you did the backup, or otherwise appropriate drive designation.
Back to top
Profile PM WEB 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Oct. 30 2004,05:32 QUOTE

Quote (o0oO @ Oct. 29 2004,20:16)
Hi, im new to DSL and so far i like it alot! I was planning to use it as a server and am posting to ask how can i make ssh, http, and ftp start up everytime i restart the machine? thanks in advance!

add to file /opt/bootlocal.sh
sudo /etc/init.d/ssh start
sudo /opt/monkey-0.8.2/bin/banana start
sudo /usr/sbin/betaftpd

And that should autoboot them as a service...even before you log in

hope that helps

Doh crap while I was looking up the command roberts was already posting

Sheesh

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
tuin
Unregistered






Posted: Nov. 09 2004,17:42 QUOTE

i was wondering how you get on ftp when installed?
Back to top
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Nov. 10 2004,17:09 QUOTE

i think just ssh to your dsl machine with your normal username and password

--------------
ico2
Back to top
Profile PM MSN 
4 replies since Oct. 30 2004,00:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: make ssh,http,ftp start up on boot?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code