Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 21:44:16 +0000
From:      Anton Shterenlikht <>
To:        Manish Jain <>
Cc:        Polytropon <>,
Subject:   Re: how to set hostname on a cable line?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Mar 22, 2018 at 08:42:26PM +0530, Manish Jain wrote:
> On 03/22/18 17:43, Anton Shterenlikht wrote:
> > No matter what I put there,
> > ssh `hostname` will not work, because
> > my randomly chosen hostname will not resolve to my IP!
> Hi Anton,
> I suppose you have already tried something like this, but I just wanted 
> to be sure: can you not 1) put fqdn in rc.conf; and then 2) put the IP 
> for the machine's fqdn in /etc/hosts on the box that needs to ssh ?

That did it, thanks!

Sorry for being so dumb.

I never need to dial into this laptop from outside,
so this is all I need. As somebody else suggested,
I'll probably need to pay for a better service,
which will include some DNS if I need a proper FQDN.

Thanks again


Want to link to this message? Use this URL: <>