Projecte

General

Perfil

guifi logo

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

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.

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.

  1. Follow the above instructions to download the standalone package.
  2. Install it with opkg update.

guifi-logo.png Visualitzar - guifi logo (4.84 KB) Jorge L. Florit, 05-01-2014 17:27

qmp-guifi_oneclick.png Visualitzar (64.5 KB) Jorge L. Florit, 06-05-2014 19:49