[haiku-bugs] Re: [Haiku] #7108: ftpd & telnetd not launched

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Sun, 16 Jan 2011 03:10:21 -0000

#7108: ftpd & telnetd not launched
---------------------------------+------------------------------
  Reporter:  Pete                |        Owner:  axeld
      Type:  bug                 |       Status:  assigned
  Priority:  normal              |    Milestone:  R1
 Component:  Network & Internet  |      Version:  R1/Development
Resolution:                      |     Keywords:
Blocked By:                      |  Has a Patch:  0
  Platform:  x86                 |     Blocking:
---------------------------------+------------------------------

Comment (by Pete):

 Replying to [comment:5 diver]:
 > Try to run '''ftpd -D''' and '''telnetd -debug''' in Terminal and it
 should just work.

 Yep -- that does it.

 So my installed workaround is to create an executable script
 /boot/home/config/boot/RunDaemons:

 {{{
 #!/bin/sh
 (while true; do telnetd -debug; done)&
 ftpd -D
 }}}

 (a while-loop is needed for telnetd because it only accepts the first
 connection.  ftpd OTOH stays running with the -D switch.)

 Then I add '/boot/home/config/boot/RunDaemons&' to UserBootScript and I
 get access as before.  A separate script is needed so the loop can
 keep running without holding UserBootScript open.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7108#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: