hi rich,
Thank you for your help.
Just one last issue regarding packages ...
While trying to start nfs-server, I get the following message : modprobe: module nfsd not found in modules.dep
In "/lib/modules/4.2.9-tinycore64/kernel/fs", i cannot see nfs.
Is there any dependencies to install in order nfs-utils works properly ?
On nfs server side :
root@box:/home/tc# /usr/local/etc/init.d/nfs-server start
modprobe: module nfsd not found in modules.dep
/usr/local/sbin/rpcbind is already running
1493
/usr/local/sbin/rpc.statd is already running
1522
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
rpc.mountd: svc_tli_create: could not open connection for udp6
rpc.mountd: svc_tli_create: could not open connection for tcp6
nfs-server utilities are started.
root@box:/home/tc#
root@box:/home/tc#
root@box:/home/tc# ls /lib/modules/4.2.9-tinycore64/
kernel.tclocal/ kernel/ modules.alias modules.dep
root@box:/home/tc# ls /lib/modules/4.2.9-tinycore64/kernel
arch crypto drivers fs lib net security
root@box:/home/tc# ls /lib/modules/4.2.9-tinycore64/kernel/fs
fat ntfs squashfs
root@box:/home/tc#
root@box:/home/tc# netstat -anlput
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:58607 0.0.0.0:* LISTEN 1627/rpc.mountd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1493/rpcbind
tcp 0 0 0.0.0.0:56177 0.0.0.0:* LISTEN 1627/rpc.mountd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1069/sshd
tcp 0 0 0.0.0.0:46554 0.0.0.0:* LISTEN 1522/rpc.statd
tcp 0 0 0.0.0.0:33085 0.0.0.0:* LISTEN 1627/rpc.mountd
tcp 0 920 192.168.1.14:22 192.168.1.25:60875 ESTABLISHED 1554/sshd: tc [priv
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:38087 0.0.0.0:* 1627/rpc.mountd
udp 0 0 0.0.0.0:44357 0.0.0.0:* 1627/rpc.mountd
udp 0 0 0.0.0.0:53164 0.0.0.0:* 1627/rpc.mountd
udp 0 0 0.0.0.0:51264 0.0.0.0:* 1522/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 1493/rpcbind
udp 0 0 0.0.0.0:816 0.0.0.0:* 1493/rpcbind
udp 0 0 127.0.0.1:850 0.0.0.0:* 1522/rpc.statd
netstat: /proc/net/udp6: No such file or directory
root@box:/home/tc#
root@box:/home/tc# cat /usr/local/etc/exports
# Enter the directories you want exported in this file
/mnt/sdb1/julien *(rw,insecure,all_squash,anonuid=0,anongid=0)
root@box:/home/tc#
root@box:/home/tc# ls -l /usr/local/etc/exports
-rw-r--r-- 1 root root 118 Dec 16 09:32 /usr/local/etc/exports
On client side :
root@box:/home/tc# mount -t nfs 192.168.1.14:/ /tmp/testdir
mount: 192.168.1.14:/ failed, reason given by server: Permission denied
mount: mounting 192.168.1.14:/ on /tmp/testdir failed: Bad file descriptor