UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to assign static IP on local network wifi on focal build (pixel 3a) ?

    Scheduled Pinned Locked Moved 20.04 Focal Fossa
    4 Posts 2 Posters 327 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • K Offline
        khurshid.alam
        last edited by khurshid.alam

        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.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @khurshid.alam
          last edited by

          @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.

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            khurshid.alam @kugiigi
            last edited by

            @kugiigi

            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.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi @khurshid.alam
              last edited by

              @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
              
              1 Reply Last reply Reply Quote 1
              • First post
                Last post