Fakeinternet service/package

Hello, arky
you can help me with this configuration I want to carry out a hotspot project that redirects to the ip of my local web server, there is no connection to the internet in the place. Please give me your email. Thank you

@eddy I haven't got this redirect to local web server working yet. @stangri suggested modifying code to achieve some kind of redirect.

I have added the following line to target/imagebuilder/files/repositories.conf

src/gz stangri_repo https://raw.githubusercontent.com/stangri/openwrt-repo/master

But I don't see 'fakeinternet' package in 'make menuconfig' . What am I missing?

Ah, I see. That repo is not a compatible feed. Instructions are in the README: https://stangri.github.io/openwrt-repo/#sdk

pls help fakeinternet not running hat should ido any help here

Got the logs?

@stangri thanks for this package. I have an oddball network setup here... If I have things configured correctly, does that mean I should get a response from ping google.com if Google.com is set to fake?

Also, what address should I select as respond address in webui?


DNS is not case sensitive.

If you go to the following URI you will get the following directory listing:

# Index of /

1. **[..](http://detectportal.firefox.com/)/**
modified: Fri, 10 Aug 2018 07:16:17 GMT
directory - 0.00 kbyte

2. **[error.cgi](http://detectportal.firefox.com/error.cgi)**
modified: Wed, 15 Aug 2018 08:33:02 GMT
application/octet-stream - 2.20 kbyte

@stangri Perhaps just disabling directory listing would resolve this issue. Sent a patch https://github.com/stangri/openwrt_packages/pull/49

1 Like

That shouldn't be happening, there should be a default 200 page for unknown/unprogrammed URLs.

Let me investigate what's going on and get back to you. What's the package version you've tested with?

Thanks, I have experienced this problem with
fakeinternet( Version: 0.1.2-11_all)
luci-app-fakeinternet (Version git-18.247.53383-f6dd876-5_all)



@stangri Thanks for releasing a new version of the package. Can you please describe/explain the purpose of the new "Redirect ICMP (ping) traffic to router" feature. Thanks!

I was seeing some ICMP requests in the wireshark on a specific case and figured if ever a device/service would try to discover if there's an actual internet by using pings, that would fool it.