Due to the opportunities provided by the Internet, people are taking advantage of e-learning courses and enormous research efforts have been dedicated to the development of e-learning systems. So far, many e-learning systems are proposed and used practically. However, in these systems the e-learning completion rate is low. One of the reasons is the low study desire and motivation. In this work, we design and implement an IoT-Based E-Learning testbed using Raspberry Pi mounted on Raspbian. We analyze the performance of Optimized Link State Routing (OLSR) protocol in an room environment scenario. For evaluation we considered throughput, PDR, hop count, delay and jitter metrics. The experimental results show that the nodes in the testbed werecommunicating smoothly.