• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About
    • Stephen Foskett
      • My Publications
        • Urban Forms in Suburbia: The Rise of the Edge City
      • Storage Magazine Columns
      • Whitepapers
      • Multimedia
      • Speaking Engagements
    • Services
    • Disclosures
  • Categories
    • Apple
    • Ask a Pack Rat
    • Computer History
    • Deals
    • Enterprise storage
    • Events
    • Personal
    • Photography
    • Terabyte home
    • Virtual Storage
  • Guides
    • The iPhone Exchange ActiveSync Guide
      • The iPhone Exchange ActiveSync Troubleshooting Guide
    • The iPad Exchange ActiveSync Guide
      • iPad Exchange ActiveSync Troubleshooting Guide
    • Toolbox
      • Power Over Ethernet Calculator
      • EMC Symmetrix WWN Calculator
      • EMC Symmetrix TimeFinder DOS Batch File
    • Linux Logical Volume Manager Walkthrough
  • Calendar

Stephen Foskett, Pack Rat

Understanding the accumulation of data

You are here: Home / Everything / Terabyte home / Adding a Second Ethernet Port to an Intel NUC via Mini PCIe

Adding a Second Ethernet Port to an Intel NUC via Mini PCIe

June 5, 2015 By Stephen 14 Comments

As I mentioned in my previous post about Raspberry Pi power monitoring, I recently built a VMware vSphere “datacenter” from three Intel NUC mini PC’s. One limit of the NUC is that it has just one Ethernet port. But there’s a Mini PCIe slot inside the fourth-generation NUC that can be used to add a second Ethernet NIC! Here’s my story.

That's a Syba Mini PCIe Gigabit Ethernet NIC inside a fourth-generation Intel NUC!
That’s a Syba Mini PCIe Gigabit Ethernet NIC inside a fourth-generation Intel NUC!

A Bit About the Intel NUC Hardware

Intel’s NUC (“Next Unit of Computing”) hardware is a mini PC roughly the size of a current Mac Mini. It is designed to support a variety of end user computing applications and functions as a tiny desktop PC for most people. But as many have noticed, it can also support VMware vSphere and similar server workloads! That’s how I’m using it.

Three NUCs and a managed 24 port switch draws under 60 Watts!
Three NUCs and a managed 24 port switch draws under 60 Watts!

I love that the NUC is stable, low-power, compact, and well-supported. I connected three NUCs and a TP-Link 24 port managed Ethernet switch to my CyberPower UPS and the whole setup is drawing less than 60 watts! Plus, it’s quiet and cool and fits in a corner of my basement wiring closet. Score! Although the NUC is limited in RAM and peripheral expansion, these factors make them more attractive for home use than “real” PC’s, even compact ones.

The NUC has reasonably good laptop CPUs, including the latest i3, i5, and i7 models in dual-core variants. It includes two SODIMM slots (1.35 volt), currently supporting a maximum of 16 GB of RAM. Most NUC models are available with space for an internal laptop SATA hard disk drive, and all support some kind of internal SSD as well.

That SSD port is where things get interesting. The first four generations of NUC motherboards sported two Mini PCIe slots: One full length slot on top for mSATA SSDs and another half-length slot below, ostensibly for a Wi-Fi card. Instead of Wi-Fi, I added a wired Gigabit Ethernet NIC in that slot to give my NUCs two Ethernet ports rather than the standard single one.

mSATA, Mini PCI2, and M.2

Let me digress for a moment on Mini PCIe, mSATA, and a new standard called M.2. As I’ve covered before, mSATA is simply a SATA SSD packaged using the same form factor and pinout as a Mini PCIe card. Many modern laptops and small form factor PC’s (and even some full-size PC’s) come with one or more Mini PCIe slots on the board for adding Wi-Fi cards or mSATA SSDs and these can often be used to add additional PCIe Ethernet cards instead. Such is the case of the first four generations of Intel NUC.

Lately, however, the PC industry has adopted a new, even smaller form factor called M.2. On paper, M.2 is way better than Mini PCIe: M.2 has four PCIe 3.0 lanes plus 6 Gbps SATA and USB 3 all packed into that tiny connector! The old standard had a single PCIe 2.0 lane and USB 2.0, plus SMBUS and GSM SIM and such. Plus, the M.2 connector is substantially smaller, taking up less space in today’s super-thin laptops.

Unfortunately for hobbyists, M.2 is brand new and only SSDs and Wi-Fi NICs are available at this point. This means that buyers of fifth-generation Intel NUCs, which have two M.2 slots instead of two Mini PCIe slots, are limited in what they can add internally. Your SSD will be much faster, but you can’t add a wired Ethernet port at this point. I have seen M.2-to-Mini PCIe adapters on the Internets but I doubt these would fit in a NUC.

Adding a Mini PCIe Ethernet Adapter to a NUC

Now back to our discussion! It’s fairly straightforward to add a second Gigabit Ethernet port to your first- through fourth-generation Intel NUC. Just buy a half-length Mini PCIe Ethernet adapter like this Syba Realtek device on Amazon for just $16 and slap it in there. It works perfectly and there are drivers available for most operating systems, including VMware ESX!

The issue is that the Syba card is too tall to also install a mSATA SSD in the NUC and the bulky triple cable it uses doesn’t fit nicely along with a SATA HDD in the little NUC body.

The first problem is solved through the use of solder. I de-soldered the 10-pin Ethernet and 4-pin LED headers on the tiny NIC with my handy de-soldering iron and then pulled the pins out with pliers. I then soldered the Syba cable directly to the board, cutting off the connectors and tinning each little lead. I was careful to solder the wire low and slanted towards the back to allow the cable space in the cramped NUC and cut off the excess afterwards. And I used some plastic to keep everything from shorting out inside.

After removing the headers and soldering the wires directly to the Syba card, it fits under an mSATA SSD in the NUC
After removing the headers and soldering the wires directly to the Syba card, it fits under an mSATA SSD in the NUC

This gave just enough room to re-install my mSATA SSDs (I picked Samsung EVO because Microcenter had them on sale). But there is still the issue of routing the surprisingly bulky wires out of the case and locating the Ethernet connector. Nick solved this by soldering his own Ethernet pigtail directly to the Syba card, but I wanted to retain the RJ45 connector and activity lights.

So I went to Tinkercad and created a new base for the NUC, complete with a spot for the hard disk and controller and the Syba Ethernet connector. I then printed this out on my AIO Robotics Zeus 3D printer and, after some tinkering, got the whole thing to work! I’ve placed these on Thingiverse if you’d like to print one, too, but be warned that although it works, it’s still not perfect. And it’s a large, time-consuming print that might not fit on a Makerbot platter!

It's still difficult to fit the hard disk drive and various wiring inside the NUC
It’s still difficult to fit the hard disk drive and various wiring inside the NUC

The hard disk drive and controller must be removed from the steel carrier that comes with the NUC (six screws and you’re done) and the Ethernet wires must be carefully routed around the disk. But everything does fit in place, and the NUC sits nicely closed afterward.

Here's my NUC with two Ethernet ports, ready for ESX!
Here’s my NUC with two Ethernet ports, ready for ESX!

VMware ESX 6.0 and the Intel NUC

Happily, VMware added drivers for the Intel e1000 Gigabit Ethernet adapter found on all recent NUC motherboards to the standard set in ESX version 6. This means that it’s simple to install ESX on a NUC! No more creating a custom install! Just follow VMware’s directions to create a bootable USB drive and it’ll boot up perfectly on the NUC.

Once you’ve installed ESX on the USB drive, you might notice that the SATA and Realtek NICs are not detected. You need to install drivers for these. Happily, Andreas Peetz over at v-front.de maintains a depot of the correct drivers and you can install them from the command line in ESX! Just enable SSH and connect using your favorite terminal. Then install the drivers:

esxcli software acceptance set --level=CommunitySupported
esxcli software vib install -d http://vibsdepot.v-front.de -n sata-xahci
esxcli software vib install -d http://vibsdepot.v-front.de -n net55-r8168

Or something similar… You’ll get it. The SATA-XAHCI driver supports both the mSATA SSD and the SATA HDD in the NUC. The R8168 driver works with the R8111 chip in the Syba Ethernet NIC.

Stephen’s Stance

I hope this has been interesting and helpful to those wishing to use Intel’s NUC in a simple, low-power home “datacenter”. The Syba/Realtek NIC works great! Sadly, there’s no such solution for the fifth-generation Intel NUCs, so it’s best to stick to the older models for now. If there’s interest I might discuss my configuration next.

You might also want to read these other posts...

  • Introducing Rabbit: I Bought a Cloud!
  • Tortoise or Hare? Nvidia Jetson TK1
  • Liberate Wi-Fi Smart Bulbs and Switches with Tasmota!
  • Powering Rabbits: The Mean Well LRS-350-12 Power Supply
  • Running Rabbits: More About My Cloud NUCs

Filed Under: Terabyte home, Virtual Storage Tagged With: 3D printer, AIO Robotics, Amazon, Andreas Peetz, Ethernet, Intel, M.2, Mini PCI-E, mSATA, Nicholas Farmer, NUC, PCIe, Realtek, Syba, v-front.de, VMware, vSphere 6

Primary Sidebar

Technology is anything that wasn’t around when you were born.

Alan Kay

Subscribe via Email

Subscribe via email and you will receive my latest blog posts in your inbox. No ads or spam, just the same great content you find on my site!
 New posts (daily)
 Where's Stephen? (weekly)

Download My Book


Download my free e-book:
Essential Enterprise Storage Concepts!

Recent Posts

How To Install ZeroTier on TrueNAS 12

February 3, 2022

Scam Alert: Fake DMCA Takedown for Link Insertion

January 24, 2022

How To Connect Everything From Everywhere with ZeroTier

January 14, 2022

Electric Car Over the Internet: My Experience Buying From Vroom

November 28, 2020

Powering Rabbits: The Mean Well LRS-350-12 Power Supply

October 18, 2020

Tortoise or Hare? Nvidia Jetson TK1

September 22, 2020

Running Rabbits: More About My Cloud NUCs

September 21, 2020

Introducing Rabbit: I Bought a Cloud!

September 10, 2020

Remove ROM To Use LSI SAS Cards in HPE Servers

August 23, 2020

Test Your Wi-Fi with iPerf for iOS

July 9, 2020

Symbolic Links

    Featured Posts

    FCoE vs. iSCSI – Making the Choice

    May 20, 2011

    Sony QX100 Lens Camera: Ruined by a Flaky iOS App

    October 7, 2013

    Why Big Disk Drives Require Data Integrity Checking

    December 19, 2014

    How Fast Is It? A Storage Infographic

    October 29, 2010

    Why Buy a NEX-7? Why Sony NEX At All?

    October 17, 2011

    The End of Unlimited Data – Part 1: The Buffet

    June 2, 2010

    SMB 3 is Going to be Huge, in both Scope and Impact

    May 6, 2012

    Rocking Out With the Topping VX1 Desktop/Bookshelf Amplifier

    October 6, 2015

    How To Sync Your iPad With Your Exchange Server

    April 3, 2010

    vSphere 6: NFS 4.1 Finally Has a Use?

    February 3, 2015

    Footer

    Legalese

    Copyright © 2022 · Log in