[Q] show a captive portal for users that ride on my android portable hotspot - Android Q&A, Help & Troubleshooting

Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,

mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Hello, Is anybody has answer for this?
Thanks,

Sorry I can't help but I've been searching myself for months. And this almost got my hopes up..
What I want to do is turn my device into a portable web server.
But here's what I envisioned. You are at a large convention. There is no Cellphone tower signal and the location doesn't provide wifi. You want people to get a PDF file on the spot. Blackberry, iOS, Android whatever can access the wifi. So you make a small portable device that can serve up webpages. I could do this all on a laptop. But 6 ounce device that can do all that would be much better.
So just putting it out there for some developer reading this going man why would someone want a captive portal on android.

mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Having been pointed to this thread from another I was involved in, you may want to have a look at Using an Android as a webserver
Or...
kWS - Android Web Server
PAW Server for Android

+1, I need this as well.
Has anyone found a solution yet?

I've been thinking the same thing and could not get anything. I'm gonna try SimonTS post/reply and see if it works.

There is an app in Google Play with the name Paywall from fattin.com. It implements the captive portal logic but you have to be root in your device.

mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Did you find any solution ?

Maybe by installing Ubuntu on the phone
Hi,
You can try to install Ubuntu by using multirom, and use a hotspot tutorial for linux. The bad thing is that you cannot use android apps while the hotspot is running, because you are in the Ubuntu OS. You can use Ubuntu apps either. It's a complicated solution, but the only one who is working.

@mikycomputers - any update on this ? I'm also looking for a similar app

Hi, is there any solution now?

Still no solution...
We gonna have to make an app....

Hi
Maybe netcut you can find it on playstore

mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
You can do it,if your device is rooted.
Generally any OS detects captive portal by looking for a specific site. Such as captive.apple.com by IOS and Android 8.0.0
You can simply redirect them to your server.
Edit hosts file in directory /system/etc/hosts
Code:
192.168.43.1 captive.apple.com
192.168.43.1 clients3.google.com
Replace 192.168.43.1 with your server address.
Don't forget to start your web server on port 80
I'll give more details,if still require.

Captive portal server app
I've just found this thread while searching on building a captive portal using WordPress and don't have enough posts to add URLs but here goes...
There is a project for raspi & certain routers that does this...
piratebox.cc
Which has now been ported to android by jochen ruehl who iirc is the guy who made paw server...
piratebox.cc/android
There is also lots more information about piratebox on his blog...
fun2code-blog.blospot.com/search/label/PirateBox
And if your interested in how it works or want to edit it to your own needs, the source code is on github...
github.com/joschi70/AndroidPirateBox
Hope this helps anyone who finds this thread In the future or maybe even the op
Keep rolling the doobies!

captive portal on android.
check this thread by me.
works 100% on rooted device.

Hey guys! I made a simple app for this purpose. I need your help to improve it.
For downloading app and source code check this thread https://forum.xda-developers.com/android/general/guide-setup-fake-captive-portal-android-t4011689

Related

[Q] Setup an Encrypted VPN on my home Ubuntu server for my Android

The title basically says it all. I already have an ubuntu server at home that I can ping. From outside my home network.
Basically I need too know what program I need to setup on my machine so I can securely tunnel all my network traffic through my server.
I would like to use the native android vpn settings, however I have SSHTunnel on my rooted gingerbread phone so I can use that as well.
Lastly, I am aware that I can purchase a VPN service. I just want to do this for the learning experience.
Configure Open VPN on your Operating system then download the open vpn client on your phone from Android market. The traffic will be routed then through your desired server. I think this is he way through which you can diversify the traffic from your server to android phone.
That really hit the spot! Thanks for the help!
Also, for everyone else who doesn't want to setup their own server there is also the app by the Tor Project.
Sent from my M865 using xda premium
Hi
Any detailed tutorial available on this topic? I tried to search in the forum, but could find it so far. Will search once again in detail, if somebody knows about it please provide me the link to the related post. Thanks
gopi

[Q] RDP into an android device

I've looked around the forums and the web, but all I've been able to find are apps that allow remote desktop from the android device to a computer.
What I'm wondering, does Android have the ability to support some kind of remote login? through telnet, or rdp, or somesuch.
And if it doesn't support it natively, would it be possible for an app to create a remote session on the device? I spend a good portion of my time at work logged in remotely into other computers, and have been thinking about our society's higher focus on mobile devices, and it seems like it would be fairly useful to be able to remote into a mobile device, like android.
Anywho, I haven't been able to find much on it, so I'll look forward to your responses.
There's an app for that.
Hey Brandon. I don't mean to spam, honestly, but I actually work for a software developer that makes a remote control solution for Android for remotely screen sharing with the device over wi-fi or 3g. It also works for PCs and Macs as well. You can PM me for more details. I don't want to SPAM my company name over the forum.
Btw, the solution doesn't require rooted devices which is another bonus!
Cheers,
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
brandonrisell said:
I've looked around the forums and the web, but all I've been able to find are apps that allow remote desktop from the android device to a computer.
What I'm wondering, does Android have the ability to support some kind of remote login? through telnet, or rdp, or somesuch.
And if it doesn't support it natively, would it be possible for an app to create a remote session on the device? I spend a good portion of my time at work logged in remotely into other computers, and have been thinking about our society's higher focus on mobile devices, and it seems like it would be fairly useful to be able to remote into a mobile device, like android.
Anywho, I haven't been able to find much on it, so I'll look forward to your responses.
Click to expand...
Click to collapse
I found a solution its called teamviewer quick support. This is recently launched and allows connection into android pho e.
Do not be confused with the team viewer for pc. This is a different application and available to download from Google play store
Make sure you add " quick support" after team viewer to download right app.

[Q] Technical information needed for a Server/Client application

Hi,
I am a student in computer programming and I am looking to self-learn advanced android development by making an android app for my personal use. I was thinking about making an application that would require a Client/Server model that would let me browse/playback my music that sits on my PC from my android device. Something similar to the Audiogalaxy application where I would stream the data from my PC to my device.
Knowing that I know how to make an Android app, I would like to know what would be the best technology to use. I would like to be able to access my library from Internet or via Wifi. I have done some search and found out that using Zend Framework as the server and using JSON-RPC as the client could be one of the way to go, but I haven't found all the informations that would convince me to go with that idea.
I would like to know your opinion/feedback on the technology or where I should start looking to make this happen.
Thanks!
have a good day!
* Please move this topic to the correct sub-forum if I haven't done it correctly.

[Q] Android Packet sniffing NO Root

Hello,
I would need for a project the possibility, for sniffing packets from an App without rooting the phone.
First I thought, I could code a Proxy Server on my PC, but then I have seen, that when you want to use a Proxy for WiFi, only the browser, not the Apps use it on the phone
So the solution should look like following.
mobile device -------> PC (MitM) ---------> Internet
Its a kind of a man in the middle analysis.
The solution has to be transparent - the Internet Server shouldn`t realize that a PC is analyzing packets.
Packets should be forwarded 1:1 and just be copied away for later analysis.
The simpler the solution the better
Greet`s Erich
eriche said:
Hello,
I would need for a project the possibility, for sniffing packets from an App without rooting the phone.
First I thought, I could code a Proxy Server on my PC, but then I have seen, that when you want to use a Proxy for WiFi, only the browser, not the Apps use it on the phone
So the solution should look like following.
mobile device -------> PC (MitM) ---------> Internet
Its a kind of a man in the middle analysis.
The solution has to be transparent - the Internet Server shouldn`t realize that a PC is analyzing packets.
Packets should be forwarded 1:1 and just be copied away for later analysis.
The simpler the solution the better
Greet`s Erich
Click to expand...
Click to collapse
Well, without rooting your device I don't think you can find any app which can do this for you ! What you are trying to do is without having a magic wand you are trying to do a magic. I don't think you will get success !
without root access it is not possible bcoz for packet sniffing in PC also a backtrack environment is beat ........and in android we are not able to be an admin to redirect the hardware without root access
I was reading something about a VPN loopback work around.
Because VPN is integrated in Android.
So maybe its possible to tunnel to the PC where I can sniff packets
I have a very good idea for a project - so it would be disappointing when it fails only because there is no solution for non rooted devices.
GreeT`s erich
Howto Loopback VPN
tPacketCapture does packet capturing without using any root permissions.
tPacketCapture uses VpnService provided by Android OS.
Captured data are saved as a PCAP file format in the external storage.
If you want a more detailed analysis, please transfer the file to your PC and use the software handles PCAP format(such as Wireshark).
Click to expand...
Click to collapse
This is similar to what I am looking for.
Does anybody know a opensource project of such a sniffer?
How can I set up a loopback VPN Tunnel on PC for sniffing the traffic?
GreeT`s erich
I am looking for same, did you find an open source project for this?
project like tPacketCapture.
lilovirus said:
I am looking for same, did you find an open source project for this?
project like tPacketCapture.
Click to expand...
Click to collapse
Hey, could you find some useful info on this ? Can you please share.
Thanks

[Search] no root adblock without vpn

my problem is that i have a non rooted phone with vpn always on and im searching for an app to activating ad block on it.
My fix for it would be to use an android wide proxy or a custom dns that overrides vpn dns.
as title said an root app or an app that provides vpn solution wouldnt be what im searching for. I had once an adblock app that routes traffic trough local proxy beside the vpn but cant find it anymore
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
HeathenMan said:
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
Click to expand...
Click to collapse
any news on this one?
I wanna use protonVPN and adblcoker at same time
a bit of elbow grease to protect self from Privacy Raping
Some [open]vpn clients allow vpn side connection to Socks5. Some even allow toggle of LAN access from device. I am not claiming a finish product exists but perhaps this gives you some joy.
Perhaps your socks5 instance runs in Amazon AWS free tier. Maybe it runs locally on your android handset. Perhaps you run Privoxy itself on android. [@mod: privoxy is F/OSS older than this forum]. There are a few privoxy projects for android on github. Perhaps you pick their brain. It was that against which proxomitron competed [also F/OSS. Thank God for Scott Lemmon].
Using things in differing order you might search the article to which I may not link: Privoxy on Android (with EC2 VPN)
I wanted to bring the Amazon EC2-based Privoxy service to it, by way of a VPN.
Click to expand...
Click to collapse
There was no obvious way to contact the author who hasn't posted since 2016.
There is an OpenVPN service you can likely find the name of yourself offering *recently* an adblock toggle and AntiTracker toggle with a hardcode mode to protect you from predators like google and Fbook. It shouldn't be long before others emulate this functionality. It sports the vpn side socks5 option.
Or privoxy tunnel to remote [cloud (openvpn)]. See? Fun with permutations. Maybe from phone with ShadowSocks to cloud to vpn to web. "OpenVPN over shadowsocks". At this point look into sites helping Chinese dissidents.
You definitely then return here with your improvements to share.
The remaining question is how much is your time worth? Not much? Then search the web ad naseum for the 'ideal free' solution. Elsewise pony up some pennies for some cloud time as part of a solution.
Same question here !
And it seems that adhell is now only available for entreprise use
Wasn't AdGuard doing that?
yes you are right. it works with setting a private dns in the system settings with dns.adguard.com - no batterydrain - no more ads - no vpn - no root

Categories

Resources