NFS Server on Slackware 13.1

Supposed that your IP address is 192.168.1.x, and you are going to run NFS service for all users in 192.168.1.0/24 (192.168.1.1 – 192.168.1.254).

On Slackware 13.1, it is very easy to do it.

  1. Make folder for NFS service, with all permission for all users.
  2. # mkdir /home/nfs && chmod 0777 /home/nfs/
  3. Edit /etc/exports
  4. /home/nfs 192.168.1.0/24(rw,no_root_squash,no_subtree_check,sync)
  5. Start NFS service
  6. # chmod a+x /etc/rc.d/rc.nfsd && /etc/rc.d/rc.nfsd start

    If it complains nfsd.ko module failed as shown:

    FATAL: Error inserting nfsd (/lib/modules/2.6.33.4-smp/kernel/fs/nfsd/nfsd.ko): Invalid module format

    Maybe you are using "huge" kernel (Slackware default kernel). You can update it with "generic" kernel (remember to mkinitrd). Also, you can just ignore the error, because NFS service runs successfully already.

Advertisements

2 thoughts on “NFS Server on Slackware 13.1

  1. Ajmakkas

    Hello, I just came across your blog. I need your help in solving a Slackware 12 issue. I have a broadband connection with a cable (given by the provider) that gets into to my LAN card. I ran pppoe-setup and ran pppoe-start command; at one point, the the process gets timed out with the message pppoe-start Line 191: process_id Terminated. I have reinstalled rp-pppoe, but nothing worked. Could you please help me to establish the connection?

    Reply
  2. Bin SHI

    Sorry for late. Is it caused by pap/chap configuration problem? Please make sure your PPPoE configuration is right. Complains from pppoe-start can’t give me any hint. You’d better ask your ISP for more information. Wish it helpful.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s