Re: hostname of the modem gateway
- Date: Tue, 2 Jan 2018 06:25:29 +0100
- From: john doe <johndoe65534@xxxxxxxx>
- Subject: Re: hostname of the modem gateway
On 1/2/2018 12:12 AM, Max Power wrote:
with the new release of Debian 'Stretch', the route command has been replaced
but what other command returns the hostname of the modem/router gateway...?
gateway = home.telecomitalia.it
# ip route
gateway = 192.168.1.1
Thanks for reply, Max Power.
You could try the host(1) utility:
$ host 192.168.1.1