Hotspot Captive Portal - Samsung Galaxy S20 FE Questions & Answers

When I'm using my mobile data I notice that the operator leaves a notification from Captive Portal for Login to the Network (as it happens on part of public wifi networks), this is not a problem in general for me, it stays on my phone and when I click I access a portal with all my personal data, and that's ok.
The problem comes when I share my connection via Hotspot, this same portal is replicated to the user who connects, something totally normal, but that bothers me, because all my personal data is there.
I looked for several ways to block the portal for those who access it, using IPTables (blocking the IP of the portal), disabling Captive on my phone (just to try, since it doesn't make much sense) and none of these options worked.
Any of you guys have any ideas for this? Remembering that the problem is not the notification itself, but the portal, its loading being blocked for those who access my Hotspot is already perfect.
OBS: I have root.

Related

[Q] Wifi Connection

Ok, so I am trying to connect to my schools wifi network. It is an unencrypted network but requires going to a login screen before you can do anything (like most public wifi networks).
My phone connects just fine but the browser never redirects to the login page. I even found the url for the login page on my laptop and tried going directly to it. No dice.
Any thoughts?
I am running cognition 3.04 if it makes a difference. Stock browser.
Also, it has worked in the past, although it was erratic. Sometimes it would redirect automatically, sometimes only if I refreshed. Now however it is not doing it at all. Its obnoxious becuase I use Y5 battery saver so if I turn my wifi off it turns right back on and in order to keep it off I have to go in and disable Y5, which I then have to remember to enable again later.
cdenney said:
Ok, so I am trying to connect to my schools wifi network. It is an unencrypted network but requires going to a login screen before you can do anything (like most public wifi networks).
My phone connects just fine but the browser never redirects to the login page. I even found the url for the login page on my laptop and tried going directly to it. No dice.
Any thoughts?
I am running cognition 3.04 if it makes a difference. Stock browser.
Also, it has worked in the past, although it was erratic. Sometimes it would redirect automatically, sometimes only if I refreshed. Now however it is not doing it at all. Its obnoxious becuase I use Y5 battery saver so if I turn my wifi off it turns right back on and in order to keep it off I have to go in and disable Y5, which I then have to remember to enable again later.
Click to expand...
Click to collapse
I had similar issues on a guest wifi such as your schools. Sometimes I would have to clear the browser cache then kill the browser app and reopen it. It was very annoying, but it usually worked. Cant hurt to try.
I had the stock ROM at the time, but now running Perception 10.2.
I am having different issues now. :/
http://forum.xda-developers.com/showthread.php?t=927463
If you are able to access other websites fine, then I would suggest downloading a different browser to access the particular site you need. Try Dolphin as I hear that mentioned a lot as a decent alternative.
cdenney said:
Ok, so I am trying to connect to my schools wifi network. It is an unencrypted network but requires going to a login screen before you can do anything (like most public wifi networks).
My phone connects just fine but the browser never redirects to the login page. I even found the url for the login page on my laptop and tried going directly to it. No dice.
Any thoughts?
I am running cognition 3.04 if it makes a difference. Stock browser.
Also, it has worked in the past, although it was erratic. Sometimes it would redirect automatically, sometimes only if I refreshed. Now however it is not doing it at all. Its obnoxious becuase I use Y5 battery saver so if I turn my wifi off it turns right back on and in order to keep it off I have to go in and disable Y5, which I then have to remember to enable again later.
Click to expand...
Click to collapse
Try typing 1.1.1.1 in the url bar
Are you getting a ip address?
that did not work, neither did the above suggestion of clearing cache and killing the browser app then reloading.
I am not entirely sure what you mean when you ask if I am getting an ip address.
Having same issue as you.
Someone told me to use static IP trick..
(IP: 192.168.1.100)
(Gateway: 192.168.1.1)
Doesnt work..
I will try the 2 other trick when I get to school next week.
My post : http://forum.xda-developers.com/showthread.php?t=930775
cdenney said:
that did not work, neither did the above suggestion of clearing cache and killing the browser app then reloading.
I am not entirely sure what you mean when you ask if I am getting an ip address.
Click to expand...
Click to collapse
The phone gets its IP address (network address) from a server in your router. If the phone is connected to a WiFi network it will be visible in settings. Touch the network name that is connected to see the status. If there is no IP address, there may be an issue in your router. An IP address is necessary for internet communications.
bump..
my phone gets the ip address
ttt
seems like it have sometthing to do with the cerfiticate..
It is not seen as a valid cerficiate so the phone is not accpeting it...

Connectivity Failure Notifications?

Greetings,
I am just curious if there is a method in Android to allow for a notification/alert/popup etc if when connected to WIFI, there is no actual internet connectivity?
Currently, if I am at work, connected to a WIFI point, and someone unplugs the internet input from the wireless router, but leaves the router on, the Galaxy Tab believes it is connected to WIFI. It retains full signal as it should, however, programs that rely on connectivity wont generally tell me they can not connect.
The connection doesnt fall over to mobile data, as it believes it is connected ok to WIFI.
I wont receive emails, instant messages etc until I realize what has happened and disable wifi.
I am hoping for a method, be it a setting, or a program, to show my a little indicator when connectivity fails? Perhaps the check can be done during one of the many account syncs, or even a manual setting / check-time etc.
Cheers
None of the market apps I have found do this.
Is this something more suited to the dev section or even apps? My hopes of a simple hidden setting seem to be fading.
Cheers

N1 - 5GHz Wifi?

Does the N1 have 5GHz wifi like the Samsung?
My home LAN is 5GHz only, so I don't disturb the neighbors with my video streaming.
No, 2.4 only...
Ugh.
OK so I turned on the router's 2.4GHz, but with broadcast SSID off. My N1 wouldn't even try to connect. So I turned on router SSID and it connects AES.
I do -not- want SSID broadcast on, as Windows machines' lazy active scan will find me. Sure they'll never get in, but I do not want broadcast on.
Has anyone succeeded in connecting with it off?
When I am connected wifi and open a website on the phone, does it go over wifi preferred over 3G?
I want to share the SD card with a machine on the LAN. What's the best way to do this? FTP? Reverse SSH tunnel? Is there a sshfs for Android? EDIT: NM on this one.
Yes, I remember connecting to a WiFi with SSID off, when I had Nexus.
It is pointless to keep SSID Broadcasting off. It is super easy to find your SSID anyway, and it causes all sorts of additional problems (like the one you are seeing above). Just keep the network secure and it makes life a lot easier.
http://www.howtogeek.com/howto/2865...hiding-your-wireless-ssid-really-more-secure/
http://blogs.technet.com/b/steriley/archive/2007/10/16/myth-vs-reality-wireless-ssids.aspx
Ok, but sure passive scanners like Kismet will still see me, however 90% of scans are done with an active scanner like Winduhs. Of course I'm using WPA2-AES, but I want to take every measure possible.
Now I find that whenever I have the phone connected to wifi, I lose -all- internet access. Just times out. 3G is still on and wifi is showing connected, but I can't get to websites. As soon as I turn off Wifi I can access the internet again through 3G.
With wifi I -can- access the wireless router's setup webpage from my phone, which tells me I am working through wifi, and I can remotely mount the phone filesystem on a LAN machine using sshfs, but I can not reach anything outside. Any idea why?
Does anyone know whether, when it's working right, it uses the wifi connection in preference over 3G?
The WiFi is ALWAYS preferred to 3G, which means - when you're connected to WiFi, all the internet traffic is routed through WiFi.
I don't understand then, why all data traffic stops to the outside when wifi is connected. The rest of my LAN gets outside fine, just not the phone.
If you can see LAN computers and exchange data with them - it's not the phone that's making problems. See if you have any restrictions in your router.
Oh FFS, my fault...
I set my IP statically for my LAN, and through some alert troubleshooting I found I can ping IPs outside but not DNs. I'd mis-set the DNS server in wifi settings. Now it works great!
I can now use sshdroid to mount my phone's filesystem on my LAN securely. Now, if I could only get it to wifi associate with beacon off...
It would also be nice to mount a filesystem on my LAN to the phone, although I consider the phone unsecure and question the wisdom of that, even with DroidWall running.
There is a market app that lets you connect to a hidden ssid
Sent from my Nexus One using Tapatalk
Cool, but Market is FCing on me. I did a complete reinstall of the newest MIUI.us, and now Market's FCing again. So can't install any Market apps.
As someone else said, turning SSID off is pointless. It's like taking the numbers off the outside of your house and thinking people driving by won't see your house sitting there.
Apparently you didn't understand what I said here:
Quantumstate said:
Ok, but sure passive scanners like Kismet will still see me, however 90% of scans are done with an active scanner like Winduhs. Of course I'm using WPA2-AES, but I want to take every measure possible.
Click to expand...
Click to collapse
If nothing else, please just respect my decision in this regard, or give valid proof that active scanners are not the preponderance.

[Q] VPN issues

Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Please help, this issue is making my Galaxy Note almost useless.
ponch10 said:
Hi All,
I am having issues when trying to connect to my work VPN. I need VPN access in order to check my work email and browse an internal website.
Now, the VPN always connects, either on 3G (in UK) and wifi.
However, even if it says "connected", I am not able to download emails orbrowse the intranet unless when connected to my home wifi and sometimes on mobile internet.
If connected through other wifi networks (recently tried on a hotel free wifi, in the states and on a private home network, in Croatia), the connection itself seems to go through some sort of bottleneck, and no emails or browsing is then available.
Click to expand...
Click to collapse
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
ponch10 said:
I am blaming the phone itself, since my colleague had no problems whatsoever on his iPhone.
I am on Galaxy Note, non rooted, Vodafone UK.
Click to expand...
Click to collapse
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
_pigro_ said:
just FYI I'm also on UK Vodafone and I can connect fine with openVPN to my home network ... tested on 2G,3G/H+ and also on various public & private WiFi networks - always connects fine, only issue I have is that my server .ovpn tells the phone to use my home router as it's default gateway (so that I can browse securely on public wifi). This doesn't work out of the box - I need to use the openVPN app's "fix DNS" option.
errr ... I'm an android noob, but AFAIK you need root for openVPN to work? I never tried running openVPN on my note BEFORE I rooted it, but anything I've ever read says root is required?
Click to expand...
Click to collapse
What APN do you use?
I have to switch everytime to something called MyLan to connect over 3G.
I am using the stock VPN client, did not adventure myself into OpenVPN. Would that work with an encrypted VPN?
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
_pigro_ said:
Ah, sorry - I somehow managed to read the thread title "[Q] VPN issues" as "OpenVPN issues" .. case of my eyes seeing what they wanted to rather than than what was actually there. You are of course right, the stock VPN options don't need root (and of course openVPN client will only work to talk to an openVPN server).
I did set up a PPTP server on my WinXP home machine and tested that with the note's inbuilt PPTP VPN client - it worked OK although I needed to turn off encryption, and I didn't do anything with it beyond just connecting as I was only dong it out of interest.
re. the APN - I don't actually know where to see that on the note (noob, as I said!) - when I do settings->wireless & network-> mobile networks, which claims to allow setting APN's, there is no info or settings re. the APN other than the "network mode" and "network operators" items, neither of which seem to show the APN used for vodafone data access.
Anyway, sorry for the bum steer, hope you get it sorted
Click to expand...
Click to collapse
Oh, never mind
Under mobile networks you have to go under Access Point Names, but most likely you will only have one APN, which is the regular from Vodafone.
So most likely is the encryption causing problems?
D'oh ... I thought that was a heading, didn't realise it was a clickable item! my APN is wap.vodafone.co.uk (APN type is "internet+mms").
IDK if encryption is anything to do with your issues ... I doubt it if you can consistantly connect from home wifi and sometimes from 3G - if encryption were the problem I'd imagine it would consistantly connect (or not) rather than be variable.
Maybe worth trying to ping your internal mail/intranet servers when connected and then talking to your work IT guys in case there are firewall/routing settings that you are somehow falling foul of?
Yes we are doing that, however that fact that iPhones can connect really makes me wonder!
Thread Moved To Q&A​
This is a question, and as such belongs in the Q&A Section​
there are lots of third party vpn tools and free available you can use those
Wilsonj,
Can you please suggest one third party vpn tools that works well on PPTP, with encryption?
I am not looking at OpenVPN, since it doesn't suit my needs.
Thanks!

Not working: 802.1X / WPA2 / PEAP TTLS MSCHAPV2

Hi,
I'm trying to connect to a WiFi network that is protected with WPA2 with PEAP / TTLS.
It simply is not working. No problems connecting with my HTC Desire though.
Anybody experiencing the same bug? I already installed the required root certificates, tried various combinations of user account / password. The thing is, that the network is provided by my university (Eduroam if you are familiar with that) and it is very annoying that I have to fall back to HSDPA consuming my data quota.
Cheers,
chross
Normally with eduroam wifi there isn't wpa2 or other key. Just connect your phone to it, open your browser and you will be redirect to the website of your university and then you can log with your id.
Envoyé depuis mon XT890
Yes!! This is the exact same problem I'm having with my university wifi
http://forum.xda-developers.com/showpost.php?p=33962871&postcount=2
I'd configure the settings on my uni wifi choosing PEAP and then MSCHAPV2 and put in my log in username and password according to the instruction and as soon as press connect or save it looses the signal immediately to very low and never connects. We also have eduroam as an alternative they tried that and same problem just doesn't want to connect.
It works perfect on my htc one x. I'm beginning to believe the phone has a bug.
It does have a bug. It doesn't connect to 802.11 n!
My problem was solved by reconfiguring my AVW Fritz!Box 7270 to 802.11 b+g only and limit the phones wifi frequency to 2,4ghz only. You can find that in advanced wifi configuration.
I'm lucky i only recognized this bug in my own wifi network and not others i don't have admin rights for...
eduroam works for me with PEAP/TTLS but I guess it's 802.11g
I'm on the 40002 rom, but worked also on the 31006
After receiving the 4.0.4 update yesterday, WiFi now works flawlessly.
Cheers,
chross
Hi there,
I got the same problem with my university network in hamburg. I updated the razor to android 4.0.4 (Stock-Rom: 81.5.40002.XT890.Retail.en.EU), also the phone is rooted but still not working. Our IT advices to use WPA2 Enterprise TTLS/PAP authenthication in combination with a t-com root certificate. Every time i safe these setting the wifi signal drops as told by previous posters and the connection fails. When i enter the settingspage again, all settings are reverted to default. This also happens, while trying to connect to eduroam
any further advices?
Thanks in advance!
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
jagwar1 said:
I have no problems connecting to eduroam at Braunschweig and other citys. Maybe you can visit the IT Desk at your university?
Click to expand...
Click to collapse
Yep, me and and a fellow student went there and told them about the problem. But they also gave up, after trying about an hour or so. It seems to be a general problem in the used android build, at least there are a lot of post reporting this at the google code repo -> code.google. com /p/android/issues/detail?id=15631 (sorry for that but I'm to new here to post links). I'll try the provided tips like changing the wpa_suplicant file tomorrow and report the results. Seems to be strange issue, if it works for you (and probably others), because a fellow student got the same Phone and has the same issues
Thought I'd just give an update as I have the same issue
Motorola knows about it, it's been reported to them before and said it'll be fixed with the next update.
Working smooth here with WPA2-Enterprise, PEAP and MSCHAPv2. Using it every day.
But I'm not using TTLS, you might want to disable that if you don't have a valid certificate for your mobile/user.
Also important, fill out the "anonymous user" field with your username. Depending on the RADIUS configuration of your IT this might be required.
[edit]
Just checked my mobile. I don't use a Phase 2 authentication, only EAP = PEAP, no certificates.
Got it working!
After 2 hours of searching the web and playing around, I got it working now, following this guide posted on google code repo:
Razr I (XT890), retail eu, running android 4.0.4 (stock), no root
after endless hours of trying i was able to connect to my university network a couple of minutes ago with the combination of two apps.
1. WiFi Connection Manager
Enter SSID manually
Security "802.1x EAP"
EAP Method "PEAP"
Phase 2 authentication "MSCHAPV2"
Identity "your identity"
Anonymous identity "your identity"
password "your password".
2. WiFi Advanced Configuration Editor
Check Hidden SSID
Key Management: unselect IEEE8021X, select WPA_EAP
AUTH Protocols: select LEAP
Enterprise configuration: make sure Identity and Anonymous Identity are set to your identity, Enter your password
check whether the settings are saved in WIFI Advanced Configuration Editor. If not switch of stock WiFi and repeat step 2 (!!!). Now it should work.
Turn WiFi on and connect to network (Stock WiFi; don't care about settings there, phase 2 authentification is still not saved)
After switching the device off and back on it did still work. Same when leaving and returning to WiFi area.
hopefully it will keep on working. i just tested the browser and play store. didn't discover any problems so far.
Click to expand...
Click to collapse
Connection is stable, but there seem to be some problems regarding to the speed. Whatever it's usable for stuff you do regularly @university.
Hope that helps others, thanks to klemens
hey.qb said:
Hope that helps others, thanks to klemens
Click to expand...
Click to collapse
Thank you for sharing, this made me so happy!
It's those two apps which made my connection possible.
My eduroam configuration is quite different, but the apps did the trick. I fiddled with advanced wifi config editor alone for hours without any result.
Now I just hammered the config into those two apps and what can I say - proxydroid reported a connection a few seconds later.
I dont't know what Moto's Problem with 802.1X is.
Defy latest stock rom - no connection. With CM -> no problem.
Milestone 2 with stock rom - no connection. With CM -> no Problem.
Rarz I no connection with stock wifi manager . . .
My fellow students with their samsung devices seem so have no problem at all. ^^
(even Win Mobile 6 works, thats a little bit depressing)
btw, speed is fine here. 16Mbit up&down is more than I need on a phone.
Greetings from Kiel.

Categories

Resources