Set Static IP
-
Hi, Recalbox 7.2.2 installed.
I'm trying to set Static IP following instructions here for v6.1 https://recalbox.gitbook.io/documentation/tutorials/network/ip/manual-ip-settings
I edited the recalbox.conf file but the IP remains dhcp and also breaks the hostname which reverts to RECALBOX.
Any ideas? Thanks.
-
@arne Unfortunately our documentation is out of date, but we already know that and we are working on new documentation, I don't know how long it will take to make it publicly accessible, but we are doing our best to make it as soon as possible.
What do you need to set a static IP since version 6.1 (and it works on version 7.2.2):
Edit the recalbox.conf file in the part:
## Wifi - static IP ## if you want a static IP address, you must set all 3 values (ip, gateway, and netmask) ## if any value is missing or all lines are commented out, it will fall back to the ## default of DHCP ;wifi.ip=manual ip address ;wifi.gateway=new gateway ;wifi.netmask=new netmask
Note what the instruction above the commands says:
"If you want a static IP address, you must set all 3 values (ip, gateway, and netmask), if any value is missing or all lines are commented out, it will fall back to the default of DHCP"Remembering that it is necessary to remove the semicolon ( ; ) in front of the commands for them to be recognized (lines with semicolons in front are "commented", as the instruction says, and this disable the command).
You probably have one of the 3 values wrong or missing, or you forgot to remove the semicolon in front of the commands.
If you're sure you're following these instructions correctly and still have problems, the problem is probably with your modem settings (in which case, it might be easier for you to set a static IP directly on the modem).
See if this helps:
https://forum.recalbox.com/topic/23274/status-not-connected-when-i-set-static-ip -