So I saw some old posts about this. I still wanna know if this is possible.
Let’s say I use my phone, and the program needs to have permission to location service, normally you can run a program on the phone to fake the gps location as well. But if the router could do this instead, that would be fantastic, less things need to be installed on the phone and have running in the background. So if a router just spoofed this would help. So you don’t have to disable locations in browser etc. As you’d want your phone to actually tell you the weather where you are not somewhere else.
This work a little different than you think.
There are let’s say 2 sources of info for an app to see where you are. First via your internet address and second via gps location.
Gps is separate from the internet, think of it as just retrieving coordinates from a satelite in the sky above you, that’s it. Only way to alternate it’s use is to either get into the gps driver and change the location coordinates to be always the same or use a root level app that someone made already which tricks the phone and adds a second gps virtual driver which then sends through coordinates of your choice (it’s a superior method since it can easily be reverted back and forth while maintaining the original gps to work as intended).
Internet provides an app the needed location based of what your internet address is labeled to be located at, that can’t be changed from your end. But you can however use a virtual network driver which routes your traffic to a remote location of your choice and from that location then access the internet, in which case the app will see the location of the remote locations internet address.
In short, you can’t alter GPS with ddwrt. If you want to alter GPS location, use an already premade app for that and I believe you already do since you mentioned it. If you want to alter your internet address location, use a tunneled connection like a VPN. There are tons of VPN providers out there (can make your own as well) and ddwrt also has support for connecting/hosting a VPN (meaning all connected clients to that ddwrt device will have their traffic routed to the selected remote location).