<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Hardware on inherent site</title>
		<link>https://inherently.xyz/tags/hardware/</link>
		<description>Recent content in Hardware on inherent site</description>
		<generator>Hugo</generator>
		<language>en-us</language>
			<lastBuildDate>Mon, 28 Mar 2022 18:03:46 +0300</lastBuildDate>
			<atom:link href="https://inherently.xyz/tags/hardware/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Cisco SR2024C Repair</title>
				<link>https://inherently.xyz/blog/cisco-sr2024c-repair/</link>
				<pubDate>Mon, 28 Mar 2022 18:03:46 +0300</pubDate>
				<guid>https://inherently.xyz/blog/cisco-sr2024c-repair/</guid>
				<description>&lt;p&gt;One of my friends at university gave me a broken switch that seemed broken and I decided to fix it.&#xA;Join me on a pretty entertaining troubleshooting path that was not entirely necessary.&lt;/p&gt;&#xA;&lt;h2 id=&#34;backstory&#34;&gt;Backstory&lt;/h2&gt;&#xA;&lt;p&gt;This semester in university I am taking a CCNA class.&#xA;The learning path is split across two semesters, next semester I&amp;rsquo;ll take CCNA 2 to be ready to get the certification.&#xA;A few of my friends are also there an one of them happened to have a supposedly broken Cisco switch.&#xA;Great opportunity to use it for hands-on learning, I thought.&#xA;He said it wasn&amp;rsquo;t fully broken, it could turn on fine but would turn off after 10-20 minutes.&#xA;Not that bad. A little fan was also missing from it but that would be no more than 5-10 euros to replace.&#xA;He gave it to me one day, I took it home and that was that.&#xA;After a bit of research I realized the switch wasn&amp;rsquo;t managed meaning it didn&amp;rsquo;t have Cisco iOS capabilities.&#xA;Nevertheless, I like tech necromancy and network gear seldom goes unused.&#xA;So that&amp;rsquo;s basically how I got a &lt;a href=&#34;https://www.cisco.com/c/en/us/obsolete/switches/cisco-sr2024c-compact-24-port-10-100-1000-gigabit-switch.html&#34;&gt;Cisco SR2024C&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;initial-findings&#34;&gt;Initial Findings&lt;/h2&gt;&#xA;&lt;p&gt;After checking that the power plug looked fine and the ports didn&amp;rsquo;t look damaged, I decided to turn it on.&#xA;Indeed, after roughly 20 minutes it started boot-looping so the behavior was as described.&#xA;The switch wouldn&amp;rsquo;t completely shut off, instead it followed a little pattern:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;lights flash for a second the way they do when first plugged in&lt;/li&gt;&#xA;&lt;li&gt;lights go out same as when normally booting&lt;/li&gt;&#xA;&lt;li&gt;goto step 1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This meant that eventually anything plugged into it would drop off the network which is not good.&#xA;At this point I&amp;rsquo;m suspecting the power supply since the device is pretty old, about 7 years past its End-Of-Life date.&lt;/p&gt;&#xA;&lt;h2 id=&#34;open-wide&#34;&gt;Open Wide&lt;/h2&gt;&#xA;&lt;p&gt;Behavior confirmed and reproducible, we have a place to start from.&#xA;The device would need to be opened anyway in order to replace the fan and I&amp;rsquo;d like to inspect the inside too.&#xA;This specific switch is considered compact as noted by the ending &lt;code&gt;C&lt;/code&gt; in its model number (SR2024C).&#xA;Its width is a bit more than the width of the ports, 24 RJ45 gigabit ethernet ports and two miniGBIC.&#xA;It has holes to attach rackmount ears if desired but I wasn&amp;rsquo;t provided those.&#xA;On the front there is a plastic cover that fits over the 4 sets of ports (3 sets of 8xRJ45 and one set of the 2 miniGBIC) and also clips on to the top and bottom metal pieces.&#xA;I dinged the plastic since I used a pair of scissors to pry it off but that&amp;rsquo;s alright, we&amp;rsquo;re going for functional not pretty.&#xA;Following that, I had to carefully unhook some little metal tabs that held the top half of the metal case to the bottom half.&#xA;Push a little here, pull a little there and ta-da! We&amp;rsquo;re in.&#xA;The metal tabs were annoying to hook and unhook so I used a pair of pliers to twist them off.&#xA;On the left side there is a mesh cutout big enough for a 40mm fan and on the right side it&amp;rsquo;s almost entirely mesh.&#xA;Weird for a rackmountable device to have side-to-side airflow but what do I know.&#xA;The bottom is entirely bare and so is the top with the exception of a Cisco logo.&lt;/p&gt;&#xA;&lt;h2 id=&#34;guts&#34;&gt;Guts&lt;/h2&gt;&#xA;&lt;p&gt;There are two PCBs/boards inside, the main board and an open-frame power supply.&#xA;They are connected by a weird cable I&amp;rsquo;ve never seen before and have connectors I&amp;rsquo;ve never seen before.&#xA;On the PSU side it&amp;rsquo;s a 6-pin and a smaller 2-pin that merge into an 8-pin on the main board side.&#xA;The power plug is attached to the PSU through a 2-pin cable with a similar connector as well as a chassis ground point.&#xA;One good thing is that they all look removable and fairly easy to probe with a multimeter.&#xA;Overall The internals appear understandable so I&amp;rsquo;m fairly confident I can at least identify the issue.&lt;/p&gt;&#xA;&lt;h2 id=&#34;power&#34;&gt;Power&lt;/h2&gt;&#xA;&lt;p&gt;Even though I commented about the ease of probing with a multimeter, I&amp;rsquo;m sad to say that I didn&amp;rsquo;t have one previous to this experience.&#xA;Since I mostly work with software, either configuring or writing it, there was never a real need to own a multimeter.&#xA;I hopped on to one of the local electronic hardware supply stores&amp;rsquo; website and found one for around 15 euros, the &lt;a href=&#34;https://www.uni-trend.com/meters/html/product/General_Meters/DigitalMultimeters/UT131_Series/UT131C.html&#34;&gt;UNI-T UT131C&lt;/a&gt;.&#xA;It arrived the next morning so I got to work and confirmed what repair videos from similar switches said, the main board uses 5V power.&#xA;The thing is, in those other videos the voltage was lower and that was what was causing issues.&#xA;In my case it was nice and steady at 4,98V which is within margin of error meaning nowhere near enough to cause a malfunction.&#xA;You can never be certain though so I had ordered some alligator clips which I used for powering the main board from an ATX PSU&amp;rsquo;s molex connector.&#xA;It didn&amp;rsquo;t result in a normal boot but I at least got a power light.&#xA;This ruled out my main hypothesis this far which was that the switch&amp;rsquo;s power supply was going bad.&lt;/p&gt;&#xA;&lt;h2 id=&#34;accidental-solution&#34;&gt;Accidental Solution&lt;/h2&gt;&#xA;&lt;p&gt;In the process of hooking the switch up to the ATX power supply, I had it open for troubleshooting.&#xA;Perhaps accidentally, just to confirm that the problem was still there I reconnected the built-in power supply again.&#xA;After leaving for an hour or so to do something else, I came back and saw it wasn&amp;rsquo;t boot looping.&lt;/p&gt;&#xA;&lt;p&gt;What?&lt;/p&gt;&#xA;&lt;p&gt;Peculiar, I thought. Sure enough, plugging in my laptop to it showed a link light and the laptop got an IP address.&#xA;What the&amp;hellip; WAIT! By hovering over it I could feel the power supply putting out some heat.&#xA;No way it could be this simple, right? Could it be overheating?&#xA;I turned it off, closed the case and put a 120mm fan right up against the right side to pull air out of the switch.&#xA;To my surprise that was adequate to keep it cool enough even while closed.&#xA;This was so embarassingly simple that I had to test again.&#xA;I turned the switch on, let it get to the point where it starts constantly resetting and then put the fan next to it.&#xA;After about 5 minutes it started operating completely fine, I was in awe of how simply the problem was.&lt;/p&gt;&#xA;&lt;h2 id=&#34;fan-replacement&#34;&gt;Fan Replacement&lt;/h2&gt;&#xA;&lt;p&gt;Moving on to a permanent solution, I needed a fan to replace then one that was missing.&#xA;Looking things up online, I realized I need a 5V 1W fan that is 40mm wide and 20mm thick.&#xA;However, th only thing I found was a 0.75W fan for 8,23 euros.&#xA;Good enough I guess I&amp;rsquo;ll just get two of those, one for intake and one for exhaust.&#xA;Funny thing about plans, the store had only one of the 0.75W version and then one that was 0.54W.&#xA;Sigh&amp;hellip; Fine, I&amp;rsquo;ll see how I&amp;rsquo;ll arrange them.&#xA;A day later they came in, I tested them both out to see that they worked and put in the 0.75W fan just to be sure the internals get enough airflow.&#xA;After a 24-hour testing period, I think it&amp;rsquo;s safe to say that the problem is solved.&lt;/p&gt;&#xA;&lt;h2 id=&#34;use-case&#34;&gt;Use Case&lt;/h2&gt;&#xA;&lt;p&gt;The current plan is to use the switch for a VLAN so I don&amp;rsquo;t have to waste multiple ports from my main 24-port switch and be reconfiguring them.&#xA;Yes, port-based VLANs aren&amp;rsquo;t ideal but I need a place to test my next network remake without bothering everything else.&#xA;Even with the new fan it&amp;rsquo;s not very quiet probably due to the whine that small fans make but I have plenty of noisy things in my room.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;It was a long and weird journey but it ended well and I now have a new switch.&#xA;The troubleshooting was fun, as it always is, the new tools are fun to have and I got a lesson about assuming the problem is more complicated than it is.&#xA;Thank you for reading, I hope you enjoyed the journey cause I sure did.&lt;/p&gt;&#xA;</description>
			</item>
			<item>
				<title>GK61 Review</title>
				<link>https://inherently.xyz/blog/gk61-review/</link>
				<pubDate>Sat, 04 Sep 2021 14:49:11 +0300</pubDate>
				<guid>https://inherently.xyz/blog/gk61-review/</guid>
				<description>&lt;h2 id=&#34;intro&#34;&gt;Intro&lt;/h2&gt;&#xA;&lt;p&gt;A little less than a month ago I bought a new keyboard, the HK Gaming GK61.&#xA;It&amp;rsquo;s a 60% mechanical keyboard with RGB backlighting and a few different switch options.&#xA;I&amp;rsquo;ve been using full-size membrane keyboards up until now so this was quite a bit different.&lt;/p&gt;&#xA;&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;&#xA;&lt;p&gt;The GK61 comes in black, white, red or pink colors.&#xA;It can be outfitted with gateron optical black, blue, brown, red, silver or yellow switches.&#xA;As denoted by the name, its 60% size is a noteworthy selling point.&#xA;Of course you can&amp;rsquo;t buy anything without RGB nowadays so it has that too.&#xA;There is also a piece of software for configuring keyboard settings and saves them on the keyboard itself.&#xA;I paid 70 euros for it in greece and I bought the black model with blue switches.&#xA;With the big picture view out of the way, let&amp;rsquo;s get a bit more into the specifics.&lt;/p&gt;&#xA;&lt;h2 id=&#34;switches&#34;&gt;Switches&lt;/h2&gt;&#xA;&lt;p&gt;As previously mentioned, I went with the gateron optical blue switches.&#xA;This was mostly done because I like the noise and tactile feedback.&#xA;I have a habit of bottoming out the keys so blues being a little slower for people that only barely activate the switch is not an issue.&#xA;One potential drawback I was made aware of is that optical switches are not as common so replacing them is potentially more difficult.&#xA;All the keys work fine, the sound is enjoyable, the physical feedback is good so no real complaints here.&lt;/p&gt;&#xA;&lt;h2 id=&#34;60-layout&#34;&gt;60% layout&lt;/h2&gt;&#xA;&lt;p&gt;The size of the keyboard was a big change for me but also one of the big reasons I chose it.&#xA;The unfortunate part is that it was only available in ANSI and not ISO locally but I&amp;rsquo;m aware that an ISO version exists.&#xA;So what&amp;rsquo;s the deal with the 60% size? What does that mean exactly?&#xA;There is no numpad, no F1 to F12, no end, home, pgup, pgdown, insert, delete or arrow keys.&#xA;What does exist however, is an Function (Fn) key that acts as a modifier.&#xA;This means that you can press Fn and something else to access the alternative function of a key.&#xA;It saves size but can also be a bit annoying when you can&amp;rsquo;t access some keys directly.&#xA;My personal changes were that I remapped caps lock to escape, right alt to left arrow, right ctrl to right arrow and escape to backtick.&#xA;I&amp;rsquo;m slowly finding out that I&amp;rsquo;d prefer it if there were arrow keys that are just arrow keys on the main layer.&#xA;Overall I like the small size but I think a 65% size with an ISO layout would be a better option for me.&lt;/p&gt;&#xA;&lt;h2 id=&#34;software&#34;&gt;Software&lt;/h2&gt;&#xA;&lt;p&gt;This is where things get a bit more gloomy.&#xA;There exists software for the GK61 but not all software utilities are the same.&#xA;In specific, I got a GK61v2 which has a serial number that starts with &lt;code&gt;GK61US&lt;/code&gt; and things get interesting.&#xA;The earlier versions of this keyboard use seemingly different firmware and different software utilities.&#xA;Additionally, the alternative key functions are different for the GK61v2 so the M1, M2, M3 mode keys don&amp;rsquo;t work.&#xA;At any rate, the software works fine.&#xA;It allows remapping keys as well as customizing the lighting mode.&#xA;Well&amp;hellip;about that lightning customization&amp;hellip;&#xA;One would think that customizing one of the custom lighting modes would allow it to be permanently saved but no.&#xA;If you make a custom one and then hit Fn and \ to cycle all of them, your custom mode will be nowhere to be found.&#xA;This is unfortunate but I don&amp;rsquo;t mind since I just wanted to have a solid color and move on however it&amp;rsquo;s a downside worth mentioning.&#xA;In totality the software side of the keyboard is a downside but it isn&amp;rsquo;t completely unusable I guess.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;After almost a month of use, I&amp;rsquo;m overall pretty happy with the GK61.&#xA;For 70 euros it was a fairly big investment, it was my first mechanical keyboard as well as my first 60% keyboard.&#xA;Ideally I would like to have an ISO layout and separate arrow keys so when I upgrade in the future I&amp;rsquo;ll look at getting a 65% one with the appropriate key layout or possibly build a custom one.&#xA;Overall I&amp;rsquo;d recommend it just be aware that it&amp;rsquo;s a lot smaller than what you might be used to.&#xA;Thank you for reading, I hope you got something out of this.&lt;/p&gt;&#xA;</description>
			</item>
			<item>
				<title>Hardware Updates 2020</title>
				<link>https://inherently.xyz/blog/hardware-updates-2020/</link>
				<pubDate>Fri, 15 Jan 2021 21:10:38 +0200</pubDate>
				<guid>https://inherently.xyz/blog/hardware-updates-2020/</guid>
				<description>&lt;h2 id=&#34;getting-a-real-storage-server&#34;&gt;Getting a real storage server&lt;/h2&gt;&#xA;&lt;p&gt;During 2020 I got a few upgrades to my setup but I don’t remember the exact order of them.&#xA;The most exciting was a 4U rackmount case that I could use to put up to 6×3.5″ hard drives by default and up to 9 with a 2×5.25″ to 3×3.5″ hotswap bay.&#xA;Also I bought 3x4TB ironwolf hard drives to put in it initially because my 2x2TB mirror was regularly reaching 95% capacity meaning I had to prune the snapshots regularly and couldn’t use it to store more files on it.&#xA;This made me warm and fuzzy inside but the old mirror had to sit on the bench for this transition.&#xA;The power supply in my server had only 4 sata connections which would be enough for a boot SSD and one of the arrays but not everything at once.&#xA;Initially that wasn’t a problem, installed truenas core on the ssd, set up the 3 4TB hard drives in a raidz1 configuration and started creating datasets and shares.&lt;/p&gt;&#xA;&lt;h2 id=&#34;adding-some-extra-spice&#34;&gt;Adding some extra spice&lt;/h2&gt;&#xA;&lt;p&gt;After a while I wanted to access the data on the old miror which meant having to buy a new power supply so I got one.&#xA;Namely the Corsair CV550 which has 7 sata power connectors, more than enough to power the five hard drives and the one SSD.&#xA;Moving on to issue number two, data connections of which the motherboard only had 4 of.&#xA;Admittedly 50 euros for an extra 4 sata ports seemed excessive but I saved up and acquired a nice and simple pcie card that did the job, no raid controller of course.&#xA;Alright, we’re cooking with gas now, storage is taken care of.&lt;/p&gt;&#xA;&lt;h2 id=&#34;dealing-with-separation-of-concerns&#34;&gt;Dealing with separation of concerns&lt;/h2&gt;&#xA;&lt;p&gt;However, I used to have a multi-purpose server and now it is just a NAS so I can’t run all my services anymore.&#xA;Fear not because the trusty old and used Dell Optiplex came to the rescue.&#xA;A shop near my house had one with an i5 2400 and 4gb of ram as well as a 250gb hard drive with windows on it for just 130 euros so I jumped on it.&#xA;First things first, I can&amp;rsquo;t be using a mechanical hard drive for the operating system and proxmox doesn&amp;rsquo;t dual boot so the HDD has to be replaced.&#xA;Luckily the 240gb SSD from when I originally built my desktop is still alive and it&amp;rsquo;ll do more than fine for this purpose.&#xA;The hard drive will be put aside for now but rest assured I do plan to use it at some point.&lt;/p&gt;&#xA;&lt;h2 id=&#34;serially-accessing-memories-about-ram-upgrades&#34;&gt;Serially accessing memories about ram upgrades&lt;/h2&gt;&#xA;&lt;p&gt;More importantly, I got a handle on the ram situation of my NAS.&#xA;Upgraded that beast from 12 to 16 gigabytes of ram which left the 4gb stick as a spare.&#xA;Not being one to miss out on some extra ram, the spare got added to the optiplex.&#xA;Going from 4 to 8 is nice but I want to run more than 2 virtual machines.&#xA;With that in mind and a deal available, I added an 8gb to the optiplex.&#xA;So we&amp;rsquo;re up to 16(8+8) gigabytes for the NAS and 16(2+2+4+8) gigabytes for the server..&#xA;An odd configuration but ram is ram and you bet I’ll use it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;Perfect, we had storage and now we have compute as well.&#xA;How was this hardware used though? Check back later (or read the next post if it&amp;rsquo;s up) to find out.&lt;/p&gt;&#xA;</description>
			</item>
			<item>
				<title>Computers Were Faster</title>
				<link>https://inherently.xyz/blog/computers-were-faster/</link>
				<pubDate>Tue, 29 Dec 2020 17:10:41 +0200</pubDate>
				<guid>https://inherently.xyz/blog/computers-were-faster/</guid>
				<description>&lt;p&gt;I own 3 operational 32-bit computers and I find them fun to play with and useful for software projects.&#xA;Two of them are socket 475 and one of them is for slot form factor intel cpus.&#xA;For the slot form factor one, I have a Celeron, a Pentium II and a Pentium III.&#xA;The socket 478 based ones are much closer to usable for most of my use cases and the other one is fun to tinker with.&#xA;How can that &amp;ldquo;&amp;ldquo;obsolete trash&amp;rdquo;&amp;rdquo; be useful, one might rightfully wonder.&lt;/p&gt;&#xA;&lt;h2 id=&#34;my-use-cases&#34;&gt;My Use Cases&lt;/h2&gt;&#xA;&lt;h3 id=&#34;development-use-case&#34;&gt;Development use case&lt;/h3&gt;&#xA;&lt;p&gt;Computers with less than 4GB of RAM and 2 cores are completely unusable and nobody should ever touch them, a &amp;ldquo;muh modern&amp;rdquo; advocate might cry.&#xA;However I use those computers at least once a week for various tasks.&#xA;First off, as a 32-bit docker registry. They don&amp;rsquo;t need to mix with the rest of the environment since there is no actual dependency between the 32bit and 64bit infrastructure.&#xA;In addition, I can see how long it takes to build a certain image based on my software, test its performance and experiment with multi-architecture images.&#xA;I would do the same thing for the raspberry pi but I only have one and that is not enough to warrant the effort.&#xA;If the above wasn&amp;rsquo;t enough, they are very useful for testing things such as bare metal provisioning with a mostly DIY setup, how to configure new things I&amp;rsquo;m interested in such as the aforementioned DIY bare metal provisioning solution as well as new software stacks like ELK or TIG.&#xA;They are also useful for API load testing and discovering where the bottlenecks are in a piece of software.&#xA;On a newer multi-core cpu with loads of RAM and fast storage the bottleneck only shows up when the workload origanically overwhelms the software.&#xA;However on a more limited system it becomes apparent very quickly where the bottleneck could be.&#xA;For example, if the hard drive access is more than it should be, you hear the damn thing click every time so you know where to look.&lt;/p&gt;&#xA;&lt;h3 id=&#34;networking-use-case&#34;&gt;Networking Use Case&lt;/h3&gt;&#xA;&lt;p&gt;In addition, old computers make great routers. Routers? They&amp;rsquo;re old and weak computers you might think.&#xA;Well, that anemic MIPS or ARM based all-in-one network box that many ISPs provide you with has a CPU that is orders of magnitude slower than either of my 32bit boxes. For the router use case the same thing applies to the amount as well as speed of RAM.&#xA;In fact, that&amp;rsquo;s how I originally got into DIY and selfhosting.&#xA;The case that used to hold my server had one of the 32-bit motherboards and cpu and ram as well as a hard drive.&#xA;After finding about pfsense and having that computer as a spare, naturally, I gave it a try.&#xA;A quick install of pfsense later and I was learning about DNS, DHCP, ARP requests, MAC addresses, gateways, how to set up an access point and started my journey into learning about networking.&#xA;Another use that requires a somewhat low-cost investment is getting a picoPSU or microPSU or something to that extent to power one of those 32-bit machines, connect it to a TV and use it as a dashboard display for monitoring software.&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s not the end and imagination is the main limit into making this sort of hardware perform a useful task.&lt;/p&gt;&#xA;&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;&#xA;&lt;p&gt;Before you go around calling older computers obsolete, check if PEBCAK is the bottleneck.&#xA;Thank you for reading, if you have a cool project using older hardware, feel free to let me know.&lt;/p&gt;&#xA;</description>
			</item>
	</channel>
</rss>
