[Default Debian] Issue with Wifi captive portal?
#1
I'm a but stuck at the moment, wifi at work uses a captive portal to signin (or onboard to BYOD).

After some google-research, it looks like I need to do something with resolvconf but at present this is missing on my machine.
Did the trick with networkmanager & creating some [connectivity] settings... but no luck.

Any idea how to fix this?
#2
Most captive portal will try to redirect HTTP requests to the captive portal for non authorised devices.
HTTPS may or may not work depending on the portal system.

I'm currently working away staying in a hotel with a flaky internet system and the captive portal is problematic here with the PBP.
My homepage on chromium is google so HTTPS which the portal doesnt intercept.
if I try an http page eg http://bbc.co.uk the portal intercepts and I can authorise
The following morning if I try to connect again i have no internet until i authorise at which point bbc.co.uk noo longer works and i have to try an alternate http page to be captured to the portal.

I havent really dug into it yet, do you have any details about the changes you need to make.
NetManager sets up profiles for all your wifi networks and there is a Netmanager global config file, so somewhere in those files maybe a way to tweak the settings that you are trying to perform in resolvconf.
Linux n00b trying to learn.
Brute force and ignorance sometimes works!
| Pinebook Pro + Toshiba OCZ RC100 240GB |
#3
(01-22-2020, 03:48 AM)gandlers Wrote: Most captive portal will try to redirect HTTP requests to the captive portal for non authorised devices.
HTTPS may or may not work depending on the portal system.

I'm currently working away staying in a hotel with a flaky internet system and the captive portal is problematic here with the PBP.
My homepage on chromium is google so HTTPS which the portal doesnt intercept.
if I try an http page eg http://bbc.co.uk the portal intercepts and I can authorise
The following morning if I try to connect again i have no internet until i authorise at which point bbc.co.uk noo longer works and i have to try an alternate http page to be captured to the portal.

I havent really dug into it yet, do you have any details about the changes you need to make.
NetManager sets up profiles for all your wifi networks and there is a Netmanager global config file, so somewhere in those files maybe a way to tweak the settings that you are trying to perform in resolvconf.

my google skills have let me down, installed resolvconf at home, might try again tomorrow at work
#4
network-manager will update resolv.conf upon connection with dhcp resolved nameservers. You don't edit this manually.
#5
Strangely enough since I messed up the debian install (building a kali image), I've created a Manjaro SD card to boot from... Manjaro doesn't have this issue?
#6
Think I've found it... As explained in: https://bugs.debian.org/cgi-bin/bugrepor...bug=859934
This was fixed in network manager 1.8.0-3 but the debian image ships with 1.6.3.2...

I'm guessing Manjaro uses a newer build of this package?
#7
Nevermind my previous post. Think I'm sort of on the right track. I installed Resolvconf.
Did a dpkg-reconfigure resolveconf. Followed the steps & reboot.

After that it won't load the browser automaticatly but i'm able to enter 1.1.1.1 and reach the captive portal
#8
Glad you got it working! I have a similar problem with the debian bullseye image. I don't see a portal notification from network manager, which the bug explains, but the portal detection in Firefox works: if there's a browser window open, it will show a bar at the top with a button to connect to the portal. After clicking whatever the captive portal page wants me to click, however, I have to turn wifi off and then on again before traffic is routed properly, which is definitely a bug. Fortunately, the particular captive portal I use frequently remembers the machine for a few hours so reconnecting is ok. Tedious though!

I haven't tried with the default image.
#9
on debian sid arm64: connect to captive portal SSID, open a web browser, browse to any url, and be redirected to captive portal page.

I didn't do much testing, so it may be simpler.
#10
Found it might be browser related. Firefox has no issues with the captive portal. Chrome doesn't want any of it. Both came from the default debian image.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Official Debian support moonwalkers 64 64,264 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 2,891 03-31-2024, 10:11 AM
Last Post: u974615
  Nethunter default password failed lamlarryyyy 0 712 11-23-2023, 02:48 AM
Last Post: lamlarryyyy
  install debian on pbp jsch 7 5,395 11-22-2023, 04:22 PM
Last Post: TRS-80
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 1,635 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,826 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Manjaro - HIbernate - brcmfmac clk issue pompeyPinePro 1 1,221 08-18-2023, 02:06 AM
Last Post: juliamenendez
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 1,367 08-18-2023, 01:58 AM
Last Post: juliamenendez
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 5,367 07-15-2023, 02:58 PM
Last Post: u974615
  Manjaro update: nerd-font-terminus dependency issue Vinay 3 1,896 05-10-2023, 04:51 AM
Last Post: Vinay

Forum Jump:


Users browsing this thread: 1 Guest(s)