Hi all,
I am new here and wanted to share my experience installing Sophos on my custom build PC. I have the following hardware:
ASRock Z170M-ITX/ac
i5-6400
8GB Memory
120GB 850 EVO
And this all is put in a LC Power 1400MI case. The machine is very quiet and started up correctly the first time :-)
I had an USB-drive prepared and the Sophos UTM install started without a problem. Having done some research before trying to install from USB I knew I needed to mount a partition before starting the install. After doing this I started the install. I got a message there was only one NIC detected and after confirming the install stopped at 66%.
A quick search learned me this happens more often and to me the most likely cause could be that I am installing with a DVI connection. Searching through the BIOS I could not find a setting to force the display to HDMI or DisplayPort so I had a problem. Not having a graphics lying around I decided to hook the HD up to my other pc and try installing from there. And luckily the installation continued beyond the 66%.
Yeah, victory I thought. But, The installation failed. On the log screen it showed a file was not found. A quick Google search gave me the answer. Due some strange behavior a couple of file names were incomplete in the installation directory. After checking all the files and renaming the incomplete ones I was able to finish the installation. When the system rebooted I turned of the PC and put HD back.
The system booted and I got the message to connect to the IP address with a browser to finish the installation. I noticed both NIC were up so I had good hopes the network part was working now. However, I was unable to connect to the admin page. Logging on to the UTM with a screen and keyboard I got access to the system. An "ifconfig" showed me there was no eth0 device up. Having some Linux experience I quickly typed "ifconfig eth0 192.168.2.100". After hitting enter no error message was displayed and another "ifconfig" showed that eth0 was up and running. A quick ping check confirmed there was network connectivity.
Going back to my other computer and reloading the webpage gave the certificate error. Yes, I was in. I was able to login but I got stuck again when the network needed to be configured. I got the message the setting for the active network card cannot be changed so I cancelled this part of the wizard and after logging in again the familiar admin page was showing.
The first thing I did was checking my network interface connection. It showed the network card but according to the page it was turned off. Trying to turn it on gave me an error messaging saying there was no hardware associated with the network config. Editing the configuration and selecting the hardware was not possible. So, back to Google.
After setting a password for the loiginuser (root was already done when I logged on to the console the first time) I chrooted to root and started to work form the command line.
The first thing I did was checking the file: /etc/udev/rules.d/70-persistent-net.rules. In this file it showed two configurations for eth0 (for my Intel I219-V I guess) using module e1000e and one for eth1 (for my Realtek) using module r8169. I changed the Realtek to eth0 and the Intel to eth1. Reboot and no luck. I kept my changes as I knew the I219-v has issues and the Realtek showed up as being recognized when I checked dmesg on the command line.
I quickly learned there is a tool that can be started with cc where you can do al sorts of config work from the command line. Following a guide I found through Google I was able to associate the correct hardware to the network configuration. I executed the following command:
cc
OBJS
interface
ethernet
<TAB> (if you have multiple network configurations it will cycle through the available ones if you keep hitting TAB. As I only had one configuration it was easy for me to select the correct one :-))
itfhw<TAB> (Again, if you keep hitting TAB it will cycle through the available NIC's. As there was only one recognized, the Realtek, is was an easy pick)
status=1 (this will enable the configuration)
w (this will save the configuration)
exit
Back to the admin page of the UTM and yes, the network configuration was ok now.
I am stuck with the issue that my other network card is not recognized. It is an Intel I219-V and should be able to work with the e1000e module. I did a "lspci" and the network controller showes up. I can also see that the e1000e module is loaded but the nic is just not recognized. Any advice or suggestions for this problem is much appreciated.
The most easy fix here is off course putting in a PCI card with a nic but hey, it is more fun trying to get the I219-V to work :-). My guess is that the e1000e module shipped with the UTM iso is too old so getting it to work would mean replacing it with a newer version. I found the sources for a newer driver but as there are no compile tools on the UTM I cannot build the driver. Does anyone know if I can compile it on a Linux machine with the same kernel and just copy it over to the UTM? Or do I need to do more?
This thread was automatically locked due to age.