Hello,
I can't get nfsd start at boot on openwrt linux.
I followed this guide:
http://wiki.openwrt.org/doc/howto/nfs.server
but when I turn the computer on:
Code:
root@OpenWrt:~# showmount -e localhost
clnt_create: RPC: Program not registered
Code:
root@OpenWrt:~# dmesg | tail
[ 22.252000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 24.228000] eth1: link UP - 100/full - flow control off
[ 24.244000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 30.124000] svc: failed to register nfsdv3 RPC service (errno 5).
[ 31.588000] device eth1 entered promiscuous mode
[ 31.596000] br-lan: port 1(eth1) entered forwarding state
[ 31.600000] br-lan: port 1(eth1) entered forwarding state
[ 31.652000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 31.684000] eth1: link UP - 100/full - flow control off
[ 33.604000] br-lan: port 1(eth1) entered forwarding state
but if I do
Code:
root@OpenWrt:~# /etc/init.d/nfsd start
root@OpenWrt:~# showmount -e localhost
Export list for localhost:
/mnt/3tb *
so it works well, but I look at dmesg
Code:
root@OpenWrt:~# dmesg | tail
[ 24.228000] eth1: link UP - 100/full - flow control off
[ 24.244000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 30.124000] svc: failed to register nfsdv3 RPC service (errno 5).
[ 31.588000] device eth1 entered promiscuous mode
[ 31.596000] br-lan: port 1(eth1) entered forwarding state
[ 31.600000] br-lan: port 1(eth1) entered forwarding state
[ 31.652000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 31.684000] eth1: link UP - 100/full - flow control off
[ 33.604000] br-lan: port 1(eth1) entered forwarding state
[16642.280000] svc: failed to register lockdv1 RPC service (errno 124).
I tried several times
Code:
root@OpenWrt:~# /etc/init.d/portmap enable
root@OpenWrt:~# /etc/init.d/nfsd enable
and reboot but, again, I have to start nfsd manually after every reboot.
What am I doing wrong? On Attitude Adjustment I never had any issue.
Please help!