How to set a manual IP for a WiFi conection?
-
@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...
-
-
@advocatux Thanks a lot. I will try to apply that.
-
@juangrodeja you're welcome!
-
@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.
-
@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.
-
@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.
-
@juangrodeja Thanks. Apparently, my problem is WiFi not resuming saved sessions and continuously creating new ones for the same network.
-
@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.
-
@yetanothergeek the phone terminal app has arrow keys, so it should work
-
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.
-
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.