Cezary napisał/a:Jeżeli dasz czyste openwrt to chyba tak.
Niestety czysty openwrt wgrany (na gargoyle nie weszło nfs)
i mam tak:
Zrobione tylko:
opkg update
opkg install nfs-kernel-server
potem
root@OpenWrt:/# /etc/init.d/portmap start
root@OpenWrt:/# /etc/init.d/nfsd start
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/overlay/test".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
i tak sobie wisi
rpcbind: server localhost not responding, timed out
w dmesg
root@OpenWrt:/# cat /etc/hosts
127.0.0.1 localhost.
root@OpenWrt:/# cat /etc/exports
/overlay/test *(ro,all_squash,insecure,sync)
root@OpenWrt:/# ls -la /overlay
drwxr-xr-x 7 root root 0 Jan 1 01:02 .
drwxr-xr-x 7 root root 0 Jan 1 01:02 ..
drwxr-xr-x 7 root root 0 Jan 1 01:02 etc
drwxr-xr-x 4 root root 0 Jan 1 01:02 lib
drwxr-xr-x 2 root root 0 Jan 1 01:02 test
drwxr-xr-x 4 root root 0 Oct 29 2010 usr
root@OpenWrt:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=14772k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
root on /tmp/root type tmpfs (rw,relatime,mode=755)
mini_fo:/tmp/root on /tmp/root type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
Coś jednak jest nie tak?
kernel?