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 1347f25fbc
Merge pull request #34 from necro-nemesis/master
Bring staging up
5 years ago
ajax new feature data usage hourly 5 years ago
config Use dnsmasq vice resolvconf for servers. 5 years ago
dist Change background color to one from wallet color picker 5 years ago
img Change filesnames 5 years ago
includes Edit Armbian identification 5 years ago
installers pipe yes to all installs 5 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 elevate to root 5 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 Update changelog.md 5 years ago
gulpfile.js Added vendor directory & gulp support for better dependency organization + compiling less & js files. added gulp 6 years ago
index.php Update to 1.7 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.7

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

This project branches from the work of Raspap and SB Admin 2.

Contents

Prerequisites

Start with a clean install of the latest release of 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.

For OrangePi Zero you can use an Armbian Buster "nightly" found here": https://dl.armbian.com/orangepizero/nightly/ or stable Armbian Stretch found here: https://dl.armbian.com/orangepizero/

For Orange Pi R1 you can use Armbian Buster "nightly" found here: https://dl.armbian.com/orangepi-r1/nightly/ or stable Stretch found here: https://dl.armbian.com/orangepi-r1/

Be aware "nightly" Armbian releases can be unstable but are needed to run Buster. If in doubt use a Stretch release build.

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. Set the WiFi country in raspi-config's / armbian-config's Localisation Options: sudo raspi-config or sudo arbmian-config for RasperryPi or OrangePi respectively.

  2. 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 proceed with either the Quick installer or Manual installation steps below.

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.