Problem: Validating license, http request error, machine is offline, internet is down and inventory logs do not appear.
Note: This fix works only on version 5.1.3 and above not on validating license on old version 3.xx machine,
Caused: Time and date is not synchronized and DNS is not properly configured
Solution:
Paki edit ang laman ng timesyncd.conf at resolv.conf para mag automatic sync ang date and time.Pwede naman itama ang ang date and time manually pero malelate pa rin yan pag nag brownout/restart
Use putty terminal and follow these steps
1. Download putty in your laptop or desktop.
Download here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Download the 64bit if you're using 64bit and 32 bit if using 32 bit for windows system.
No laptop or desktop, don't worry you can use Termius apps on your Android phone.Here is the guide
Click this using Termius guide
2.Enable SSH on your Adopisoft admin dashboard
3. Make sure your PC is connected to vendo machine or the portal 10.0.0.1 is accessible on your PC then open putty.
Use the following login credentials:
For other board:
user:adopisoft
pass:asdf@12345
For RPI
user:pi
pass:raspberry
For OPI5/OPI ONE/OPI PC
user:username: root
passwd: asdf@12345 or asdf@123 or Asdf@12345
For Generic machine/Ubunto server
user:adoadmin
pass:AdoPiSoft
For Ubunto Server Business OVA File for Virtual Machine
user:username: root
passwd: asdf@12345
Note: Typing password, will have no screen response. Just make sure you type it correctly then ENTER.Yung password pala wag kang magtaka kung walang lumalabas sa screen.Ganyan talaga yan di nakikita
4. Once na nakapasok, after you login type date then press ENTER
5.Double check the result. Change if the time and date is incorrect.
To change your time:
sudo date -s "yyyy-mm-dd hh:mm:ss"
replace with your current date and time
example: sudo date -s "2023-07-13 09:16:59"
Note:Time format is 24hour format so if it is 1:00PM, It tmeans 13:00
sudo date -s "2024-04-14 13:07:59"
6.Check if date and time is synchronized. Type timedatectl then press ENTER
7.If system clock synchronized is yes, proceed to step 8. For OPI PC/OPI One board proceed to step 8. Step 7 is not needed for OPI board.
If system clock synchronized is no,
Open timesyncd.conf file then edit its content
To open, type this in the terminal:
sudo nano /etc/systemd/timesyncd.conf
then press ENTER. Check the command's spelling, spacing and period.Always double check before you hit ENTER.
You should see this file content:
Please remove the comment (#) after [Time] then add this NTP server in the list.Copy and paste na lang para dina mag type:Yung hashtag # lang po.Wag yung buong line and edelete.
NTP=ph.pool.ntp.org
NTP=0.asia.pool.ntp.orgNTP=1.asia.pool.ntp.org
NTP=2.asia.pool.ntp.org
NTP=3.asia.pool.ntp.org
To edit, use arrow up and down, arrow left and right,backspace and ENTER key
The result should be look like this:
Ganito na dapat magiging itsura:
When you are done editing, save it.
To save press CTRL+O then ENTER
To exit file press CTRL+X
To close putty type exit but do not close it, because you're not done yet.
Next
- Restart the
systemd-timesyncd
service:
To restart type this command then press ENTER:
sudo systemctl restart systemd-timesyncd.service
Wait for a few minutes then check if system clock synchronized becomes "Yes"
Once you've followed these steps, your Raspberry Pi's/OPI's clock should be synchronized with the network, ensuring accurate timekeeping.
8. Configure your DNS
Type this command on terminal sudo nano /etc/resolv.conf then press ENTER. Check the commands spelling, spacing and peiod.Always double check before ENTER.
You will see this result:
9. Edit it then add your DNS 1.1.1.1 and 8.8.8.8. Use arrow up and down, arrow left and right to edit.
nameserver 1.1.1.1
nameserver 8.8.8.8
Add the router IP of your vendo machines Internet source:
If using VLAN, add your VLAN Routetr;s IP or IP ng VLAN device mo to access the admin dashboard of your VLAN router, kung naka enabled ang DHCP
If direct to ISP, add your ISP modem router's IP.Yung IP para mabuksan mo or ma remote ang ISP modem router.
Example 192.168.1.1, 192.168.254.254, 192.168.0.1, 192.168.88.1
nameserver 192.168.88.1
Add your vendo's interface IP
nameserver 10.0.0.1
nameserver 20.0.0.1
Take note: mas ok kung mauna ang DNS sa list
It should look like this after you edit:
What you will be adding in the list, depends on your Admin dashboard
10. After editing press
CTRL+O then press ENTER to save.
Press CTRL+X to exit file.
Type exit to close putty
11. For OPI one/OPI Pc board only lock the resolv.conf file to prevent modification of changes during reboot.This is the terminal command:
sudo chattr +i /etc/resolv.conf
COMMON Question:
Bakit po blank or walang laman. Ano po ang gagawin?
A: Check spelling, spacing and period. Siguradong mali.
"Paano po ii edit boss saan magpipindot"
sagot: To edit use arrow up and down, arrow left and right and backspace.
"Anong ilalagay": Sagot: Depende sa kung anong makikita dashboard mo.Ito ang mga ilalagay
Mga Ip ng interface ng VLAN at USB TO LAN. Sample sa picture above are 10.0.0.1, 8.0.0.1, and 20.0.0.1
IP ng main router mo kung saan kumukuha ng internet ang vendo machine/Ubuntu PC. In other words WAN gateway or yung IP para mabuksan mo and admin dashboard ng ISP modem router .Example 192.168.1.1, 192.168.254.254, 192.168.0.1
Last is IP of your DNS. This is the most important .Kaya wag pong kalimutan. Usually 8.8.8.8 at 1.1.1.1
Take note, depende sa makikita sa dashboard nyo po. Follow the format <nameserver space IP>
"Na edit ko na po, anong sunod?"
Sagot: After editing press CTRL+O then press ENTER to save.
Press CTRL+X to exit file.
Type exit to close putty.