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

    How to set a manual IP for a WiFi conection?

    Scheduled Pinned Locked Moved Support
    16 Posts 8 Posters 2.1k Views 4 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.
      • J Offline
        JuanGRodeja @mihael
        last edited by

        @mihael I'll ask the network administrator, thanks.

        @mihael said in How to set a manual IP for a WiFi conection?:

        @juangrodeja Not an answer but rather a workaround: do you have access to the router? You could map the mac address of the phone to a desired ip...

        1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @JuanGRodeja
          last edited by

          @juangrodeja please see https://www.techrepublic.com/article/how-to-set-a-static-wireless-connection-on-ubuntu-touch/

          J 1 Reply Last reply Reply Quote 1
          • J Offline
            JuanGRodeja @advocatux
            last edited by

            @advocatux Thanks a lot. I will try to apply that.

            advocatuxA 1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @JuanGRodeja
              last edited by

              @juangrodeja you're welcome!

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                JuanGRodeja @advocatux
                last edited by

                @advocatux It basically worked, with minor changes (in the address1 line, I had to put first the IP with the netmask, and then the gateway). Problem fixed! Thanks, again.

                E 1 Reply Last reply Reply Quote 2
                • E Offline
                  Eupalino @JuanGRodeja
                  last edited by Eupalino

                  @juangrodeja Hello.

                  Could you please post a copy of the exact text in your configuration for the benefit of all? There is no way I can make a static wi-fi address work on my phone.

                  Thanks.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JuanGRodeja
                    last edited by

                    @eupalino You should follow the link posted above by advocatus. First, you should connect to the wi-fi in order to make sure you have a configuration file for it. Then you should edit it following the instructions in that link. You should personalize the example there with your own dns IP addresses and, after 'address1=' with your fixed IP address '/' your netmask ',' your gateway IP address. There is no use in posting a particular example alone.

                    E Y 2 Replies Last reply Reply Quote 0
                    • E Offline
                      Eupalino @JuanGRodeja
                      last edited by

                      @juangrodeja Thanks. Apparently, my problem is WiFi not resuming saved sessions and continuously creating new ones for the same network.

                      1 Reply Last reply Reply Quote 0
                      • Y Offline
                        yetanothergeek @JuanGRodeja
                        last edited by

                        @JuanGRodeja I tried the instructions on the page referenced by @advocatux (and the additional info here) but I could not make it work. Seems I was having the same problem as @juangrodeja: the Network Manager ignored the settings in my /etc/NetworkManager/system-connections/{SSID} file and created a new /etc/NetworkManager/system-connections/{SSID}-{UUID} file instead, without the "manual" config settings.

                        But I was able to successfully create a connection using the "nmtui" command-line tool over adb. My WiFi is working now!

                        This might be an easier option for users who don't feel comfortable editing the file by hand, but I think the TUI app requires the arrow keys for navigation so I'm not sure if it could be done from the phone's terminal.

                        arubislanderA 1 Reply Last reply Reply Quote 1
                        • arubislanderA Offline
                          arubislander @yetanothergeek
                          last edited by

                          @yetanothergeek the phone terminal app has arrow keys, so it should work

                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                          Happily running Ubuntu Touch
                          Google Pixel 3a (20.04 DEV)
                          JingPad (24.04 preview)
                          Meizu Pro 5 (16.04 DEV)

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Giiba
                            last edited by

                            More specifically, in the terminal app touch the screen and drag up/down/left/right to emulate arrow keys. It is a very slick interface.

                            1 Reply Last reply Reply Quote 0
                            • arubislanderA Offline
                              arubislander
                              last edited by

                              There's that, but for actual on-screen scroll keys, you could also select the Scroll Keys layout (Scr) from the narrow hamburger menu in the bottom left corner of the screen.

                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                              Happily running Ubuntu Touch
                              Google Pixel 3a (20.04 DEV)
                              JingPad (24.04 preview)
                              Meizu Pro 5 (16.04 DEV)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post