How to assign static IP on local network wifi on focal build (pixel 3a) ?
-
Hi,
I can do that though network manager on desktop,setting ip and gateway. Like 192.168.1.100
Is there anyway to do that ? I check under /etc/network-manager/system-connection. Though not sure how and which one to edit without affecting updates.
Using focal rc on pixel 3a.
-
@khurshid-alam Currently, there's no UI to do this. You can however modify the files in the path you mentioned. I don't think this could break your system. Worse would be that you need to reconnect to your connetion. However, do it only if you know what you're doing. BTW, I do this with my devices and works fine. Some devices have a bug though where sometimes it creates another connection so your current configuration won't take effect anymore.
-
What I wanted to do is place custom wifi config in conf.d directory. But there is no such folder under system-connection. If I create one network manager seems to ignore it and keep using the old ones.
-
@khurshid-alam What I do is modify the file for your already known connection and add this sample line
[ipv4] address1=192.168.1.10/24,192.168.1.1