NaYaBoh Internet Server
What is it?
NaYaBoh is an „Internet Proxy Server“, especially designed to enhance Internet access in developing countries.
So if you run a Cybar (Internet place), a Classroom or any other computer network this project can help you – for free.
I started developing NaYaBoh during my stay in Cameroon. So I named it in the Pidgin language, a widely used westafrican dialect. In this dialect „na ya boh“ can be translated with „this is your friend“, I hope the name is influencing the project…
See this picture to understand in a simple way what NaYaBoh is doing.
Comparison of Internet speed with and without NaYaBoh
Without NaYaBoh half of the Internet requests needed more that six seconds to complete. With NaYaBoh nearly 90% of the requests where finished after one second.
So NaYaBoh makes your Internet connection faster. I’ll explain later how it works.
How can I get it?
NaYaBoh is completely free to use. This is so because all it’s parts are licensed under open source licenses. If you want to learn more about open source you can start reading here: http://www.gnu.org/ and http://opensource.org/
To run NaYaBoh you need the following things:
- A computer with two network cards.
- Operating System: Ubuntu (or any debian linux)
- The NaYaBoh package
Where can you get this things from?
Computer
With the computer I can not help you. I can just tell you that it can be any ordinary old computer. The only requirement is that there are two network cards.
Example of NaYaBoh hardware used in Limbe
See this example, it was send to me from a school in Limbe, Cameroon. They installed NaYaBoh on a mini itx board (www.pcengines.ch) which consumes only 5 watts. The operating system is on a 1 GB flash device. The board has only one Ethernet card, the second network card is as USB Ethernet adapter. (Thank you Michel, for this example)
Operating System
Since Windows is not free you should use any Linux (which is free) for NaYaBoh. In fact NaYaBoh is NOT running on Windows.
Ubuntu is a very user-friendly version of Linux. So I recommend that you use it, since I also test NaYaBoh on it. You can download Ubuntu here: http://www.ubuntu.com/GetUbuntu/download
If you are an experienced Linux user you can also try the Ubuntu server version or any Debian.
NaYaBoh
You can download NaYaBoh directly from where it is developed. Use this link: http://sourceforge.net/projects/nayaboh/
Remember that there is no warranty of functionality. Make sure that you download the most recent version, since this is most likely the best one.
How do I install it?
First you need to make sure that you connect everything correctly.
Your internet router should give dynamic IP (DHCP), so that NaYaBoh will receive one automatically.
It is not very simple to know which network card has to be pluged to the Internet and which to the local switch. I have no simple „howto“ for now. Just try your luck and all your intelligence 🙂
Setup of NaYaBoh
Installing Ubuntu should be even more easy than installing Windows. Burn it on a CD and start the Computer using this CD. Then follow the instructions.
Installing NaYaBoh is actually very simple. Just put the file which you have downloaded on as USB flash and drag it on the Ubuntu Desktop. A simple double click on the file should start the installation routine.
If you have an error (concerning „dnsmasq“) at the very beginning this is most likely because Ubuntu could not update it’s available packages during the installation. To solve this open in the menu Applications -> Accessories -> Terminal and type the following:
sudo aptitude update
After pressing Enter you will be asked for your user password. The update should be done now (Internet required). If you are now asked to upgrade your system, don’t do it, it will eat your internet for nothing.
Double click again the package to start the installation. The installation process also needs Internet, because he is downloading additional software. Actually it is downloading the main operating software, NaYaBoh just does the configuration.
How do I run it?
When you connect your computers over a switch to NaYaBoh make sure that they are configured to receive their network configuration by DHCP. In Windows you have to do it like in the picture.
Configure your Windows clients like this
When you log in into your NaYaBoh Computer you will find some helpful tools in the menu.
Tools to maintain NaYaBoh
This tools are also available in the command line for those who don’t have a GUI installed.
nayaboh_benchmark
nayaboh_connections
nayaboh_firewall
nayaboh_installreport
nayaboh_ipconfig
nayaboh_proxylog
A short explanation to this tools:
- Benchmark: Measuring Internet requests and create a picture in your home. It tries to show you how effective NaYaBoh is at your place.
- Connections: Listing all the computers which are using Internet trough NaYaBoh.
- Firewall: Block misbehaving or virus infected computers from the Internet.
- Installation Report: See messages from the installation process.
- IP config: Change the IP of your internal network.
- Proxy Log View: Follow live the requests handled by the proxy.
How does it work?
NaYaBoh is using several techniques to speed up your internet:
- It caches web content like pictures, style-sheets, etc. Whenever a page is accessed the second time NaYaBoh will deliver web-content directly. NaYaBoh is using the squid software to do this.
- It blocks advertisement and by doing so it prevents unneccessary downloads. NaYaBoh is using the adzapper software to achieve this.
- It caches your DNS requests and answers them diectly. NaYaBoh is using dnsmasq to do so.
Furthermore NaYaBoh eases network management by providing a DHCP server. So that all you computers will get their network configuration (e.g. IP) automatically.
Let me know!
If you have questions of feedback, I’m very glad to hear from you.
Send me some of your benchmark pictures and information about your location and how many computers you have connected.
send me your feedback
I would like to hear from you!
There is also a Facebook group for those who wish to meet other users on this social platform.
See the benchmark created with my own installation:
Installation in an IT-Centre in Buea, Cameroon. About 30 Windows clients online simultaneously. (CLICK PICTURE TO ENLARGE)
About this Site
This website is available on the following at Sourceforge: http://nayaboh.sourceforge.net/
The project can be downloaded here as a software package for GNU/Linux (e.g. Ubuntu): http://sourceforge.net/projects/nayaboh/
The source code is hosted on github. To access the source code visit http://github.com/borisdaeppen/NaYaBoh. There is a non regularly backup pushed to Sourceforge.
This website was last updated for the NaYaBoh 0.4-6 release.
März 23, 2010 um 11:35 am |
looks good, and of course this will speed up your connection.
April 23, 2010 um 5:17 pm |
I’d suggest you move the project to sourceforge in order to get help and translations more easily (I could help with that, if you want).
CK
Mai 25, 2010 um 10:55 am |
I created a project on sourceforge. I’m still struggling with those menus.
The site is really huge.
Mai 4, 2010 um 3:02 pm |
nach den guten erfahrungen mit version 2 habe ich die version 3 getestet.
als basis habe ich debian 5 zusaetzlich ssh less gdebi-core (um nayaboh deb paket zu instalieren
denn nayaboh installiert
komischerweise hat es nicht funktionniert, squid konnte nicht gestartet werden.
and i get a mistake in the install.log
restarting squid … failed
ich habe denn den setup angeguckt, konnte aber kein fehler sehen die variable für cache_dir und cache_mem sind da, ich muss aber zugestehen, dass meine kenntnisse mit sed begrenzt sind.
squid.conf
kein wert fuer cache_dir und cache_mem
ich habe den die werte eingesetzt 200 M für chache_dir und 64 für cache_mem
und es funktionniert …
der teufel liegt im detail
michel
Mai 25, 2010 um 10:50 am |
Anscheinend ist „bc“ nicht von Anfang an auf Debian installiert (danke Alex für den Tipp). Das Problem ist im git gefixt. Release 0.4 sollte dann alles besser werden 🙂
Danke fürs Feedback!