Professional Documents
Culture Documents
Abstract: Deploying and maintaining an Internet service in remote rural and mountainous areas
is a challenging task specifically in developing countries. In this paper, we present a study to
realize a low-cost sustainable Wireless Internet Service Provider (ISP) built for rural areas of
developing countries. There was no Internet access in the area prior to this project. The
solution consists of a Wi-Fi based networking system that covers three remote far away villages
(Koi-Barmol, Piple and Baboozo) in the Pakistani province of Khyber Pukhtunkhwa. The
contributions of this study include the details of step-by-step design, implementation and the
issues faced to the rural WISP during long-term operation with recommendations to mitigate
these issues. Apart from sharing practical insights we also make technical contributions in the
form of throughput and latency analysis of IEEE 802.11n with the proprietary TDMA MAC
protocol called airMAX over long-distance point-to-point links. We hope that the study will help
people to quickly built and deploy a low-cost sustainable Internet service in the remote rural
areas using off-the-shelf devices.
Cite this article as : Hameed, A.; Mian, A. N. & Qadir, J. Low-cost sustainable wireless Internet service for
rural areas, Wireless Networks, 2016, 1-12, DOI: 10.1007/s11276-016-1415-8, Springer
Hameed, A.; Mian, A. N. & Qadir, J. Low-cost sustainable wireless Internet service for rural areas,
Wireless Networks, 2016, 1-12, DOI: 10.1007/s11276-016-1415-8, Springer
Wireless Networks manuscript No.
(will be inserted by the editor)
Abstract Deploying and maintaining an Internet ser- clude the details of step-by-step design, implementation
vice in remote rural and mountainous areas is a chal- and the issues faced to the rural WISP during long-
lenging task specifically in developing countries. In this term operation with recommendations to mitigate these
paper, we present a study to realize a low-cost sustain- issues. Apart from sharing practical insights we also
able Wireless ISP (Internet Service Provider) built for make technical contributions in the form of throughput
rural areas of developing countries. There was no Inter- and latency analysis of IEEE 802.11n with the propri-
net access in the area prior to this project. The solu- etary TDMA MAC protocol called airMAX over long-
tion consists of a Wi-Fi based networking system that distance point-to-point links. We hope that the study
covers three remote far away villages (Koi-Barmol, Pi- will help people to quickly built and deploy a low-cost
ple and Baboozo) in the Pakistani province of Khy- sustainable Internet service in the remote rural areas
ber Pukhtunkhwa. The contributions of this study in- using off-the-shelf devices.
University (ITU)
Pakistan
crowave access), and TVWS (TV white spaces). Most Pakistan is amongst the most disconnected region
of these technologies—with the exception of TVWS and in the world with an offline population of about 165
Wi-Fi— require a license for operating on the RF (ra- million [6]. Despite the growth of 5.8% of Internet ac-
dio frequency) spectrum [1][2]. The TVWS is a new cess from 2010 to 2014, there are still many rural areas
technology and many developing countries like Pakistan in Pakistan that are lacking Internet facility [7]. In this
have not defined any frequency bands for it. We select work, we have focused on such three distant villages—
Wi-Fi since it is a standard commodity technology and Koi-Barmol, Piple and Baboozo— which are located
has clearly defined frequency bands that is available in the Mardan district of the Khyber Pukhtunkhwa
worldwide. Moreover, it is cheaper for Internet access province of Pakistan. These three villages have a to-
1
and is easily available in the markets worldwide [3]. https://www.ubnt.com/
DOI 10.1007/s11276-016-1415-8 3
Fig. 1 An aerial view of the area; Source: Google Earth, eye alt @7902ft
tal population of 32000 approximately, with the major- level and also the distances in kilometers between each
ity of inhabitants working in foreign employment. Thus site. The only option to provide upstream connectivity
voice and video calls are among their obvious commu- to these sites is by connecting to a nearby Western city
nication needs. With the youth of this area becoming that has Internet access.
more educated, there is an increased demand for email The motivation behind this study is to design and
service and increased access to educational materials on build a low-cost Internet service for the three distant
the web. Some of the inhabitants also require Internet villages where the users are dispersed over a large area.
access for their online jobs like tutoring and freelanc- There were no Internet services in the area before this
ing, using which they can avoid cumbersome travel to project. Although many wireless technology exists for
the nearest main city that is 35 km away from the area. Internet access like WiMax, GPRS, 3G etc., mostly
The terrain of the area is illustrated in Fig. 1. The area used by cellular operators, all these requires a license
is surrounded by hills from three sides and only one for operation. Our aim was to select a wireless tech-
side from the West is open. The three villages under nology that does not require license for operation, is
consideration—Koi-Barmol, Piple and Baboozo— are cheap both for the operator and consumer and is avail-
labeled in Fig. 1 as Site1, Site2 and Site3, respectively. able in the commodity hardware. The quest ultimately
Fig. 1 shows the relative height of the hills to the sea stopped at Wi-Fi. The proposed WISP system uses a
4 http://dx.doi.org/10.1007/s11276-016-1415-8
Wi-Fi based solution. The client side consists of an ex- – The step-by-step design and implementation details
ternal Wi-Fi USB (Universal Serial Bus) device with of a low-cost WISP in a remote rural area of Pak-
UBNT M2 (i.e. 2.4GHz radio) devices are used. Both – The throughput and latency analysis of IEEE
omnidirectional and directional antennas are deployed 802.11n and airMAX TDMA protocol for long-
with access points depending on the required coverage. distance P2P links.
The UBNT NanoBridge M5 devices are used for P2P – Identification of issues that can throttle down a sus-
links. The NanoBridge M52 is a 5GHz radio device for tainable service and their treatment under limited
long-distance P2P links that comes with directional an- resources, based on our experience of three years of
The contributions of this paper are: This section discusses different types of analysis we car-
2.1 Site Analysis for Upstream Providers broken lines indicate that the LoS is obstructed inside
Fig. 2 shows the serving area of the ISPs. The solid lines
4
https://www.google.com/earth/
6 http://dx.doi.org/10.1007/s11276-016-1415-8
2.2 User Analysis Otherwise a location within the range of operator’s cov-
The next step was to analyze and chose the location of sites into four regions, i.e., Region A through Region D.
installations for wireless devices in both the serving and The required coverage is marked with triangles in Fig.
the acquisition sites. The selection of a location in the 3. The distance highlighted in Fig. 3, i.e., 1.72 km for
acquisition site is simple. If sharing with the operator Region A and 2.5 km for Region B indicate a farthest
is possible then the operator will point out the exact possible station from AP. The dense client’s area for
location of installation for radios and other equipment. both regions is within 1.4 km from the installation point
5
http://bandwidthpool.com/bandwidth-calculator/ B. We also noted that there would be some dispersed
DOI 10.1007/s11276-016-1415-8 7
users around point B (marked in circle) at an average installed at 1644 feet will be able to see its station’s
Our system requires three P2P links. The first two links
2.4 Estimating the Height for Antennas
connect point B with the two upstream providers i.e.
Considering the area shown in Fig. 3, there is a small ISP-A and ISP-B. A third link is required to connect
elevation loss from Region A to point B and then to point B with the third serving site i.e. Site3. We use
Region B. So the height of the AP at point B needs both Google Earth and UBNT Airlink for estimating
to be selected according to a possible taller station in the height. Fresnel zone analysis like the one shown in
Region A. During analysis of Region A in Google Earth, Fig. 4 is also carried out. The blue colored area in Fig. 4
we estimated that antenna of a station at height can be shows obstruction to the link. For the P2P link between
at 1640 feet relative to the sea level. Point B is at 1554 point B and ISP-A, there is no clearance of the first
feet and is a 30 feet taller building. A 60 feet taller tower Fresnel zone and 60% of first Fresnel Zone (also known
once installed at B will thus have a total height of 1644 as 60% clearance zone) even when the height of the
feet (1554f t location height + 30f t building height + radio at ISP-A were 20 meters above the ground (Fig.
60f t tower height) relative to the sea level. An AP thus 4(b)). For a stable link, the radio in ISP-A needs to be
8 http://dx.doi.org/10.1007/s11276-016-1415-8
installed at least 30 meters above the ground as shown decided to use UBNT 5GHz devices—NanoBridge M5
3 Equipment Selection & Implementation avoid interface with 2.4GHz devices. The P2P link to
3.1 Equipment for Upstream Sites features include bandwidth control, easy package man-
ators. We decided to initially acquire a total of 26 Mbps The equipments required in serving sites depend on dif-
bandwidth for supporting the 60 users identified in sec- ferent factors like the type of coverage required (90o or
tion 2.2. The decision was to acquire four 4 Mbps con- 360o ), the maximum distance, the density of users, etc.
nections from ISP-A and three such connections from As shown in Fig. 3, there are three dense areas. Region
ISP-B. A TP-Link6 load balancer was used to merge A can be covered with a 90o sector antenna. The maxi-
multiple ADSL connections in each upstream site. The mum users in Region A can rise to 60 requiring the AP
distance between point B (the installation point at serv- to support at least 30 simultaneous stations consider-
ing site) and the installation point in ISP-A is nearly 17 ing a 0.5 probability for each user to be online. We se-
km and thus required long-distance Wi-Fi devices. We lect a high-gain Lanbowan7 90o sector antenna (Model
6 7
http://www.tp-link.com/ http://www.lanbowan.com/
DOI 10.1007/s11276-016-1415-8 9
ANT2327D16T-90DP) with UBNT Rocket M2 AP for mated users in this region. Secondly, a pair of TP-Link
this region. The high-power AP coupled with the high- 5210g devices cost only $90 while a Lanbowan sector
gain sector antenna having a range of 3 km will reach antenna with UBNT Rocket M2 cost at least $200. For
the far end stations and will also help in minimizing the the dispersed users shown in circle in Fig. 3, a UBNT
Firstly, these devices have a 60o built-in antenna and a It is possible to install a small set of Wi-Fi equipment
pair of such devices could serve the 30 maximum esti- in low-cost homemade poles if the required height is
10 http://dx.doi.org/10.1007/s11276-016-1415-8
less than 40 feet. Such poles can be made from pipes – Installation of the radios for P2P links.
like steel water pipes, strong fiberglass pipes, aluminum – P2P antenna alignment and quality testing.
tubes, and even from wood like from bamboo plants. – Installation of APs and outdoor sector and omnidi-
found at Antenna Engineering blog8 . Care must be – Service testing at random customer locations in the
for avoiding contact with the nearby power transmis- – Final configuration of the devices like routers, fire-
sion lines. A more scalable approach is to use tower for walls, load balancers etc.
outdoor equipment installation [8]. We decided to use – Securing the cables in public places.
homemade poles in Site3 and ISP-B because the instal- – Training users and relevant persons.
3.4 Installation
new equipments including the 60 feet guyed tower was All the three P2P links are tested for throughput and
$2430. This can be contrasted with the cost of build- all are found to satisfy the requirements identified in
ing a single cellular tower which is approximately in section 3.1. For minimizing the chances of interference,
the range of $23000 in Pakistan. With second hand de- each P2P link was configured with the smallest channel
vices, we were able to lower the cost to $1500. This cost width that provides enough throughput for the esti-
does not include installation cost, labor cost, the cost mated traffic load on the link. With a channel width of
of equipment in the customer premises and the cost of 20MHz, the P2P link provides more than the required
acquiring the ADSL links from upstream providers. Fol- download throughput of 26 Mbps on the longest link
lowing steps were carried out in the installation phase. as shown in Fig. 6(c) (discussed in more detail in sec-
Internet Internet
ADSL MODEMS
LOAD BALANCERS
P2P RADIOS
WATER TANK
Site3 Site1&2
(B)
TP LINK 5210G
OMNI ANT
SECTOR ANT
WAN
PORTS
GUYED TOWER
POLES
MikroTik RB
LAN
ETHERNET PORT
CABLES
ETHERNET
SWITCHES
The Wi-Fi APs are also evaluated and it is found 4 Comparison of 802.11n with airMAX TDMA
data rate, low latency and support for 5GHz band make
this paper, we compare the IEEE 802.11n MAC with ten in the default configuration of the equipment. The
a proprietary TDMA (Time Division Multiple Access) common practice among WISP operators is to use the
protocol called airMAX (Ubiquiti’s propriety TDMA) default configuration (i.e. TDMA protocol) for all types
for the P2P links. The airMAX protocol is known for of setups including for the P2P links. We, on the other
its performance and support of large number of stations hand, argue to use 802.11n MAC instead of the TDMA
connected to a single AP [11]. Unni et al. evaluate air- for P2P links in rural areas. The intuition is that, de-
MAX for PTMP (point-to-multi-point) links but the vices with 802.11n MAC will put data directly on the air
results for P2P links are still missing [12].This gap in compared to the TDMA devices that have to wait for
literature is covered in this section. its time slot to reach (as required in TDMA). Assuming
based MAC protocols are known for their inefficiency in We evaluated the two MAC protocols for four differ-
handling large number of radios operating on the same ent channel widths. The aim was to select the smallest
channel. The TDMA-based MAC protocols overcome channel width (since it reduces interference) that pro-
this deficiency of 802.11-based MAC protocols. TDMA vides the required throughput on the P2P link with
protocols assign time slots to each device and a device better latency. Our single latency test involves 20 ping
is allowed to transmit and receive only in its respec- packets. For each channel width and MAC protocol, 10
tive time slot. Off-the-shelf radio equipments for long latency tests and 10 throughput tests were performed
distance communications often have both the 802.11- between the AP and the station on the P2P link. The
based MAC as well as the vendor’s proprietary TDMA P2P link is 17.3 km in distance. The weather conditions
protocol. The proprietary TDMA protocol is most of- remained similar throughout all tests. The spectrum is
DOI 10.1007/s11276-016-1415-8 13
also monitored repeatedly to make sure that there is no RX throughput also increase but this increase is not
transmission on the nearby channels. symmetric for 802.11n, which become the cause of fluc-
throughput. Such a ratio is shown in Fig. 7 for our P2P Our WISP service is operational since last three years.
link. With the increase in channel width, the TX and The issues discussed in this section reflect the major
14 http://dx.doi.org/10.1007/s11276-016-1415-8
6 120
802.11n airMAX 802.11n airMAX
100
80
Mean RTT (ms)
60
3
40
2
20
1 0
5 10 20 40 5 10 20 40
Channel Width (MHz) Channel Width (MHz)
100
802.11n_RX airMAX_RX
802.11n_TX airMAX_TX
Mean RX/TX Throughput(Mbps)
80
60
40
20
0
5 10 20 40
Channel Width (MHz)
6
of operation.
Throughput Ratio
4
– Low-cost Bandwidth Acquisition: The cost of dedi-
3
shared bandwidth for connecting the rural inhabi- – Traveling Between Remote Points: To minimize
– Long-term Successful Operation: Proper billing and troubleshooting knowledge is deputed in each far
management is required for a long-term successful away site. Remote desktop management software
operation. Billing and user management can be done like TeamViewer12 and Chrome Remote Desktop13
either manually or automatically through a Radius can be used for remote assistance and troubleshoot-
server like FreeRADIUS9 and Radius Manager10 . ing. Configuring the APs and routers to be accessi-
With Radius server and Wi-Fi Hotspot, the users ble on the Internet through port forwarding would
could recharge their accounts using top-up cards. also lower the traveling cost. Dynamic DNS or static
– Power Management: Power management is one of public IP addresses on the gateway routers can be
the main issues faced by WISP operators in rural used for easy access.
areas of developing countries. The proposed system – Handling Weak Signals: The first step towards the
use alternative sources for power i.e., UPS (Unin- solution is to view the station’s link statistics at
terruptible Power Supply) and solar panel with bat- its AP. If any of the station’s uplink or downlink
teries. As the network equipment generally consists rate in its AP statistics is shown as 1 Mbps or less,
of low power devices, the UPS itself can become the the user will suffer from broken connections. The
main source of power drain. We thus powered-up the remedy includes checking the station’s antenna and
devices directly from batteries. For instance, a series cable for physical faults, increasing the height of
configuration of two 12V batteries could power up antenna, changing its position, and using a higher
devices requiring either 12V or 24V DC power. An power transmission device with a high-gain antenna.
adjustable DC step-down circuit (like LM25961011 ) If none of the solution helps, P2P link or cable con-
can be used for low power devices that require volt- nectivity for the user should be considered as a last
discharge, a charge controller should be used. – Mitigating Radio Frequency Interference in P2P
9
http://freeradius.org/
10 12
http://www.dmasoftlab.com/cont/docs https://www.teamviewer.com/en/
11 13
http://www. ti. com/lit/ds/symlink/lm2596. pdf https://chrome.google.com/webstore/category/apps
16 http://dx.doi.org/10.1007/s11276-016-1415-8
on regular basis and select less crowded channels. The Wi-Fi technology is one of the key components in
This is also required at the time of installation. rural WISP systems. The IEEE 802.11b has inherent
With a channel width of 20MHz for instance, se- limitation for long-distance P2P links [9]. The 802.11n
lect a channel that has no transmission in the upper is an amendment to the legacy 802.11b that solves some
and lower 20MHz range. Narrowing down the chan- of the issues with the old technology making it more
nel width will also decrease the chance of interfer- suitable for long distance P2P links [10]. We use the
ence. Other solutions for mitigating RF interference new 802.11n standard for P2P links. Community based
includes channel shifting, shielding the devices and wireless network is an emerging model of Internet ac-
lowering the transmission power. cess in rural areas. A community wireless network is a
– Not Violating the Territory Laws: Most countries self-organized, decentralized, open-to-everyone network
require a license for selling services over wireless. managed by the local community members [13]. The
The cost of purchasing such a license and the taxes guifi.net is one of the largest community based network.
payable by both the consumer and provider may Researchers are also interested in different aspects of
make the service impossible to operate. Sharing an the community networks. For instance, Bart et al. de-
existing license with an ISP operating in the nearby veloped a testbed for wireless community based Inter-
areas can minimize this cost. Keeping the activity net access [14]. The lack of technical knowledge of the
logs of each user for past few months and connecting local population and the low chances of survivability of
only the known residents of the area will also helps a free community based network in a developing region
in any legal problems. are among the few reasons we do not follow this model
interference in RF spectrum for increasing network size. the solution with the IEEE 802.11n technology. In this
These issues can be mitigated by modifying the MAC work, we have not only developed a WISP solution with
protocol [17] and by having more granular control on a new set of tools, but we have also outlined the selec-
channel assignment [18]. Making changes to the MAC tion of a better MAC protocol for long-distance P2P
protocols, and incorporating new channel management links and reported some issues specific to our context.
methods into the off-the-shelf devices, is however not A major challenge for rural WISPs, which we also
the subject of this work. We thus avoid using Wi-Fi encountered in our work, is the limited (and inter-
based mesh networks. mittent) availability of power supply. The lack of un-
WISP operators for extended coverage and users sup- The proposed system requires mounting the station’s
port are often hardened by the availability of limited external antenna at some height like on the rooftop
resources. Subramanian et al. provides a more detailed so that the AP and station’s antenna can see each
list of challenges faced by the rural WISP operator in other. This is required because of the low penetration
developing countries [21]. Some of the technical chal- characteristics of 2.4GHz band. Installing station’s an-
lenges reported by the authors like MAC layer issues, tenna at sufficient height is not always possible, for
packet losses, ACKs retransmission etc. are related to instance when there exists a taller structure that ob-
the older 802.11b technology. Due to these challenges structs the station from its AP. This makes the 2.4GHz
with the older 802.11b technology, we have developed wireless link either impossible or result in a weak unsta-
18 http://dx.doi.org/10.1007/s11276-016-1415-8
ble link. In future, we are considering deploying Wi-Fi required on the P2P links. We hope that the experience
using license-exempt TVWS technology such as IEEE reported in this paper would help anyone interested in
802.11af or White-Fi that also support sub-GHz oper- building a low-cost sustainable Internet service in un-
cognitive radio that will allow TVWS devices to trans- White space: Definitional perspectives and their role in
allow us to connect users who are otherwise unable to tion exchange between systems Local and metropolitan
(PHY) Specifications.
8 Conclusion
3. Shim, J., Shin, S., and Weiss, M. B. (2007) Wireless Inter-
vided to inhabitants of three different villages. The ser- (2010) IEEE 802.11 ad: Defining the next generation
accessed 12-Oct-2016].
ated the performance of IEEE 802.11n and proprietary
6. Bank, W. (2016) World Development Report (2016): Dig-
TDMA protocol called airMAX for long-distance P2P
ital Dividends. Technical Report 102725.
links. The results suggest preferring IEEE 802.11n over
7. Bank, W. (2014). The World Bank, World Develop-
airMAX for P2P links if symmetric throughput is not ment Indicators (2014): Internet users (per 100 people).
DOI 10.1007/s11276-016-1415-8 19
8. Association, C. S. (2013) S37-13 -Antennas, towers, and 15. Rey-Moreno, C., Roro, Z., Tucker, W. D., Siya, M. J.,
antenna-supporting structures. Canadian Standards As- Bidwell, N. J., and Simo-Reigadas, J. (2013) Experiences,
sociation. challenges and lessons from rolling out a rural WiFi mesh
tegrated Network Management (IM), pp. 898–901. IEEE. Ho, M., Brewer, E., and Sheth, A. (2006) Rethinking
14. Braem, B., Blondia, C., Barz, C., Rogge, H., Freitag, F., wireless for the developing world. ACM Hotnets 43.
Navarro, L., Bonicioli, J., Papathanasiou, S., Escrich, P., 22. McGuire, C., Brew, M. R., Darbari, F., Bolton, G.,
Baig Viñas, R., et al. (2013) A case for research with and McMahon, A., Crawford, D. H., Weiss, S., and Stew-
20 http://dx.doi.org/10.1007/s11276-016-1415-8
1159–1165.