Guifi oneclick » Historial » Revisió 5
« Anterior |
Revisió 5/11
(diferencies)
| Següent »
Jorge L. Florit, 05-01-2014 18:33
Guifi oneclick¶
- Table of contents
- Guifi oneclick
This new package helps Guifi community network users to configure their qMp nodes in one (or two) clicks with the Guifi.net site data.
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/testing/ (not yet).
- Download the image labeled with qMp-Guifi.
- Flash the image in your node.
From standalone package¶
- Get the package file from (not yet).
- Install it with the
opkg
utility.
For example:
opkg install qmp-guifi_1.0.2_ar71xx.ipk
Configure¶
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¶
TO DO SCREENSHOTS
.
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:~#
Actualitzat per Jorge L. Florit fa aproximadament 11 anys · 5 revisions