{"id":53,"date":"2023-12-15T09:34:07","date_gmt":"2023-12-15T09:34:07","guid":{"rendered":"http:\/\/192.168.0.177\/wordpress\/?p=53"},"modified":"2024-01-19T02:22:39","modified_gmt":"2024-01-19T02:22:39","slug":"rpi-nas-part-3-network-connections","status":"publish","type":"post","link":"https:\/\/mpr-projects.com\/index.php\/2023\/12\/15\/rpi-nas-part-3-network-connections\/","title":{"rendered":"RPi NAS: Part 3 Network Connections"},"content":{"rendered":"\n<p>In the previous post we decided on booting from an SD card. Now we&#8217;ll have a look at the speed of different types of network connections.<\/p>\n\n\n<p>This post is part of a series about building a Network-Attached Storage (NAS) with redundancy using a Raspberry Pi (RPi). See <a href=\"https:\/\/mpr-projects.com\/index.php\/2023\/11\/13\/building-a-raspberry-pi-nas-with-data-redundancy-part-1-overview\/#RPi_NAS_Post_List\" data-type=\"post\" data-id=\"8\">here<\/a> for a list of all posts in this series.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"\/>\n\n\n\n<p>When we want to copy data to our NAS we first have to send it via a network from our computer to the Raspberry Pi. The speed of the network will be an upper limit for the overall transfer speed we can expect.<\/p>\n\n\n\n<p>I&#8217;m not considering a direct connection via USB for a few reasons. One is that I know from experience that I&#8217;m lazy when it comes to saving data. If I have to get up to grab hard drives from somewhere then I&#8217;ll usually postpone it<sup data-fn=\"a7ea7bc9-4eef-4a08-a5c7-1e076da0677d\" class=\"fn\"><a href=\"#a7ea7bc9-4eef-4a08-a5c7-1e076da0677d\" id=\"a7ea7bc9-4eef-4a08-a5c7-1e076da0677d-link\">1<\/a><\/sup>. I also don&#8217;t want to have potentially noisy hard drives sitting on my desk. Moreover, multiple users in my household should be able to access the drives so a USB-cable-bound storage solution would be inconvenient.<\/p>\n\n\n\n<p>So let&#8217;s have a look at our options for network connections!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ethernet<\/h2>\n\n\n\n<p>There are different Ethernet standards. As I&#8217;m writing this 1G Ethernet is widely available. It&#8217;s also the fastest standard that&#8217;s (natively) supported by the RPi 4b and 5. So let&#8217;s connect both the RPi and a computer the a router via Ethernet and test the speed of our connection. For this test we&#8217;ll use <em>iperf3<\/em>, which allows us to estimate the maximum achievable bandwidth of a network. On the RPi we run<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iperf3 -s<\/code><\/pre>\n\n\n\n<p>and on the computer sending the data we run<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iperf3 -c rpi.ip.add.ress<\/code><\/pre>\n\n\n\n<p>You may have to install <em>iperf3<\/em> first with <em>sudo apt install iperf3<\/em>. The table below shows the results:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Type of Connection<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br> in bits<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br> in bytes<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">Ethernet 1Gb\/s<\/td><td class=\"has-text-align-center\" data-align=\"center\">941Mb\/s<\/td><td class=\"has-text-align-center\" data-align=\"center\">~117.5MB\/s<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Both the RPi and my computer are connected via Ethernet. The results are the average over five separate runs of <em>iperf3<\/em>.<\/figcaption><\/figure>\n\n\n\n<p>So when it says Gigabit Ethernet then that really means that the physical connection supports transfers of up to 1Gb per second. However, not all of that bandwidth can be used for data transfer. To be able to communicate you need some sort of protocol that establishes and manages the communication (typically that&#8217;s TCP). This admin work uses some of the bandwidth. According to <a href=\"https:\/\/www.wiisfi.com\/#wifi5\">this article<\/a> there&#8217;s an overhead of approximately 5%, which is roughly what we&#8217;re seeing here (<code>(1000-941)\/1000 = 0.059<\/code>).<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e764401d94b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e764401d94b\" class=\"wp-block-image alignright size-medium wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3-300x200.jpg\" alt=\"\" class=\"wp-image-737\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3-300x200.jpg 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3-1024x682.jpg 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3-768x512.jpg 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3-1536x1023.jpg 1536w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3662_part3.jpg 1560w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Are you getting slower transfer speeds? The connection is only as fast as the slowest link. So your computer, the cable from your computer to the router, your router and the cable from your router to the RPi (and all other components that you might have in-between) must all support Gigabit Ethernet. For example, it should say at least Cat5e or Cat6 on your Ethernet cable, anything lower and you won&#8217;t get the full speed (larger numbers are fine but not necessary).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WiFi<\/h2>\n\n\n\n<p>WiFi is messy. There are many different standards and the speeds we will get depend on many factors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WiFi 5 Physical Speed<\/h3>\n\n\n\n<p>The latest and fastest WiFi standard that the RPi 4b (and the RPi 5) supports is WiFi 5 (<a href=\"https:\/\/en.wikipedia.org\/wiki\/IEEE_802.11ac-2013\">standard 802.11ac<\/a>). What speeds can we expect to get from WiFi 5 under ideal circumstances?<\/p>\n\n\n\n<p>The answer is a little involved because it depends on<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the number of antennae on your router,<\/li>\n\n\n\n<li>the number of antennae on your computer (e.g. the RPi),<\/li>\n\n\n\n<li>the bandwidth used and<\/li>\n\n\n\n<li>the modulation type.<\/li>\n<\/ul>\n\n\n\n<p>It&#8217;s probably clear what <em>number of antennae<\/em> means<sup data-fn=\"8031b7b0-7fa7-4b20-a202-7b48a9a903d3\" class=\"fn\"><a href=\"#8031b7b0-7fa7-4b20-a202-7b48a9a903d3\" id=\"8031b7b0-7fa7-4b20-a202-7b48a9a903d3-link\">2<\/a><\/sup>. But what&#8217;s that bandwidth? And what&#8217;s modulation type?<\/p>\n\n\n\n<p>A 5GHz WiFi connection communicates via radio waves whose frequencies are somewhere in the range of 5170 to 5895 Hertz<sup data-fn=\"aa64ebec-a8c7-4d34-a0f9-1395dba61ece\" class=\"fn\"><a href=\"#aa64ebec-a8c7-4d34-a0f9-1395dba61ece\" id=\"aa64ebec-a8c7-4d34-a0f9-1395dba61ece-link\">3<\/a><\/sup>. That&#8217;s a wide spectrum and a single connection doesn&#8217;t use all of it. Instead the spectrum is split up into bands of 20MHz. For example, the first band goes from 5170 to 5190. <\/p>\n\n\n\n<p>Bands can be combined. A connection can combine two adjacent bands for 40MHz, four for 80MHz or eight for 160MHz. Your connection over 40MHz will be roughly twice as fast as over 20MHz and your connection over 160MHz will be roughly eight times as fast as over 20MHz.<\/p>\n\n\n\n<p>There&#8217;s a similar trend for the number of antennae. If both the router and your computer have two antennae then the connection will be twice as fast compared to using only one antenna.<\/p>\n\n\n\n<p>Finally, modulation is an umbrella term for methods that combine multiple signals into one signal, thereby increasing the amount of information that can be transferred over a connection. The kind of modulation used depends on the quality of the WiFi signal. If you have a very good signal from the router (e.g. if you&#8217;re close to it and there is little interference from other networks), then a very fast modulation method can be used (and vice versa)<sup data-fn=\"c15cda16-2807-4260-97d4-4c22e80aeddf\" class=\"fn\"><a href=\"#c15cda16-2807-4260-97d4-4c22e80aeddf\" id=\"c15cda16-2807-4260-97d4-4c22e80aeddf-link\">4<\/a><\/sup>.<\/p>\n\n\n\n<p>If your router supports different characteristics than your computer then the smaller of the two will be used (e.g. if your router has 4 antennae and you computer has 2 then only 2 can be used).<\/p>\n\n\n\n<p>So what physical speeds can we expect to get over a 5GHz network? According to <a href=\"https:\/\/en.wikipedia.org\/wiki\/IEEE_802.11ac-2013#Data_rates_and_speed\">the standard<\/a>, a computer with one antenna, a bandwidth of 80MHz and the fastest type of modulation should result in a physical link rate of 433Mb\/s (~54MB\/s). If our computer has two antennae then we should get 867Mb\/s (~108MB\/s).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Number of Antennae<br>Router<\/th><th class=\"has-text-align-center\" data-align=\"center\">Number of Antennae<br>Computer<\/th><th class=\"has-text-align-center\" data-align=\"center\">Bandwidth<\/th><th class=\"has-text-align-center\" data-align=\"center\">PHY link rate<br>Mb\/s<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\">80MHz<\/td><td class=\"has-text-align-center\" data-align=\"center\">433<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">4<\/td><td class=\"has-text-align-center\" data-align=\"center\">1<\/td><td class=\"has-text-align-center\" data-align=\"center\">80MHz<\/td><td class=\"has-text-align-center\" data-align=\"center\">433<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">4<\/td><td class=\"has-text-align-center\" data-align=\"center\">2<\/td><td class=\"has-text-align-center\" data-align=\"center\">80MHz<\/td><td class=\"has-text-align-center\" data-align=\"center\">867<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">A few examples of the network speeds we can expect, given the number of antennae and a fixed bandwidth of 80MHz.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Channels<\/h3>\n\n\n\n<p>We said before that the 5GHz spectrum consists of many different bands (or channels). We can choose the band we want to use in our router&#8217;s settings. Does it matter which one we choose?<\/p>\n\n\n\n<p>An important point about bands is that they are shared with other routers (or access points). If a computer notices that some other device is already communicating over a channel (whether on your WiFi or your neighbour&#8217;s) then it will wait a little before it tries to communicate again. So if you and your neighbour share the same channels then your WiFi connection may get a lot slower.<\/p>\n\n\n\n<p>How can you find out if you&#8217;re sharing channels? There are a few tools available. I really like <a href=\"https:\/\/github.com\/uoaerg\/wavemon\">wavemon<\/a> which should be available for most Linux distributions. When you open it with <code>sudo wavemon<\/code> and press F3 you get a list of all WiFi networks and the channels they use (and a lot of other information). If many networks use the same channel as yours then you may want to look for a less crowded channel and update your router&#8217;s settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Communication Overheads<\/h3>\n\n\n\n<p>The speeds we saw before are physical speeds. As for Ethernet there are communication overheads, but they are a lot higher for WiFi. According to <a href=\"https:\/\/www.wiisfi.com\/#wifioverhead\">the website<\/a> I linked to earlier these tend to consume somewhere between 20% to 40% of the physical speed (there are a lot more details on the website, it&#8217;s well worth reading).<\/p>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"294\" height=\"116\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2024\/01\/rpi_ethernet_pc_wifi.png\" alt=\"\" class=\"wp-image-1155\"\/><\/figure>\n\n\n\n<p>Let&#8217;s do a little test. I&#8217;ve connected the RPi to my router via Ethernet so this side of the communication will be fast. The 5GHz WiFi uses a bandwidth of 80MHz and is on a channel that&#8217;s not shared with any neighbour. My laptop, which has two antennae, is connected to the 5GHz WiFi and it sits right next to the router so the fastest available modulation method (256 QAM) should be used. According to the standard the connection should give a physical speed of 867Mb\/s (~108MB\/s). Doing the same <em>iperf3<\/em> test as before I get connection speed of 76MB\/s, which is roughly 70% of the expected physical speed. So there&#8217;s an overhead of approximately 30%. That observation is consistent with the article mentioned above.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Type of Connection<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br>in bits<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br>in bytes<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">5GHz WiFi<\/td><td class=\"has-text-align-center\" data-align=\"center\">608Mb\/s<\/td><td class=\"has-text-align-center\" data-align=\"center\">~76MB\/s<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">The RPi is connected via Ethernet, my computer to the 5GHz WiFi. The results are the average over five separate runs of <em>iperf3<\/em>.<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">WiFi Speed on the RPi 4b<\/h3>\n\n\n\n<figure class=\"wp-block-image alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"294\" height=\"116\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2024\/01\/rpi_wifi_pc_ethernet.png\" alt=\"\" class=\"wp-image-1154\"\/><\/figure>\n\n\n\n<p>So, as before, we&#8217;ve picked a bandwidth of 80MHz and we&#8217;ve selected a channel that&#8217;s not used by any other WiFi. We put the Raspberry Pi right next to the router and connect it to the 5GHz network. Our computer is connected via Ethernet. <\/p>\n\n\n\n<p>What speed do we expect to get? Well, unlike my computer the RPi only has one antenna. However, it does support 80MHz and it supports 256 QAM so we&#8217;re looking at a physical transfer rate of 433Mb\/s and a data transfer rate of somewhere between 260Mb\/s and 346Mb\/s (40% overhead and 20% overhead).<\/p>\n\n\n\n<p>Let&#8217;s do the same <em>iperf3<\/em> test as before:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Type of Connection<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br>in bits<\/th><th class=\"has-text-align-center\" data-align=\"center\">Connection Speed<br>in bytes<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\">5GHz WiFi<\/td><td class=\"has-text-align-center\" data-align=\"center\">95Mb\/s<\/td><td class=\"has-text-align-center\" data-align=\"center\">~12MB\/s<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">The RPi is connected to the 5GHz WiFi, my computer via Ethernet. The results are the average over five separate runs of <em>iperf3<\/em>.<\/figcaption><\/figure>\n\n\n\n<p>That seems slow, even though we&#8217;ve tried to create perfect conditions for a high transfer rate. <\/p>\n\n\n\n<p>If you look online then you&#8217;ll find that other people got similar speeds. Most results I&#8217;ve seen are even a bit slower. I&#8217;ve only found one which is significantly faster at 114Mb\/s (see <a href=\"https:\/\/magpi.raspberrypi.com\/articles\/raspberry-pi-4-specs-benchmarks\">here<\/a>). If you manage to get that kind of speed please let me know under which conditions you tested and which hardware you used!<\/p>\n\n\n\n<p>So why are we getting such a slow speed? There could still be some interference from other networks or devices, or my router could be a bit slow, or the RPi&#8217;s power supply might not be the best. But these explanations seem unlikely to explain such a large speed difference (also, almost all other results online are not faster).<\/p>\n\n\n\n<p>The most likely reason I can think of is that the hardware used in the RPi is not able to provide faster speeds. For example, WiFi and Bluetooth are on the same chip and thus share the same bus so they may interfere with each other (although during the test I had no device connected via Bluetooth). The bus connecting the wireless chip may not support the full bandwidth. Also, the WiFi antenna is probably very small and may not be capable of providing high enough speeds. Can you think of any other reason? Let me know.<\/p>\n\n\n\n<p>Of course we could use a USB WiFi card to improve our signal and transfer speed. However, we will use the RPi&#8217;s USB 3 ports for attaching hard drives so they are not available for a WiFi card.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2.4GHz WiFi<\/h3>\n\n\n\n<p>WiFi 5 uses a 5GHz connection. But other standards also use 2.4GHz (and the latest standard, WiFi 6e, even uses 6GHz). The Raspberry Pi supports 2.4GHz but those connections are typically a lot slower than the 5GHz connection, so we won&#8217;t cover them here. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Decision Time<\/h2>\n\n\n\n<p>It&#8217;s really not much of a decision. The only way to get a decent transfer speed to and from our NAS is if the Raspberry Pi is connected via Ethernet. In that case we can expect transfers of up to 117.5MB\/s. This is also an upper bound for the transfer speed of the entire system.<\/p>\n\n\n\n<p>For best performance we should also connect our computer via Ethernet. With a good router and WiFi card we may still get decent speeds over a 5GHz network (I got ~76MB\/s).<\/p>\n\n\n\n<p>If you&#8217;ve got a WiFi 6e router and a computer with a WiFi 6e-capable WiFi card, you may even be able to get really high speeds over WiFi (unfortunately I don&#8217;t have either to test that :).<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e764401e964&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e764401e964\" class=\"wp-block-image aligncenter size-medium wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"200\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3-300x200.jpg\" alt=\"\" class=\"wp-image-741\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3-300x200.jpg 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3-1024x683.jpg 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3-768x512.jpg 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3-1536x1024.jpg 1536w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/DSCF3693_part3.jpg 1560w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">On this router is says WiFi 6. That&#8217;s not the same as WiFi 6e so don&#8217;t expect super high speeds from it<sup data-fn=\"7ce09f68-3435-4e9d-8df7-61615b799518\" class=\"fn\"><a href=\"#7ce09f68-3435-4e9d-8df7-61615b799518\" id=\"7ce09f68-3435-4e9d-8df7-61615b799518-link\">5<\/a><\/sup>.<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Footnotes:<\/p>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"a7ea7bc9-4eef-4a08-a5c7-1e076da0677d\">And then I run out of disk space during an update. If that happens, don&#8217;t reboot! Make space on your computer and rerun the system update. If you do reboot then there&#8217;s a good chance that your system won&#8217;t boot at all. When I ran out of disk space during an update I wasn&#8217;t paying attention and I did reboot, at least I tried to. Luckily, there&#8217;s an easy fix if your system doesn&#8217;t boot. Boot with a live boot medium, make space on your disk, chroot into the system and use snapper-rollback (see <a href=\"https:\/\/mpr-projects.com\/index.php\/2023\/07\/07\/snapper-rollback-on-arch-linux\/\" data-type=\"post\" data-id=\"1029\">this previous post<\/a>) to return to your pre-failed-update state. Then do the full system update. <a href=\"#a7ea7bc9-4eef-4a08-a5c7-1e076da0677d-link\" aria-label=\"Jump to footnote reference 1\">\u21a9\ufe0e<\/a><\/li><li id=\"8031b7b0-7fa7-4b20-a202-7b48a9a903d3\">If you&#8217;re from North America you may be wondering why I&#8217;m writing about insects. Of course I mean <em>antennas<\/em> but having lived in the UK for a large part of my life I&#8217;ve picked up their spelling. <a href=\"#8031b7b0-7fa7-4b20-a202-7b48a9a903d3-link\" aria-label=\"Jump to footnote reference 2\">\u21a9\ufe0e<\/a><\/li><li id=\"aa64ebec-a8c7-4d34-a0f9-1395dba61ece\">The subranges 5330 to 5490 and 5730 to 5735 are not used. <a href=\"#aa64ebec-a8c7-4d34-a0f9-1395dba61ece-link\" aria-label=\"Jump to footnote reference 3\">\u21a9\ufe0e<\/a><\/li><li id=\"c15cda16-2807-4260-97d4-4c22e80aeddf\">For more information about modulation see <a href=\"https:\/\/en.wikipedia.org\/wiki\/Quadrature_amplitude_modulation\">this Wikipedia<\/a> entry. <a href=\"#c15cda16-2807-4260-97d4-4c22e80aeddf-link\" aria-label=\"Jump to footnote reference 4\">\u21a9\ufe0e<\/a><\/li><li id=\"7ce09f68-3435-4e9d-8df7-61615b799518\">Note, if there are only very few users then WiFi 6 won&#8217;t give any speedup over WiFi 5. <a href=\"#7ce09f68-3435-4e9d-8df7-61615b799518-link\" aria-label=\"Jump to footnote reference 5\">\u21a9\ufe0e<\/a><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>In the previous post we decided on booting from an SD card. Now we&#8217;ll have a look at the speed of different types of network connections. When we want to copy data to our NAS we first have to send it via a network from our computer to the Raspberry Pi. The speed of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":736,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-single-with-sidebar-1","format":"standard","meta":{"_eb_attr":"","footnotes":"[{\"content\":\"And then I run out of disk space during an update. If that happens, don't reboot! Make space on your computer and rerun the system update. If you do reboot then there's a good chance that your system won't boot at all. When I ran out of disk space during an update I wasn't paying attention and I did reboot, at least I tried to. Luckily, there's an easy fix if your system doesn't boot. Boot with a live boot medium, make space on your disk, chroot into the system and use snapper-rollback (see <a href=\\\"https:\/\/mpr-projects.com\/index.php\/2023\/07\/07\/snapper-rollback-on-arch-linux\/\\\" data-type=\\\"post\\\" data-id=\\\"1029\\\">this previous post<\/a>) to return to your pre-failed-update state. Then do the full system update.\",\"id\":\"a7ea7bc9-4eef-4a08-a5c7-1e076da0677d\"},{\"content\":\"If you're from North America you may be wondering why I'm writing about insects. Of course I mean <em>antennas<\/em> but having lived in the UK for a large part of my life I've picked up their spelling.\",\"id\":\"8031b7b0-7fa7-4b20-a202-7b48a9a903d3\"},{\"content\":\"The subranges 5330 to 5490 and 5730 to 5735 are not used.\",\"id\":\"aa64ebec-a8c7-4d34-a0f9-1395dba61ece\"},{\"content\":\"For more information about modulation see <a href=\\\"https:\/\/en.wikipedia.org\/wiki\/Quadrature_amplitude_modulation\\\">this Wikipedia<\/a> entry.\",\"id\":\"c15cda16-2807-4260-97d4-4c22e80aeddf\"},{\"content\":\"Note, if there are only very few users then WiFi 6 won't give any speedup over WiFi 5.\",\"id\":\"7ce09f68-3435-4e9d-8df7-61615b799518\"}]"},"categories":[3,10],"tags":[9,7,4,5],"class_list":["post-53","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-projects","tag-data-safety","tag-greyhole","tag-linux","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":39,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/53\/revisions\/1441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media\/736"}],"wp:attachment":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}