<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic uname -a reports IP address of the machine and not the hostname in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653918#M20197</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When I do a 'uname -a' on my redhat linux, it gives me the IP machine of the box instead of the hostname.&lt;BR /&gt;&lt;BR /&gt;What could be the problem. Where does the uname command gets its input from.&lt;BR /&gt;&lt;BR /&gt;hp_user</description>
    <pubDate>Thu, 20 Oct 2005 09:54:24 GMT</pubDate>
    <dc:creator>hp_user_1</dc:creator>
    <dc:date>2005-10-20T09:54:24Z</dc:date>
    <item>
      <title>uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653918#M20197</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When I do a 'uname -a' on my redhat linux, it gives me the IP machine of the box instead of the hostname.&lt;BR /&gt;&lt;BR /&gt;What could be the problem. Where does the uname command gets its input from.&lt;BR /&gt;&lt;BR /&gt;hp_user</description>
      <pubDate>Thu, 20 Oct 2005 09:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653918#M20197</guid>
      <dc:creator>hp_user_1</dc:creator>
      <dc:date>2005-10-20T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653919#M20198</link>
      <description>/etc/sysconfig/network&lt;BR /&gt;&lt;BR /&gt;Make sure the hostname is set in there.&lt;BR /&gt;&lt;BR /&gt;service network restart&lt;BR /&gt;&lt;BR /&gt;May be needed to make everything work right after you make a change.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 20 Oct 2005 11:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653919#M20198</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-20T11:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653920#M20199</link>
      <description>I checked the file and it contains the hostname of the machine and not the IP address of it in there.&lt;BR /&gt;&lt;BR /&gt;Is there any other place where it gets the info from ??</description>
      <pubDate>Thu, 20 Oct 2005 12:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653920#M20199</guid>
      <dc:creator>hp_user_1</dc:creator>
      <dc:date>2005-10-20T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653921#M20200</link>
      <description>Check if you have /etc/hostname file.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Thu, 20 Oct 2005 13:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653921#M20200</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-10-20T13:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653922#M20201</link>
      <description>Here is a valid /etc/sysconfig/network file&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=xos1.investmenttool.com&lt;BR /&gt;GATEWAY=192.168.0.1&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Notice there is nothing about the IP address of the system in there.&lt;BR /&gt;&lt;BR /&gt;See /etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;&lt;BR /&gt;That is the primary network/ip configuration. It can contain hostname directives but generally does not.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 20 Oct 2005 13:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653922#M20201</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-20T13:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653923#M20202</link>
      <description>Is hostname command execution returning hostname. Else set as hostname "hostname"&lt;BR /&gt;&lt;BR /&gt;Check /etc/sysconfig/network file and interface files. Restart network script in /etc/init.d/net file.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Oct 2005 03:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653923#M20202</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T03:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: uname -a reports IP address of the machine and not the hostname</title>
      <link>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653924#M20203</link>
      <description>It is /etc/init.d/network not /etc/init.d/net. Sorry i confused with HPUX :(. &lt;BR /&gt;&lt;BR /&gt;thx.</description>
      <pubDate>Fri, 21 Oct 2005 03:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/uname-a-reports-ip-address-of-the-machine-and-not-the-hostname/m-p/3653924#M20203</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-21T03:39:31Z</dc:date>
    </item>
  </channel>
</rss>

