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:

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

Demo TOFFEE-DataCenter WAN Optimization packaging feature ↗
Saturday' 13-Mar-2021

My Lab Battery Purchase and Service logs for Research ↗
Saturday' 13-Mar-2021
Here is a complete log of my lab battery purchase, service record which I maintain in Google drive. These I use for my home (or my family generic use) as well as a part of my home lab. I maintain a detailed log this way to monitor the failure rate of these batteries. This will allow me to select a specific brand/model which has higher success rate and to monitor any premature failure/expiry. The service log helps me to monitor and schedule the next service routine so that I can maintain these batteries in tip-top condition.

TOFFEE-Mocha WAN Emulation software development - Update: 18-June-2016 ↗
Saturday' 13-Mar-2021
In the previous update (17-Jun-2016) I discussed about the upcoming new Random Packet drop feature along with other completed features. Now I completed the entire TOFFEE-Mocha Random packet drop feature. I completed all the kernel components and the UI support of the same. And to make GUI settings more organized I split the earlier Basic-Settings page into two separate pages namely: Packet Drop and Packet Delay. So this way it is simple to understand settings according to their functionality.

Tracking Live TCP Sessions (connections) - WAN Optimization Device ↗
Saturday' 13-Mar-2021

TOFFEE-Butterscotch Bandwidth saver software development - Update: 17-Nov-2016 ↗
Saturday' 13-Mar-2021
Here is my second software development update of TOFFEE-Butterscotch. In the previous update (28-Oct-2016) I discussed about the Alerts, etc. Whereas in my first TOFFEE-Butterscotch news update I have introduced about TOFFEE-Butterscotch research, project specifications, use-cases, etc.



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

TOFFEE-Mocha WAN Emulation software development - Update: 17-June-2016 ↗
Saturday' 13-Mar-2021
Now I supported and finished complete GUI support of these parameters so that you can configure, store, reboot and the same will restore upon reboot. Besides I complete the TOFFEE-Mocha Big-Picture page. The Big picture is an interface where you can find all the configuration (or settings) of the TOFFEE-Mocha. This is almost similar to CISCO device show all command but in graphical representation. Sometimes a network admin can also print the Big Picture page and paste it near to the device to refer its settings.

TOFFEE-Butterscotch Bandwidth saver software development - Update: 28-Oct-2016 ↗
Saturday' 13-Mar-2021
Here is my first software development update of TOFFEE-Butterscotch. In my first TOFFEE-Butterscotch news update I have introduced about TOFFEE-Butterscotch research, project specifications, use-cases, etc. Introducing TOFFEE-Butterscotch Alerts: These are simple packet counters which corresponds to the filter type. For example if the incoming TCP-SYN packets are blocked then its corresponding alert counter will increment whenever such a packet arrives and gets filtered (dropped).

TOFFEE Documentation :: TOFFEE-1.1.24-3-rpi2 ↗
Saturday' 13-Mar-2021
Here is my VLOG Youtube video of the same which includes details about version release notes, future road-map and so on. The TOFFEE release is highly optimized and customized for hardware platforms such as x86-64 based Intel NUC and other Intel mobile computing platforms such as laptops and so on. This version (or release) is not suited and so not recommended to be used for high-end desktop and server hardware platform.



Featured Educational Video:
Watch on Youtube - [89//1] B.E and M.E Final Year Projects - Form your Team ↗

First TOFFEE Code Release ↗
Saturday' 13-Mar-2021
I started working on the new TOFFEE project (which is the fork of my earlier TrafficSqueezer open-source project) starting from 1st January 2016 onwards. Ever since I was busy in research and altering certain old features so that it is more minimal than TrafficSqueezer, a more focused agenda, deliver refined code and a broader vision. I have lined up more things to follow in the upcoming months. I want to focus about all aspects of WAN communication technologies not just on core WAN Optimization research and technology.

CDN Content Delivery Networks - Types ↗
Saturday' 13-Mar-2021

TOFFEE hardware selection guide ↗
Saturday' 13-Mar-2021
When you build a WAN Optimization device with TOFFEE the entire packet processing (data optimization) takes place in software layer or in other words more precisely Operating System kernel space. However if you have any compression or encryption hardware accelerator hardware card the parts of the TOFFEE packet processing modules can be offloaded to hardware layer and thus improving its efficiency.

TEST CASES :: TEST RESULTS :: TOFFEE-Mocha-1.0.14 Development version ↗
Saturday' 13-Mar-2021



Watch on Youtube - [889//1] 280 WAN Optimization - Animated demo of Packet Optimization in TOFFEE-DataCenter ↗

TOFFEE Data-Center WAN Optimization deployment in Big Data Analytics ↗
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 [CDN]


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