Hello,

I'm trying to get pxe booting working on/with FreeBSD 5.5.

# uname -a
FreeBSD Moth01.quirks.mine.nu 5.5-RELEASE-p11 FreeBSD 5.5-RELEASE-p11 #0: Sun Feb 25 20:41:52 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MOTH01 i386

I'm somehow stuck at nfs server which stops responding after a pxe booting client tried to use a nfs share to boot of.

I hope hope someone can give me some insight. Any input is apreciated.


My exports file looks like this;
/A/hdloos -maproot=0 -network 192.168.5 -mask 255.255.255.0

And in /etc/rc.conf I have;
rpcbind_enable="YES"
rpcbind_flags="-l"
nfs_server_enable="YES"
nfsd_flags="-u -t -h 192.168.5.1 -n 6"
mountd_flags="-r"

nfs_client_enable="YES"


At first boot nfs server pc everything looks ok;

# mount -v 192.168.5.1:/A/hdloos /mnt1
192.168.5.1:/A/hdloos on /mnt1 (nfs, fsid 05ff000404000000)

# touch /mnt1/test

# ls -l /mnt1
total 2
drwxr-xr-x  4 root  wheel  512 Feb 28 16:29 boot
-rw-r--r--  1 root  wheel    0 Feb 28 16:40 test

# showmount -a
All mount points on localhost:
Moth01.quirks.mine.nu:/A/hdloos

# umount /mnt1

(now I boot my pxe boot client)

On the nfs server I see then in my log besides the dhcp lease;

Feb 28 16:43:52 Moth01 rpcbind: connect from 192.168.5.150 to getport/addr(mountd)

Feb 28 16:44:07 Moth01 rpcbind: connect from 192.168.5.150 to getport/addr(nfs)


On the screen of the pxe booting client the pc hangs at

pxe_open: server addr: 192.168.5.1
pxe_open: server path: /A/hdloos
pxe_open: gateway ip: 192.168.5.1

(looks all ok, except that it stops here)


But after this when I go back to the nfs server and try mount nfs share local again:

# mount -v 192.168.5.1:/A/hdloos /mnt1
[udp] 192.168.5.1:/A/hdloos: RPCPROG_MNT: RPC: Timed out

# showmount -a
RPC: Timed out
showmount: can't do mountdump rpc


So I reboot the nfs server and back at the root prompt I do again;

# mount -v 192.168.5.1:/A/hdloos /mnt1
192.168.5.1:/A/hdloos on /mnt1 (nfs, fsid 05ff000404000000)

# showmount -a
All mount points on localhost:
Moth01.quirks.mine.nu:/A/hdloos



in my dhcpd.conf I have specific to pxe client;

subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.200 192.168.5.250;
option domain-name-servers 192.168.5.1;
option routers 192.168.5.1;
}

  host hdloze001 {
    hardware ethernet 00:04:76:1f:7d:b6;
    server-name "hdloos001.quirks.mine.nu";
    fixed-address 192.168.5.150;
    next-server 192.168.5.1;
    filename "pxeboot";
    option root-path "192.168.5.1:/A/hdloos";
  }

Thanks for reading this far,
Cor
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to