image_pdfimage_print

Cookbook is our guide and recipes for kiwire platform owner to effectively use Kiwire into their environments.

Quick Start guide

Quick start guide will provide you on how to quickly deploy basic kiwire functionality into your network.

  1. Login to Kiwire

    cb_login

    • Login to your kiwire platform which is at http://kiwire_ip/admin
    • Login using the default credential , username : admin , password : 7890
  2. Change default password

    cb_chpass

    • Upon login ,you be prompt to change the default password, please change to a secure password.
  3. Setup initial Setting

    • Go to configuration -> setting , setup the default parameter such as currency ,timezone and apply the license key given to system
    • Go to configuration -> Organisation profile and setup your organisation name , address and brand
  4. Add your 1st NAS device

    cb_nas

    • Go to Device -> Nas and add your 1st nas devices.
    • Fill in your Nas device ip address , shared secret for the radius communication and account information.
  5. Create your 1st Login Page & Journey

    • Go to Login Engine –> Page Maker
      cookbook_page1
    • Click Create Page
    • Drag features you want into the centre panel and save it after you are done.
      cookbook_page2

      • Logo
      • Slider
      • Picture
      • Video
      • Login type (social/simple/voucher/email/register)
      • Other information
    • You may create multiple pages depending on your requirements.
    • Go to Login Engine –> Login Journey to arrange how you want your landing page to appear. For example, you want user to view T&C first before log in or view some information/picture/video. It can be before or after the landing page.
    • You may also point user to a URL for pre/post login.
    • Just drag the page maker that you have already created before and position it at where you want it to be. Currently Kiwire have 4 landing pages for you to put.
      cookbook_page3
    • Save your settings and choose the correct zone for the landing page.
  6. Create Profile

    • Create a profile for your users via account -> Profile,
  7. Create Users or vouchers

    • Create new users via account->users or voucher account-> vouchers.
    • to add a users  click on the add user and fill in the informations
      cookbook_adduser
  8. Login to network

    • Connect to the nas network , the captive portal will load , login using the newly created username or vouchers and you will be succesfull login to the network

How to create role & assign administrator to it.

This example we create an sub administrators with access to accounts modules

  • Go to Role configurations -> Roles
  • Click create role
  • Enter a role name for the new role example “account only”
  • use the access search box to search or just select and hightlight all the accessible account role from left box to the right box using the <=> icon
  • Click on Create to save the new role
  • The role is created.
  • Go to administrator and add a new administrator “accview” and assign account only role to it.
  • The administrator”accview”  can only access the account only modules.

 

Custom HTML code into Page Maker

Page maker support your own html code insertion into the spinet, this allow greater control or creativity on the look and feel of the page created

  1. Access the page maker by going to Login engine -> page maker  , and create new or edit existing page.
    cb_pagemaker
  2.  Click on the edit code button
    cb_snipet
  3. you can edit the html code and functionality
    cb_snipet_html

Setup Social Login

 

Create a sign up page option

Installing SSL Certificate for Kiwire. 

  1. type : openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csrwhere server is the name of your server.
  2. This begins the process of generating two files: the Private-Key file for the decryption of your SSL Certificate, and a certificate signing request (CSR) file (used to apply for your SSL Certificate) with apache openssl.When you are prompted for the Common Name (domain name), enter the fully qualified domain name for the site you are securing. If you are generating an Apache CSR for a Wildcard SSL Certificate your common name should start with an asterisk (such as *.example.com).You will then be prompted for your organizational information, beginning with geographic information. There may be default information set already.This will then create your openssl .csr file.
  3. Open the CSR file with a text editor and copy and paste it (including the BEGIN and END tags) into the SSL provider platform.
  4. Save (backup) the generated .key file as it will be required later for Certificate installation.
  5. After you receive your SSL Certificate from SSL provider , you can install it.
  6. when got the file put it all in /etc/httpd/ssl folder
  7. edit /etc/httpd/conf.d/ssl.conf
  8. changeSSLEngine on
    SSLCertificateFile with the path to your certificate file sent to you by the Certificate Authority;
    SSLCertificateKeyFile with the path to your private key file that was generated with the CSR code you used for the certificate activation;
    SSLCertificateChainFile with the path to the CA bundle corresponding to your certificate.
  9. Restart httpd by : service httpd restart

Using DNS as content filtering

there are dns server provided by cyber security such as norton , mcaffee  that provide basic content filtering by using their dns server ip address. the category are

  • Security Protection ( prevent malware , phishing sites and scam sites )
    Preferred dns : 199.85.126.10
    Secondary dns : 199.85.127.10
  • Security Protection + Pornography ( security protection and porn sites block )
    Preferred dns : 199.85.126.20
    Secondary dns : 199.85.127.20
  • Security Protection + Pornography + others  ( full protection )
    Preferred dns : 199.85.126.30
    Secondary dns : 199.85.126.30

 Setup rate limit / bandwidth control for Mikrotik PPPOE

Kiwire can also support dialup pppoe services for Mikrotik as controller, with Mikrotik as PPPOE server is an popular option for fixed fiber or wifi always on internet services for telco or internet service provider .

One of the requirement is to provide bandwidth or rate limit to the subscriber , the default profile by Kiwire is for WISPr ( Wireless ISP ) which use Wispr attribute , however you can use policy-> radius attribute to add PPPOE rate limit attribute to the profile. the step are

  1. create a profile as usual for your subscriber
  2. Access Radius attribute editor by going to Policy-> Radius Attribute
  3. Add the attribute “Mikrotik-Rate-Limit” ,select “:=” as operator and value in K or MB as you desire in upload/download format as the screenshot.