Projecte

General

Perfil

Start » Historial » Versió 34

Pau Escrich, 16-05-2012 12:57

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
9
* It is firmware for embedded network devices based on OpenWRT GNU/linux operating system
10
* 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
* It is a fast and reliable way to extend an Internet uplink to end-users
12
13
h2. Why?
14
15
Two main purposes:
16
17 6 Pau Escrich
* *For quick deployments*
18
There's no need to think about network topology, all you need to do is to spread the nodes and connect one to internet.
19
Use it in any kind of environments like concerts, meetings, demonstrations or in case of a natural disaster.
20 1 Pau Escrich
21 6 Pau Escrich
* *For the wireless communities*
22
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.
23
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.
24 1 Pau Escrich
25
h2. How?
26
27
* Providing a complete autoconfiguration system from the first boot
28
* Using a set of Layer 3 MESH protocols: BMX6 (main), OLSR6 and Babel as backup
29
* Using IPv6 as the main IP protocol
30
* Using IPv4 only for end-user connection (tunneling)
31
* Providing an easy and intuitive administration web interface (LuCI based)
32
33 12 Pau Escrich
h2. Devices
34 1 Pau Escrich
35 6 Pau Escrich
Currently the official supported devices are: Alix, Routerstation, RouterstationPro, NanoStation/Nanobridge/Airgrid M5/M2
36
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.
37 31 Pau Escrich
Read the next article to see how to add a new device [[New_device]]
38 1 Pau Escrich
39
h2. Features
40 6 Pau Escrich
41 23 Pau Escrich
# *mesh:* Using a set of mesh protocols to provide automatic networking participation
42 6 Pau Escrich
# *autoconf:* A system to auto-configure all settings. So the user does not need to configure anything.
43
# *qmpinfo:* It is a tool written in Lua to get some information about the QMP system.
44
# *qmpcontrol:* It is a tool written as a shell script to manage the QMP system.
45
# *qMp webint:* A LUCI (web interface) module to manage and monitor QMP system.
46
# *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.
47
# *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.
48 1 Pau Escrich
49 7 Pau Escrich
h2. Get the firmware
50
51 19 Pau Escrich
h3. Binary files
52 20 Pau Escrich
53 19 Pau Escrich
Just go to http://fw.qmp.cat to find the binary files ready to install in your device.
54 33 Pau Escrich
Please, choose testing if you can and report the bugs if you find any. 
55 20 Pau Escrich
56 19 Pau Escrich
57 30 Simó Albert i Beltran
h3. From Source (recommended)
58 19 Pau Escrich
59 30 Simó Albert i Beltran
* First of all you should take a look on the system requirements: [[Environment]]
60 1 Pau Escrich
61 32 Pau Escrich
* [Recomended] Get the code using git: <code>git clone git://qmp.cat/qmpfw.git qmpfw</code>
62 1 Pau Escrich
63 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>
64 1 Pau Escrich
65 34 Pau Escrich
* Then enter to source directory: <pre>cd qmpfw</pre>
66 1 Pau Escrich
67 34 Pau Escrich
* [Recomended] Do a checkout specifying the branch testing: <pre>make .checkout_qmp QMP_GIT_BRANCH=testing</pre>
68 1 Pau Escrich
69 32 Pau Escrich
* And compile it specifying the target: <code>make build T=alix</code>
70
71 29 Pau Escrich
You can find available targets by executing: <code>make list_targets</code>
72 32 Pau Escrich
73
If you have more than one core in your computer you can use J=N: <code>make build T=alix J=4</code>
74 1 Pau Escrich
75 7 Pau Escrich
After that, you will find the images ready to install in your devices inside directory images/
76 33 Pau Escrich
77 7 Pau Escrich
78 21 Pau Escrich
h2. Use the firmware
79
80 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):
81 21 Pau Escrich
82
* eth0 LAN with DHCP server and IP 172.30.22.1
83
* eth1 WAN with DHCP client running (you can connect it to internet)
84
* wlan0 MESH & ADHOC Routing daemons running using IPv6
85
* wlan1 LAN & AP DHCP server and IP 172.30.22.1
86
* wlan2 MESH & ADHOC Routing daemons running using IPv6
87
88 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:
89 21 Pau Escrich
90
* user: root
91
* password: 13f
92
93 1 Pau Escrich
h2. Contributions
94
95 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.
96 10 Pau Escrich
97
h2. Contact
98
99
* e-mail: info_at_qmp.cat
100
* Users mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-users
101
* Developers mailing list: https://mail.qmp.cat/cgi-bin/mailman/listinfo/qmp-dev
102
103
<pre>             
104
                 __ _  /\/\  _ __  
105
                / _` |/    \| '_ \ 
106
               | (_| / /\/\ \ |_) |
107
                \__, \/    \/ .__/ 
108
                   |_|      |_|    
109
                                   
110
                 quick MESH project
111
</pre>