NRS Fiscal Setup & Support

Fiscal / NRS initial Setup

  1. NRS will Send Fiscal a Site Survey / VAR sheet One Week before Site Controller Setup. This will give us the time needed for our Network Team to create a new VPN for the location(s).
  2. Once the VPN(s) are received from Fiscal Networking Team Klaus will let NRS know to hook up Site Controller to internet and start the “New Install”, Temporary VPN
  3. NRS to start the VPN:
    1. Login as root and type “service firewalld stop”
    2. Type “runvpn” and make sure the the vpn is connected.
    3. If you see the following output call Fiscal Systems and let them know that the SC is connected.

2025-04-14 11:18:51 /bin/ip link set dev tun0 up

2025-04-14 11:18:51 /bin/ip addr add dev tun0 local 10.0.132.105 peer 10.0.132.105

2025-04-14 11:18:51 /bin/ip route add 10.0.0.0/16 via 10.0.132.105 → Tunnel IP Address

2025-04-14 11:18:51 GID set to nobody

2025-04-14 11:18:51 UID set to nobody

2025-04-14 11:18:51 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

2025-04-14 11:18:51 Initialization Sequence Completed

  1. NRS will then call Fiscal (1-800-838-4549 Ext 164 Chad or 179 Klaus) so we can install the new individual VPN for the new location.
  2. Once Fiscal can Connect to the New Site Controller, we will do the following:
    1. Install New Location Specific VPN on the Site Controller
    2. Upgrade Site Controller, CCL and IFSF code to the latest Versions
    3. Setup Dispensers to match Site Survey
    4. Setup Merchant Ids in Fiscal Site Controller to match VAR Sheet
    5. Add the following variables to the /home/sitecon/sc/environ.dat file and fix dispenser specific variables.

POSCNX_BROADCAST_PUMPING 1

COPY_CMEDIA_LOG_PATH /home/scifsf/outsidesales

POSCNX 1

  1. Change the following variables in home/ccl/ccl/environ.dat file

PORTAL_IP 10.0.1.1

PORTAL_PORT 19963

RECEIPTDATA_CORPID xxxxxxxxxx--------- Get ID from Unattended Portal

RECEIPTDATA_STOREID 00xx------------------- Get ID from Unattended Portal

PORTAL_SITE_ID xxxxxxxxxx --------- Get ID from Unattended Portal

PORTAL_TERM_ID 00xx-------------------- Get ID from Unattended Portal

XMLPORTAL 00xx-------------------- Get ID from Unattended Portal

PDL ATL -----NOT ADS-----

  1. Delete the following line out of ciso.cfg

w,6900460458 ,WRIGHT EXPRESS OTR

  1. Make sure there is an /home/scifsf/outsidesales directory created with the following permissions: (chmod 775 if necessary)

drwxrwxr-x 2 scifsf users 4096 Aug 7 07:37 outsidesales/

  1. Check serial port setting 0x300X or 0x400X in setserial-TDOU
  2. Check firewall for port 9700, 8080 (Bennett CRD) 4710 (IFSFTranslator to POS)
  1. Remove /root/.bashrc so Yast will Look Good.
  2. Change settings for IFSFTranslator.
    1. Check /home/scisfc/.bashrc and make sure it does not have

# Fiscal additions below

export FDC_STORE_ID=12345

export AUTH_TOKEN=NRS_TEST

  1. Edit /home/scifsf/environ.dat and add Store name and Auth Token.

AUTH_TOKEN=NRS_TEST or SWIFTSKU_TEST

FDC_STORE_ID=SUNBURY------ Name can be anything

  1. Reboot to make sure the new VPN starts. Have IT-Team open VPN for Unattended Portal
  2. Load Site Config and Prices from the unattended Portal.
  1. Fiscal will Call NRS when we have completed Setup.

Support Section

Site Controller Variables

In the /home/sitecon/sc/environ.dat

POSCNX 1

-Turns on the Conexxus POS Interface

POSCNX_BROADCAST_PUMPING 1

- When the Conexxus POS interface is on, this turns on the broadcasting of pump info for currently fueling dispensers to all connected POSs.  Having this enabled by default could lead to performance issues, so it’s optional.

COPY_CMEDIA_LOG_PATH /home/scifsf/outsidesales

- When outside sales finish, the data written to cmedia.dat also has a copy written into the directory configured, for reporting on outside sales at the end of the day to Conexxus POSs that ask for it.

In the /home/scifsf/environ.dat

AUTH_TOKEN=NRS_TEST

- I think this is some sort of web authentication data used between the POS and the IFSFTranslator for pulling EndOfData data for outside sales.

FDC_STORE_ID=TGeneralStore

- I assume this is some sort of Store ID for that EndOfDay data

Other Directories

In /home/sitecon/sc/PosCnx

- This is where the SC stores information about fuel authorizations from Conexxus based POSs, as well as information about which sales are locked by which POSs.

Files/Structures/Locations/Permissions:

Effects files in the SC's PosCnx subdirectory:

- SaleTrxSeqNos.dat : Tracks the current transaction sequence number for each dispenser, as well as storing the next available transaction sequence number.

 - SaleTrx-<pump>-<seqNo>.bin : Files of fuel authorizations and fuel sales, with pump being the dispenser number, and seqNo being that fuel authorization's transaction sequence number.

In /home/scifsf

- This is where the IFSFTranslator runs (the separate program that translates Conexxus POS messages into what the SC understands)

In /home/scifsf/outsidesales – These are the outside sales

-rw-r-----  1 scifsf  users  6068 Jul  3 23:11 outsidesalesreport.1751602301

-rw-r-----  1 scifsf  users  5265 Jul  4 23:18 outsidesalesreport.1751689080

-rw-r-----  1 scifsf  users  3673 Jul  5 23:46 outsidesalesreport.1751777203

-rw-r-----  1 scifsf  users  4483 Jul  6 23:58 outsidesalesreport.1751864293

-rw-r-----  1 scifsf  users  2865 Jul  8 00:27 outsidesalesreport.1751952457

-rw-rw----  1 sitecon users   242 Jul  8 08:07 cmedialog-1-1751980024

In /home/scifsf/logs

- This is where IFSFTranslator logs roll over to. Just like for SC or CCL logs.

*Confirmation Needed on these directories*

I don't think any of these other directories are actually used:

/home/scifsf/.local

/home/scifsf/backups

/home/scifsf/bin

/home/scifsf/.fonts

/home/scifsf/scripts

/home/scifsf/crash

/home/scifsf/ADO-9485

/home/scifsf/.config

/home/scifsf/.cache

/home/scifsf/IFSFdatabase

In /home/scifsf/IFSFlog.dat

List of things to search for – Confirm which of these are helpful

-AuthorizFuelPointRequest

-ERRCD_TRANSLOCKED

-LockFuelSale

-ERRCD_OK

-GetFuelSaleTrxDetailsResponse

-GetAvaiableFuelSaleTrxResponse

-MerchandiseTrxAmount

-POSTransData

-GetFPSStateRequest This will show when fuel was authorized. There is a request and response.

-DeviceID=”#” This is the dispenser number

Example of a Transaction *PENDING Code Updates*

*Need confirmation this is what the log will look like at a live site*

Check to see if IFSF is running on the SC if having issues

ps -ef | grep IFSFTranslator

supsc gc01 (0 then pump number if single digit pump) clear a stuck sale

supsc 4 to start and stop fueling

supsc gc02 to cash out sale

supsc gc021 to cash out a stacked sale

To interpret pump status changes, such as ""Pump status 48 -> 49" in Syslog.dat

#define S_IDLE '0' // 48

#define S_AUTH_ON '1' // 49

#define S_RQST_OFF '2' // 50

#define S_PUMPING '3' // 51

#define S_SALEO_ON '4' // 52

#define S_SALEO_OFF '5' // 53

#define S_STOPPED '6' // 54

#define S_UNDEFINED '7' // 55

#define S_BADSTATUS '8' // 56

#define S_CLOSED '9' // 57

#define S_BLOCKED ':' // 58

#define S_IDLE_OFF '<' // 60

#define S_CREDIT '=' // 61

#define S_PREPAY '>' // 62

#define S_SELECT '?' // 63

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.