<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 20, 2013 at 7:25 AM, Ido Admon <span dir="ltr"><<a href="mailto:idoadm@gmail.com" target="_blank">idoadm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div><div class="h5">
><br>
> hi shimi, thanks. yes, i'm sorry if i wasn't clear enough. the console<br>
> is working flawlessly when physically connected. here's my<br>
> <a href="http://conserver.cf" target="_blank">conserver.cf</a> (192.168.43.168 is my laptop):<br>
><br>
> root@krzysztof:~# cat /etc/conserver/<a href="http://conserver.cf" target="_blank">conserver.cf</a><br>
> # The character '&' in logfile names are substituted with the console<br>
> # name.<br>
> #<br>
> config * {<br>
> }<br>
><br>
> default * {<br>
> logfile /var/log/conserver/&.log;<br>
> timestamp "";<br>
> rw *;<br>
> }<br>
><br>
> console serial {<br>
> master localhost;<br>
> type device;<br>
> device /dev/ttyS0;<br>
> baud 19200;<br>
> parity none;<br>
> }<br>
><br>
> access * {<br>
> trusted 192.168.43.168;<br>
> trusted 127.0.0.1;<br>
> }<br>
><br>
><br>
><br>
> and the relevant line in inittab:<br>
><br>
> root@krzysztof:~# grep ttyS0 /etc/inittab<br>
> T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100<br>
><br>
> and what setserial says:<br>
><br>
> root@krzysztof:~# setserial /dev/ttyS0<br>
> /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4<br>
><br>
><br>
> thanks again!<br>
> ido<br>
<br>
</div></div>ok, i'm an idiot. of course /dev/ttyS0 is not the console itself but the<br>
serial device. that's not going to work. but /dev/console doesn't work<br>
either, and it seems that conserver can't actually do what i want,<br>
which is to access the local console, not some other server connected<br>
via the serial port. i'm not sure how, if at all, it can be done.<br>
</blockquote></div><br></div><div class="gmail_extra"><br>Truth to be told, I really did wonder how this is supposed to work (I never used conserver; What you're trying to do is typically done in the IT world by devices like this: <a href="http://www.perle.com/products/IOLAN-DS-Terminal-Server.shtml">http://www.perle.com/products/IOLAN-DS-Terminal-Server.shtml</a> ... usually with 16 ports and beyond...) - but I assumed you researched this and found that it's supposed work :)<br>
<br></div><div class="gmail_extra">I have to wonder, what is so special on the serial console that you want to specifically use it? I mean, if you have to go over IP anyways, what does it matter if it's 'serial' or not? The usual advantage of serial (IMHO) is being out-of-band and not dependent on the machine's networking configuration, which is not the case here, obviously. The other is maybe the output of kernel messages (but that goes into files, or even to remote machines if set up correctly).<br>
<br></div><div class="gmail_extra">Maybe you don't want the SSH encryption overhead? You could run telnetd instead... or conserver can be used with 'exec' instead of 'device' if you want the parallel connections feature.<br>
<br></div><div class="gmail_extra">So, what is the purpose? :)<br><br></div><div class="gmail_extra">-- Shimi<br></div></div>