<HTML>
<HEAD>
<TITLE>Software for Acorn RISCOS</TITLE>
</HEAD>
<BODY bgcolor=white text=black LINK="#0000FF" VLINK="#8700BA" ALINK="#FF0000">
<P>
<H2>SAMBA Server: Two computer network setup</H2><P>
<I>Thanks to Richard ? for writing this help file.</I>
<hr width=100%>
This is a very simple guide to setting up a two computer network between an Acorn RiscPC and a Windows9x PC.<br>The
hostnames and IP addresses can be anything you like and are used here as examples only, however <b>they must match on
both computers</b>.<br>
Most if this will probobly be configured anyway if you have a network installed, simply check to make sure it is all
setup on both computers and then run !smbserver.<br>&nbsp;<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor=#ddffdd>
<tr>
<td valign="top"><i><b>Acorn Configuration</b></i><br>
You wil need to configure the hosts files in:
&nbsp;&nbsp;&nbsp;&nbsp;<pre>!BOOT.Resources.!Internet.files.Hosts</pre> and
<pre>!InetSuite.Internet.Files.Hosts (if you use the ANT suite)</pre>
<br>
Setup a simple IP for the Acorn and the other computer in the hosts file as
below.  If using the ANT suite use the same setup in the ANT hosts file. Note: you will always need to
run Samba before the ANT suite or it may hang!

<pre><b>10.0.0.1	riscpc</b>
<b>10.0.0.2	pc</b></pre>

You will also need to check the !Boot.Network options. All unnecessary Access etc
can be turned off as it not required for Samba. Make sure the following is setup
in line with your hosts file.<br>
<br>
!Boot>Network>Internet:
      <pre>Tick 'Enable TCP/IP Protocol Suite'</pre>
      
 !Boot>Network>Internet>Host Names:
<pre>             Host name <b>riscpc</b>
   Primary name server <b>10.0.0.1</b></pre>
 </td>
</tr>
</table>
<br>&nbsp;<br>
<i><b>PC Configuration</b></i><br>
Copy the files windows/hosts.sam and windows/lmhosts.sam as windows/hosts and
windows/lmhosts. Add the same host information to both these files as above.<br>
In Control Panel>Networks select TCP/IP LAN adapter and click on the IP Address tab. Tick Specify an IP address. Add the following:
<pre>  IP address <b>10.0.0.2</b>
 Subnet mask <b>255.255.255.0</b></pre>
<br>&nbsp;<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor=#ddffdd>
<tr>
<td valign="top"><i><b>Samba Configuration</b></i><br>
Load the !smbserver.samb/conf file and setup the devices which you want to enable
for network viewing.  The default conf file has the first drive setup at the top of the file
and all others at the end.
In between are the pointers for printing and temporary file storage
so these need to be changed to point at your hard disc.  Do a search for ADFS or
similar to find all the lines which need editing.  The only other bit to edit apart
from the drives is the printer sharing but this can just be commented out if you do not need it!<br>&nbsp;<br>
Typical drive setup, have one of these for each device you wish to share:
<pre>  [buddah]
    comment = main hard disc
    path = IDEFS::Buddah.$.WP
    writable = yes</pre>
 </td>
</tr>
</table>   
<br>&nbsp;<br>
<i><b>Viewing from a PC</b></i><br>
To see configured drives from the PC run Explorer and type:
<pre>    \\riscpc</pre>
All configured drives will be shown.<br>
>From Explorer you can use 'Tools>Add network drive' to add the drives to
your My Computer window.  Remember to tick the box if you want them to
be remembered, default is OFF! The format for mapping drives is:
<pre>    \\riscpc\drivename</pre>
<br>&nbsp;<br>
<HR> 
<A HREF="samba.htm">Back to Samba.</A>
<P>
</BODY>
</HTML>




