Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190521

Re: hostname of the modem gateway

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: hostname of the modem gateway
Date 2018-01-02 06:30 +0100
Message-ID <v3njb-4ul-1@gated-at.bofh.it> (permalink)
References <v3hGO-Ao-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/2/2018 12:12 AM, Max Power wrote:
> Hi guys,
> 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...?
> # route
> 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

https://linux.die.net/man/1/host

-- 
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

hostname of the modem gateway Max Power <debian@cpnetserver.net> - 2018-01-02 00:30 +0100
  Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 06:30 +0100
    Re: hostname of the modem gateway David Wright <deblis@lionunicorn.co.uk> - 2018-01-02 07:20 +0100
      Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 07:50 +0100
        Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 08:00 +0100
          Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 08:10 +0100
            Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 08:20 +0100
              Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 09:00 +0100
                Re: hostname of the modem gateway David Wright <deblis@lionunicorn.co.uk> - 2018-01-03 11:10 +0100
      Re: hostname of the modem gateway john doe <johndoe65534@mail.com> - 2018-01-02 07:50 +0100
  Re: hostname of the modem gateway Tom Furie <tom@furie.org.uk> - 2018-01-02 09:30 +0100
  Re: hostname of the modem gateway Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-02 15:40 +0100
  Re: hostname of the modem gateway Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-02 16:10 +0100
  Re: hostname of the modem gateway Glenn English <ghe2001@gmail.com> - 2018-01-02 16:10 +0100

csiph-web