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

    How to set a WiFi static IP ?

    Scheduled Pinned Locked Moved Solved Support
    6 Posts 4 Posters 474 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.
      • T Offline
        Torkel67
        last edited by

        Tried to set a manual IP configuration on my OnePlusOne to get access to a hidden wlan. But it seems to be that there's no Option in the Wlan Config except of just typing in the SSid and password, so only DHCP is possible to configure?
        Or did I miss something?

        mihaelM 1 Reply Last reply Reply Quote 0
        • mihaelM Offline
          mihael @Torkel67
          last edited by

          @Torkel67 Not a direct answer to your question but I achived manual IP configuration from the router - I associated the mac address of the phone with a static IP.

          1 Reply Last reply Reply Quote 0
          • C Offline
            Capsia
            last edited by

            @Torkel67
            Short answer: Yes, the only configuration available from settings is SSID and password.

            But you can further configure your Wi-Fi connection using nmcli from the terminal.

            To list connections:

            nmcli c
            

            To edit a connection (replace id with the id you get in the previous command):

            nmcli c edit YOUR-ID
            

            here you can use the 'print' command to list all properties of the network and change them with

            set PROPERTY_NAME
            

            Then save changes with the command:

            save
            

            When you reconnect to the network the changes will be applied.

            1 Reply Last reply Reply Quote 1
            • T Offline
              Torkel67
              last edited by

              thanx for the replies!
              I think I've to live with dhcp for a while, 'cause the display of the OnePlusOne is not really designed for working with terminal( big fingers make scrolling not easy 😄 ). And at the moment I'm to stupid to get ssh working 😄
              Thanx anyway
              T

              AppLeeA 1 Reply Last reply Reply Quote 0
              • AppLeeA Offline
                AppLee @Torkel67
                last edited by

                @Torkel67 said in How to set a WiFi static IP ?:

                And at the moment I'm to stupid to get ssh working

                Haha :grinning_face_with_big_eyes:
                You don't have to be smart ; you can use UT Tweak Tool :

                • hamburger menu >System
                • SSH params

                Everything is there and it's as easy as pushing your public key to the phone...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Torkel67
                  last edited by

                  Yeah, it works!!!! 😄 ssh is working and the static IP is set with the nmcli commands I'm not as stupid as I thought,
                  I figured out that you can't copy or create files or folders (via USB) directly to the User's home( tried to copy the keys via usb), it only works in the Downloads, Documents etc. folders, it would be nice to correct the instructions on docs.ubports
                  Thanx

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