Subject: Re: Telnet can't!
To: Morten Liebach <morten@hotpost.dk>
From: David Brownlee <abs@netbsd.org>
List: port-i386
Date: 07/21/2000 00:39:07
On Fri, 21 Jul 2000, Morten Liebach wrote:
> Hi all.
>
> I have just done my first NetBSD ftp-install (1.4.2), and it went great.
>
> But I can't use telnet!
>
> This is fatal, since my ISP, stofanet.dk, requires me to telnet to a
> log-on server to get on-line (no, I can't use ssh :-().
>
> What happens is; I `telnet 192.168.30.2 259', and nothing happens.
> This is the command that works from Linux, OpenBSD and Win98, so I feel
> it should in NetBSD too (a slight assumption, but according to the
> manpage it _is_ the right thing, the IP and port is right). :-)
> I then tried putting 192.168.30.2 in /etc/hosts, but still no joy.
>
> If I log on from Linux and reboot to NetBSD there's no problems, and I
> can ftp-install packages etc., so it seems the network setup is OK.
>
> The only thing I can think of now is that telnet might not use
> /etc/hosts (that it has something to do with DNS)?
> If that is so, how can that behavior be changed?
Telnet should use both hosts and dns - you can change that
with nsswitch.conf (man nsswitch.conf).
Your command looks fine - what output do you get - can you
ping the log-on server OK?
David/absolute
-- www.netbsd.org: A pmap for every occasion --