TOFFEEプロジェクト
ホームドキュメンテーション更新ビデオ研究ダウンロードスポンサー接触


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


おすすめトピック:

TOFFEE (and TOFFEE-DataCenter) deployment in Large Infrastructure and or ISP Networks ↗
Saturday' 13-Mar-2021
Large Infrastructure or ISP setup: In case if you are an ISP and interested in deploying a large customer WAN Optimized network or an add-on enhanced (WAN Optimized) network for select few customers, then you can deploy something as shown below. Although this case is not meant for hobby/DIY users. This is a feasible solution for high-end professional application and the same can be deployed.

IP Header Compression in WAN Links and TOFFEE-DataCenter WAN Optimization ↗
Saturday' 13-Mar-2021

Off-Grid Solar Power System for Raspberry Pi ↗
Saturday' 13-Mar-2021
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.

TOFFEE-Butterscotch Documentation :: TOFFEE-Butterscotch-1.0.11-rpi2-23-nov-2016 ↗
Saturday' 13-Mar-2021
TOFFEE-Butterscotch Documentation :: TOFFEE-Butterscotch-1.0.11-rpi2-23-nov-2016

INDEX :: Content Delivery Networks or Content Distribution Networks (CDN) ↗
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.



Network Latency in WAN Networks and performance optimization ↗
Saturday' 13-Mar-2021
Here is my video article on Network Latency in WAN Networks (such as long distance Satellite links, etc) and how you can optimize the same to achieve better network performance.

TOFFEE-Mocha WAN Emulation software development - Update: 15-July-2016 ↗
Saturday' 13-Mar-2021
Today I completed doing all the changes which are meant for the new upcoming TOFFEE-Mocha release. I have increased the resolution and the range of all factor variables. Instead 1 to 10 range now they have a range of 1 to 30. Unlike before the value 1 means it is lot more intense (or in some cases less intense) and the uppermost value 30 means lot less intense (or in some cases lot intense).

TOFFEE-Mocha - WAN Emulator :: TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso ↗
Saturday' 13-Mar-2021
Download TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso via Google Drive share: Live bootable x86-64 Debian Stretch 9.5 with light-weight LXDE UI ISO (includes source-code): TOFFEE-MOCHA-2.0.3-0-10-nov-2018-x86-64.iso You can find the source tar-ball in the /root folder. To know more about the project kindly refer TOFFEE- Mocha: News and Updates - Documentation. To know more about current specific release, objectives, features, release notes/updates, quick demo and future road-map, you can watch my video below.

CDN Introduction - Content Delivery Networks or Content Distribution Networks ↗
Saturday' 13-Mar-2021



Featured Educational Video:
Youtubeで見る - [8613//1] x254 Kernel Init Code without Kernel Module - Kernel Programming Tip #linode ↗

TOFFEE-DataCenter as a VNF for NFV ↗
Saturday' 13-Mar-2021

TOFFEE-DataCenter - First Live Demo and software development - Update: 26-Aug-2016 ↗
Saturday' 13-Mar-2021
Today I have done a test setup so that I can able to connect my Android Samsung Tab via TOFFEE DataCenter. Below is my complete test topology of my setup. For demo (and research/development) context I configured TOFFEE DataCenter in engineering debug mode. So I do not need two devices for this purpose.

TEST CASES :: TEST RESULTS :: TOFFEE-Mocha-1.0.32 asymmetric constant packet delay feature ↗
Saturday' 13-Mar-2021

The TOFFEE Project :: TOFFEE-Mocha :: WAN Emulator ↗
Saturday' 13-Mar-2021
The TOFFEE Project :: TOFFEE-Mocha :: Linux Open-Source WAN Emulator




TOFFEE-Mocha WAN Emulation software development - Update: 16-June-2016 ↗
Saturday' 13-Mar-2021
I started TOFFEE-Mocha WAN Emulation software development on 1-June-2016. I took the existing TOFFEE components as a base. Although the TOFFEE-Mocha is entirely an independent fresh Open-Source WAN Emulation solution. Ever since I am in the process of defining and inventing features. So far I come up with the most important feature which is expected to be present in any WAN Emulation software is the packet delay option.



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


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