Professional Web Applications Themes

funny hostname thing.. - Linux Setup, Configuration & Administration

jon akeson <jon_akeson> wrote: > Hi. I just blew away Windows XP and installed LINUX on my laptop PC. > The Windows OS has a host name of 'geranium'. I am connected to a DSL > router that provides DHCP addresses to the computer. An 'nslookup' or And what hostname do you tell the dsl router that you have? What domain? > 'host' command, looking for the host name 'geranium' will find nothing > from the DNS servers I use with the DSL line. Apparently the DSL But what domain do you search in? "geranium" is not a FQDN! You ...

  1. #1

    Default Re: funny hostname thing..

    jon akeson <jon_akeson> wrote:
    > Hi. I just blew away Windows XP and installed LINUX on my laptop PC.
    > The Windows OS has a host name of 'geranium'. I am connected to a DSL
    > router that provides DHCP addresses to the computer. An 'nslookup' or
    And what hostname do you tell the dsl router that you have? What
    domain?
    > 'host' command, looking for the host name 'geranium' will find nothing
    > from the DNS servers I use with the DSL line. Apparently the DSL
    But what domain do you search in? "geranium" is not a FQDN! You can't
    look it up without a domain as context!
    > router provides the DHCP address, and the router itself has a static
    > address; it has some page-and-a-half-long DNS name that does not look
    > or sound like 'geranium'.
    Good.
    > So I threw the CD in my laptop and blew away 'geranium'. Formatted
    Why? All you have to do is give yourself a FQDN, of the form
    "geranium.me.mine". That's it. Make sure it is alieased to "geranium"
    in /etc/hosts - not that it matters overmuch since you will be telling
    your dhcp server whatyour hostname and domain is, and it apparently is
    where you are looking things up via dns.
    > everything, etc. The install was pretty much default. I do not
    Then don't do a "default". That means "idiot computer style". Take
    charge.
    > believe I ever told the LINUX intaller what to call the PC, but when
    Then tell it.
    > the thing boots up and goes into GNOME it starts out with an error
    > that says 'can't find DNS entry for "geranium"..'
    Obviously since you didn't tell the dhcp client to tell the server the
    hostname, the server is telling you your hostname. And you haven't
    got the gumption to stick up for yourself, or give the router as dns
    server ..
    > How does my fresh new LINUX install know what my old hostname is?
    It doesn't. Ask your router/dhcp server.

    Peter
    Peter T. Breuer Guest

  2. #2

    Default Re: funny hostname thing..

    flap flop <flaphome.net> wrote:
    > On Sat, 16 Aug 2003 22:56:44 +0200, Peter T. Breuer wrote:
    > [snip>
    >
    >> Obviously since you didn't tell the dhcp client to tell the server the
    >> hostname,
    > How can I tell my DHCP client to tell the DHCP server in (or behind) my
    Read its manpage and you'll find out how. I don't even know which your
    dhcp client is! If it's "dhclient", it's configured in dhclient.conf.
    > cable modem the hostname that I want to have?
    Peter
    Peter T. Breuer Guest

Similar Threads

  1. CFCHART and hostname
    By go_su in forum Macromedia ColdFusion
    Replies: 0
    Last Post: April 11th, 01:11 PM
  2. hostname
    By Thomas Browner in forum PERL Beginners
    Replies: 4
    Last Post: December 4th, 07:33 PM
  3. IP and hostname comparing
    By Bjerkås in forum PHP Development
    Replies: 7
    Last Post: October 11th, 10:18 PM
  4. hostname for LWP
    By George Georgalis in forum PERL Beginners
    Replies: 0
    Last Post: September 24th, 08:27 PM
  5. Replies: 0
    Last Post: July 7th, 07:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139