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 546 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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post