Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to mount Samba share

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Notanial
      last edited by

      Hi, i need to copy some files from  pfsense  to samba and back

      trying:

      mount -t cifs -o guest //192.168.1.2 /mnt/samba_share

      getting error:

      mount: /192.168.1.2 : Operation not supported by device

      Help, Please!

      ============================

      mount -t cifs //192.168.1.2 /mnt/samba_share -o guest
      usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type]
            mount [-dfpruvw] special | node
            mount [-dfpruvw] [-o options] [-t ufs | external_type] special node

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You would need to use mount_smbfs like this:
        http://www.cyberciti.biz/faq/mounting-a-nas-with-freebsd-mount_smbfs/

        However I doubt it's included in pfSense. (edit: it isn't)

        You could try adding it:

        pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/All/mountsmb2-0.90.2.tbz
        

        Steve

        Edit: Forget that. That won't work.

        1 Reply Last reply Reply Quote 0
        • T
          thermo
          last edited by

          Use a sftp client!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.