[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Help A Newb - Again?



Please forgive me if this is a duplicate post. I tried earlier and was informed that it wouldn't go through because I accidentally posted from a different account.

~~~~~~~~~~~~~~~~~~~~~~~~
:
:
:

OK,

I admit that I must be an idiot, but I still can't get this client to boot. Now it hangs on a screen that says:

mount: 192.168.0.254:/opt/ltsp/i386 failed, reason given by server: Permission denied
mount nfsmount failed: Bad file number
NFS: mount program didn't pass remote address!
mount: Mounting 192.168.0.254:opt/ltsp/i386 on /mnt failed: Invalid argument


ERROR!  Failed to mount the root directory via NFS!
	Possible reasons include:
1)  NFS services may not be running on the server
2)  Workstation IP does not map to a hostname, either in /etc/hosts, or in DNS
3) Wrong address for NFS server in the DHCP config file
4)  Wrong pathname for root directory in the DHCP config file

I really don't think it's #1. Showmount -e doesn't give any errors anymore and shows /home as shared I also threw /opt/ltsp/i386 in there for good measure. But I'm flummoxed by variables. I'm gonna spam the list with my salient config files just in case any of you good souls can spot the problem.

~~~~~~~~~~~~dhcpd.conf-----------------------

# Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#

default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.255;
option routers                192.168.0.254;
option domain-name-servers    192.168.0.254;
option domain-name            "ltsp";
option root-path              "192.168.0.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;


# example configurations for specifying specific kernels to specific clients group { use-host-decl-names on; option log-servers 192.168.0.254;

    host ws001 {
        hardware ethernet     00:E0:06:E8:00:84;
        fixed-address         192.168.0.1;
        filename              "/lts/vmlinuz.ltsp";
        option option-128 e4:45:74:68:00:00;
        option option-129 "NIC=3c509";
    }
    host ws002 {
        hardware ethernet     00:D0:09:30:6A:1C;
        fixed-address         192.168.0.2;
        filename              "/lts/vmlinuz.ltsp";
        option option-128 e4:45:74:68:00:00;
        option option-129 "NIC=ne";
    }
    host ws003 {
        hardware ethernet     00:D0:09:30:28:B2;
        fixed-address         192.168.0.3;
        # kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
        filename              "/lts/boot/pxe/pxelinux.bin";
    }
 host testclient {
    hardware ethernet     be:be:be:01:dd:00;
    option option-128     e4:45:74:68:00:00;
#    option option-129     "NIC=0x2625";
    }

}
#shared-network workstations {
#       # RegularDHCP
#       subnet 10.0.0.1 netmask 255.255.255.0 {
#               range 10.0.0.1 10.0.0.5;
#               }
#       }

shared-network WORKSTATIONS {
  subnet 192.168.0.0 netmask 255.255.255.0 {
     range dynamic-bootp 192.168.0.100 192.168.0.253;
     use-host-decl-names       on;
     option log-servers        192.168.0.254;

     # trick from Peter Rundle <peter rundle au interpath net>
     if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
     {
        filename      "/lts/pxe/pxelinux.bin";
          # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
     }
     else
     {
        filename    "/lts/vmlinuz-2.4.24-ltsp-1";
     }
  }
}





```````````````````````exports~~~~~~~~~~~~~~~~

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       linuxhost       localhost.localdomain   localhost
192.168.0.254  # clienthost
192.168.0.253  # testclient    ws04
[root linuxhost root]# cat /etc/exports
/home                    192.168.0.0/255.255.255.0(rw)
/opt/lts/i386            192.168.0.0/255.255.255.0(rw)

#/home 192.168.0.253/255.255.255.0(rw,sync,no_root_squash)



``````````````````````hosts~~~~~~~~~~~~~~~~~

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       linuxhost       localhost.localdomain   localhost
192.168.0.254  # clienthost
192.168.0.253  # testclient    ws04



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I must be doing something obviously stupid. Thanks for trying to help me.

ck



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]