- Table of contents
- Get and install
- Guifi oneclick
- Update
The package qmp-guifi contains some features for the Guifi.net users in Mesh networks with qMp.
Get and install¶
You can install it with a prebuilt image with the package included.
Also you can install the standalone package in a standard qMp system.
From prebuilt image¶
- Get the binary file from http://fw.qmp.cat/stable/
- Download the image labeled with qMp-Guifi.
- Flash the image in your node.
From standalone package¶
- Get the package file from http://fw.qmp.cat/stable_openwrt-ar71xx-generic/packages/
- Download the package qmp-guifi_#.#.#_ar71xx.ipk
- Install it with the
opkg
utility.
For example:
opkg install qmp-guifi_1.0.2_ar71xx.ipk
-
Guifi oneclick¶
This feature helps Guifi community network users to configure their qMp nodes in one (or two) clicks with the Guifi.net site data.
LuCI¶
Configure your node using LuCI web interface.- Go to the new menú
Guifi
. - Type (or paste) in the textfield the Guifi URL of the device you want to configure.
- URL is like http://guifi.net/guifi/device/##ID##/ (where ##ID## is a 5-6 digit number)
Example¶
CLI, qmpguifi¶
Configure your node using the command line interface.
You have a new command qmpguifi
.
The syntax is:
qmpguifi oneclick [URL] <file>
- [URL] is the URL of the device. Like: http://guifi.net/guifi/device/##ID##/ (where ##ID## is a 5-6 digit number)
- <file> (optional) is the temporary file where the oneclick (unsolclic) config is saved. If it's not specified
/tmp/guifi_oneclick
is used.
This commmand gets the config file, checks this file, prints their content and configure the node using the file's data.
Alternatively you can do this steps individually:
get_url¶
qmpguifi get_url [URL] [FILE]
- [URL] is the URL of the device.
- [FILE] (mandatory) is the temporary file where the oneclick config is saved.
check¶
qmpguifi check [FILE]
- [FILE] is the temporary file where the oneclick config has been previously saved.
print¶
qmpguifi print [FILE]
- [FILE] is the temporary file where the oneclick config has been previously saved.
configure¶
qmpguifi configure [FILE]
- [FILE] is the temporary file where the oneclick config has been previously saved.
Example¶
root@qMp6aa2:~# qmpguifi oneclick http://10.139.40.97/guifi/device/53684/ Getting oneclick config: Done! Checking oneclick config: Done! Showing variables: nodename='UPCc6lab104' devname='UPCc6lab104-TL' devmodel='TL-WDR3600' ipv4='10.1.24.33' netmask='255.255.255.224' zoneid='UPC' Do you want to configure your node with this settings? [N,y]y Configuring the node, please wait... Configuration done! root@UPCc6lab104-TL6aa2:~#
Update¶
At the moment only manually update is available.
- Follow the above instructions to download the standalone package.
- Install it with opkg update.
Actualitzat per Jorge L. Florit fa més de 10 anys · 11 revisions