Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4489

How to setup static IP with wireless interface and netplan on ubuntu 22.04?

$
0
0

I am trying to setup a static ip for a ubuntu server 22.04 instance on a laptop. I though I am going to do that by modifying netplan configuration.

IP of router is 192.168.80.32netplan config file is00-installer-config

network:  version: 2  renderer: networkd  wifis:    wlp3s0:      dhcp4: no      dhcp6: no      addresses: [192.168.80.222/24]      nameservers:        addresses: [192.168.80.1, 8.8.8.8]      access-points:"bssid":          password: "pass"      routes:        - to: default          via: 192.168.80.32

after generate and apply the ip does not change. What I am doing wrong?


Viewing all articles
Browse latest Browse all 4489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>