• 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 WiFi static IP ?

Scheduled Pinned Locked Moved Solved Support
6 Posts 4 Posters 487 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 14 Mar 2020, 10:42

      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?

      M 1 Reply Last reply 14 Mar 2020, 18:01 Reply Quote 0
      • M Offline
        mihael @Torkel67
        last edited by 14 Mar 2020, 18:01

        @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 14 Mar 2020, 18:25

          @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 18 Mar 2020, 10:47

            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

            A 1 Reply Last reply 18 Mar 2020, 10:56 Reply Quote 0
            • A Offline
              AppLee @Torkel67
              last edited by 18 Mar 2020, 10:56

              @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 19 Mar 2020, 07:13

                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
                5 out of 6
                • First post
                  5/6
                  Last post