FANDOM


Note: You probably don't want smbfs. See notes below.

  1. Compile a kernel ensuring that the following are defined:
    • file-system SMBFS
    • pseudo-device nsmb
  2. Install the new kernel and reboot.
  3. cd /dev
  4. sh MAKEDEV nsmb
  5. Check out the mount_smbfs man page for reference on a command to use.  Here's what I've used successfully:
    • mount_smbfs -I [Server IP] -W [domain] //[user]@[servername]/[Share Name] /mnt
    • The domain and servername do not necessarily need to be fully qualified.
  6. Observe the share is mounted on /mnt.
  7. umount /mnt to unmount the share.

I have found that on the server side it is necessary to set: HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\enablesecuritysignature
...as well as... HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\requiresecuritysignature

...to 0 in order to even connect.  Once the mount is made successfully though, I encounter "permission denied" errors attempting to create new files.  I have not resolved this issue at the current time.  It may be time for an SMBFS code overhaul though, as I also experience NetBSD kernel panics doing a directory listing on an smbfs filesystem mount point after it has been unmounted.

David Ross 07:54, January 12, 2010 (UTC)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.