<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText>Hi guys<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>I have similar issues like this and what I find is that I
need so specify the &quot;real&quot; ip address as the first host entry.&nbsp; This
is the case for the multicast beacon and a number of others things, so as
something I do with all my Linux machines is that I do the following (Please
note that these notes are taken directly out of my install guide which can be
found at <a href="http://www.accessgrid.org/node/1133">http://www.accessgrid.org/node/1133</a>):
<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:13.5pt;font-family:"Times New Roman","serif"'>Hosts File<o:p></o:p></span></b></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>As part of the
configuration of the network, where you may have selected to use Static Ip
Address and entered the hostname manually, you will mostly likely have to edit
your <b>/etc/hosts</b> file. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Note, you only
have to edit this file if you are using a static ip address. If you are using
DHCP (dynamically assigned IP address) you don't have to worry about editing
this file</span></i><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>.<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>It has been
found that if you don&#8217;t make the following changes to the hosts file, the
multicast beacon and AGServiceManager will not work correctly.<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>To edit the file
</span><b><span style='font-size:12.0pt;font-family:"Courier New"'>/etc/hosts</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>, type </span><b><span
style='font-size:12.0pt;font-family:"Courier New"'>vi /etc/hosts</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>. Make sure you
are the super-user while doing this.<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>If your hosts
file looks similar to this:<o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Courier New"'>127.0.0.1
localhost.localdomain localhost</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Courier New"'>::1
localhost6.localdomain6 localhost6<br>
Your IP Address machinename.domain.name machinename</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Change it to
read:<o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Courier New"'>Your
IP Address machinename.domain.name machinename</span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
</span><b><span style='font-size:12.0pt;font-family:"Courier New"'>127.0.0.1
localhost.localdomain localhost</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Courier New"'>::1
localhost6.localdomain6 localhost6</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Save and exit by
hitting the &quot;esc&quot; key then entering </span><b><span style='font-size:
12.0pt;font-family:"Courier New"'>:wq</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'>. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Example file
might look like:<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:12.0pt;font-family:"Courier New"'>111.222.111.222 jastest.cqu.edu.au
jastest<br>
127.0.0.1 localhost.localdomain localhost<br>
::1 localhost6.localdomain6 localhost6</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Hope this helps.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Cheers,<o:p></o:p></p>

<p class=MsoPlainText>Jason.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>
From: Don McLane [mailto:dmclane@u.washington.edu] <br>
Sent: Wednesday, 8 April 2009 10:03 AM<br>
To: ag-tech<br>
Subject: Re: [AG-TECH] AGServiceManager.py uses lo instead of eth0</span><o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>I think I'm having the same problem.&nbsp; But won't this
solution only work <o:p></o:p></p>

<p class=MsoPlainText>if you have a static IP address (or your dhcp server
gives you the same <o:p></o:p></p>

<p class=MsoPlainText>address every time)?<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Seems like I could specify a hostname in
/etc/network/interfaces like:<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>auto eth0<o:p></o:p></p>

<p class=MsoPlainText>iface eth0 inet dhcp<o:p></o:p></p>

<p class=MsoPlainText>&nbsp;&nbsp; hostname eth0name<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>But that doesn't seem to work.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Don<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>James Miller wrote:<o:p></o:p></p>

<p class=MsoPlainText>&gt; Yep, that was it... thanks!<o:p></o:p></p>

<p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; Christoph Willing wrote:<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; On 14/02/2009, at 2:41 AM, James Miller wrote:<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; I am doing a quick upgrade of my capture
machine running Ubuntu 8.10 <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; and I installed the accessgrid3.2 package from
the Univ of <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; Queensland vislab source.&nbsp; I've never had
problems with past <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; packages on previous versions of ubuntu.<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; However, when I run AGServiceManager.py in a
terminal, it's trying <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;&gt; to use the loopback address instead of eth0.<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; James,<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; What does your /etc/hosts file look like? On a
machine named <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; &quot;mymachine&quot; using dhcp, that file will
begin with something like:<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; 127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost.localdomain&nbsp;&nbsp;
localhost<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; 127.0.1.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mymachine<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; Try changing it so that the real IP address of
mymachine and fully <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; qualified domain name is in there, commenting
out or removing the <o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; exisiting line with the machine's name e.g.<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; 127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost.localdomain&nbsp;&nbsp;
localhost<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; #127.0.1.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mymachine<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; 123.45.67.89&nbsp;&nbsp;&nbsp; mymachine.somedomain.xyz&nbsp;&nbsp;&nbsp;
mymachine<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; chris<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt;<o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt;&gt; Christoph Willing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +61 7
3365 8316<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; QCIF Access Grid Manager<o:p></o:p></p>

<p class=MsoPlainText>&gt;&gt; University of Queensland<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>