hi all ,
I am fighting for ltsp from last 2 weeks.

I have this hardware on server & client
1) Intel 810 eea desktop motherboard 
2) onboard sound,display,lan 
3) both machines are connected by cross cable.
OS
1) mandrake Linux 8.1 
2) default dhcp 3.0
3) LTSP rpms ver. 3 now.
my machine address is 
192.168.1.153 
hostname : mandrakeserver.softcell.co.in
I have installed dns also which works perfect. 
My server config is 
/etc/dhpd.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.
#
ddns-update-style ad-hoc;
default-lease-time            21600;
max-lease-time                21600;

subnet 192.168.1.0 netmask 255.255.255.0 {
#option subnet-mask            255.255.255.0;
option broadcast-address      192.168.1.153;
option routers                192.168.1.153;
option domain-name-servers    192.168.1.153;
option domain-name          
"mandrakeserver.softcell.co.in";
option root-path             
"192.168.1.153:/opt/ltsp/i386";
#option root-path       
"192.168.1.153:/tftpboot/lts/ltsroot";
option font-servers            192.168.1.153;
option x-display-manager       192.168.1.153;
#option option-129             "console=/dev/tty2";
#shared-network WORKSTATIONS {
#    subnet 192.168.0.0 netmask 255.255.255.0 {
#    }
#}

#group  {
#    use-host-decl-names       on;
    option log-servers        192.168.1.153;

    host ws001 {
       # hardware ethernet     00:03:47:40:0C:17;
        hardware ethernet     00:03:47:43:9E:46;
        fixed-address         192.168.1.185;
        
       # root-path            
"192.168.1.153:/opt/ltsp/i386";
  #      filename             
"/lts/vmlinuz.eepro100";
        filename              "lts/vmlinuz-2.4.9-ltsp-5";
       # option option-128     e4:45:74:68:00:00;
       #option option-129    " console=/dev/tty2";
      #  option option-129     "NIC=eepro100";
 }
 range dynamic-bootp 192.168.1.181 192.168.1.220;
 
#    host ws002 {
#        hardware ethernet     00:03:47:43:9E:46;
#        fixed-address         192.168.1.180;
#        filename            "/lts/vmlinuz.eepro100";
#filename              "/lts/vmlinuz-2.4.9-ltsp-5";
#        option option-128     e4:45:74:68:00:00;
##        option option-129     "NIC=tulip";
#    }
}

I have my /etc/exports
# 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.
#
ddns-update-style ad-hoc;
default-lease-time            21600;
max-lease-time                21600;

subnet 192.168.1.0 netmask 255.255.255.0 {
#option subnet-mask            255.255.255.0;
option broadcast-address      192.168.1.153;
option routers                192.168.1.153;
option domain-name-servers    192.168.1.153;
option domain-name           
"mandrakeserver.softcell.co.in";
option root-path             
"192.168.1.153:/opt/ltsp/i386";
#option root-path       
"192.168.1.153:/tftpboot/lts/ltsroot";
option font-servers            192.168.1.153;
option x-display-manager       192.168.1.153;
#option option-129             "console=/dev/tty2";
#shared-network WORKSTATIONS {
#    subnet 192.168.0.0 netmask 255.255.255.0 {
#    }
#}

#group  {
#    use-host-decl-names       on;
    option log-servers        192.168.1.153;

    host ws001 {
       # hardware ethernet     00:03:47:40:0C:17;
        hardware ethernet     00:03:47:43:9E:46;
        fixed-address         192.168.1.185;
        
       # root-path            
"192.168.1.153:/opt/ltsp/i386";
  #      filename             
"/lts/vmlinuz.eepro100";
        filename              "lts/vmlinuz-2.4.9-ltsp-5";
       # option option-128     e4:45:74:68:00:00;
       #option option-129    " console=/dev/tty2";
      #  option option-129     "NIC=eepro100";
 }
 range dynamic-bootp 192.168.1.181 192.168.1.220;
 
#    host ws002 {
#        hardware ethernet     00:03:47:43:9E:46;
#        fixed-address         192.168.1.180;
#        filename            "/lts/vmlinuz.eepro100";
#filename              "/lts/vmlinuz-2.4.9-ltsp-5";
#        option option-128     e4:45:74:68:00:00;
##        option option-129     "NIC=tulip";
#    }
}


i have an entry for client in hosts file also.

Problem :
when I boot client using floopy from n/w 
it gets dhcp server.
it receives ip also.
but shows this error.
Running dhclient
Mounting /opt/ltsp/i386 from : 192.168.1.153
(null)mount: nfsmount failed : Bad file number
NFS : mount program didn't pass remote address
Mount: Mounting 192.168.1.153:/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 server 
& so on total 4 options given 
I have checked all , every thing is working fine.
what can be problem?
can anybody please help me ?
thanks in advance .
warm regards,
maheshwar

 



__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Attachment: dhcpd.conf
Description: dhcpd.conf

#
## LTS-begin ##

#
# The lines between the 'LTS-begin' and the 'LTS-end' were added
# on: Wed Dec  5 09:21:43 IST 2001 by the ltsp installation script.
# For more information, visit the ltsp homepage
# at http://www.ltsp.org
#
/lts/ltsroot               192.168.0.185/255.255.255.0(ro,no_root_squash)
/opt/ltsp/i386                  192.168.1.185/255.255.255.0(ro,no_root_squash)
/var/opt/ltsp/swapfiles         192.168.1.185/255.255.255.0(rw,no_root_squash)
/tftpboot/lts/ltsroot           192.168.1.185/255.255.255.0(rw,no_root_squash)
#tftpboot/lts/ltsroot            192.168.0.0/255.255.255.0(ro,no_root_squash)
#
# The following entries need to be uncommented if you want
# Local App support in ltsp
#
#/home                  192.168.0.0/255.255.255.0(rw,no_root_squash)

## LTS-end ##

Reply via email to