Project

General

Profile

Start » History » Version 44

Pau Escrich, 12/25/2012 09:15 PM

1 15 Pau Escrich
!http://qmp.cat/images/qmp_small.png!
2 1 Pau Escrich
3 17 Pau Escrich
--------------------------------------------------------------------------------------------------------------------------
4 18 Pau Escrich
5 17 Pau Escrich
[[Inici|Catalan Version]]
6 13 Pau Escrich
7 1 Pau Escrich
h2. What is qMp?
8 1 Pau Escrich
9 38 Pau Escrich
* It is firmware for embedded network devices based on "OpenWRT":http://www.openwrt.org Linux operating system
10 1 Pau Escrich
* It provides an easy way to set up networks using MESH it doesn't matter your they are either wired or WiFi or a mix of both
11 1 Pau Escrich
* It is a fast and reliable way to extend an Internet uplink to end-users
12 1 Pau Escrich
13 44 Pau Escrich
14 44 Pau Escrich
{{>toc}}
15 44 Pau Escrich
16 1 Pau Escrich
h2. Why?
17 1 Pau Escrich
18 1 Pau Escrich
Two main purposes:
19 1 Pau Escrich
20 6 Pau Escrich
* *For quick deployments*
21 6 Pau Escrich
There's no need to think about network topology, all you need to do is to spread the nodes and connect one to internet.
22 6 Pau Escrich
Use it in any kind of environments like concerts, meetings, demonstrations or in case of a natural disaster.
23 1 Pau Escrich
24 6 Pau Escrich
* *For the wireless communities*
25 6 Pau Escrich
If you are new into this all you need to become part of the existing community or to start building one is to download and install the firmware. It won't take you more than the time you need to take a coffee to have your node ready to be put in place.
26 6 Pau Escrich
But if you are already an old hands at wireless communities here is qMp to let you forget about all those weird network administration tricks that don't last more than a day in your mind and focus on what makes your community grow, that is, the nodes deployment.
27 1 Pau Escrich
28 1 Pau Escrich
h2. How?
29 1 Pau Escrich
30 1 Pau Escrich
* Providing a complete autoconfiguration system from the first boot
31 1 Pau Escrich
* Using a set of Layer 3 MESH protocols: BMX6 (main), OLSR6 and Babel as backup
32 1 Pau Escrich
* Using IPv6 as the main IP protocol
33 1 Pau Escrich
* Using IPv4 only for end-user connection (tunneling)
34 1 Pau Escrich
* Providing an easy and intuitive administration web interface (LuCI based)
35 1 Pau Escrich
36 12 Pau Escrich
h2. Devices
37 1 Pau Escrich
38 41 Pau Escrich
Currently the official supported devices are: Alix, Routerstation, RouterstationPro, Ubiquiti M5 products and several TP-Links.
39 6 Pau Escrich
But qMp is Free software, so if it doesn't perfectly suits for you all you need to do is to modify it and send us your patches to let us apply them.
40 31 Pau Escrich
Read the next article to see how to add a new device [[New_device]]
41 1 Pau Escrich
42 1 Pau Escrich
h2. Features
43 6 Pau Escrich
44 23 Pau Escrich
# *mesh:* Using a set of mesh protocols to provide automatic networking participation
45 6 Pau Escrich
# *autoconf:* A system to auto-configure all settings. So the user does not need to configure anything.
46 6 Pau Escrich
# *qmpinfo:* It is a tool written in Lua to get some information about the QMP system.
47 6 Pau Escrich
# *qmpcontrol:* It is a tool written as a shell script to manage the QMP system.
48 6 Pau Escrich
# *qMp webint:* A LUCI (web interface) module to manage and monitor QMP system.
49 6 Pau Escrich
# *map:* A map tool (named b6m and written in Shell Scripting using OpenStreetMaps) to see the position of all network nodes and how are they connected.
50 6 Pau Escrich
# *internet detect:* A tool (named gwck) written in Shell Script which is monitoring if the node is connected to internet, in this case it modifies all needed things to share it with the whole network.
51 1 Pau Escrich
52 40 Pau Escrich
Take a look to the screenshots section: [[Screenshots|Screenshots]]
53 39 Pau Escrich
54 7 Pau Escrich
h2. Get the firmware
55 7 Pau Escrich
56 19 Pau Escrich
h3. Binary files
57 20 Pau Escrich
58 19 Pau Escrich
Just go to http://fw.qmp.cat to find the binary files ready to install in your device.
59 33 Pau Escrich
Please, choose testing if you can and report the bugs if you find any. 
60 20 Pau Escrich
61 19 Pau Escrich
62 30 Simó Albert i Beltran
h3. From Source (recommended)
63 19 Pau Escrich
64 30 Simó Albert i Beltran
* First of all you should take a look on the system requirements: [[Environment]]
65 1 Pau Escrich
66 35 Pau Escrich
* [Recomended] Get the code using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre>
67 1 Pau Escrich
68 34 Pau Escrich
* Or get the code using http: <pre>wget -c -q -O - "http://qmp.cat/gitrevision_download?project_id=7&rev=anonymous" | tar zxvf -</pre>
69 1 Pau Escrich
70 34 Pau Escrich
* Then enter to source directory: <pre>cd qmpfw</pre>
71 1 Pau Escrich
72 34 Pau Escrich
* [Recomended] Do a checkout specifying the branch testing: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre>
73 1 Pau Escrich
74 35 Pau Escrich
* And compile it specifying the target: <pre>make build T=alix</pre>
75 32 Pau Escrich
76 35 Pau Escrich
You can find available targets by executing: <pre>make list_targets</pre>
77 32 Pau Escrich
78 35 Pau Escrich
If you have more than one core in your computer you can use J=N: <pre>make build T=alix J=4</pre>
79 1 Pau Escrich
80 7 Pau Escrich
After that, you will find the images ready to install in your devices inside directory images/
81 33 Pau Escrich
82 43 Pau Escrich
h3. From package repository
83 43 Pau Escrich
84 43 Pau Escrich
You can install our packages from any OpenWRT system (backfire). 
85 43 Pau Escrich
See section [[Packages|Packages]].
86 7 Pau Escrich
87 21 Pau Escrich
h2. Use the firmware
88 21 Pau Escrich
89 30 Simó Albert i Beltran
By default the network interfaces from your device are used for the next purposes (if some of them missing, it is just ignored):
90 21 Pau Escrich
91 21 Pau Escrich
* eth0 LAN with DHCP server and IP 172.30.22.1
92 21 Pau Escrich
* eth1 WAN with DHCP client running (you can connect it to internet)
93 21 Pau Escrich
* wlan0 MESH & ADHOC Routing daemons running using IPv6
94 21 Pau Escrich
* wlan1 LAN & AP DHCP server and IP 172.30.22.1
95 21 Pau Escrich
* wlan2 MESH & ADHOC Routing daemons running using IPv6
96 21 Pau Escrich
97 22 Pau Escrich
So you can access it connecting your computer to eth0 or wlan1 and going via web browser to http://172.30.22.1 using default login:
98 21 Pau Escrich
99 21 Pau Escrich
* user: root
100 21 Pau Escrich
* password: 13f
101 21 Pau Escrich
102 1 Pau Escrich
h2. Contributions
103 1 Pau Escrich
104 8 Pau Escrich
The main part of this project has been freely contributed by a bunch of wireless enthusiast, but in the year 2011 it has been partially funded by Funació PuntCat.
105 10 Pau Escrich
106 10 Pau Escrich
h2. Contact
107 10 Pau Escrich
108 10 Pau Escrich
* e-mail: info_at_qmp.cat
109 10 Pau Escrich
* Users mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-users
110 10 Pau Escrich
* Developers mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-dev
111 42 Agustí Moll Garcia
* Enterprise: http://routek.cat 
112 10 Pau Escrich
113 10 Pau Escrich
<pre>             
114 10 Pau Escrich
                 __ _  /\/\  _ __  
115 10 Pau Escrich
                / _` |/    \| '_ \ 
116 10 Pau Escrich
               | (_| / /\/\ \ |_) |
117 10 Pau Escrich
                \__, \/    \/ .__/ 
118 10 Pau Escrich
                   |_|      |_|    
119 10 Pau Escrich
                                   
120 10 Pau Escrich
                 quick MESH project
121 10 Pau Escrich
</pre>