Code Monkey home page Code Monkey logo

pilanshare's Introduction

GramThanos version dev-version

PiLanshare

Share your Raspberry's WiFi to Ethernet

PiLanshare


Setup

Install from the web

Install pre-release v0.3.1-beta PiLanshare Daemon and WebUI

sudo apt install python3-distutils
wget https://raw.githubusercontent.com/GramThanos/PiLanshare/v0.3.1-beta/install.py
sudo python3 ./install.py -v
rm ./install.py

The default installation paths are, for the daemon /etc/pilanshare and for the WebUI /var/www/html/pilanshare. The installation script does not install or configure any webserver. It was tested on nginx 1.10.3 and PHP 7.0.33.

You can also download the ieee oui data, so that the WebUI can find the vendor name from the MAC address

sudo wget -O /var/www/html/pilanshare/includes/oui.txt http://standards-oui.ieee.org/oui/oui.txt
sudo chown root:www-data /var/www/html/pilanshare/includes/oui.txt

Install by clonning the git repo

Install latest development version of PiLanshare Daemon and WebUI

sudo apt install python3-distutils
sudo apt install git
git clone https://github.com/GramThanos/PiLanshare.git
cd ./PiLanshare
sudo python3 ./install.py -v

Configuration

Apart from the WebUI configuration, you can configure the PiLanshare daemon by creating a pilanshare.ini file at your Raspberry's boot partition (located at /boot/).

Example pilanshare.ini

[DAEMON]
log_level = info

[IPTABLES]
enable = True
interface_source = wlan0
interface_target = eth0
ip_address = 192.168.3.1
netmask = 255.255.255.0

[DNSMASQ]
enable = True
interface = eth0
dhcp_start = 192.168.3.20
dhcp_end = 192.168.3.255
dhcp_netmask = 255.255.255.0
dhcp_broadcast = 192.168.3.255
dhcp_lease_time = 12h
router_ip_address = 192.168.3.1
router_domain_name = pilanshare.local

[DNSMASQ_BINDS]
00:01:02:03:04:05 = 192.168.3.10
02:04:06:08:0A:0C = 192.168.3.11

More Images

preview image - login page preview image - dashboard page preview image - lanshare page preview image - devices page preview image - queries page preview image - net stats page preview image - system page


Contribute to the project

Leave your feedback, express your thoughts or contribute code to this project!

You can open an issue or even create a pull request


Powered By

This project was made possible by:

Raspberry Pi, Dnsmasq, iptables, Python, PHP, Bootstrap, jQuery, Bootbox.js, DataTables, Font Awesome, Chart.js, Quicksand Font


License

This project is under The MIT license. I do although appreciate attribution. The libraries used on the WebUI page have their own licenses.

Copyright (c) 2019-2023 Grammatopoulos Athanasios-Vasileios


GramThanos

pilanshare's People

Contributors

gramthanos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

davegabe

pilanshare's Issues

Connecting to WebUI

My computer is not connecting to the WebUI. I am going to the IP of my Pi, and the site will not connect. Any ideas on how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.