Closed raphael10-collab closed 3 years ago
right now the network has a regression. we have a relay and client upgrade to push out to mainnet.
Thank you for your prompt reply. I'm going to wait for the upcoming upgrade, then
Following this guide: https://docs.loki.network/Lokinet/Guides/lokinet-linux-guide/ I manually entered the nameserver manually :
(base) raphy@pc:~$ sudo nano /etc/resolvconf/resolv.conf.d/head
(base) raphy@pc:~$ sudo cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.3.2.1
(base) raphy@pc:~$
(base) raphy@pc:~$ sudo resolvconf -u
(base) raphy@pc:~$ sudo resolvconf -u
(base) raphy@pc:~$ sudo systemctl restart lokinet
(base) raphy@pc:~$ sudo systemctl status lokinet
and then updated lokinet :
(base) raphy@pc:~$ sudo apt update && sudo apt install lokinet && sudo lokinet-bootstrap && sudo systemctl restart lokinet
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Hit:3 http://it.archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:7 http://it.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [499 kB]
Hit:8 https://deb.oxen.io focal InRelease
Get:9 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1.077 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,5 kB]
Get:11 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [282 kB]
Get:12 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [13,6 kB]
Get:13 http://it.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [825 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58,1 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2.468 B]
Get:16 http://it.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [330 kB]
Get:17 http://it.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [17,8 kB]
Get:18 http://it.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2.468 B]
Get:19 http://it.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1.780 B]
Fetched 3.461 kB in 1s (3.128 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
14 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
lokinet is already the newest version (0.9.3-1~ubuntu2004).
The following packages were automatically installed and are no longer required:
linux-image-5.8.0-53-generic linux-modules-5.8.0-53-generic linux-modules-extra-5.8.0-53-generic linux-objects-nvidia-460-5.8.0-53-generic linux-signatures-nvidia-5.8.0-53-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
(base) raphy@pc:~/Documents/RaphyMatters/lokinet-matters/lokinet-aware-demos/node-js$ node example.js
listening on iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki:9009
from a lokinet enabled machine use "telnet iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki 9009" to run the demo
(base) raphy@pc:~$ telnet iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki 9009
Trying 172.16.0.1...
Connected to iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki.
Escape character is '^]'.
init: iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki
recip: iwy8tocmt71zqxuarsshekrme3ft34gyteeog6fcajn4ek3dyxby.loki
Connection closed by foreign host.
So, now it seems working fine
In Ubuntu 20.04 Desktop I'm trying to run lokinet-aware-demos node.js version :
I first installed lokinet via deb repo:
(base) raphy@pc:~$
I then git cloned lokinet-aware-demos :
And tried to run the demo:
demo
But I get:
How to solve the problem?