Le 2016-04-08 00:55, Fred a écrit :
On 04/07/16 13:09, Solène Rapenne wrote:
Hello,

my dhcpd.conf (isc-dhcpd) :

allow booting;
allow bootp;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.20 192.168.1.50;
  option broadcast-address 192.168.1.255;
}

host macmini {
  next-server 192.168.1.5;
  option subnet-mask 255.255.255.0;
  option routers 192.168.1.5;
  option root-path "192.168.1.5:/usr/local/www/thttpd";
  fixed-address 192.168.1.22;
  hardware ethernet 00:14:51:1f:52:70;
}


Kind regards


Try tcpdumping the connection and see why it thinks the file doesn't exist.

It might be the / try does:
 boot enet:, ofwboot bsd.rd
change the behaviour?

hth

Fred

Hello Fred,

I tried bsd.rd instead of /bsd.rd and no more success. With wireshark I found that it was the protocol MOUNT that was failing with a ERR_NOENT reply from my NFS server. I started mountd in foreground and I get this output :

mountd: getting export list
mountd: reading exports from /etc/exports
mountd: got line /usr/local/www/thttpd/ -alldirs -ro -mapall=nobody -network 192.168.1.0/24
mountd: making new ep fs=0xbf62e9a4,0x4e951dde
mountd: doing opt -alldirs -ro -mapall=nobody -network 192.168.1.0/24
mountd: doing opt -ro -mapall=nobody -network 192.168.1.0/24
mountd: doing opt -mapall=nobody -network 192.168.1.0/24
mountd: doing opt -network 192.168.1.0/24
setting OP_MASKLEN
get_net: v4 addr 192.168.1.0
mountd: getting mount list
mountd: here we go
mountd: stat failed on /usr/local/www/thttpd/192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:
mountd: stat failed on /192.168.1.5:


It seems that the client wants to mount 192.168.1.5:/192.168.1.5 if I understand. This is not what I want and I don't understand this behavior.

Reply via email to