Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to set a manual IP for a WiFi conection?

    Support
    8
    16
    826
    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
      JuanGRodeja last edited by

      16.04 OTA 4. There are not Advanced Options on the WiFi settings. Is there a way to overcome this thru the command line? Thanks.

      Lakotaubp mihael advocatux 3 Replies Last reply Reply Quote 0
      • Lakotaubp
        Lakotaubp @JuanGRodeja last edited by

        @juangrodeja can you use the hidden network settings to get in? Or have you tried that.

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

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

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

            @lakotaubp I'll try it.

            1 Reply Last reply Reply Quote 0
            • J
              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
              • advocatux
                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
                  JuanGRodeja @advocatux last edited by

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

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

                    @juangrodeja you're welcome!

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      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
                        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
                          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
                            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
                              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.

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

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

                                1 Reply Last reply Reply Quote 0
                                • G
                                  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
                                  • arubislander
                                    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.

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