I am wondering if anyone could offer me some advice on telnet access
to the UML console.
I run linuxzoo.net, which has very poor console access for users right
now (it relies on network logins direct to the guests).
Im trying to fix that...

I am using something like "con1=port:5800". I have in.telnetd from a
fedora install. I have port-helper.

My problem is that the console connection seems unreliable in two ways.

Firstly:
If I connect and login, then press CTRL-D before terminating telnet,
it works fine when I telnet in again.
If I connect and login, but terminate telnet before CTRL-D, then when
I telnet in again I get the login prompt but the keymapping seems
broken. Key codes are either corrupt or the characters invisible. I
cannot find any way to recover from this except a reboot of the guest.
It is almost like the guest OS fails to reset the console line, or it
is stuck in raw mode, or there is a process left from the last session
messing the connection up...

Secondly:
I have an intermittent rare problem where sometimes I cannot connect
after disconnecting. I get console messages "no one waiting for port".
I may also be left with one in.telnetd zombie. The result is that
sometimes I can never get in again. It is like the port helper thread
has became 1 connection out of sync.

I am using a guest based on 2.6.18. I was using 2.6.8 previously, and
this has the same problem. I dont see anything in the uml changelog
which would suggest a more modern kernel is a solution to this, but I
could be wrong.

All advice appreciated. Happy to try anything. I have been
investigating this for a few months and I cannot come up with a good
solution. I could drop back to fd consoles and writing my own telnetd
server to access the file descriptors, but I would prefer not to
reinvent the wheel. I know I could use "screen" but for security
reasons I would prefer not to allow users to log into the host
machines.
Perhaps a different in.telnetd source would help? (any pointers to a
good version)?

Anyone tried in.telnetd using screen rather than login?
Would more consoles associated with port:5800 help?

Thanks
Gordon.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to