Mikrotik RouterOS 6.41 changes

Been a little busy the past week, but did notice Mikrotik RouterOS 6.41 released on 22nd Dec 2017.

It has some significant changes that I wanted to highlight from the changelog and quickly show the changes in the winbox interface.

!) bridge – implemented software based vlan-aware bridges;
https://wiki.mikrotik.com/wiki/Manual:Interface/Bridge#Bridge_VLAN_Filtering

!) switch – “master-port” conversion into a bridge with hardware offload “hw” option;
https://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features#Bridge_Hardware_Offloading

!) detnet – implemented “/interface detect-internet” feature;
https://wiki.mikrotik.com/wiki/Manual:Detect_internet

The switch changes is the one that got my interest, as this is the one that I have known and used since I first started to use Mikrotik hardware. So now I have to get my head around the fact it has changed.

routeros-pre-6.41-interface
routeros-post-6.41-interface

You can see from the images above that Master Port is no longer used and/or available under your interfaces to group interfaces together as switched ports. This is now done differently.

Upgraded one of my routers and I think I understand how this change impacts future configurations and setup process.

Intel 7th Generation Desktop vs Laptop CPU sample

Intel Core i3 7100 (Desktop CPU)

distributed.net RC5-72 workload sample – 80 packets.

[Dec 27 09:41:10 UTC] RC5-72: Summary: 80 packets (80.00 stats units)
                      0.00:37:47.78 - [149.06 Mkeys/s]

Intel Core i7 7500U (Laptop CPU)

distributed.net RC5-72 workload sample – 85 packets.

[Dec 27 11:04:28 UTC] RC5-72: Summary: 85 packets (85.00 stats units)
                      0.00:46:22.95 - [128.69 Mkeys/s]

Surprised that the i3 Desktop has the slightly better throughput on this workload. I somewhat expected that the i7 to win. The interesting thing to note though is that of course the i7 laptop CPU would be using way less power, thus generating much less heat. It makes me wonder though… how would an i3 laptop CPU perform in this test when compared to the i7 laptop CPU. Unfortunately I do not have one to test.

New Magazine Subscription

I always get a magazine subscription every year. But honestly haven’t been enjoying the magazine I would typically get in Australia. Linux Format recently got my interest, and they had some specials over the Christmas period which has help to sway me over. Tonight I noticed they had even further discounts – another 20% off. So I jumped on the bandwagon and signed up for a 12 month digital only subscription.

New Tablet – Samsung Galaxy Tab A

Merry Christmas everyone.

Today I got a new tablet. My wife purchased me a Samsung Galaxy Tab A (2017) model. This will enable me to use it in situations where a laptop doesn’t really allow. The tablet is very handy when on public transport and relaxing on a cruise ship. Will give me a chance to load it with content and consume as needed.

Samsung Galaxy Tab A 8″ (2017) – Specifications

New PC Build

Finished off the PC build tonight, however hit a few snags. The Corsair H60 radiator is much larger then the Corsair H55 version and as such cannot be installed in a Corsair Spec 03 case on the rear. This impacts the PCIe video card slot. If I had got the Corsair H55 this wouldn’t be a issue, as I know it fits based on previous experience where I have one installed in another machine (tempted to honestly swap H60 out for a H55 in coming months).

For now as pictured below, the Corsair H60 is intalled in the top of the case. The only place it can fit in this case without impacting my video card.

So far I am very impressed with the system. It is able to encode a 1 hour 30mins video file into a Android 720p30 mp4 file with 2 pass enabled in about 23mins. The same test on other machines ranges from 1 hour to 2 hours depending computer used. So massive improvement.

Battlefield 1 also runs great. So I am very happy.

This machine I want to last me a good 5-6 years. The only things I want to replace will be items that die outside of warranty, which might typically be hard drives etc.

Upgrades include in the future for the machine..

  • Additional 16GB memory kit
  • Additional M2 SSD drive (500GB or 1TB model).

Will be sure to post more about this computer as things happen.

New PC hardware arrived

My New PC hardware arrived. I ordered this on Friday and paid for it yesterday.

I ended up deciding on the following items;

  • Intel i7 7700k
  • Asus Z270M-Plus (Prime z270) mainboard
  • Corsair H60 Liquid CPU cooler
  • Corsair CX600 Power Supply
  • Corsair 16GB (2x8GB) DDR4-3000Mhz Vengeance LPX Dimm
  • Asus Dual GTX1070 8GB Video card

I already have Monitor, Keyboard, Mouse, Samsung M2 250GB SSD, Optical Drive and 3.5″ Hard drive.

I opted to get the Intel i7700k for the faster base clock speed, but then got the faster memory and Z270 mainboard in case I wish to overclock it. As I know that it’s possible per Adam Fowler and his recent PC build.

Spa finally connected to wireless

It’s taken me a few weeks, but I finally have our Spa connected to our wireless network.

Unfortunately I worked out very early on that the wireless module in our Spa couldn’t see the main house wireless. So the plan was to install an external wireless access point. That task was completed some weeks back using a Mikrotik wAP.

Today I finally used the SVLink iOS application to configure things (as the Android version sucks). It’s now connected to our wireless network. This means I can now control all the Spa functions for the application on our phones. So you can increase the Spa temperature before getting home and it will be ready to use at that perfect temperature.

Screen capture below from the iOS application.

 

Australian residents can purchase Mikrotik hardware from my favourite supplier in Geelong – Duxtel. Highly recommend them.

Ubuntu 16.04, tvheadend and SiliconDust HDHomeRun

Decided I would compile Tvheadend again and install it on a Ubuntu 16.04 host. Below is some of my notes that will help others with this installation and problems I hit along the way.

Required packages.

apt-get install unzip libcurl4-openssl-dev pkg-config git build-essential dvb-apps gettext libssl-dev cmake liburiparser-dev libavahi-client-dev
apt-get install hdhomerun-config

Installation/Compiling steps.

wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz
tar zxvf libiconv-1.15.tar.gz
cd libiconv/
./configure
make install

I created a user called “tvh” which will be used for the running of the software, this way it doesn’t run as root. Plenty of guides about that detail how to create your user and associated correct group assignments to it. So I won’t cover these steps/operations.

Noticed when I executed the product post being compiled i was getting an error.

tvh@oscar:/usr/local/bin$ ./tvheadend
./tvheadend: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory

As you can see from the output below, it’s a library issue.

tvh@oscar:/usr/local/bin$ ldd tvheadend
        linux-vdso.so.1 =>  (0x00007fff1d1e6000)
        libdvben50221.so => /usr/lib/libdvben50221.so (0x00007f3545385000)
        libdvbapi.so => /usr/lib/libdvbapi.so (0x00007f3545180000)
        libucsi.so => /usr/lib/libucsi.so (0x00007f3544f69000)
        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f3544d00000)
        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f35448bc000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f35446a1000)
        liburiparser.so.1 => /usr/lib/x86_64-linux-gnu/liburiparser.so.1 (0x00007f3544486000)
        libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 (0x00007f354427a000)
        libavahi-client.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 (0x00007f3544068000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f3543e1c000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3543c18000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f35439fa000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f35436f1000)
        libiconv.so.2 => not found
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f35434e8000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3543166000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3542d9d000)
        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f3542d17000)
        /lib64/ld-linux-x86-64.so.2 (0x00005642bf9af000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3542b01000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f35428de000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f35426bc000)
        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f35423db000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f354216a000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f3541f56000)

Perform the following steps to address it.

cd /usr/lib/x86_64-linux-gnu
ln -s /usr/local/lib/libiconv.so.2.6.0 libiconv.so.2.6.0
ln -s /usr/local/lib/libiconv.so.2 libiconv.so.2
ln -s /usr/local/lib/libiconv.so libiconv.so

It would appear that Tvheadend has had some improvements since the last time I compiled and installed it.

As shown below we now see a new logo for the product, and now get a wizard which helps with the setup.

Tvheadend is such a great application.

Mikrotik wAP – Installation

Today the installation of the Mikrotik wAP (Model: RBwAP2nD) was completed.

As per pictures, the unit was installed externally. In my case I installed it outside under my alfresco area. It’s about 4m away from my Spa, which is the device that I need to see the wireless network.

Available for purchase in Australia from Duxtel. (Product Link)

New Internet Provider

Yesterday after getting so much packet loss and the fact that I have had enough of the poor ongoing performance from iiNet. I couldn’t stand it any longer and jumped ship (read: provider).

OCCOM became our new service provider as of about 10am today. Of course speedtest result has to be posted.

5766801524

Of course doing some download tests during the day has surpassed the real world speed I got on iiNet when the issues had been going on. Even my evening tests surpass those of the iiNet service. Not sure what happened to iiNet network, but only getting about 50-80kb/s from ftp.iinet.net.au and about double that for mirror.internode.on.net during evening reflects just how bad things are. Those same tests now on new isp massive difference.

Get over 3 MB/s to mirror.internode.on.net right this moment.. couldn’t even get half that at this time of night on my iiNet service.

20161104-mirror-internode-on-net-test

iiNet – Opticomm service disruption

Noticed today that my smokeping metrics for my next hop out of my iiNet service took a turn for the worst. Prior to midnight started to get packet loss.

1478082466268_1478082466_1477974420
lo0.bng1.syd7.on.ii.net

iiNet knew nothing of it, and turns out Opticomm was having backhaul issues (2nd time since Saturday) and believed to be related.

Funny enough things came good late tonight and I imagine that’s because Opticomm resolved condition.

Ironically enough and annoying thing is that while this occured the Opticomm status page for my postcode had no faults reported. That really ticks me off. Considering iiNet wasn’t telling customers anything about it.

unRAID 6 from Lime Technology is simply amazing

I’ve managed to play around with unRAID 6.1.7 from Lime Technology a little further and I cannot describe just how good this product appears to be.

The fact that you can install plugins, enable Virtualization (uses KVM) and enable/install Docker (and have access to a large number of Docker images). This impresses me so much. This software gives you so much flexibility in what a computer running unRAID can be allowed to do and perform.

While I do think a traditional NAS appliance still has it’s place in the market, if you want something a bit more, unRAID is certainly the goods in that department.

Below is a few screen grabs from my demo/test install which I am using a trial key/license.

unRAID 6.1.7 - Dashboard

unRAID 6.1.7 - Main

unRAID 6.1.7 - Plugins

unRAID 6.1.7 - Docker

unRAID 6.1.7 - Docker - Manage Docker Images

The way in which you can manage the Docker images when installed and enabled via the Web UI is simply amazing (as shown above). It seems to work so very well and a user with very little experience can be running these within a very short amount of time.

Highly recommend you check out the follow thread here on the Lime Technology forums on what community contributed Docker templates have been made available.

Internet Connectivity – State of affairs

The Internet Connectivity that we can obtain in various parts of Sydney is honestly a bad point for some and I can honestly understand.

My estate as a majority has no NBN and is not scheduled to have a build phase of the infrastructure. Our copper phone service is delivered via Telstra and comes in via RIM. When I first moved in about 8 years ago after building our first house here, we had no internet at all for 6 months. As unfortunately no ADSL was available. Eventually the RIM was upgraded to enable this, and it was a struggle to get a service at all. Back in those days, developers didn’t think about connectivity like they do now, which is a shame to be honest. Our phone infrastructure eventually got upgraded to have ADSL2+. Honestly that was a shock to me at the time. Infrastructure was so at capacity I believe people in my estate are left with no way to get ADSL due to limited capacity of ports in the RIM. The last stage in this estate actually got NBN, and that probably around 50 or more houses I suspect. But for the majority of us we either don’t have any ADSL or have to put up with the service as per below;

5062362972_iinet_adsl2_offnet

Also did I mention that we can’t get a naked ADSL service. Which sucks badly as I don’t even use my phone service that much, if not at all.

Meanwhile, NBN has been rolling out in other areas out this way and below is the service my mother can get in an older area, which I reckon is pretty great. Her upload speed absolutely slams my download speed.

5062159276_nbnco

Our government is so behind the times, I am not surprised some people are so critical over the issues associated with NBN Co and the dramas along the way with its deployments about the place.

All I can say is I am so looking forward to moving in the next 3-4 months, we purchased some land a while back and have been in the process of building a new house. The new hosing estate where this is happening is an Opticomm estate where Internet and FTA television services are provided over FTTH (Fibre to the home).

I plan on moving my iiNet ADSL2+ service to the FTTH service they offer. Also plan on going the 100Mbps/50Mbps service speed too. Will be sure to post back on the progress of this over the coming months including hopefully some good speedtest screen captures.

House Construction – Garage Cabling

Today I had a walk through of our new house to check on the position of cables as done by the electrician. It was a good idea to do this and I know why they arrange it. As I was able to see a couple of issues which could be addressed now before the internal gyprock walls start to be installed.

I took a quick photo below which shows where all our TV points and CAT6 cables will terminate. The white conduit you see coming in to this position is coming from the street where the FTTH pit is. Really looking forward to high speed internet.

IMG_20160204_garage_cables

Intel NUC under desk mounting

Finally got around to mounting the Intel NUC under my desk. Put it in a position where I can still access it as needed, but this gets it off the desk out of the way.

I used an extra bit of timber, as the screws I had were a little longer than required, so this buffers out that space so they don’t come through the top side of the desk. I also screwed it up using the 75×75 vesa mount position, as using the 100×100 vesa position made the machine a bit free to move.

CYz2vUoUAAE3_e2 CYz8mvcU0AAPlwe

Turned out quite awesome. Now i just need to tidy the cables out the back and get them lifted up with something so they don’t hang with that weight out of rear.

Currently working out a design to build a nice under mount shelve for some hardware at the back of the desk, since these old Ikea Galant desks have significant depth to them.