netplan on ubunty 20.04 (also on a rpi4)
R C
cjvijf at gmail.com
Mon May 10 13:08:10 UTC 2021
On 5/10/21 12:53 AM, Oliver Grawert wrote:
> hi,
> Am Sonntag, den 09.05.2021, 17:03 -0600 schrieb R C:
>> Hello,
>>
>>
>> I am installing Ubuntu 20.04 on a raspberry pi 4 and want to use an
>> external antenna (log range / directed wifi). The access point it
>> must
>> connect to does not require a password.
>>
>>
>> I don't know if netplan is the best way to set it up
>>
> it surely is nowadays ...
>
>> I am using "Ubuntu server" and want to do it on the commandline/cli,
>> is
>> there a write-up for how to do that?
> there is a writeup somewhere on https://discourse.ubuntu.com
thanks!! I was setting up an rpi4, and it seems it doesn't like the
usb wifi dongle (realtek). I am building it to hook up to another
antenna (rt3072) which from what I read does work.
>
>> (also, the accesspoint doesn't use a password (authentication is
>> done
>> differently))
>>
> i'm not sure how to configure wlan without passphrase, but below is a
> netplan.yaml i use on all my pi's, just replace "your-ssid" and "your-
> pssword", it will connect to your WLAN and also allow to plug in a
> cable to use wired ... make sure ot get the indendation right, yaml is
> very picky about this ... put the SD in your PC, mount it and place the
> below file into /etc/netplan/ on the SD ... make sure it ends in .yaml
>
> ---- snip ----
> network:
> ethernets:
> eth0:
> dhcp4: true
> optional: true
> version: 2
> wifis:
> wlan0:
> access-points:
> your-ssid:
> password: your-password
> dhcp4: true
> ---- snap ----
>
> ciao
> oli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210510/2389af16/attachment.html>
More information about the ubuntu-users
mailing list