[K12OSN] First Installation

Jim Kronebusch jim at winonacotter.org
Tue Feb 8 15:01:20 UTC 2005


> > > and here is:
> > > # more /etc/exports
> > > /opt/ltsp/i386       
> > > 192.168.2.0/255.255.255.0(ro,no_root_squash,sync)
> > > /var/opt/ltsp/swapfiles
> > > 192.168.2.0/255.255.255.0(rw,no_root_squash,async)
> > 
> > Is this a single NIC install?  I think the standard
> > export would be:
> > /opt/ltsp/i386
> > 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
> > /var/opt/ltsp/swapfiles
> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
> > 
> > Did you change the IP of the internal NIC during the
> > install?
> > 

> Hi Jim,
> I don't change anything,
> just do default setup configuration.
> Yes I'm using single NIC. 
> 
> I have no problem to
> mounting(/opt/ltsp/i386,/var/opt/ltsp/swapfiles) from
> another distro to LTSP server(Just to check the share
> is working)

This is very odd if you didn't change anything.  If your internal NIC
had the default of 192.168.0.254 assigned to it I don't get how a
192.168.2.x network could have gotten assigned in /etc/exports.  Is your
/etc/dhcpd.conf file also setup with the 192.168.2.x networks?  If so do
the following:

I am not sure what the IP scheme is for the network you are plugging
your single NIC setup into but lets assume it is
192.168.0.x/255.255.255.0.

Check to be sure your eth0 (or whatever NIC is setup on your LAN with
the clients) is set to 192.168.0.254 and a subnet mask of 255.255.255.0.

Next you'll have to look through these files and replace all references
to 192.168.2.x with 192.168.0.x.

    /etc/exports
    /etc/hosts.allow
    /etc/rc.d/init.d/nat
    /etc/hosts
    /etc/dhcpd.conf
    /opt/ltsp/i386/etc/lts.conf 

But at that point, you may want to just start over and make sure you
take the default of 192.168.0.254 for eth0 (I know, but just to be
sure).


I hope this helps.  If not you may want to post the configs from the
list above for review.  I am sure we could pick out the error.  Also
include the IP of of your NIC and the IP scheme for your network.


-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the K12OSN mailing list