Can't connect to my school wifi

Was looking at this forum post - attempting to connect in the same way this guy does, but the output after inputting username & password results in

Username(802-1x.identity): "MyUsername"Passwords or encryption keys are required to access the wireless network 'Palomar-Secure'

I also have to connect to a DNS that sends me to a school website for it.

Can anyone run me through what to do to sign in through terminal with nmcli?

Do you insist on nmcli? I find nmtui an easier alternative for the terminal (and it should come with the same package as nmcli). Or you probably have some gui application as part of your desktop environment that is easier to work with.

In nmtui you first have to create a new connection → add → wifi.
Then set SSID and security (probably WPA2 or 3 is the most common if you have a wifi password).
Under IPv4 and IPv6 you can leave it as Automatic if your school has a DHCP server (if they do they should already have a proper DNS). But od the right side you can expand the option with <Show> and there you will find the DNS option (it may be benefitial to add more DNS servers than just your school’s one).

Then just press Ok and go back to the main screen of nmtui where is an option to “activete a connection”.

trying nmtui, says my network requires authentication from my client device.

You probably need a password or a certificate from your school.

@three_ham_omelette, a few quick questions to help troubleshoot.

Are you allowed cell phones in class?

Does the school offer students the authentication agent and certificate that would allow you to log on to the network?

If these answers are “No,” query the student: Which goals within the school’s scope of authority would be advanced by these restrictions? Can you meet the school’s goals using available methods of information and discussion? Extra credit: Does the social contract encourage people to be held to a common set of expectations, and if so, how would that be seen as a benefit, not a harm?

Two handwritten pages in your blue book, due Friday. Incomplete will be graded as zero.

  1. Yes, basically
  2. I wouldn’t know that. I’m going to message their IT guys soon enough and hopefully they’re not total Windows quacks.

The password is the password to our own school accounts. It’s configured that way. It queries us for it every time along with our username; the username is our school email.

If the wifi requires per user password and username then the “security” setting is not WPA2. Try other options. If that does not help then I have no idea how to connect to that wifi.

Looks like they’re using IEEE 802.1X, maybe even eduroam, which would be based on authentication with RADIUS servers.

You might want to use the EAP or PPP-EAP-TLS protocols to connect.

Dunno if Network Manager supports these, or a special client be required.

Here is an example from the TU Darmstadt: https://www.hrz.tu-darmstadt.de/support_und_anleitungen/hrz_anleitungen/ieee_802__1x/linux/index.de.jsp

And here another one: https://www.nowiressecurity.com/configure-8021x-authentication-linux

A common gambit in hotels is to have two wifis, one unsecured. You connect to the unsecured, and a web page is presented to log into the secured one. You could check your local networks for this. Note: you will need to use a not-very-secure browser like out-of-the-box Firefox or the switch to the login page may not happen. Once you are connected to the secured wifi, you can use any networking program or browser.

If Konqueror works, I’ll probably try it. I use LibreWolf though so idk if it’ll connect.

Def will try IEEE now that I’m back. Its in the Network Manager so should be good.

Tried connecting to it again this time. This error shows up now.

Error: Failed to add/activate new connection: Failed to determine AP security information

Bypassing school and/or work internet security can be difficult at best and impossible at worst. Plus, if caught, you can be suspended or expelled from school or fired from work.

Solved. Needed Firefox to connect to the captive portal.