LabyrinthAP provides a simple, responsive web interface to control wifi, hostapd, Lokinet daemon and related services necessary to access Lokinet on the Raspberry Pi or Orange Pi.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
necro-nemesis b5976c3f7a deprecated 4 years ago
ajax new feature data usage hourly 5 years ago
config add server=/snode/127.3.2.1 to dnsmasq 5 years ago
dist Change background color to one from wallet color picker 5 years ago
img Change filesnames 5 years ago
includes change default bootstrap to https://seed.lokinet.org/lokinet.signed. 4 years ago
installers Install resolvconf in the event it's elected to be utilized in dnsmasq. 4 years ago
js remove script from custom.js 5 years ago
less Added assets + dependencies 9 years ago
locale Added utility for compiling .mo files 5 years ago
vendor Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp 6 years ago
.gitignore Initial commit 9 years ago
CNAME Create CNAME 6 years ago
CONTRIBUTING.md Create CONTRIBUTING.md 7 years ago
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 5 years ago
LICENSE Intial commit 9 years ago
README.md make less wordy. 4 years ago
_config.yml Revert "Update _config.yml" 6 years ago
bower.json Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp 6 years ago
changelog.md deprecated 4 years ago
gulpfile.js Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp 6 years ago
index.php bump release 5 years ago
package.json Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp 6 years ago
raspap.php mode change for consistency 7 years ago

README.md

$ Lokiap-webgui Release 1.8

LokiAP interfaces witht Lokinet daemon to facilitate connections to the the Lokinet global privacy network. LokiAP provides a simple, responsive web interface to control wifi, hostapd, Lokinet daemon and related services necessary to access Lokinet on the Raspberry Pi or Orange Pi.

WHAT IS LOKI?

https://loki.network/

"Loki is a privacy network which will allow users to transact and communicate privately over the internet, providing a suite of tools to help maintain the maximum amount of anonymity possible while browsing, transacting and communication online. Using the decentralised nature of blockchain technology, Loki creates new private and secure methods of interacting with the internet, as well as building privacy-centric applications, such as messaging services, forums, online marketplaces, and social media platforms."

Loki

Contents

Prerequisites

Start with a clean install of Armbian or Raspbian (currently Buster and Stretch are verified as working). Lite versions are recommended. If using Raspbian Buster you will need to run the command sudo apt-get update --allow-releaseinfo-change then elevate to root with sudo su before running the LokiAP installer script. These additional steps are not required when using Armbian.

For Orange Pi R1 use Armbian Buster found here: https://www.armbian.com/orange-pi-r1/. Recommend using "minimal" which is available for direct download at the bottom of the page or much faster download by .torrent also linked there.

Specific code has been incorporated to take advantage of the OrangePi R1's second ethernet interface. The AP will provide access via ethernet in addition to wifi when using this board.

For OrangePi Zero use Armbian Buster found here": https://www.armbian.com/orange-pi-zero/

Note:

Although it will function the OrangePi Zero has a well documented issue with the XR819 wifi chip used on this board. It will drop connections occasionally as a result of unresolved firmware issues. The board is supported but I would recommend using the R1 over the Zero given it has two ethernet adapters and is equipped with a Realtek wifi chip which is stable.

To burn the image to an SD card on your PC you can use Etcher: https://www.balena.io/etcher/

Preparing the image

For Raspbian you will need to remove the SD card from the computer, reinsert it, open the boot directory up and create a new textfile file named ssh with no .txt file extension i.e. just ssh in order to remotely connect. This step is not required for Armbian.

Insert the SD card into the device and power it up.

Accessing the device

Obtain a copy of Putty and install it on your PC: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

  1. Log into your router from your PC and find the address it assigned to the Pi.

  2. Start Putty up and enter this obtained address into Putty with settings:

    Host Name Address = the address obtained from router | Port 22 | connection type SSH | then OPEN

    For Raspbian the default login is root password raspberry For Armbian the default login is root password 1234

  3. Follow any first user password instructions provided once logged in.

  4. If you want to get the lastest updates before installing LokiAP:

sudo apt-get update
sudo apt-get upgrade
sudo reboot
  1. If you have an older Raspberry Pi without an onboard WiFi chipset, the Edimax Wireless 802.11b/g/n nano USB adapter is an excellent option it's small, cheap and has good driver support.

With the prerequisites done, you can now proceed with the Quick installer.

Quick installer

Install LokiAP from shell prompt:

$ wget -q https://git.io/fjeSw -O /tmp/raspap && bash /tmp/raspap

The installer will complete the steps in the manual installation (below) for you. You will be occasionally prompted to answer y or n. Answering yes to all prompts will in almost all cases be the answer you want so if in doubt respond with y that you want the default set up and the AP will work.

After the reboot at the end of the installation the wireless network will be configured as an access point as follows:

  • IP address: 10.3.141.1
    • Username: admin
    • Password: secret
  • DHCP range: 10.3.141.1 to 10.3.141.24
  • SSID: loki-access
  • Password: ChangeMe

Test site

To test the connection navigate to Loki's wiki page found at http://icxqqcpd3sfkjbqifn53h7rmusqa1fyxwqyfrrcgkd37xcikwa7y.loki/wiki/index.php?title=Main_Page

Support us

LokiAP is free software, but powered by your support. If you find it beneficial or wish to contribute to inspire ongoing development your donations of any amount; be they even symbolic, are a show of approval and are greatly appreciated.

Loki Donation Address:

LA8VDcoJgiv2bSiVqyaT6hJ67LXbnQGpf9Uk3zh9ikUKPJUWeYbgsd9gxQ5ptM2hQNSsCaRETQ3GM9FLDe7BGqcm4ve69bh

How to contribute

  1. File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
  2. Fork the project in your account and create a new branch: your-great-feature.
  3. Commit your changes in that branch.
  4. Open a pull request, and reference the initial issue in the pull request message.

License

See the LICENSE file.