• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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
      last edited by 30 Sept 2018, 15:30

      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.

      L M A 3 Replies Last reply 30 Sept 2018, 16:31 Reply Quote 0
      • L Offline
        Lakotaubp @JuanGRodeja
        last edited by 30 Sept 2018, 16:31

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

        J 1 Reply Last reply 30 Sept 2018, 19:22 Reply Quote 0
        • M Offline
          mihael @JuanGRodeja
          last edited by 30 Sept 2018, 17:38

          @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 30 Sept 2018, 19:24 Reply Quote 0
          • J Offline
            JuanGRodeja @Lakotaubp
            last edited by 30 Sept 2018, 19:22

            @lakotaubp I'll try it.

            1 Reply Last reply Reply Quote 0
            • J Offline
              JuanGRodeja @mihael
              last edited by 30 Sept 2018, 19:24

              @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
              • A Offline
                advocatux @JuanGRodeja
                last edited by 1 Oct 2018, 10:16

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

                J 1 Reply Last reply 1 Oct 2018, 21:52 Reply Quote 1
                • J Offline
                  JuanGRodeja @advocatux
                  last edited by 1 Oct 2018, 21:52

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

                  A 1 Reply Last reply 2 Oct 2018, 06:11 Reply Quote 0
                  • A Offline
                    advocatux @JuanGRodeja
                    last edited by 2 Oct 2018, 06:11

                    @juangrodeja you're welcome!

                    J 1 Reply Last reply 2 Oct 2018, 11:19 Reply Quote 0
                    • J Offline
                      JuanGRodeja @advocatux
                      last edited by 2 Oct 2018, 11:19

                      @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 3 Oct 2018, 16:23 Reply Quote 2
                      • E Offline
                        Eupalino @JuanGRodeja
                        last edited by Eupalino 10 Mar 2018, 16:24 3 Oct 2018, 16:23

                        @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 5 Oct 2018, 19:35

                          @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 7 Oct 2018, 08:10 Reply Quote 0
                          • E Offline
                            Eupalino @JuanGRodeja
                            last edited by 7 Oct 2018, 08:10

                            @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 6 Aug 2019, 19:58

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

                              A 1 Reply Last reply 7 Aug 2019, 16:40 Reply Quote 1
                              • A Offline
                                arubislander @yetanothergeek
                                last edited by 7 Aug 2019, 16:40

                                @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 7 Aug 2019, 19:31

                                  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
                                  • A Offline
                                    arubislander
                                    last edited by 9 Aug 2019, 05:45

                                    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