<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello Vimal,<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>What Anand has mentioned below may work for you. <br>I thought i'd add the known "guaranteed" way that things will work, purely from the TCP/IP perspective.<br><br>1) Ensure your server's hostname is set correctly. Try the command 'hostname' and if it seems incorrect, create a text file: /etc/hostname<br>or reset your hostname using the command:<br>/bin/hostname -F /etc/hostname<br><br>Verify again using the command hostname<br><br>2) Ensure your /etc/hosts file has the correct entries.<br>In general, it must contain at the minimum: <br>one line with the IP address assigned to your network interface (usually eth0) and hostname<br>one line with the loopback address (127.0.0.1) and the
special name 'localhost'<br><br>The IP addresses and names must be separated by at least a space (usually a tab)<br><br>You can add other hostnames to the hosts file, but for now, keep it simple.<br>Once you save your hosts file, try a simple ping for the hostnames that you have assigned within this file to see if your server "resolves" them to IP addresses which it will then ping<br><br>3) Lastly, in your virtual hosts entries replace any IP addresses that Koha may have used when generating these files during installation with your hostname.<br><br>4) Re-start Apache and check if it reports any errors during startup. Also, remember that the command '/usr/sbin/apachectl -t' reports any errors with Apache configuration, so you may want to do that before re-starting Apache.<br><br>If all is fine, you should be able to open up a browser (or telnet session) on your server itself first and check whether you can reach Koha on the server itself, using just the
hostname and port in the URL<br><br>5) If this works, move to another computer on the network. Before you do so, you may have to open up firewall ports on your server to let traffic through on the ports for Koha<br><br>6) If you use a DNS server on the network, enter the hostname and the IP address for your Koha server and ensure that the DNS has picked up the new records..<br><br>7) If not, you will need to enter the hostname and IP address into the hosts file (yes, even Windows machines have one, typically at C:\WINDOWS\system32\drivers\etc). The test of entries made to hosts file is always to try and see if the machine can "resolve" the hostname to the IP address you assigned.<br><br>8) Once this is done, fire up the browser on the computer and access the Koha server over the network using the hostname.<br><br>i know this should be somewhere in documentation, i am planning to submit a HOW-TO for Fedora install soon that does contain this
information.<br><br>Regards,<br>krishnan<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Anand Sharma <anand@webodesk.com><br><b><span style="font-weight: bold;">To:</span></b> Vimal Kumar <vimal0212@gmail.com><br><b><span style="font-weight: bold;">Cc:</span></b> Koha-List <koha@lists.katipo.co.nz><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 13 January, 2009 12:11:08 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Koha] My Koha doesn't work when net connection switched off<br></font><br>
Dear Vinod,<br>
<br>
Please check /etc/koha/koha-httpd.conf virtual host entry, <br>
<br>
<VirtualHost x.x.x.x:80> & <VirtualHost x.x.x.x:8080><br>
<br>
x.x.x.x must be your internal LAN IP or localhost<br>
<br>
<br>
<pre class="moz-signature">Anand Sharma<br>RDG Library Services, Mumbai, India.<br>091-9870339028,091-9220579647<br>-----------------------------------------------------<br>Free Software is a matter of freedom, not cost.<br>It is a matter of liberty, not price.<br><a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://fsf.org">http://fsf.org</a> | <a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://gnu.org">http://gnu.org</a>
-----------------------------------------------------
</pre>
<br>
<br>
Vimal Kumar wrote:
<blockquote type="cite">
<style>
<!--
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:Arial;font-weight:bold;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
</style>
<p class="MsoNormal"><span style="font-weight: normal;">Dear
friends,</span></p>
<p class="MsoNormal"><span style="font-weight: normal;"> </span></p>
<p class="MsoNormal"><span style="font-weight: normal;">I
successfully installed Koha 3 on Ubuntu 8.10.</span></p>
<p class="MsoNormal"><span style="font-weight: normal;">Koha
doesn't work when Internet connection switch off.</span></p>
<p class="MsoNormal"><span style="font-weight: normal;">My
system use wireless Internet through D-Link adaptor. </span></p>
<p class="MsoNormal"><span style="font-weight: normal;">Ubuntu
automatically detected and configured the Internet connection at
installation time. <br>
</span></p>
<p class="MsoNormal"><span style="font-weight: normal;">I
request your suggestions to solve this problem. </span></p>
<br clear="all">
<br>
-- <br>
Vimal Kumar V.<br>
Asst. Librarian<br>
Asian School of Business<br>
Technopark, Trivandrum-695 581<br>
Web: <a rel="nofollow" target="_blank" href="http://www.asb.edu.in/vimal/">www.asb.edu.in/vimal/</a><br>
Blog: <a rel="nofollow" target="_blank" href="http://vimalkumar.oksociety.in">http://vimalkumar.oksociety.in</a><br>
---------------------------------------------------------------------------<br>
"I forget what I was taught. I only remember what I have learnt"<br>
-Patrick White<br>
<pre><hr size="4" width="90%">
_______________________________________________
Koha mailing list
<a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:Koha@lists.katipo.co.nz" target="_blank" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
</pre>
</blockquote>
</div></div></div><br>
<!--6--><hr size=1></hr> Add more friends to your messenger and enjoy! <a href="http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/"> Invite them now.</a></body></html>