Cisco SG500: Use stack ports as SFP ports

We recently bought a Cisco SG500 at work as we needed a cheap switch with 4x SFP Interfaces. In the default configuration the SG500 only offers 2 SFP Ports for networking, the other 2 are used for stacking and they don’t show up in show interface status. Howsoever if you try to configure gi28 no error is thrown. Confusing as hell. But as mentioned before I needed 4x SFP for networking so I went on a google hunt and found nothing. The manual at least suggested that it’s possible but I couldn’t find out how. ...

July 7, 2014 · 1 min · Moritz Frenzel

Installing FreeBSD 10 on an alix apu.1c4

I just got an alix apu.1c4 in the mail. It is a great board for ~200Euro with a great set of features, you can find more on it here. First step is to pick up the BIOS-Update here. Then unpack the file: tar xjvf apu_tinycore.tar.bz2 Now we have to create a FAT filesystems on our flashdrive, in my case: /dev/sdc. mkfs.fat -I /dev/sdc Then mount the filesystem and copy the files to the flashdrive: ...

April 9, 2014 · 3 min · Moritz Frenzel

A small writeup on CVE-2013-3572

Quite a while ago I got to toy around with some ubiquiti UAP Pros, awesome, cheap, performant WiFi Access Points. As I missed the last train home from my hackerspace I began to toy around, always on the hunt for a little exploit. Webinterface Exploits(XSS, SQL Injections or what so ever) were easily found, but that’s not what I was looking for. Everyone can do that. The goal was to find something nobody has done before. So, as I came across the users tab, I noticed the following: ...

February 26, 2014 · 2 min · Moritz Frenzel

Using Unsupported SFP+ Modules with FreeBSD

If an error like this shows up in your logfiles: ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.5.15> ix0: Unsupported SFP+ Module I might be able to help. It’s not as straight forward as with linux, but we’ll make it work. First off we need to modify the sourcecode of /usr/src/sys/dev/ixgbe/ixgbe.c as follows: static int allow_unsupported_sfp = TRUE; And then we need to recompile the kernel module: cd /usr/src/sys/modules/ixgbe && make install and then reboot our system. If everything goes well the interface will show up somewhat like this when executing ifconfig: ...

November 15, 2013 · 1 min · Moritz Frenzel

Using Unsupported SFP+ Modules with Linux

I recently got myself a Intel X520-DA2 10GBE NIC and some SFP-10G-SR+-SO SFP+ Modules to toy around with. After assembling the PCIe card I was luckily surprised that my kernel brought up the NIC without any difficultys, so I plugged my SFP+ modules into the server, only to be greeted with: ixgbe 0000:24:00.1: failed to load because an unsupported SFP+ module type was detected. ixgbe 0000:24:00.1: Reload the driver after installing a supported module. Yay. After 2 hours of useless googleing I asked a friend who happens to be a linux kernel maintainer, and luckily he knew just the fix therefore: ...

November 1, 2013 · 1 min · Moritz Frenzel