computers

FreeBSD / pfSense slow network with Hyper-V

For some reason, it took me way too long to find information about this issue – so I’m writing another article that will hopefully help some people.

IT Ticket # 1337

Problem Description: Network performance through pfSense is extremely slow with Hyper-V

Software Versions: pfSense 2.6.0 and Windows Server 2022 (August 2022 patches)

Steps Taken Already: Confirmed hardware TCP offload is disabled; confirmed hardware checksum disabled; confirmed MTUs were correct.

Solution: Read on for the solution (hint: it’s a known driver bug, and for now only a workaround exists)

› Continue reading

Tags: , ,

Monday, September 26th, 2022 networking, software, work No Comments

Personal Use: How do you “takeout” your Spotify data?

Like many, I’ve built dozens of playlists in Spotify and truly enjoyed how the algorithm knows me. It was almost surreal finding Discover Weekly playlists where every single song fit my musical taste du jour.

However, probably also like many, it was eventually overwhelming to hear thousands of new songs a year – to the point where I could no longer remember when I first heard or song, or whether it was a remix or the original. I was happy with the static selection in my playlists, but couldn’t justify paying $10/month for what amounts to a CDN and .m3u host…

Subscription services are often inherently designed around user retention. How do you export your Spotify data?

  • You can copy-paste from the desktop client to get a list of Spotify URLs – not useful without a subscription.
  • You can pay for questionable “Spotify to MP3” utilities online.
  • You keep paying.

I won’t get into DMCA, DRM, fair use, or other concepts here. Instead, let’s take a look at a cool script…

› Continue reading

Tags: , , , ,

Monday, January 10th, 2022 computers, music, software No Comments

How long is 4 years?

Too long to not post anything.

In as few words as possible, let us agree that people accomplish a lot in one year. Simply think back to what you did in 2021, then 2020, then 2019, then 2018… Realize that you have completed dozens of projects, started many dozens more, interacted with countless other people, learned countless new things, and aside from disorganized photos you’ve saved somewhere, a lot of this exists only in your memory.

The purpose of this blog has always been to document my projects so that, when memory fails, I can remember what on Earth I’ve done over the years.

Here is a summary of the last 4.

› Continue reading
Friday, January 7th, 2022 car, computers, electronics, life No Comments

Cheap Solid State Drives Are, In Fact, Cheap

As of the last year or two, SSDs stopped being expensive, enthusiast-level components. The prices fell dramatically, and new players joined the game. Companies like ADATA, Patriot, and Sillicon Power undercut the prices of all major brands like Corsair, Samsung, and Intel.

How is it possible for those budget-friendly brands to sell a $70 drive that matches the speed, IOPS, and capacity of a $150 big-brand drive?

70080_l112712_l111657_l

I’ve spent money on both kinds, and it seems the answer lies in changes under the hood that the average user won’t notice.

Let’s take a look at the ADATA SX900, compared with the Patriot Blast and a cameo by the ADATA SP550.

› Continue reading

Tags: , , , ,

Thursday, June 16th, 2016 computers No Comments

STEVE – New chassis, 3D printing, fresh electronics!

IMG_20151122_133544Plenty has happened since our last post, and most of it can be summarized with the following picture.

Yup, lots of wires. New body, too. With my 3D printer back in service, cases were printed for the electronics, along with new wheels all around. These new wheels add around an inch of ground clearance, and better off-road traction.

As well, the first shipment of new parts has arrived: a USB WiFi adapter, an ultrasonic range sensor, H-Bridge motor controller, 9-DOF IMU and a temperature probe.

There are a lot of really cool developments in this post; let’s dive in.

› Continue reading

Tags: , , , , , ,

Saturday, December 12th, 2015 3d printing, electronics, networking, software, steve No Comments

Seagate Expansion 3TB External HDD – What’s Inside?

The majority of external hard drives are nothing more than a case, a USB-SATA adapter, and a standard 3.5″ or 2.5″ hard drive. Despite having this extra hardware, they sometimes actually cost less than their bare counterparts. Why might this be? External drives usually only carry a 1 year warranty, while the average desktop drive today might get 2 years of coverage.

tmp_15513-20150127_1737431938407003                  tmp_15513-20150127_1737581841296918

Above is a 3TB Seagate Expansion external hard drive. It has a USB 3.0 interface, and accepts 12VDC for power. I bought this a few years ago for $10 less than a bare 3TB SATA desktop drive.

Western Digital released a line of external hard drives where, when you take it apart, you don’t find a normal drive inside. Instead, the control board is actually a USB interface, not SATA.

Out of curiosity, and because I might put this drive inside my server in the future, I decided to tear it apart to see what I was working with.

› Continue reading

Tags: , , , , ,

Tuesday, January 27th, 2015 computers, electronics No Comments

Hacking a Laptop Battery – Increase Runtime

Do you have an old laptop whose battery struggles to reach 30 minutes? I used to.

An aftermarket 6-cell pack would have cost me around $40, which isn’t expensive, but the laptop was old (circa 2006) and not worth putting money into.  I happened to have a fair number of Lithium-Ion battery cells “lying around”, and decided to upgrade my pack, not just with new cells, but with more cells.

IMAG0680

This project was completed about a year ago, and I’m surprised I never posted it before!

› Continue reading

Tags: , , ,

Wednesday, January 22nd, 2014 computers, electronics, projects 1 Comment

Creating a Private + Guest WiFi Access Point (DD-WRT)

Screenshot_2013-12-31-15-32-18

Recently I was asked to configure a WiFi access point for a small business, who needed to have both a private internal network, and a public guest network.

There are many privacy concerns when having guests share your network. Specifically, it is desirable to:

  • Disallow access to any computers on the private network
  • Prevent network abuse (such as P2P file sharing)
  • Secure the access point itself from tampering or unauthorized access

Of course, all this needs to be done without impacting the desired service: Internet access.

Although I found many guides online for setting up a guest network when the access point was also the primary router, I didn’t find any that worked for the intended network. So, after some trial, error, and research, I managed to get it to work.

› Continue reading

Tags: , , , ,

Tuesday, December 31st, 2013 computers, networking, work 99 Comments

Bell Aliant FibreOP with a DD-WRT Router

This has been a long time coming. To summarize, Bell Aliant’s FibreOP Internet service includes a wireless router that has proprietary, limited firmware. It tends to suffer from latency and WiFi issues. So, I sought to replace it with my own wireless router! I ended up first building an overpowered but very functional pfSense Linux Firewall/Router.

Downstairs

Despite my monstrous UPS, I was not happy with the 1 hour run-time. The whole reason for the pfSense router was that FibreOP “hides” its Internet on a VLAN, which means a standard, consumer router will not be able to access the Internet. And from some forum posts I had read, it seemed DD-WRT was also incapable of it.

Finally, today, I pushed through and realized it takes only 4 simple steps to connect a DD-WRT router directly to the FibreOP modem.

Upstairs AP

› Continue reading

Tags: , , , ,

Saturday, November 16th, 2013 computers, networking, software 34 Comments

Making Bell FibreOP Work With a pfSense Router

Atlantic Canada is very fortunate to have access to Bell Aliant FibreOP Internet. It is a legitimate Fibre-to-the-Home (FTTH) service, in the same price range as cable and DSL offerings. Speeds start at 50/30 (download/upload in Mbps) for $70/month without any promotions.

FibreOP Plans

As great as the Internet itself is, the wireless router they include is the bottleneck. It is an Actiontec R1000H. Our biggest headaches with it were low WiFi throughput and frequent WiFi drop, but the interface was a little lacking in advanced features.

Actiontec

The logical solution is to use another router. Unfortunately, Bell has configured the service in a way that simply swapping in a new router will not work at all!

Through some research and my own trial and error, I was able to install pfSense to a spare computer, and take control of my Internet.

Disclaimer: Do not follow these steps if you have Bell’s IPTV service, as it will no longer work. There are other sites that describe how to keep those services working, but mine does not. As well, though there should be no impact, I advise against doing this if you have FiberOP Home Phone and rely on it for emergency communications.

This is not an easy task. It requires a very good understanding of computer networking, basic understanding of Linux networking terminology, and availability of network equipment (switches, wireless access points, cables, NICs). Chances are you found this page because you meet some of that description. Just know that if it isn’t working out, you can plug in the Actiontec and pretend it never happened.

› Continue reading

Tags: , , , , ,

Friday, August 23rd, 2013 computers, networking, software 19 Comments