You are not logged in.
Hello. At the school I attend, to connect to the wifi you need to accept a form that comes up after you try to connect to the wifi. But on arch using wifi-menu i cannot access the form (I can on Windows and Mac and iPhone). Is there any way to fix this? Thanks!
Offline
Is this a form in a browser, or is it perhaps a multi stage authentication? If it is a browser form, just open a browser and go to any url and you'll be directed - at least in theory. In practice not all networks redirect all urls, but google.com is almost universally redirected.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Have you tried opening a browser and trying to access google? I suppose your school implements what is called a captive portal and it should automatically redirect any url you try to access to the login page, however some captive portals only redirect certain common urls, such as www.google.com or similar. If google doesn't work then you can try a few others, and don't forget to also try the webpage of your school.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Is this a form in a browser, or is it perhaps a multi stage authentication? If it is a browser form, just open a browser and go to any url and you'll be directed - at least in theory. In practice not all networks redirect all urls, but google.com is almost universally redirected.
Unfortunately it is in a browser, but when you connect it auto-routes to the page on windows/osx/iOS. When I choose the network in wifi-menu it does not auto-route.
Last edited by shearej (2015-09-24 14:50:56)
Offline
That is not unfortunate, that is the easier option. Have you followed the advice provided above?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yes, it does not auto-route, just rejects the connection.
Offline
Have you tried with different browsers?
Offline
what if you directly try the address to which you are redirected to under Windows/Mac/iPhone?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Also, ensure you try a URL that is not https. My browsers block redirects of https requests because they appear to be a man-in-the-middle attack.
Last edited by ewaller (2015-09-25 23:56:51)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Online
If ewaller's suggestion fails, try doing:
curl -sI http://google.com
or
curl -sD - -o /dev/null http://google.com
You should get a 307 (or 302) redirection HTTP status and the http headers. There should be a “Location” header with the URL of the login page.
If that is the case, you know the redirect is working and you may be able to script the login page (depending on what it wants)
Last edited by ukhippo (2015-09-25 21:24:42)
Offline
Also, ensure you try a URL that is not https. My browsers block redirects of https requests because they appear to be a man-in-the-middle attack.
Thank you! This worked!
Offline