Projecte

General

Perfil

Start » Historial » Versió 61

Pau Escrich, 12-05-2013 01:06

1 1 Pau Escrich
2 47 Jorge L. Florit
[[Inici|Catalan Version]] | [[Inicio|Spanish Version]]
3 13 Pau Escrich
4 46 Pau Escrich
{{toc}}
5 45 Pau Escrich
6 1 Pau Escrich
h2. What is qMp?
7
8 38 Pau Escrich
* It is firmware for embedded network devices based on "OpenWRT":http://www.openwrt.org Linux operating system
9 44 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
10
* It is a fast and reliable way to extend an Internet uplink to end-users
11
12 1 Pau Escrich
h2. Why?
13
14
Two main purposes:
15
16 6 Pau Escrich
* *For quick deployments*
17
There's no need to think about network topology, all you need to do is to spread the nodes and connect one to internet.
18
Use it in any kind of environments like concerts, meetings, demonstrations or in case of a natural disaster.
19 1 Pau Escrich
20 6 Pau Escrich
* *For the wireless communities*
21
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.
22
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.
23 1 Pau Escrich
24
h2. How?
25
26
* Providing a complete autoconfiguration system from the first boot
27
* Using a set of Layer 3 MESH protocols: BMX6 (main), OLSR6 and Babel as backup
28
* Using IPv6 as the main IP protocol
29
* Using IPv4 only for end-user connection (tunneling)
30
* Providing an easy and intuitive administration web interface (LuCI based)
31
32 56 Pau Escrich
33 1 Pau Escrich
* Two main modes
34 56 Pau Escrich
** See this basic example to understand how qMp works in the [[Starting|community mode]].
35 57 Pau Escrich
** And read this short article to understand the differences between [[Roaming-Collaborative|roaming and community modes]].
36 52 Pau Escrich
37 12 Pau Escrich
h2. Devices
38 1 Pau Escrich
39 41 Pau Escrich
Currently the official supported devices are: Alix, Routerstation, RouterstationPro, Ubiquiti M5 products and several TP-Links.
40 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.
41 31 Pau Escrich
Read the next article to see how to add a new device [[New_device]]
42 1 Pau Escrich
43
h2. Features
44 6 Pau Escrich
45 23 Pau Escrich
# *mesh:* Using a set of mesh protocols to provide automatic networking participation
46 6 Pau Escrich
# *autoconf:* A system to auto-configure all settings. So the user does not need to configure anything.
47
# *qmpinfo:* It is a tool written in Lua to get some information about the QMP system.
48
# *qmpcontrol:* It is a tool written as a shell script to manage the QMP system.
49
# *qMp webint:* A LUCI (web interface) module to manage and monitor QMP system.
50
# *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.
51
# *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.
52 1 Pau Escrich
53 40 Pau Escrich
Take a look to the screenshots section: [[Screenshots|Screenshots]]
54 39 Pau Escrich
55 7 Pau Escrich
h2. Get the firmware
56
57 19 Pau Escrich
h3. Binary files
58 20 Pau Escrich
59 19 Pau Escrich
Just go to http://fw.qmp.cat to find the binary files ready to install in your device.
60 33 Pau Escrich
Please, choose testing if you can and report the bugs if you find any. 
61 20 Pau Escrich
62 19 Pau Escrich
63 30 Simó Albert i Beltran
h3. From Source (recommended)
64 19 Pau Escrich
65 30 Simó Albert i Beltran
* First of all you should take a look on the system requirements: [[Environment]]
66 1 Pau Escrich
67 35 Pau Escrich
* [Recomended] Get the code using git: <pre>git clone git://qmp.cat/qmpfw.git qmpfw</pre>
68 1 Pau Escrich
69 60 Simó Albert i Beltran
* [Outdated] Or get the code using http: <pre>wget -c -q -O - "http://qmp.cat/gitrevision_download?project_id=7&rev=anonymous" | tar zxvf -</pre>
70 1 Pau Escrich
71 34 Pau Escrich
* Then enter to source directory: <pre>cd qmpfw</pre>
72 1 Pau Escrich
73 59 Simó Albert i Beltran
* [Advanced] Do a checkout specifying the branch: <pre>make .checkout_qmp QMP_GIT_BRANCH=branch_name</pre>
74 1 Pau Escrich
75 35 Pau Escrich
* And compile it specifying the target: <pre>make build T=alix</pre>
76 32 Pau Escrich
77 35 Pau Escrich
You can find available targets by executing: <pre>make list_targets</pre>
78 32 Pau Escrich
79 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>
80 1 Pau Escrich
81 7 Pau Escrich
After that, you will find the images ready to install in your devices inside directory images/
82 33 Pau Escrich
83 43 Pau Escrich
h3. From package repository
84
85
You can install our packages from any OpenWRT system (backfire). 
86
See section [[Packages|Packages]].
87 7 Pau Escrich
88 21 Pau Escrich
h2. Use the firmware
89
90 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):
91 21 Pau Escrich
92
* eth0 LAN with DHCP server and IP 172.30.22.1
93
* eth1 WAN with DHCP client running (you can connect it to internet)
94
* wlan0 MESH & ADHOC Routing daemons running using IPv6
95
* wlan1 LAN & AP DHCP server and IP 172.30.22.1
96
* wlan2 MESH & ADHOC Routing daemons running using IPv6
97
98 51 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 or http://admin.qmp using default login:
99 21 Pau Escrich
100
* user: root
101
* password: 13f
102
103 49 Pau Escrich
Check the article [[Starting|How to start a community network]], and many others in the [[/|WiKi]]
104 48 Pau Escrich
105 1 Pau Escrich
h2. Contributions
106
107 50 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. 
108 10 Pau Escrich
109
h2. Contact
110
111
* e-mail: info_at_qmp.cat
112
* Users mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-users
113
* Developers mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-dev
114 42 Agustí Moll Garcia
* Enterprise: http://routek.cat 
115 10 Pau Escrich
116
<pre>             
117
                 __ _  /\/\  _ __  
118
                / _` |/    \| '_ \ 
119
               | (_| / /\/\ \ |_) |
120
                \__, \/    \/ .__/ 
121
                   |_|      |_|    
122 1 Pau Escrich
                                   
123
                 quick MESH project
124 10 Pau Escrich
</pre>
125 61 Pau Escrich
126
!http://qmp.cat/images/qmp_small.png!