Results 1 to 2 of 2

Thread: how to connect to wifi network at boot time using NetworkManager

  1. #1
    Join Date
    May 2007
    Beans
    4

    how to connect to wifi network at boot time using NetworkManager

    I'm using Ubuntu 20.04 and, unless I log in, the server does not connect to the wifi network.

    I've found a non-optimal solution/workaround using these steps:

    1. Stopping and disabling NetworkManager
    2. Establishing the connection using 'wpa_supplicant'
    3. Getting an IP with 'dhclient'


    but I couldn't figure out how to do this using NetworkManager, anyone knows how to connect to the wifi network at boot time using NetworkManager?

    Any tip/suggestion would be much appreciated, thanks!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how to connect to wifi network at boot time using NetworkManager

    Servers don't use network-manager. They use netplan.io. Networking is brought up at boot, not login.

    Don't use network-manager on a server. https://askubuntu.com/questions/1105...-18-04-via-cli has an answer that uses netplan.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •