|
Home > Archive > Linux Debian support > October 2007 > telnet, clock config?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
telnet, clock config?
|
|
| Dr. Franz-Josef Huecker 2007-09-06, 7:15 pm |
| I need a telnet connect for a debian, - but what ever I try it doesn't
work and I get the message: Host is not reachable.
An additional problem is the system clock (local time + 2 h). I can
change it but next time I get the same as before.
Do you have any suggestions?
Franz-Josef
| |
| Kai-Martin Knaak 2007-09-06, 7:15 pm |
| On Thu, 06 Sep 2007 22:44:41 +0000, Dr. Franz-Josef Huecker wrote:
> I need a telnet connect for a debian, - but what ever I try it doesn't
> work and I get the message: Host is not reachable.
Please provide more details:
What exactly did you try?
Do you really mean telnet rather than ssh?
Does the host respond to ping?
Can you do ssh the other way?
Are there virtual machines involved?
Is there a proxy between host and client?
> An additional problem is the system clock (local time + 2 h). I can
> change it but next time I get the same as before.
How do you try to set the system time?
What do you mean by "next time"?
> Do you have any suggestions?
RTFM (SCNR)
---<(kaimartin)>---
--
Kai-Martin Knaak
http://lilalaser.de/blog
| |
| Dr. Franz-Josef Huecker 2007-09-08, 7:14 am |
| On Fri, 7 Sep 2007 00:14:31 +0000 (UTC), Kai-Martin Knaak
<kmk@lilalaser.de> wrote:
>Can you do ssh the other way?
>Are there virtual machines involved?
>Is there a proxy between host and client?
Hi Kai-Martin
Thanks for fast response. In the meantime I've de-installed Telnet and
installed SSH - and now it works properly. :-)
>How do you try to set the system time?
>What do you mean by "next time"?
I set time, timezone with Gnome and UTC=no. "next time" is debian
restart. And I don't know, where and how how I can fix the clock.
Franz-Josef
| |
| Kai-Martin Knaak 2007-09-09, 1:13 am |
| On Sat, 08 Sep 2007 09:18:18 +0000, Dr. Franz-Josef Huecker wrote:
>
> I set time, timezone with Gnome and UTC=no. "next time" is debian
> restart. And I don't know, where and how how I can fix the clock.
There should be a utility hwclock in /usr/sbin
In debian this application is in package util-linux
You can set the system clock manually like this (as root):
hwclock --set --date="9/22/96 16:45:05"
But I guess this alone won't help.
On my system UTC=no is set in the file
/etc/default/rcS
(This applies to debian)
On boot the script /etc/init.d/hwclock.sh is run and will set the time
according to the value of UTC
Do you have ntpdate installed?
If so, this utility will query time servers on the internet for the
correct UTC time (and hwclock should be able to configure the local time
from that).
---<(kaimrtin)>---
--
Kai-Martin Knaak
http://lilalaser.de/blog
| |
| John Hasler 2007-09-13, 1:12 am |
| Franz-Josef writes:
> I need a telnet connect for a debian, - but what ever I try it doesn't
> work and I get the message: Host is not reachable.
Is telnetd installed and running? It is not standard. And why aren't you
using ssh?
> An additional problem is the system clock (local time + 2 h). I can
> change it but next time I get the same as before.
Is your hardware clock on local time or UTC?
--
John Hasler
| |
| AJackson 2007-09-22, 1:17 am |
| On Sep 8, 11:18 am, f...@huecker.com (Dr. Franz-Josef Huecker) wrote:
> On Fri, 7 Sep 2007 00:14:31 +0000 (UTC), Kai-Martin Knaak
>
> <k...@lilalaser.de> wrote:
>
> Hi Kai-Martin
>
> Thanks for fast response. In the meantime I've de-installed Telnet and
> installed SSH - and now it works properly. :-)
You should NEVER have telnetd running on you machine. You could have
telnet-client, but should never run the telnet service on you
computer. Why? It's an old protocoll that sends your password in
clear text for anyone on passing nets to see.
SSH is the tool to use. It crypts all transfer, and check that noone
messes with your transfer or sniff out your security. Like man in the
middle threat etc. All that is handled by SSH
To be able to login with ssh, you need a sshd-daemon running, handling
the SSH-service for you.
[vbcol=seagreen]
> I set time, timezone with Gnome and UTC=no. "next time" is debian
> restart. And I don't know, where and how how I can fix the clock.
Have you set the time zone right?
What do you have in the file '/etc/timezone'?
Try to run 'sudo dpkg-reconfigure tzdata' to set your timezone
propperly.
Then install ntpdate and ntpd packages and you will never need to set
clock as long as you have internet connection 
> Franz-Josef
Good luck.
| |
| Darren Salt 2007-09-22, 1:17 am |
| I demand that AJackson may or may not have written...
[snip]
> You should NEVER have telnetd running on you machine. You could have
> telnet-client, but should never run the telnet service on you computer.
> Why? It's an old protocoll that sends your password in clear text for
> anyone on passing nets to see.
[snip]
telnet-ssl & telnetd-ssl say otherwise. ;-)
That said, I do agree that ssh should be used.
[snip]
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Burn less waste. Use less packaging. Waste less. USE FEWER RESOURCES.
A plucked goose does not lay golden eggs.
| |
| Paul Cupis 2007-09-22, 7:14 am |
| AJackson wrote:
> Then install ntpdate and ntpd packages and you will never need to set
> clock as long as you have internet connection 
Or openntpd.
| |
| AJackson 2007-10-03, 1:12 am |
| On Sep 22, 10:19 am, Paul Cupis <p...@cupis.co.uk> wrote:
> AJackson wrote:
>
> Or openntpd.
Or any client that implements net time protocol.
|
|
|
|
|