• MyNamesNotRobert@lemmynsfw.com
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    How can I make my Debian pc always stay connected to the wifi? Even if it disconnects for some reason, it needs to reconnect as soon as it can without throwing any password prompts or requiring any human intervention whatsoever. Having to click a “connect” button first counts as human intervention.

    Bering trying to figure this one out for years, don’t expect a working answer but you miss 100% of the shots you don’t take.

    • 9488fcea02a9@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      My debian laptop always reconnects to my wifi automatically

      The only annoying thing is it always asks for a password unless you set it to save the wifi credentials for everyone instead of encrypted.

      I cant remember the exact wording of the option, but its in thr security tab of each wifi network

      • MyNamesNotRobert@lemmynsfw.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        8 months ago

        I have all those settings enabled. The solution does not lie in the ui buttons. I’ve beat that horse dead. It always asks for a password and always shows that stupid fucking reconnect window that someone has to click. It’s absolutely maddening. I might have to make a system mouse clicker bot for this because there might really be no other way. I don’t know how to do that but considering how much time I’ve wasted trying to find any solution, it’s just another attempt.

        Too bad there’s not a one-time “reconnect now” command that can be attached to a script. And no, disabling the network interface and re enabling it via automated command line scripts doesn’t make it reconnect.

    • MystikIncarnate
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      I haven’t personally used Debian with WiFi like this. I’ve used Debian and Debian based distributions on laptops and I’ve used those to connect to WiFi, but I’m not a full time Linux user.

      Since I work on the IT/support side, most of my support tools only run correctly on Windows. Sure, there are client/user side tools for Linux/Mac/Windows, but the technician tools are frequently Windows centric; so most of my stuff is installed with some flavour of Windows.

      Most of my knowledge is out of date, but I seem to recall that you can save settings in the wpa supplicant for the network, and set the network manager to default to that wifi connection (ESSID/BSS) when it is in range/available. This was all done in config files, but I’m equally aware that a lot of the Linux networking subsystems have been pretty dramatically changed in the past ~5 years, so I doubt the settings I would have used for this, still exist.

      I’m sorry I couldn’t be more help here. I just don’t have the long term experience with the issue.

      I have an old laptop with Debian installed, and I can fire that up for testing and play with it… What version of Debian are you running? I want to make sure the version I have installed isn’t so out of date that the testing I do won’t help at all.

      That system is just sitting on a shelf doing nothing, so it won’t be a problem to pull it out and tinker with it for a while. I use a lot of Debian based stuff for servers, usually I’m using rasbian or Ubuntu, but AFAIK they’re all very similar.