You are not logged in.
Pages: 1
Topic closed
Hello,
I just finished installing Arch Linux on my laptop, and I am having an issue with my Wi-Fi. I installed all my drivers and packages to do with Wi-Fi and my wireless card, and when I was at my girlfriend's house which had a normal WPA password login, I was able to connect via wifi-menu. Now I am back at my dorm at my university and I can't connect to the internet. The Wi-Fi network itself isn't secured, but on phones/Windows computers, after logging in, you get automatically redirected to a SafeConnect login screen in your default web browser, where you select what kind of member you are (guest, faculty, student, etc) then input your student ID number and your password, which then leads you to being whitelisted on the network.
I installed Firefox onto my computer to see if I'd get automatically redirected after connecting to the network, and nothing happened. I tried going to websites to trigger the login, and nothing happened. I tried pinging google.com and I couldn't get a ping. I'm not sure what to do now. Does anybody know a solution to this?
Last edited by RSlade97 (2017-09-06 13:03:57)
Offline
I tried going to websites to trigger the login
Which websites did you try? That is the right approach, and if the university has the foggiest idea what they are doing, every url would redirect to the login page. But experience has shown that a vast majority of universities don't have the foggiest idea what they are doing with networking (at least here in the US). So often it is a bit of trial and error. There are a few common urls that are redirected: google.com for example (in a browser, not ping). Or sometimes just the school's webpage.
(edit: see also: wiki)
Last edited by Trilby (2017-09-05 01:27:31)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
cnn.com is known to be an instant trigger for the login, and when I try this or any other website, such as the university's homepage, Google, or any others, I get a server not found error.
Offline
You can also try the urls that seem to be used for the captive portal detection on windows:
https://www.reddit.com/r/Windows10/comm … n/d4j12yj/
http://www.msftncsi.com/ncsi.txt
http://www.msftconnecttest.com/connecttest.txt
Last edited by progandy (2017-09-05 01:37:38)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
You can also try the urls that seem to be used for the captive portal detection on windows:
https://www.reddit.com/r/Windows10/comm … n/d4j12yj/http://www.msftncsi.com/ncsi.txt http://www.msftconnecttest.com/connecttest.txt
Tried both of these websites, still got a server not found error.
I read up on the wiki, which said to delete any custom dns servers from resolv.conf. I have a domain, and 4 nameservers (wiki says you can have a max of 3). Would this maybe be a lead?
Offline
The nameservers might be a problem, most likely you have to use the university internal server to get the redirect.
Last edited by progandy (2017-09-05 01:41:58)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
The nameservers might be a problem, most likely you have to use the university internal server to get the redirect.
So should I delete the nameservers and try again?
Offline
progandy wrote:The nameservers might be a problem, most likely you have to use the university internal server to get the redirect.
So should I delete the nameservers and try again?
You can try that. If you did anything to stop wifi-menu to set the nameserver via dhcp, then you should reverse that, too. (you probably did not do that if you don't remember it) After the login was successful you should be able to use any nameserver you want until you have to log in again.
You could also try to get the login URL and its IP from the windows machine and add it too your hosts file. Then you won't have the redirect, but it should be possible to call the login directly with any configured dns.
Last edited by progandy (2017-09-05 01:45:51)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
RSlade97 wrote:progandy wrote:The nameservers might be a problem, most likely you have to use the university internal server to get the redirect.
So should I delete the nameservers and try again?
You can try that. If you did anything to stop wifi-menu to set the nameserver via dhcp, then you should reverse that, too. (you probably did not do that if you don't remember it) After the login was successful you should be able to use any nameserver you want until you have to log in again.
You could also try to get the login URL and its IP from the windows machine and add it too your hosts file. Then you won't have the redirect, but it should be possible to call the login directly with any configured dns.
I tried commenting out the nameservers, still no dice. I don't recall playing around with wifi-menu and dhcp, so that can't be it. I also have no access to any windows computers that aren't already whitelisted, so I can't get the URL.
Offline
Solved it:
My resolv.conf was the problem. I simply added my university's domain name as a domain.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Got it, thanks!
Offline
Just in case someone lands here from search. Usually you can use google.com to login to the network. But there might be a problem with browser cache. When I work from a caffe, I always use google.com?a=yyyy-mm-dd-0x to login to the network. Otherwise it would not work, due to browser caching the redirect.
Last edited by kox (2019-05-09 10:56:39)
Offline
Please don't necrobump old posts with unrelated information.
Closing.
Offline
Pages: 1
Topic closed