Network connection pre-login

Hello!

I have a somewhat silly yet frustrating issue: I cannot get Linux Mint to connect to Wi-Fi before logging in after boot. Typically, this wouldn’t be a problem for me, but this laptop is usually in tablet mode on my desk, and I use Synergy (paid upgraded subscription) to connect to it. Synergy requires a monitor, and I use it in a semi-tablet mode, angled from my keyboard to my monitor. I really love this setup and use it all day while working remotely, but moving fully to Linux across all my machines has presented this one challenge (aside from gaming, but I have dual-boot for those situations) and it’s almost a deal breaker for this machine being on Linux full time.

I’ve already gone through many forum posts and even argued with ChatGPT for a while, trying everything I could find, but it just won’t connect until I log in. The connection is immediate once I log in, and the first thing I see as the desktop loads is the pop-up indicating I’m connected to Wi-Fi.

I would appreciate any assistance you can provide. I really like Mint, but I’m not married to it and use a few different distros (at a beginner level). If you recommend a different distro, I’m open to it. I have decent experience with Debian/Ubuntu-based systems, as I’m more familiar with the terminal and configuration of Debian. I considered trying Pop!_OS, but I’m dual-booting this machine and require Secure Boot due to my Windows configuration and domain policies.

Thanks!

You can configure Mint to auto-login at boot, so effectively you’re connected instantly.

Hello, thank you for your reply! I have tried configuring it with the “allow other users” setting, configuring in multiple places via command line, and no matter what I have tried it simply will not login at boot UNTIL you log in for the first time. Then it does so immediately.

this is a very confusing statement. i think you are stating it will not connect to WIFI until after you login.

@Dutch_Master statement was configure auto-login on the device, there by working around your issue. is there a reason that would not work for you? the setting is found on this panel.


if you actually need netwrok before login for some other reason, please post that aswell.

Hello, thank you for the reply! I see what you are saying. I misread and I thought the suggestion was for configuring auto-login on wifi, my apology. Unfortunately this would not be a solution as it’s not always at my home. It is a vast majority of the time, but not always.

The credentials for joining your wifi are tied to your user login. You can set “Allow all users to use this connection” in Network Manager, and that should attempt to find this WiFi connection when the device starts up. Note though, you will need to check that it doesn’t store your wifi AP name and password insecurely.

The terms to look for are ‘Network Manager system connection’ and this ‘allow all users to use this connection’ phrase.

K3n.

1 Like

Thank you for your response, K3n! I have done that and even went into nmcli to make sure it was there. I’m really at a loss with this one and the only thing I can think of that may have something to do with it (although I am not sure how) is that this machine is dual booted. There are no other issues though.