Giter VIP home page Giter VIP logo

galeforce's People

Contributors

marcosscriven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

galeforce's Issues

AP Controller Settings

Where is the best place to override SETTING_DHCP_GUEST_END and similar settings that relate to the IP of the router? I know ap-controller.conf creates a "stateless root" where it will load the stored settings of the AP. However, I can't seem to source where it decides to pick the IP ranges that are used. Any help with this would be appreciated - this project is a lifesaver so far!

SSH Root Password

I was able to flash the image and get an SSH connection, but when I try to log in as root, it asks for a password. I've tried 'onhub' and several others as well as no password. No joy.

Possible to add DHCP client options

Hi,

Before I take the plunge and root my device I was hoping to know if post-root I will then be able to amend my DHCP client ID that is sent out when an IP is requested.

The reason being is my ISP requires a custom string to be sent before it assigns an ISP. It also requires the interface to be in VLAN ID 10 but I can use a managed switch to append this to the interface. Unless someone can help me in defining the VLAN ID for the WAN interface natively.

The client option I need to send is vendor-class-identifier with a value of "100008,0001"

Appreciate any and all input.

Thanks in advance.

How to Block Google DNS?

Hello I want to know is there any way to block DNS on Google Wifi

I was reading posts that said it can be block by setting Static Routes on the router.

Can someone confirm if this can be done after installing Galeforce on it?

OpenVPN

Does anyone have a guide for getting OpenVPN set up after root? Ive looked over the Gentoo guides for doing this, but none of the commands used are available inside of the Gentoo installed on the puck. emerge doesn't exist, I can't scp files over to copy the OpenVPN files if I wanted to manually install. No text editors show up for modifying the ssh_config. Im still a bit of a noob with bash, so maybe Im missing something. Would like to get a VPN client up and running on my main puck. Any help would be appreciated.

Will this let me make gwifi set DNS for dhcp clients to its' custom DNS?

Not so much an issue, as a general question. I'm using pihole software to filter ads. With the way gwifi is today, I added pihole's IP as the first DNS entry. Apparently gwifi still hands out 192.168.86.1 as the DNS to DHCP clients instead of pihole's IP. Is this something that can be fixed if I root it?

[EDIT]
I should note that, yes I do know that pihole will still work, however, I will only see one IP (that of gwifi) in the dashboard, instead of seeing all individual client IP's that ask for DNS requests.

Disable NAT, leave all other features intact

Hello all.

I haven't tried this project yet but I intend to soon. Before I do, can someone tell me if it might be possible to disable the router's NAT functionality leaving all other features intact?

My goal is to take advantage of all the normal Google Wifi features but leave the private IP addresses visible to a firewall upstream. On the firewall, I will apply a NAT and also install a static route for the private network behind the Google Wifi device. (I'm using the firewall today, but it only sees the outside address of Google Wifi for all traffic. Also, bridge mode would work, but then I lose a bunch of useful features like mesh, priority, etc)

I'm hoping this is done with iptables or similar and can be easily changed.

Thanks for any info.

Build error

This is the terminal log
./bin/build-all.sh Building all artifacts. /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Building GaleForce. Downloading dropbear /tmp/galeforce/downloads/extract /home/cydia2020/galeforce/bin /home/cydia2020/galeforce /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Downloading busybox /tmp/galeforce/build /home/cydia2020/galeforce/bin /home/cydia2020/galeforce /home/cydia2020/galeforce/bin /home/cydia2020/galeforce /home/cydia2020/galeforce /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Downloading dev keys /tmp/galeforce/downloads /home/cydia2020/galeforce/bin /home/cydia2020/galeforce /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Finding latest image for board: arkham Found image for OnHub SRT-AC1900 Downloading: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_9334.41.3_arkham_recovery_stable-channel_mp.bin.zip Unpacking: arkham.bin.zip Copying image to /tmp/galeforce/build dir Mapping partitions to loop devices Removing rw lock at magic offset: 983565415 Mounting ROOT-A to /tmp/galeforce/build/mounts/ROOT-A mount: special device /dev/mapper/loop0p3 does not exist /tmp/galeforce/build/mounts/ROOT-A /home/cydia2020/galeforce/bin /home/cydia2020/galeforce chmod: cannot access 'usr/sbin/chromeos-postinst': No such file or directory ./bin/build-image.sh: line 137: usr/sbin/chromeos-postinst: No such file or directory cat: usr/sbin/chromeos-postinst: No such file or directory /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Unmounting ROOT-A from /tmp/galeforce/build/mounts/ROOT-A umount: /tmp/galeforce/build/mounts/ROOT-A: not mounted Extracting kernal partition KERN-A ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory Current config: Patched config: ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory ERROR: Unable to stat /tmp/galeforce/build/repacked: No such file or directory rm: cannot remove '/tmp/galeforce/build/kernel': No such file or directory rm: cannot remove '/tmp/galeforce/build/repacked': No such file or directory Extracting kernal partition KERN-B ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory Current config: Patched config: ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory ERROR: Unable to stat /tmp/galeforce/build/repacked: No such file or directory rm: cannot remove '/tmp/galeforce/build/kernel': No such file or directory rm: cannot remove '/tmp/galeforce/build/repacked': No such file or directory Un-mapping loop devices loop deleted : /dev/loop1 /tmp/galeforce/build /home/cydia2020/galeforce/bin /home/cydia2020/galeforce /home/cydia2020/galeforce/bin /home/cydia2020/galeforce Patched image has been copied to ../output/arkham.bin.tar.gz /home/cydia2020/galeforce

vbutil_kernel binary command not found

In the process of running the build-all shell script, I have found that the script is unable to execute the vbutil_kernel command as it is not found.

Is this binary obtainable as ANY one of the following?

  • yum package
  • deb package
  • rpm package
  • tarball

TIA

Issues with usage historyafter galeforce?

After somw trial and error, was successful installing galeforce on my Google WiFi main wifi point.

The only quirk I have at the moment is that my usage history charts show no data. "Real time

Kernel module patching

Hello !

Thank you again for your work, I'm currently trying to patch the Qualcomm ethernet driver (ess-edma) used by wan0 & lan0 to restore the avaibility to work with VLANs (see: chunkeey/LEDE-IPQ40XX@f4c1345)
I cross-compiled the kernel of the Google Wifi and compiled the .ko module from it to replace it in the .bin recovery image (following the way you did)

Unfortunately, it is not working for some reason.
Flashing is working good, the device is booting correctly (flashing purple, ready to reconfigure but no wifi available) then at some point it is flashing with the orange light (probably because wan0 is not up)
I'm able to load my module on your image (using modprobe) but once loaded the Google Wifi is rebooting.

If you have any idea I would love to get some help

I downloaded and compiled the kernel from : https://chromium.googlesource.com/chromiumos/third_party/kernel/+/factory-gale-8743.19.B-chromeos-3.18
I generated the kernel config from your image: kernelconfig.txt
Compiled patched module: essedma.zip

Thank's

OnHub compatibility?

4 years ago now I adapted the TP-Link instructions for the Asus OnHub. I just retired the Asus and am looking for interesting stuff to do with it.

My original guide was mostly in the spirit of what this tool provides https://www.exploitee.rs/index.php/Asus_OnHub

Just curious if this should work on the OnHub as well, or if it needs a little tweaking?

Select 5ghz channel / enable it

Hello,

I bought my Google WiFi in the US but I'm using it in France now.
Because of this country change, my Google WiFi doesn't create the 5ghz signal anyone, because it's an US model and channel regulation is different in Europe. Do you think I could use galeforce to configure the state / channel of the 5ghz signal?

galeforce functionality examples

It would be helpful if the readme expanded on some of the additional functionality possible using galeforce.

Examples:

Is it possible to enable mesh in bridge mode (or bridge in normal mode, eliminating double NAT)?

Can the default IP address range be changed? How are these settings made persistent?

Are sample instructions available to run OpenVPN or establish an IKEv2 IPSec VPN?

Device does not apply patch from USB drive?

After trying to install Galeforce, my device does not accept SSH connections, and I think I'm doing something wrong in the installation process.

I flashed my thumb drive using the OnHub Recovery tool.

These are the steps I followed in my own words and with my observations:

  • connect power through USB-C adapter to device while holding reset button on back
  • wait until blinking orange
  • press bubble switch -> device blinks purple once and restarts
  • device shows steady blue for a few seconds and then starts blinking purple
  • connect thumb drive to USB adapter
  • press bubble button -> device continues blinking purple
  • after about 10 seconds, the device stops blinking, shows no light for a few seconds and then pulses purple
  • wifi back online, does not accept ssh connection

I think something weird is going on around the time of the second bubble switch press, but I can't figure out what I'm doing wrong.

Solid Purple But No SSH?

I'm sorry if this is the wrong spot, but hopefully just a quick question: I followed all your steps, everything seemed to go as expected. I now have a solid Purple light on (assuming that's just a notification that the device is in Developer Mode, like bootloader unlock notifications) but I'm not able to SSH. Just getting Connection Refused. Maybe I did something wrong along the way & need to redo the process?

Thanks in advance for any suggestions.

Sent from my Google Nexus 6P using FastHub

DynDNS...

Ok...i'll admit I am kind of a n00b when it comes to Unix. In the past, when working with DD-WRT, I've been able to find my way around most of my issues using my Google skills. However, alas this has me stumped. I have a shell script that calls out DNS-o-Matic which then can update OpenDNS with my dynamic IP provided by my ISP.

In poking around the processes and reading about the lack of a CRON process I ran into this gem called - periodic_scheduler - which appears do what I want. Essentially it calls a shell script on a timer. And after looking at the running processes on my device I can see this is already happily running and running several processed at various intervals.

So the question...does anyone know how to add a new script for periodic_scheduler to execute?

2019-10-03 Bricked WiFi Puck

The procedures and code in this project no longer seem to work with the current firmware release from Google. It bricked one of my WiFi pucks, which is no great loss since Google dumbed down the firmware to the point of being silly. The remaining pucks are in bridge mode and I bought a router for grownups.

Thank you for the effort on this project. It was definitely worth a try to get past the useless Google firmware.

Recent issue closures and readme update leave viability of project ambiguous.

With all open issues getting closed at the end of July, 2020 (including those that indicated the binary was bricking their devices), is there any assurance from the project owner that this product is still viable and produces functional builds as of August, 2020?
Also of concern is the removal of the warning (removed in early August, 2020) on the readme that explained how updates from Google were signed and thus incompatible with a GaleForce modded router.

Error ./bin/build-all.sh Ubuntu 16.04

I would like to use SSH on GoogleWifi in Ubuntu 16.04.
But below error occurs.
I tried permission change...
How do I do these error or warnings?

~/galeforce$ ./bin/build-all.sh
Building all artifacts.
~/galeforce/bin ~/galeforce
Building GaleForce.
Downloading dropbear
/tmp/galeforce/downloads/extract ~/galeforce/bin ~/galeforce
~/galeforce/bin ~/galeforce
Downloading busybox
/tmp/galeforce/build ~/galeforce/bin ~/galeforce
~/galeforce/bin ~/galeforce
~/galeforce
~/galeforce/bin ~/galeforce
Downloading dev keys
/tmp/galeforce/downloads ~/galeforce/bin ~/galeforce
~/galeforce/bin ~/galeforce
Finding latest image for board: gale
Found image for Google Wifi
Downloading: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_9334.41.3_gale_recovery_stable-channel_mp.bin.zip
Unpacking: gale.bin.zip
Copying image to /tmp/galeforce/build dir
Mapping partitions to loop devices
[sudo] seed  password: 
Warning: Permission denied
Removing rw lock at magic offset: 983565415
Mounting ROOT-A to /tmp/galeforce/build/mounts/ROOT-A
Warning: Permission denied
mount: special device /dev/mapper/loop0p3 does not exist
/tmp/galeforce/build/mounts/ROOT-A ~/galeforce/bin ~/galeforce
#!/bin/sh

# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This script is called after an AutoUpdate or USB install. This script is a
# simple wrapper to convert from the hardcoded command line to the new
# executable command line.

INSTALL_ROOT=$(dirname "$0")

${INSTALL_ROOT}/usr/bin/cros_installer postinst "${INSTALL_ROOT}" $@
/galeforce/bin/recovery.sh "${INSTALL_ROOT}"
/galeforce/bin/recovery.sh "${INSTALL_ROOT}"
/galeforce/bin/recovery.sh "${INSTALL_ROOT}"
/galeforce/bin/recovery.sh "${INSTALL_ROOT}"
~/galeforce/bin ~/galeforce
Unmounting ROOT-A from /tmp/galeforce/build/mounts/ROOT-A
umount: /tmp/galeforce/build/mounts/ROOT-A: not mounted
Warning: Permission denied
Extracting kernal partition KERN-A
ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory
Current config: 
Patched config: 
ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory
ERROR: Unable to stat /tmp/galeforce/build/repacked: No such file or directory
rm: Unable to stat '/tmp/galeforce/build/kernel' :  No such file or directory
rm: Unable to stat '/tmp/galeforce/build/repacked' :  No such file or directory
Warning:Permission denied
Extracting kernal partition KERN-B
ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory
Current config: 
Patched config: 
ERROR: Unable to stat /tmp/galeforce/build/kernel: No such file or directory
ERROR: Unable to stat /tmp/galeforce/build/repacked: No such file or directory
rm: Unable to stat '/tmp/galeforce/build/kernel' :  No such file or directory
rm: Unable to stat '/tmp/galeforce orce/build/repacked':  No such file or directory
Un-mapping loop devices
loop deleted : /dev/loop6
/tmp/galeforce/build ~/galeforce/bin ~/galeforce
~/galeforce/bin ~/galeforce
Patched image has been copied to ../output/gale.bin.tar.gz
~/galeforce

Lost SSH recently

Has anyone else lost ssh? The unit still shows dev mode being purple, but I have lost ssh. Was there a recent update that took it away.

Works with nest wifi ?

Does it support Nest Wifi ? Or its only the first Google Wifi?

Also, on my mesh network i dont see the 5ghz network because of the country and the channel i guesa, can i change the channel using root after installing the GaleForce ?

OnHub support

As an owner of OnHub router (TP-Link version), I'm interested in trying the Galeforce project on it.

Any experience/documentation for it?

able to ssh and passwd, now what?

how do i get this thing to work as a regular router again? router is flashing purple after applying update (still in dev mode, right?). I was able to ssh as root and passwd.

After applying the image from the flash drive i unplugged the usb, and brought it back to the modem (did the patch from a different room). after replugging the router back into the modem its still flashing purple and is not router internet traffic.

Is there another step i need to follow? Does the usb need to stay plugged in? Do i need to 'factory reset' the wifi points from the google home app (i was using these as regular mesh routers before applying galeforce)?

sadness...

so... a few questions...

first...which binaries should be placed on the USB... the gz file(s) or tar file(s) which one(s) galeforce or gale.bin?

second...(even with all four files on the USB)..this doesn't seem to work...

Wait until device restarts and starts blinking purple again
Plug in USB stick
Hit bubble switch again <- no restart here....just continues to blink purple.

Bridge mode with mesh network functionality

Being able to bridge GWF while still using the wireless mesh seems to be something that GWF won’t do out of the box, but a lot of people wish it would do. Is there a way to do this using gale force?

Is this still alive?

Hey there. I've got a few google wifi points, plus one of the new nest APs. I'm interested in using GF for my devices to try and add more functionality, but looking at the discussions and comments, I don't see anything recent that confirms this still works.

Could you please confirm that this is still useable in 2021, or has some issue caused it to not work anymore?

Either way, your work is greatly appreciated. Hope to hear back.

IP Subnet Changes

I was able to install the galeforce build .5 Google Release was listed as 9334.41.3, I encountered a couple of issues.

  1. My local lan ip subnet changed from 192.168.86.1 to 192.168.84.1
    A. Is that expected, where is the local subnet defined so that I can change it?
  2. The app no longer saw the access point online, was this to be expected?

Thanks

Keep Factory Features

I apologize for creating an issue just to ask this (probably obvious) question, but I could not find it anywhere.
Does flashing this firmware completely erase all the factory features such as mesh networking, the Google Wifi App and other things or does this keep all the same firmware and just add features to it?

Thanks,
Chase

SNMP MIB’s for traffic monitoring

First off- thank you for developing this project! I see way too many people complain about things not working or feature updates like they just bought this from a store and demand fixes and answers...tools....

Anyway- I’m thinking of rooting my gwfi but the main reason is to be able to expose some SNMP MIB’s in order to track traffic in and out via something like MRTG. Is this an option with your codebase?

Question: Is this project still valid?

Sometimes projects don't need to be updated,and they work fine. I'm curious if this still works? Does the project require updates for it to keep working? I see the build is passing, but I have no idea if that's going from current google hardware updates.

Thanks!

web access and google cloud services questions

Is there a way to enable web access for configuration changes?

Are you able to disable google cloud services while retaining all features such as port forwarding, network status, device priority, etc..

Newest firmware update overwrites galeforce

I've downloaded the newest gale .5 and flashed it to my Google WiFi, and i can SSH into it, but when i go to set up my network in the app, it updates the firmware and after that, I'm unable to SSH.

After rooting, historical usage not being captured

After rooting, I seem to be missing historical traffic data from my device and network page.

When I load the "usage" pages in the Google WiFi app, the realtime stats work fine - showing instant throughput in kbps or Mbps for each device, and for the network overall. Great.

However, when I hit the drop down for "1 day", "7 days", or longer, I get 0KB Total Download, 0KB Total Upload for every device and also for the whole network. And, no bars at all on the charts to the beginning of time.

  • Has anyone else had this issue after rooting?
  • Is the data kept anywhere on the wifi point where I can verify it's being collected?
  • Is this data uploaded to Google for the app's use, or is it fetched realtime off of the wifi point?

Building Chrome/Chromium OS for routers

Okay this is slightly irrelevant but I couldn't find a way to contact you privately.

So if I'm reading the sources, etc. right, it should be possible in theory to build Chrome/Chromium OS for routers, making them somewhat close to the Google Wifi, right? (Chrome OS would mean Chromium + added Google bits from an official firmware for the same platform e.g. ARM, MIPS, etc.).

Recommendations for setting up OpenVPN

I'm trying to setup OpenVPN but not having any luck. I tried setting up from source but I get stuck on setting up the dependencies. I'm now thinking of trying to get Portage up and running and install it that way.

If anybody has experience getting OpenVPN to run on a system like this I'd love some help.

Is this project not working anymore?

I tried exactly due to the description to install galeforce on a Google WIFI, and everything seem to be working, except the SSH.

I started by restoring with the restore instructions, then installed gale with an image created with the recovery tool. Looking at the logs it seems busybox etc was copied, and after starting and setting up the wifi it settles on a purple color - but no SSH. So maybe the fun is over?

Logs from the USB attached to this post

spinner.log
recovery.log

Error 404: ubuntu/zesty64

I am unable to find ubuntu/zesty64 box to download, is there anyone else having this problem?

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/zesty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/zesty64'
default: URL: https://vagrantcloud.com/ubuntu/zesty64
==> default: Adding box 'ubuntu/zesty64' (v20171219.0.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/ubuntu/boxes/zesty64/versions/20171219.0.0/providers/virtualbox.box
default: Download redirected to host: cloud-images.ubuntu.com
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 404 Not Found

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.