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

USB stick access via shell…?

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 7.6k 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.
  • G
    GS850L
    last edited by Aug 26, 2014, 1:42 AM

    Is there a way for pfsense to access a usb stick in the shell?

    Thank you

    1 Reply Last reply Reply Quote 0
    • D
      dotdash
      last edited by Aug 26, 2014, 2:00 PM

      Just make a mount point in /tmp or something and mount it.
      On the console you should see a message when you plug the stick in. It usually comes up as da0.
      Drop to a prompt and make the mount point- mkdir /tmp/usb
      If it's a FAT stick from a Windows box, you need to mount as dos fs- mount_msdosfs /dev/da0s1 /tmp/usb
      You can then cd to /tmp/usb and copy files or whatever. If you are running nano, remember to mount rw if you need to copy somewhere other then tmp or var.

      1 Reply Last reply Reply Quote 1
      • G
        GS850L
        last edited by Aug 26, 2014, 5:11 PM

        Thanks for the info.

        I should have mentioned I am running pfsense in virtual box at the moment. Is accessing a usb drive possible in that scenario?

        Good day

        1 Reply Last reply Reply Quote 0
        • D
          dotdash
          last edited by Aug 26, 2014, 7:47 PM

          Not familiar with that. In ESXi, you can pass the device from the host to the guest. Perhaps you can do something similar.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received