栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Set Quuppa Locators to Fixed IP address (with DHCP server)

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Set Quuppa Locators to Fixed IP address (with DHCP server)

Set Quuppa Locators to Fixed IP address

By default, the Quuppa locators use dynamic IP address assigned by DHCP server.

But in some cases, it is required to set them to fixed IP address for some reasons.

Followed are the instructions of set Quuppa locators to Fixed IP address.

0. Configure a domain

All setting operation is runs by a browser, you’d better configure a domain qpe which is pointed to the IP address of QPE server.

If are using Linux or macOS, you can configure the domain by edit the hosts file.

sudo vi /etc/hosts

Add a line like:

192.168.100.6	qpe

Save and exit.

1. Update QPE

only QPE 7.0 or above version supports fixed IP address feature. If your project has a QPE 7.0 or above version, you should upgrade the QPE and firmware to the latest.

1.1. Upgrade QPE
  • Copy qpe-*.war to %Tomcat%/webapps/.
  • restart QPE service.
  • Open browser (Chrome, Edge are preferred) and visit http://qpe:8080/qpe/ to test whether the QPE upgraded successfully.
1.2. Upgrade Firmware of Locators
  • Open browser and visit
    http://qpe:8080/qpe/upgradeAllFW
2. Reset locators
  • Open browser and visit the URL like: http://qpe:8080/qpe/setLocatorIP?mode=reset&locator=a4da22efe186,a4da22efcc9e&humanReadable=true.

The parameter locator is a string made of locator IDs joined with “,”.

  • If the command runs OK, the code in the responded JSON string should be 0.
{
	"code": 0,
	"command": "http://qpe:8080/qpe/setLocatorIP?mode=reset&locator=a4da22efe186,a4da22efcc9e&humanReadable=true",
	"message": "2 Locator(s) commanded to factory settings",
	"responseTS": 1637560930351,
	"status": "Ok",
	"version": "1.0"
}
3. Set fixed IP with DHCP server

It’s easy to set a fixed IP address to Quuppa locators which have got a IP address already.

  • Open browser and visit the URL: http://qpe:8080/qpe/setLocatorIP?mode=set&locator=a4da22efe186,a4da22efcc9e&humanReadable=true
  • A page with operation result will be shown.
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/583266.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号