Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Using a USB drive for file transfer and installing snort

Status
Not open for further replies.

xafirox

Newbie
Joined
Jul 18, 2017
Messages
2
I am having so many problems with my machine(s). The problems have been replicated at different physical locations, different machines, and even different versions of FreeNAS. They always happen the same way. I have spent hours trying to find solutions to my problems in the forums and my own tinkering. The versions of FreeNAS I have tried are 11 and 9. The machines I have tried them on are on a virtual machine for testing as well as a physical machine that I plan to use it on. I did this just to make sure that there is not a discrepancy of the software working on the hardware. The hardware that I am working with both have 8GB of RAM and both with dual core processors. I dont have any settings set up with any jails or vms on FreeNAS. Internet connection is on Google Fiber, wired connections. What I am trying to do is very simple. Here are my problems:

1. Internet connection keeps timing out within a second or 2. pinging to google.com with a fresh install always fails. Within a jail template, setting up a jail connected to a url always times out. I had the same problem with the full pure version of FreeBSD.
2. The FreeBSD package manager has no file that lists its repositories, so I cant use pkg to install anything, even though pkg is there. PKG update does not work for the same reason.
3. Plugging in a USB drive fails to mount. Fdisk and mount do not work the same way they do in Linux. Formatting is not a problem if I could only format it with the FreeNAS shell. I am trying to transfer source code of Snort IDS to the shell in FreeNAS so that I will be able to install snort since pkg does not have any repositories in FreeNAS.

If anyone would be so kind as to inform me of anything I could be doing wrong or if I missed a forum that discusses these basic problems, I would be grateful.
 

tvsjr

Neophyte Sage
Joined
Aug 29, 2015
Messages
943
I would suggest taking several steps back. You haven't managed to make the basics of FreeNAS work, and you're trying to run jails and virtualize FN and other advanced stuff. And not all of what you're trying to do is simple.

First, go read this:
https://forums.freenas.org/index.php?threads/updated-forum-rules-4-11-17.45124/

You've told us the system has 8GB RAM and two cores. Your system is MINIMALLY compliant with the FreeNAS system requirements. You're not going to be successful running jails on top of FreeNAS.

Once you get that sorted out, you need to figure out basic networking. If I knew more about your system, perhaps this would be easy.

The plugins aren't going to populate without network access.

Correct, fdisk and mount don't work the same way they do in Linux. Nor the way they work in Windows. Because this is FreeBSD, not Linux or Windows.

FreeNAS is an appliance. You don't want to install anything directly into FreeNAS. Run it in a jail or in the new virtualization support, but not directly in the shell. And, see above... you don't have the hardware requirements to run jails/VMs. This ignores the question of "why would you want to run Snort on a NAS anyway?"

Crawl, walk, run... lest you trip over your feet and bust your arse. :)
 

danb35

Wizened Sage
Joined
Aug 16, 2011
Messages
11,582

danb35

Wizened Sage
Joined
Aug 16, 2011
Messages
11,582
I had the same problem with the full pure version of FreeBSD.
So it's nothing to do with FreeNAS as such, if plain FreeBSD does the same thing.

Your biggest, and probably fundamental, problem is network access. Work on that. If you want help here, you'd probably be better off starting a new thread with a descriptive title (since network/Internet access for your FreeNAS box has nothing to do with a USB drive or with installing Snort--the latter of which sounds like a strikingly bad idea), and some details of your network setup.
 

danb35

Wizened Sage
Joined
Aug 16, 2011
Messages
11,582
You've told us the system has 8GB RAM and two cores. Your system is MINIMALLY compliant with the FreeNAS system requirements. You're not going to be successful running jails on top of FreeNAS.
Not at all sure about that, depending on what he'd be doing in the jail--though I understand that snort is pretty resource-intensive.
 

tvsjr

Neophyte Sage
Joined
Aug 29, 2015
Messages
943
Not at all sure about that, depending on what he'd be doing in the jail--though I understand that snort is pretty resource-intensive.
Snort's a pig (ha). And it's been pretty well defined that FN wants 8GB to be happy. You could run some lightweight stuff, but I don't think I'd try running Snort, Plex, etc.
 
Status
Not open for further replies.
Top