Score:1

Ubuntu on Mac wi-fi authentification problems

mp flag

Mac computer running Ubuntu 18.04 disconnects from wifi when sleeping, causing problems using an Open VPN server.

My roommate got an old iMac all-in-one from a friend (said it was from around 2012 but I don't know how to check which model). When we got it, the drive was completely wiped and didn't have an OS, so we installed Ubuntu 18.04 and tried using it as a home network VPN server (for RDP and steam link purposes). I got everything to work and with a dynamic DNS service. I was able to connect to RDP from my university wifi with pretty good results. This worked even though the screen goes to sleep, so I figured the sleep mode doesn't cause any issues.

A few days later I tried connecting again to no avail. When I got home and checked the server I noticed that while everything was still running, it stopped recognizing the wifi and said it needed to be authenticated. It still remembered the password and just wanted me to hit enter (several times over because it prompted me repeatedly 20 or so times).

A Google search suggested that I need to turn off the power saving mode on the wifi card through iwconfig, which I did successfully and checked that everything was working. Unfortunately, two days later the same thing happened, power saving mode was still off, but the wifi needed to be authenticated with a password (several times) again...

Not sure where to go from here or what info is needed to solve the problem. Is it likely just a spotty driver? Would it be better to upgrade to a newer version of Ubuntu (I was nervous such old hardware would not be able to handle it)?

Can anyone suggest some troubleshooting tips so I can figure out what causes it to disconnect? I'm sure an ethernet connection would improve the situation, but all our ports are currently in use and I am hesitant to find a bigger switch or router at the moment.

guiverc avatar
cn flag
Don't forget Ubuntu 18.04 LTS was released in 2018-April with 5 years of *standard* support life, ie. until 2023-April. You can use `ubuntu-support-status` to confirm, and whilst the support has been extended until 31-May-2023, you're in the final days of support, I'd suggest planning your *release-upgrade* asap.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.