<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Grabriel:</span></div><div><br><span></span></div><div><span>Que pasa si pones directamente</span></div><div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">
/usr/sbin/telnetd -p 1111 -K -l /bin/sh</font></span></div><div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">No olvidar que el telnet queda en el puerto 1111</font></span></div><div><br><span class="yiv1785641174692101918-30122011"></span></div><div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">Si podes pone las salidas de los comandos ps y busybox</font></span></div><div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">Saludos</font></span></div><div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">Pablo<br></font></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size:
12pt;"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De:</span></b> Gabriel Carissimo <gcarissimo@ryaco.com><br> <b><span style="font-weight: bold;">Para:</span></b> Lista de la comunidad argentina de Ginga <ginga-argentina@lists.ourproject.org> <br> <b><span style="font-weight: bold;">Enviado:</span></b> viernes, 30 de diciembre de 2011 15:28<br> <b><span style="font-weight: bold;">Asunto:</span></b> [Ginga-argentina] Cunsulta Newtronic<br> </font> <br><div id="yiv1785641174">
<div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011">Hola
</span></font></div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011">A
todos!</span></font></div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011">Que tengan un buen
fin de a�o y un mejor comienzo!</span></font></div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011"></span></font> </div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011">Alguno sabe que
estoy haciendo mal que en el Newtronic con el nuevo firmware no me levanta el
scritp de telnet</span></font></div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011"></span></font> </div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011"></span></font> </div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011"># ls
-l<br>-rwxrwxrwx 1 default
default 1365 Aug 4 2011
S20urandom<br>-rwxrwxrwx 1 default
default 340 Aug 4 2011
S40network<br>-rwxrwxrwx 1 root
root 537 Apr 7
2011 S45telnet<br>-rwxrwxrwx 1 default
default 815 Aug 4 2011
lircd<br>-rwxrwxrwx 1 default
default 408 Aug 4 2011
rcS<br></span></font></div>
<div><font face="Verdana"><span class="yiv1785641174692101918-30122011"><font size="2">Script
S45telnet</font></span></font></div>
<div><font face="Verdana" size="2"><span class="yiv1785641174692101918-30122011"></span></font> </div><span class="yiv1785641174692101918-30122011">
<div><span class="yiv1785641174692101918-30122011"></span><font face="Courier New"><font size="2"><span class="yiv1785641174692101918-30122011">#</span>c<span class="yiv1785641174692101918-30122011">at
S45telnet </span></font><br><font size="2"></font></font></div>
<div><font face="Courier New" size="2">#!/bin/sh<br>#<br># Start the
telnet....<br>#<br><br>start() {<br>
echo "Starting telnet..."<br>
/usr/sbin/telnetd -p 1111 -K -l /bin/sh<br>}<br>stop()
{<br> echo -n "Stopping
telnet..."<br>}<br>restart() {<br>
stop<br> start<br>}<br><br>case "$1"
in<br> start)<br>
start<br> ;;<br>
stop)<br>
stop<br> ;;<br>
restart|reload)<br>
restart<br> ;;<br>
*)<br> echo $"Usage: $0
{start|stop|restart}"<br> exit
1<br>esac<br><br>exit $?</font></div>
<div><font face="Verdana" size="2"></font> </div>
<div><font face="Verdana" size="2"></font> </div>
<div><span class="yiv1785641174692101918-30122011"><font face="Verdana" size="2">Script
rcS</font></span></div>
<div><span class="yiv1785641174692101918-30122011"><font face="Verdana" size="2"></font></span> </div>
<div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">#cat
rcS</font></span></div>
<div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2">#!/bin/sh</font></span></div>
<div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2"></font></span> </div>
<div><span class="yiv1785641174692101918-30122011"><font face="Courier New" size="2"># Start all
init scripts in /etc/init.d<br># executing them in numerical order.<br>#<br>for
i in /etc/init.d/S??* ;do</font></span></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2"> # Ignore dangling
symlinks (if any).<br> [ ! -f "$i" ] &&
continue</font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2"> case "$i"
in<br>
*.sh)<br> #
Source shell script for
speed.<br>
(<br>
trap - INT QUIT
TSTP<br>
set
start<br>
. $i<br>
)<br>
;;<br>
*)<br> # No sh
extension, so fork
subprocess.<br>
$i start<br>
;;<br> esac</font><font face="Courier New"><br><font size="2">done</font></font></div>
<div><font face="Verdana" size="2"></font> </div>
<div><span class="yiv1785641174692101918-30122011"><font face="Verdana" size="2">Alguno sabe que
puedo estar haciendo mal?, o que me falta?</font></span></div>
<div><span class="yiv1785641174692101918-30122011"><font face="Verdana" size="2"></font></span> </div>
<div><span class="yiv1785641174692101918-30122011"><font face="Verdana" size="2">Gracias a todos y
buen A�o!</font></span></div></span></div>
</div><br>__________________________________________Lista de correo <a ymailto="mailto:Ginga-argentina@lists.ourproject.org" href="mailto:Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>cambiar suscripci�n: <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a><br>Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>