Powered by
How to configure static IP using WIFI or ETH
# help
w
wahyudi124
08/03/2025, 4:21 AM
How to configure wifi and ethernet using static ip
f
floitsch
08/03/2025, 1:46 PM
Unfortunately, static IP isn't implemented yet:
https://github.com/toitlang/toit/blob/9b8301314082e526b35e787ae612e3964bf43bc1/system/extensions/esp32/wifi.toit#L238
Since the network API is used for many providers (ethernet, wifi, cellular, ...), it isn't that easy to implement either... It's, of course, something that we want to eventually support, but probably not going to happen in the near future.
w
wahyudi124
08/03/2025, 2:28 PM
can i make custom module for this?
wahyudi124
08/03/2025, 2:28 PM
from system.api ?
wahyudi124
08/03/2025, 2:31 PM
currently i need for 2 interface wifi and eth
f
floitsch
08/03/2025, 2:44 PM
hmm. not sure what the easiest approach would be. For short-term hacking, probably just modifying the C code to take a static IP instead of using dhcp.
3
Views
Previous
Next