# Copy to .env and fill in your own values. .env is gitignored — it holds the # values that identify YOUR line and YOUR network, and must never be committed. # # cp example.env .env # # GPON_* are read by the scripts in tools/ (via tools/gpon_env.py). # The ONT_*/STICK_*/router values are consumed by the copy-paste snippets in # README.md (shell snippets source this file; RouterOS snippets use ). # --------------------------------------------------------------------------- # Stick management (telnet) — these are the DPN-100 factory defaults and are # safe to share; override only if your stick differs. # --------------------------------------------------------------------------- GPON_HOST=192.168.100.1 GPON_PORT=23 GPON_USER=root GPON_PASS=admin # --------------------------------------------------------------------------- # Clone target — YOUR ISP-issued ONT's identity. Read these off the ONT's own # web UI before you unplug it: Maintenance -> Log, first few lines, has all of # them in one place (MAC is on the box label). See README step 2. # --------------------------------------------------------------------------- # GPON vendor ID: first 4 chars of the GPON serial (e.g. ALCL for Nokia/Alcatel) ONT_VENDOR=XXXX # Full 12-char GPON serial number, e.g. XXXXnnnnnnnn ONT_SERIAL=XXXXXXXXXXXX # Equipment ID = the ONT model string (OMCI ME257) ONT_EQID=X-0000X-X # Hardware version (OMCI ME256); often printed as "ONT P/N" on the box label ONT_HWVER=0XX00000XXXX # Software version (OMCI ME7) — the 14-char prefix of the UI's "Software Version" ONT_SWVER=0XX00000XXXX00 # The ONT's own MAC. Only matters if the stick runs in router mode; cloned for # faithfulness. In bridge mode your router's MAC is what the ISP's DHCP sees. ONT_MAC=00:00:00:00:00:00 # --------------------------------------------------------------------------- # The stick's OWN factory values — record these BEFORE overwriting them, they # are your revert path (README step 9). Device-unique. # --------------------------------------------------------------------------- STICK_VENDOR=DLNK STICK_SERIAL=DLNKxxxxxxxx STICK_EQID=DPN-100 STICK_HWVER=1.0.0 STICK_MAC=00:00:00:00:00:00 # Factory PLOAM password, from `misc pon_passwd get` — usually not needed STICK_PLOAM=xxxxxxxxxx # --------------------------------------------------------------------------- # Your network (used by README's router-side steps) # --------------------------------------------------------------------------- # How you reach the MikroTik itself ROUTER_ADDR=192.0.2.1 # The single host allowed to reach the stick's telnet management ADMIN_HOST=192.0.2.2 # Address the router puts on sfp1 to talk to the stick (same /24 as GPON_HOST) STICK_MGMT_ADDR=192.168.100.2/24 # The ISP's WAN VLAN on the Ethernet side of the stick — VERIFY THIS YOURSELF WAN_VLAN=4