-
Notifications
You must be signed in to change notification settings - Fork 2
Moxa configurator
Tom Willemsen edited this page Jan 12, 2023
·
1 revision
Note: this page relates to the python service which allows users to configure allowed IPs on MOXA NPORT devices by hostname, not the built-in moxa configuration web pages.
- Clone the moxa configuration repository from here.
- Install python (genie_python may be used, but is not required)
-
python -m pip install -r requirements.txt
from the repository above to install dependencies - Set up necessary environment variables:
-
MOXA_IP
- the IP address of the moxa this webserver will manage (displayed on front of moxa) -
MOXA_PW
- the password for the moxa this webserver will manage (same password as for the moxa web interface) -
ISIS_DEFAULT_NETMASK
- the netmask for the ISIS network (to find this out, typeipconfig
on any computer connected to the ISIS network)
-
- cd into
moxa_configurator/web
and then runpython manage.py runserver
to start the webserver
The server will then be available at localhost:8000
.