0

I want to install Lubuntu on my Raspi 4 and followed the instructions: https://ubuntu.com/download/raspberry-pi, steps 1-4.

At the end I can however not continue to do the lubuntu-desktop installation because wifi is not yet configured and I don't have a wired internet (am always using my mobile's wifi). Likewise I can't install any other package but have to work with the configuration that comes with the server distro.

How can I tell Ubuntu Server which wifi connection details to use?

Thank you very much!

0

Step 1: In the command line interface run the command

cat /etc/wpa_supplicant.conf

Step 2: At the end of the file, type this lines

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
    network={
         ssid="Your network name/SSID"
         psk="Your WPA/WPA2 security key"
         key_mgmt=WPA-PSK
    }

Example: If the SSID is rocket and password is 12345678 you would add

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
    network={
         ssid="rocket"
         psk="12345678"
         key_mgmt=WPA-PSK
    }
  • Thank you very much for the quick reply! In /etc I don't have a file "wpa_supplicant.conf" but a directory "wpa_supplicant" containing the files "action_wpa.sh", "functions.sh" and "ifupdown.sh". Should I create a new file (inside the similarily-named directory?) or modify the existing ones? – AndyViator Dec 27 '19 at 12:11
  • Does someone have an idea? – AndyViator Jan 16 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.