The TOFFEE Project
HOMEDOCUMENTATIONUPDATESVIDEOSRESEARCHDOWNLOADSPONSORSCONTACT


RESEARCH 》 Raspberry Pi as a Networking Device

Raspberry Pi is often used as a single board computer for applications such as IoT, hobby projects, DIY, education aid, research and prototyping device. But apart from these applications Raspberry Pi can be used for real-world applications such as in making a full-fledged networking devices. Raspberry Pi is a single board ARM based hardware which is why it is also classified as ARM based SoC (System on Chip) computer. Since it is ARM based it is highly efficient, tiny form-factor and lower in power consumption with moderate computational power. This will allow it to work several hours on emergency battery backup power supply such as low-cost domestic UPS and or some renewable energy source, which is a prerequisite for a typical networking device. As we know quite often these need to be switched on 24/7 and reliable.

ARM based SoC boards are already quite often being used as Networking devices. Here are some examples:

NAS Product: NETGEAR - ReadyNAS 102, ReadyNAS 104 series NAS products uses Marvell® Armada 370 1.2GHz SoC
Datasheet: http://www.marvell.com/embedded-processors/armada-300/assets/Marvell_ARMADA_370_SoC.pdf
Hardware Specifications: http://www.marvell.com/embedded-processors/armada-300/assets/ARMADA370-datasheet.pdf

Wi-Fi Gigabit Router: Kasda KA1900, TP-LINK Archer C9, TP-LINK Touch P5 - BCM4709 - ARM Cortex A9 1 GHz SoC
For more details to find entire series of Broadcom ARM processor: https://wikidevi.com/wiki/Broadcom

NAS Product: Xiaomi MiWiFi 802.11ac NAS Powered by Broadcom BCM4709 SoC
Read more about this product: Xiaomi MiWiFi 802.11ac NAS

Now let us compare with Raspberry Pi hardware:

Raspberry Pi 2 Model B - Broadcom BCM2836 900 MHz quad-core ARM Cortex A7
Official Raspberry Pi website: https://www.raspberrypi.org/products/raspberry-pi-2-model-b/

This shows even a Raspberry Pi is an excellent platform for building customized networking devices such as Home routers, Firewall devices, network gateways, IDS/IPS devices, Network monitoring, VOIP device, WAN Optimization devices, etc. So with a specific software meant for specific use-case any Raspberry Pi device can morph into a tiny desktop, or into a serious Network Device. Now let us explore various Raspberry Pi based software projects each with a specific use-case.

Wi-Fi access point:
Here is a list of few projects (or software solutions) with which you can turn your existing Raspberry Pi device into a quick dedicated Wi-Fi access point.

Project: The Pi-Point Raspberry Pi Wireless Access Point
Project website: http://www.pi-point.co.uk
Pi-Point is one of the top ten projects on TechRepublic. With Pi-Point you can extend your existing WiFi Network, create an access point, and so on. In other words you can make a Raspberry Pi device into a networking device and not only that you can also learn/debug/hack the network packets/data.

Project: Raspberry Pi WAN Emulator with TOFFEE-Mocha
Project URL: http://www.the-toffee-project.org/index.php/documentation/29-toffee-mocha-documentation-toffee-mocha-1-0-14-1-rpi2
TOFFEE-Mocha is an open-source WAN Emulation software which can be used to emulate (simulate) WAN networks. You can build test WAN networks and emulate WAN like behavior with TOFFEE-Mocha such as packet delays, random packet drops, packet corruption and so on. TOFFEE-Mocha can also be used as a tool to build TOFFEE WAN Optimization test setup at your lab. With the Raspberry Pi TOFFEE-Mocha release you can turn any Raspberry Pi2/3 into a dedicated WAN Emulator (network simulator) lab testing device.

NAS Micro Storage device:
You can build a DIY NAS server with Raspberry Pi. The idea here is to create a shared file-system resource at your home, so that you can access these common files from any device, such as mobile phones, smart TVs, share/upload pictures and videos from your camera for your family members and lot more interesting things. So there are various DIY Raspberry Pi NAS server build guides you can refer and build your own device at home. Here are some of my interesting links on this DIY:
http://elinux.org/R-Pi_NAS
http://pimylifeup.com/raspberry-pi-nas/
http://lifehacker.com/5988835/turn-a-raspberry-pi-into-a-low-power-nas
https://www.stewright.me/2013/05/turn-a-raspberry-pi-into-a-nas-network-attached-storage-server/

Benchmark Raspberry Pi and other embedded SoC with TrueBench:
TrueBench is an unique open-source benchmarking system in which the core system performance and efficiency parameters are measured at extreme high resolution in the order of several million/billion µ-seconds for a given specific task. TrueBench is a part of The TOFFEE Project research. With TrueBench Raspberry Pi 3, Raspberry Pi 2B and Raspberry Pi 2 are benchmarked and you can do a comparative analysis with standard mainstream x86 devices. For more details: visit TrueBench

Off-Grid Solar Power System for Raspberry Pi:
When you choose to use your Raspberry Pi device as your IoT based remote weather station or if you are building Linux kernel (like kernel compilation) within the same, you need a good uninterrupted power source (UPS). But if you are using it on site or in some research camping location you can choose to power your Raspberry Pi device with your custom off-grid solar power source. Kindly read my complete article about the same HERE.
Off-Grid Solar Power System for Raspberry Pi

Custom Linux Kernel compilation in Raspberry Pi:
At any case if you are interested learning Linux Kernel internals with Raspberry Pi and want to custom inject your code in Linux Kernel and or build your network stack for a networking device you can refer my video:

💎 TOFFEE-MOCHA new bootable ISO: Download
💎 TOFFEE Data-Center Big picture and Overview: Download PDF


Recommended Topics:

INDEX :: Content Delivery Networks or Content Distribution Networks (CDN) ↗
Saturday' 13-Mar-2021

The TOFFEE Project :: TOFFEE-Butterscotch :: Save and Optimize your Internet/WAN bandwidth ↗
Saturday' 13-Mar-2021
TOFFEE-Butterscotch is an open-source software which can be used to save and optimize your Internet/WAN bandwidth. Unlike TOFFEE (and TOFFEE-DataCenter) TOFFEE-Butterscotch is a non peer-to-peer (and asymmetric) network optimization solution. This makes TOFFEE-Butterscotch an ideal tool for all Home and SOHO users.

Tracking Live Network Application Data - in a WAN Acceleration (WAN Optimization) Device ↗
Saturday' 13-Mar-2021

Network MTU research and optimization of WAN Links ↗
Saturday' 13-Mar-2021
Network MTU research and optimization of WAN Links

TOFFEE-Mocha WAN Emulator Jitter Feature ↗
Saturday' 13-Mar-2021

A study on WAN Optimization Techniques ↗
Saturday' 13-Mar-2021
There are various techniques with which one can optimize their WAN Network Data. Any long distance communication can be considered as WAN Network. A decade ago any network connecting two countries, considered as a WAN network, and a network within a city as MAN and soon. But these days in general any long distance communication is considered as WAN Network. Such as your Mobile communication networks, Satellite networks, Space Networks (Deep space networks), Trans-Atlantic cable networks, etc.



Bitcoin Mining - Blockchain Technology - Network Optimization via TOFFEE Data-Center WAN Optimization ↗
Saturday' 13-Mar-2021
Bitcoin Mining - Blockchain Technology - Network Optimization via TOFFEE Data-Center WAN Optimization

Internet optimization through TOFFEE-DataCenter WAN Optimization Demo ↗
Saturday' 13-Mar-2021
Internet optimization through TOFFEE-DataCenter WAN Optimization Demo

TOFFEE-DataCenter with GlusterFS Storage Cluster ↗
Saturday' 13-Mar-2021

The TOFFEE Project :: TOFFEE-Butterscotch :: Save and Optimize your Internet/WAN bandwidth ↗
Saturday' 13-Mar-2021
TOFFEE-Butterscotch is an open-source software which can be used to save and optimize your Internet/WAN bandwidth. Unlike TOFFEE (and TOFFEE-DataCenter) TOFFEE-Butterscotch is a non peer-to-peer (and asymmetric) network optimization solution. This makes TOFFEE-Butterscotch an ideal tool for all Home and SOHO users.



Featured Educational Video:
Watch on Youtube - [1836//1] x257 tp-link UE300 Linux Kernel Realtek Driver Codewalk rtl8153a-3 r8152 USB 3.0 to Gigabit - Part1 ↗

Amazon Prime video - Video Acceleration No more Buffering Problems - WAN Acceleration ↗
Saturday' 13-Mar-2021

TrueBench - Linux CPU Benchmarking system ↗
Saturday' 13-Mar-2021
TrueBench is an unique open-source benchmarking system in which the core system performance and efficiency parameters are measured at extreme high resolution in the order of several million/billion µ-seconds for a given specific task. TrueBench is a part of The TOFFEE Project research.

Building my own CDN - Minify Script files - Update: 23-July-2016 ↗
Saturday' 13-Mar-2021
One of the suggestions Google PageSpeed Insights tool suggested for The TOFFEE Project website is to minify the css and java script files. Minify Script files: When you read online about minification of your web script files, often they highlight file size savings and thus resulting faster download time and better website performance.

CDN Hosting ↗
Saturday' 13-Mar-2021
It is quite interesting that there are few web hosting firms are offering direct CDN based hosting services. Since it is a direct CDN based hosting, it is cheap, extremely easy or transparent CDN service. It is transparent, since each time you publish your content in the hosting web-server (origin server), it is immediately is in sync automatically in the user-serving CDN caching machines. Since the hosting vendor and the CDN vendor are all the same, it is also easy to use their services. There is no incompatibility issues, interoperability issues, and better integrated analytics, are all the benefits of CDN Hosting services.




TOFFEE Data-Center optimized Internet of Things (IoT) Platform ↗
Saturday' 13-Mar-2021



Research :: Optimization of network data (WAN Optimization) at various levels:
Network File level network data WAN Optimization


Learn Linux Systems Software and Kernel Programming:
Linux, Kernel, Networking and Systems-Software online classes


Hardware Compression and Decompression Accelerator Cards:
TOFFEE Architecture with Compression and Decompression Accelerator Card [CDN]


TOFFEE-DataCenter on a Dell Server - Intel Xeon E5645 CPU:
TOFFEE-DataCenter screenshots on a Dual CPU - Intel(R) Xeon(R) CPU E5645 @ 2.40GHz - Dell Server