Hipster Handbook - Network Communications

NOTE:

This is a DRAFT document which may contain errors!

Help us improve and expand this site.

Please see the Contrib section for more details about joining the OpenIndiana Documentation Team.

< Place holder for Introduction content >

PPP

< Place holder for content >

PPPoE

< Place holder for content >

Email

< Place holder for content >

WWW server

Firewalls

Advanced Networking

< Place holder for content >

Crossbow

< Place holder for content >

Hipster as a NAS

OpenIndiana provides several ways to share data with network clients.

Implementation Description
CIFS Kernel based SMB file sharing solution offering ZFS integration, ease of use, and relatively simple configuration.
SAMBA Modern userland based SMB file sharing solution providing support for newer SMB protocols (SMB 2.1) and better compatibility with modern Windows clients.
NFS The Network File System was originally developed by Sun Microsystems.

DOC TEAM NOTE:

ITEMS TO WRITE ABOUT:

For a variation of configuring a home NAS - this could be done virtually as well

  • Running OI as a VMware EXSI guest
    • Local storage hardware is passed through to the OI guest and then shared via ISCSI, CIFS, NFS, etc.

For help writing this section, see the following OpenSolaris references:

Also have a look at the OpenSolaris CIFS Administration Guide

Hipster as a CIFS server (workgroup)

< Placeholder for introduction content >

Commands used

Configuration steps

Start by listing available storage pools.

zfs list

NAME                           USED  AVAIL  REFER  MOUNTPOINT
storage                        498K   899G    19K  /storage

Create your ZFS dataset to be shared via CIFS/SMB.

zfs create -o casesensitivity=mixed -o sharesmb=on storage/backup

Start the CIFS service.

svcadm enable -r smb/server

Join the CIFS server to a workgroup.

smbadm join -w WORKGROUP

Configure PAM authentication for the CIFS service.

echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf

Reset the password for the local user accounts which will be used for remotely accessing the CIFS/SMB share.

passwd <user_account>

Set the share name to be used for the CIFS/SMB share.

zfs set sharesmb=name=backup storage/backup

Change the ownership of ZFS dataset to the user account which will be used for remotely accessing the CIFS/SMB share.

chown -R <user_account> /storage/backup

Verify everything is all set to go.

sharemgr show -vp

default nfs=()
smb smb=()
        * /var/smb/cvol  smb=() ""
                  c$=/var/smb/cvol       smb=(abe="false" guestok="false")      "Default Share"
zfs smb=()
    zfs/storage/backup smb=()
          backup=/storage/backup

You can create additional CIFS datasets using the following 4 commands.

Hipster as a CIFS server (domain)

< Placeholder for introduction content >

Hipster as a SAMBA server

< Place holder for content >

Configuring CIFS/SMB client connectivity

< Place holder for content >

Adding a remote share using the Linux smbclient

Adding a remote share using the KDE Dolphin file manager GUI

Adding a remote share using a Windows client

< Place holder for content >

Hipster as an NFS server

< Place holder for content >

Hipster as an NIS server

< Place holder for content >

Hipster as an LDAP server

< Place holder for content >

Hipster as a DHCP server

< Place holder for content >

Hipster as an FTP server

< Place holder for content >

Hipster as a DNS server

< Place holder for content >

Hipster as a NTP server

< Place holder for content >

Hipster as a INETD server

< Place holder for content >