Giter VIP home page Giter VIP logo

Comments (12)

Geczy avatar Geczy commented on August 28, 2024 1

EDIT 2/4/2019:

These steps have now been automated on my fork https://github.com/Geczy/galeforce


#9 # Advertise Pi-hole’s IP address via dnsmasq in the router

This is the preferred method as stated by pi-hole's wiki

It's pretty simple, follow my guide below. This essentially follows the setup instructions from here, method 2. The Gwifi app disables configuring dnsmasq, but once you're rooted you can modify it manually through ssh.

Features

  • Maintains the Gwifi mesh network
  • Per-host tracking on Pi-hole
  • Gwifi app shows clients
  • Gwifi app is the primary for port forwarding and managing the wifi
  • The ability to resolve hostnames on the LAN
  • Ad blocking/network monitoring provided by Pi-hole

Requirements

  • Gwifi should be rooted
    To learn how to root, follow the readme on my fork, it's the most updated and comprehensive one
  • Gwifi should not be in bridge mode
  • Gwifi should be the primary dhcp server
  • The raspberry pi should be assigned a static IP through the Gwifi app
  • Do not setup upstream dns servers on pi-hole
  • Do not enable dhcp server on pi-hole

Guide

ssh [email protected] # login to the router as root
cp /etc/init/dnsmasq.conf /usr/local/galeforce/data # save a backup
vi /etc/init/dnsmasq.conf # modify the original 
## after making the modifications listed below:
sudo reboot # reboot AFTER mods 

Find each of these lines:

dhcp-option=${LAN_BRIDGE},6,${SETTING_BRIDGE_ADDRESS}
dhcp-option=${GUEST_BRIDGE},6,${SETTING_GUEST_BRIDGE_ADDRESS}
dhcp-option=${SETUP_LAN_BRIDGE},6,${SETTING_SETUP_LAN_ADDRESS}

Replace each line, where 192.168.86.XX is your raspberry pi's IP address

dhcp-option=${LAN_BRIDGE},6,192.168.86.XX
dhcp-option=${GUEST_BRIDGE},6,192.168.86.XX
dhcp-option=${SETUP_LAN_BRIDGE},6,192.168.86.XX

Screenshots

Pi-hole client list

image

Mesh works

image

Clients are shown

image

from galeforce.

americanslon avatar americanslon commented on August 28, 2024

Is there a way to get the device names set in GWIFI app (or hostnames) to show up instead of or in addition to IPs?

from galeforce.

Geczy avatar Geczy commented on August 28, 2024

yes

from galeforce.

americanslon avatar americanslon commented on August 28, 2024

How?

from galeforce.

americanslon avatar americanslon commented on August 28, 2024

@Geczy ping

from galeforce.

Geczy avatar Geczy commented on August 28, 2024

What I do is export it from my hosts file from gwifi, and import it to the ssh of pi manually. If you want to know which file let me know and I can check

from galeforce.

americanslon avatar americanslon commented on August 28, 2024

Thank you, if you could please @Geczy

Is this even still possible though - I have followed the instructions and my device doesn't start blinking orange after holding reset. So kind of a problem on step one...:/

Edit:

I got it to go into dev mode. Steps 3 and 4 in the readme should be reversed.
Hold the reset buttin, plug in the power and continue holding until the orange light.
Seems like the latest update removes ssh though so...

from galeforce.

Fahmula avatar Fahmula commented on August 28, 2024

Is this still a viable options to get Pihole working with GWifi?

from galeforce.

americanslon avatar americanslon commented on August 28, 2024

This with that latest gwifi update bricked my puck. This also seems like a dead project so I'd be careful.

from galeforce.

Fahmula avatar Fahmula commented on August 28, 2024

Thanks. I'll continue using the Pihole as the DHCP sever although it seems my PC stop showing up in GWifi.

from galeforce.

dltacube avatar dltacube commented on August 28, 2024

Thank you, if you could please @Geczy

Is this even still possible though - I have followed the instructions and my device doesn't start blinking orange after holding reset. So kind of a problem on step one...:/

Edit:

I got it to go into dev mode. Steps 3 and 4 in the readme should be reversed.
Hold the reset buttin, plug in the power and continue holding until the orange light.
Seems like the latest update removes ssh though so...

Strange because @Geczy just updated his post recently...Are you still able to get into ssh?

from galeforce.

d8ahazard avatar d8ahazard commented on August 28, 2024

So, this was closed....this is specifically why I looked for Galeforce. I want to use it to put my Gwifi behind Pfsense, but I sure as hell don't want to brick my whole network in the process. Any confirmation this works would be immensely appreciated.

from galeforce.

Related Issues (20)

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.