Skip to content

ESP8266 network fixed IP not working #3744

@osamarais

Description

@osamarais

Attempting to set a fixed IP using the documentation:
https://docs.micropython.org/en/latest/esp8266/library/network.html

wlan.ifconfig(config=('192.168.178.107', '255.255.255.0', '192.168.178.1', '8.8.8.8'))

does not work.

wlan.ifconfig(('192.168.178.107', '255.255.255.0', '192.168.178.1', '8.8.8.8'))

only APPEARS to change the IP address. When checking the router IP table it does not change!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions