Adopisoft 5.1.6 Installation using Ubuntu Server 24.04.3

 x64 or x86/64 (amd64) Installation Important: Before proceeding with command-line installation, it is assumed that you are already fam...

Tuesday, November 4, 2025

Adopisoft 5.1.6 Installation using Ubuntu Server 24.04.3

 x64 or x86/64 (amd64)

Installation

Important: Before proceeding with command-line installation, it is assumed that you are already familiar on how to install Ubuntu Server 24.04.3 operating system into your machine.

Download ISO here:
https://ubuntu.com/download/server
Installation of Ubuntu Server 24.04.3 Guide: https://blog.adopisoft.com/uncategorized/installing-ubuntu-server-24-04-3

 

Please follow the steps to build your coin operated wifi hotspot using Mini PC:

1.     Command Line Installation

2.     Initial Setup Admin Web Interface

3.     Change Database Settings

 

1. Command Line Installation

Command line installation is used when software image is not available for your board/machine. First, you need to have access to the command line of your board/machine. In this guide, we will use Ubuntu Server 24.04.3.

Connect your LAN cable, keyboard, monitor and USB to LAN adapter(optional) to your x64 or x86/64 (amd64) machine. Then Power on your board and login to the command line.

 

Execute the following commands line by line (much easier if you remote ssh your server and just copy paste the commands):

 

sudo apt-get update && sudo apt-get upgrade -y


sudo apt-get install curl -y


curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -


sudo apt-get install -y nodejs python nginx bind9 isc-dhcp-server

 

If the above command returns Package 'python' has no installation candidate, try the following:

 

sudo apt-get install -y nodejs python2 nginx bind9 isc-dhcp-server


sudo ln -s $(which python2) /usr/bin/python

 

 

If the above command returns Package 'python2' has no installation candidate, try the following:

 

sudo apt-get install -y nodejs python3 nginx bind9 isc-dhcp-server


sudo ln -s $(which python3) /usr/bin/python

 

Then next:

sudo apt-get install -y iptables hostapd dmidecode build-essential openssh-server python-pip unzip bridge-utils git iputils-arping

 

If an error show Package python-pip is not available, try this:

 

sudo apt-get install -y iptables hostapd dmidecode build-essential openssh-server python3-pip unzip bridge-utils git iputils-arping

Then proceed with the following commands:

 wget -O /tmp/adopisoft-5.1.6-20251016-amd64-node-v16.20.2.deb https://github.com/AdoPiSoft/Releases/releases/download/v5.1.6-20251016/adopisoft-5.1.6-20251016-amd64-node-v16.20.2.deb

sudo apt-get install /tmp/adopisoft-5.1.6-20251016-amd64-node-v16.20.2.deb

 

Now, enable and start adopisoft service and then reboot

 

sudo systemctl enable adopisoft


sudo systemctl start adopisoft


sudo reboot

2. Initial Setup

 

Installation Wizard

Find your board/machine's IP address. In your board/machine's screen, just type:

ip address

 

Once you have identified your board/machine's IP address, open your browser on your PC and type the url to your board/machine's IP address.

Example:

http://192.168.1.30

 

Setup Account

1.     Type your password

2.     Confirm your password

3.     Click Save button

NOTE: If you encounter error about UUID, just ignore it and proceed.

Select Board

1.     Choose your board/machine type. Select Generic x64 or x86/64 (amd64) Machine.

2.     Click Save

 

Setup WAN

1.     Select your WAN network interface. The system will automatically recommend the interface connected to your network.

2.     Click Set as WAN Interface button

3.     Configure your WAN interface (Dynamic IP or Static IP). If not sure, check Dynamic IP Address.

4.     Click Save button

 

Setup LAN

Important: Make sure your board/machine has two network interface. For boards without wifi interface, you have to insert the USB to LAN adapter first.

1.     Choose the network interface for your LAN. It can be the wifi interface (wlan0 or wlpsxxx) or any ethernet interface.

2.     Check Enable Captive Portal

3.     Set alias to LAN Interface or Built-in WiFi (or anything you like)

4.     Disable/Uncheck Dynamic IP Address

5.     Set Statc IP Address to 10.0.0.1

6.     Set Network Prefix to 20

7.     Check Use System DNS Server

8.     Check Enable DHCP Server on this interface

9.     Set DHCP Pool Start to 10.0.0.10

10.  Set DHCP Pool End to 10.0.15.254

11.  Click Save button

12.  Click Done or Finish button.

 

3. Database Settings

 

Note: The default database used is sqlite because it's the only database that can be package into the debian file. But we highly advice to change the database to postgresql after you have successfully setup the admin.

Run the command below:

 

sudo apt update


sudo apt install postgresql postgresql-contrib

 

sudo -u postgres psql

 

postgres=# \password
Enter new password:
Enter it again:
postgres=# \q

 

Create Database:

sudo -u postgres createdb adopisoft

Then reload and enable postgres service:

sudo service postgresql reload && \
 sudo systemctl enable postgresql.service

Reboot the machine. Then in the web admin “SystemSecurityDatabase Connection” settings, change the config to:

Database Type: postgres
Host/IP: localhost
Port Number:
Database Name: adopisoft
Username: postgres
Password: your password

Lastly make sure to DISABLE SSH SERVICE. This is very important to prevent hackers from accessing your machine. To disable the SSH service, just type:

 

sudo systemctl disable ssh

Tuesday, August 19, 2025

Paano Magpalit from USBTOLAN image to VLAN sa LITE version ng 5.1.6

Take note: Sa setup nyo ngayon make sure naka VLAN po kayo. All you need to do is to insert usb to lan sa usb port ng RPI/OPI board then lagyan nyo ng AP in AP mode(disable VLAN doon sa AP) ang USB2LAN nyo. Take note wala kayong gagalawin sa current network setup nyo na naka VLAN.

 1. Una, kung gumagamit kayo ng VLAN setup. Wag nyo nang galawin ang cable connection.Sa halip magdagdag na lang kayo ng USBTOLAN sa USB port ng RPI/OPI board nyo tapos saksakan nyo ng AP na naka AP mode(not router mode and not repeater mode and must be disabled it VLAN functionality kung meron man) tapos isaksak nyo ang bagong image na 5.1.6 na na flash nyo po then boot or power on.

2. Upon reboot login kayo by connecting to AP na nakasaksak doon sa usb to lan. Its portal IP is 10.0.0.1
3. Determine is WAN IP. Take note it.Sample below.

4. Connect ka sa internet source ng RPI/OPI mo or sa ISP modem router kung di ka gumagamit ng VLAN router. Malalaman mo naman yan kung anong router ang nakasulat sa WAN doon mo ikonek ang wifi mo, tapos open ka ng chrome browser at i-type ang WAN IP sa browser para mabuksan ang admin dashboard ng vendo machine. Example kung anong nakita mo sa photos above yun ang itype mo sa browser which is 192.168.3.18 on my part. Sa  setup mo iba din. 

5. Login ka using WAN IP then ang username at password ay parehong admin. Tapos punta ka sa basic network setup palitan ang LAN setup ng VLAN at i set ang LAN IP under check Show more Options, sa 10.0.0.1. Kung mag errror at sinabing gamit na ang 10.0.0.1 na IP sa usb to lan, balik mo muna sa USB TO LAN ang LAN SETUP tapos palitan mo muna sya ng 20.0.0.1 then save tapos reboot mo. Itoy para mabakante ang 10.0.0.1  dahil gagamitin mo sya sa VLAN.

6. Pagkareboot pwede mo nang gawing VLAN ang LAN Setup at i set sa 10.0.0.1 ang LAN IP under check Show more Options then reboot ulit. PAgka reboot naka VLAN ka na,  Pano gawin di ba pinalitan mo na ang usb to lan ng 20.0.0.1 so pagka reboot connect ka sa AP ng usb to lan tapos access mo ang admin dashboard via 20.0.0.1/admin tapos go to BASIC NETWORK SETUP at i switch mo sa VLAN with IP 10.0.0.1. Save and restart. After restart pwede mo nang tanggalin ang usb to lan dahil working na ang VLAN mo.
 
Kung naka business image naman po kayo sa 5.1.6 Final, ang current config nya is naka 10.0.0.1 ang usb to lan, 20.0.0.1 ang builtin wifi at 30.0.0.1 ang vlan22. 

Friday, June 13, 2025

How to configure Single Interface and Multiple Interface in Adopisoft Pisowifi System

 Single interface setup


Multiple interface Setup.
It could be multiple VLAN, multiple USB TO LAN. or multiple LAN port kung maraming builtin-in ethernet port ang ubuntu PC/Mini PC mo and last is combination of VLAN and USB TO LAN.

1. Multiple USB TO LAN

                                         This connection uses 2 USB TO LAN. The eth1 is configured as 10.0.0.1 and the other is 20.0.0.1

Here is the admin configuration:


Go to network then interface then eth1                          Go to network then eth2

    check enable captive portal                                           check enable captive portal 

    set maximum hops allowed to 1                                    set maximum hops allowed to 1

    uncheck dynamic ip address                                         uncheck dynamic ip address

    set static to 10.0.0.1                                                      set static to 20.0.0.1

    set network segment to 20                                            set network segment to 20

    check Use System DNS Server                                    check Use System DNS Server

    Check Enable DHCP Server on this Interface              Check Enable DHCP Server on this Interface

    DHCP Pool Start 10.0.0.10                                           DHCP Pool Start 20.0.0.10

    DHCP Pool End:10.0.15.254                                        DHCP Pool End:20.0.15.254


2. Multiple VLAN only

Here is admin configuration:


Go to Network then VLAN Setup                                        Go to Network then VLAN Setup
    then eth0.22:                                                                             then eth0.23          

    Click create VLAN                                                                      Click create VLAN

    Check Enable Captive Portal                                                     Check Enable Captive Portal

    Set Maximum Hops Allowed to 1                                               Set Maximum Hops Allowed to 1

    Set Parent interface to eth0                                                       Set Parent interface to eth0

    Set VLAN ID/Tag to 22                                                               Set VLAN ID/Tag to 23

    Uncheck Dynamic IP Address                                                    Uncheck Dynamic IP Address  

    Set Static IP Address to 22.0.0.1                                               Set Static IP Address to 23.0.0.1

    Set Network Prefix to 20                                                            Set Network Prefix to 20

    Check Use System DNS Server                                                Check Use System DNS Server

    Check Enable DHCP Server on this Interface                           Check Enable DHCP Server on this Interface

    Set DHCP Pool Start 22.0.0.10                                                 Set DHCP Pool Start 23.0.0.10

    Set DHCP Pool End to 22.0.15.254                                          Set DHCP Pool End to 23.0.15.254

    Click create VLAN                                                                     Click create VLAN

Go to Network then VLAN Setup                                        Go to Network then VLAN Setup
    then eth0.24:                                                                             then eth0.25          

    Click create VLAN                                                                      Click create VLAN

    Check Enable Captive Portal                                                     Check Enable Captive Portal

    Set Maximum Hops Allowed to 1                                               Set Maximum Hops Allowed to 1

    Set Parent interface to eth0                                                       Set Parent interface to eth0

    Set VLAN ID/Tag to 24                                                               Set VLAN ID/Tag to 25

    Uncheck Dynamic IP Address                                                    Uncheck Dynamic IP Address  

    Set Static IP Address to 24.0.0.1                                               Set Static IP Address to 25.0.0.1

    Set Network Prefix to 20                                                            Set Network Prefix to 20

    Check Use System DNS Server                                                Check Use System DNS Server

    Check Enable DHCP Server on this Interface                           Check Enable DHCP Server on this Interface

    Set DHCP Pool Start 24.0.0.10                                                 Set DHCP Pool Start 25.0.0.10

    Set DHCP Pool End to 24.0.15.254                                          Set DHCP Pool End to 25.0.15.254

    Click create VLAN                                                                     Click create VLAN

3. Combination of VLAN and USB TO LAN







4. VLAN directly to AP - No VLAN capable switch/managed switch or no VLAN capable Router

You can still use VLAN if you dont have a VLAN capable router or a VLAN capable switch but have a VLAN capable AP such as TL-EAP110 and TL-EAP225. Remember VLAN on AP's portal must be enabled.



You can also use switch when using VLAN capable AP. But all AP must have VLAN capable or else connecting Access Point(AP) via AP mode on switch will give then free internet because they will be connected directly to ISP.


Bridges (br0,br1,br2...)
Combining2 or more interface into single network and shares single IP subnet.The purpose is to have same portal IP throughout different interfaces. Their individual IP is discarded and uses the subnet of the bridge interface.This may also be used when grouping different network into single network found on the same location base on their purpose and use.
Below is sample of a bridge network where vlan22(eth0.22) and wlan0(Builtin wifi) are bridge together via 10.0.0.1/20 network.

Common misconception:
Wag ka nang mag create ng bridge kung isa lang naman ang member ng bridge.Additional process lang po yan sa system. Mag bridge ka lang kung ang purpose mo is pagsamahin ang 2 or more interface na member sa bridge para iisang IP lang sila. Example sa madalas na bini bridge ay ang builtin wifi na  i-bridge mo sa isa sa mga existing vlan mo para iisang IP network segment/portal sila.


Saturday, November 16, 2024

How to Upgrade from Lite to Business without reflashing?

 1. Revoke your LITE license. This is required.Login to your vendor machines admin portal 10.0.0.1/admin then under Device Information, revoke your Lite license.




2. Install Business version via debian file.
Here are the link for different types of Board.
Please update your system by going to System then Devices then paste this link into remote debian file provided box.Dont download .Just copy and paste the link.
For 5.1.3 and above,go to System then Software Updates

For Ubuntu PC
https://github.com/AdoPiSoft/Releases/releases/download/v5.1.5/adopisoft-5.1.5-amd64-node-v16.4.0.deb

For OPI/RPI(armhf) Business:
https://github.com/AdoPiSoft/Releases/releases/download/v5.1.5/adopisoft-5.1.5-armhf-node-v16.4.0.deb

For OPI/RPI Lite(armhf lite)
https://github.com/AdoPiSoft/Releases/releases/download/v5.1.5/adopisoft-5.1.5-lite-armhf-node-v16.4.0.deb

For arm64 board(Nanopi R2S) Business
https://github.com/AdoPiSoft/Releases/releases/download/v5.1.5/adopisoft-5.1.5-arm64-node-v16.4.0.deb

For arm64 board INanopi R2s) LITE
https://github.com/AdoPiSoft/Releases/releases/download/v5.1.5/adopisoft-5.1.5-lite-arm64-node-v16.4.0.deb




3. Hard restart the machine.After restart , activate the new business license.
There are 2 kinds of Business license:
AdoPiSoft Business (Lifetime) - Php 3,150
Unlimited users
Unlimited Sub Vendos
Full Features

AdoPiSoft Business 1 Year Subscription - Php 499
Unlimited users
Unlimited Sub Vendos
Full Features

To avail, go to here: https://www.adopisoft.com/activation



Friday, October 18, 2024

Using Termius to connect to your device via SSH

 1. Install termius via playstore apps
2.connect to your vendo machine. vendo machine Portal 10.0.0.1 should be accessible.Make sure ssh is enabled on your vendo machine. Go back to guide.
3 Open termius apps


4. Click the + sign to add device


5. Follow this:
alias:type RPI4, OPI one,OPI PC or kung anong board ang gamit mo
hostname or IP address: 10.0.0.1
port:22
check ssh
username: check the guide
password: check the guide
then press CHECK on top right side
6. A device is generated , click that device to open it. 
7. On terminal type your command example sudo nano /etc/resolv.conf
8. When editing file such as resolv.conf, used the 3 dotted line on top right of the phones keyboard to access the arrow left, arrow right, arrrow up ang arrow down. The CTRL key is also beside the 3 dotted line.
To edit, position your cursor at the end of the line using arrow key then press backspace
To save just press CTRL then press O then ENTER
To exit file and return to terminal press  CTRL then press X