You are not logged in.

#1 2021-08-16 18:51:44

archusermannn
Member
Registered: 2021-08-16
Posts: 3

[Solved] Cannot sign in to college network to use internet

My college has public wifi that makes you agree to terms before you use it, like target. I don't get a prompt or anything on my web browser to agree to anything, I just have no internet when I'm connected. I use iwd for wifi, and nftables with the default setup for my firewall. I'm sorry but I don't know what logs or information to give you for this.

Last edited by archusermannn (2021-08-20 16:58:45)

Offline

#2 2021-08-16 18:56:32

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: [Solved] Cannot sign in to college network to use internet

Welcome to the arch forums.

What do you use to configure IP addresses and DNS servers? You might have no IP or maybe a custom DNS that does not redirect to the login page.

$ ip a
$ cat /etc/resolv.conf
$ systemctl list-unit-files | grep enabled

Last edited by progandy (2021-08-16 19:00:24)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-08-16 19:17:30

archusermannn
Member
Registered: 2021-08-16
Posts: 3

Re: [Solved] Cannot sign in to college network to use internet

I use systemd-resolved. I use cloudflare dns 1.1.1.1. Other wifi works fine, so I have an ip.

 [user@computer ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 98:fa:9b:98:94:33 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f6:a6:ee:ef:a9:9a brd ff:ff:ff:ff:ff:ff
    inet 192.168.39.100/24 brd 192.168.39.255 scope global noprefixroute wlan0
       valid_lft forever preferred_lft forever
[user@computer ~]$ cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search .
[user@computer ~]$ sudo systemctl list-unit-files | grep enabled
[sudo] password for user: 
bluetooth.service                                                         enabled         disabled
getty@.service                                                            enabled         enabled
iwd.service                                                               enabled         disabled
nftables.service                                                          enabled         disabled
systemd-fsck-root.service                                                 enabled-runtime disabled
systemd-homed.service                                                     disabled        enabled
systemd-networkd.service                                                  disabled        enabled
systemd-pstore.service                                                    disabled        enabled
systemd-remount-fs.service                                                enabled-runtime disabled
systemd-resolved.service                                                  enabled         enabled
systemd-timesyncd.service                                                 disabled        enabled
usbguard.service                                                          enabled         disabled
systemd-userdbd.socket                                                    disabled        enabled
machines.target                                                           disabled        enabled
reboot.target                                                             disabled        enabled
remote-cryptsetup.target                                                  disabled        enabled
remote-fs.target                                                          enabled         enabled

Last edited by archusermannn (2021-08-16 19:18:19)

Offline

#4 2021-08-16 19:53:51

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: [Solved] Cannot sign in to college network to use internet

The wifi most likely uses dns redirection to display the captive portal, so you'll have to use the DNS server provided via DHCP to log in. Afterwards you can change it.
Depending on your configuration it might also be possible to use a domain from the search-domain range of the college dns to show the login page. If you know its IP, you might be able to use that as well without DNS.

resolvectl status

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2021-08-20 16:58:00

archusermannn
Member
Registered: 2021-08-16
Posts: 3

Re: [Solved] Cannot sign in to college network to use internet

I'm sorry for waiting so long to update this thread, that was very rude. Someone might care. I fixed my problem the day after I posted last. I was using DNSoverTLS as well as DNSSEC. Unfortunately I had to turn those off. The dns I am using has nothing to do with it. I'm going to get a vpn. dns encryption doesn't matter at all if you have a vpn right? Am I right or wrong about that? I'm going to mark as solved. But if you know of a way to allow me to enable those two again, please tell me. It makes you "login" every time you connect. So I doubt it. Also thank you for the help.

Last edited by archusermannn (2021-08-20 16:59:21)

Offline

Board footer

Powered by FluxBB