Page 1 of 1

WIZnet5K use DHCP ?

Posted: Fri Sep 11, 2020 3:35 pm
by water
Can I configure WIZnet5K use DHCP ?
If not, how to set the network parameter ?
I try to use

Code: Select all

nic.ifconfig(('192.168.1.103', '255.255.255.0', '192.168.1.1', '8.8.8.8'))
(e.g. my router IP address is '192.168.1.1')

but can't not connect to internet, WIZnet5K device can't detect on router (it should be detected).

I use adafruit_wiznet5k library on CircuitPython success to connect to internet, so the hardware is correct.
https://circuitpython.readthedocs.io/pr ... t/api.html

How should I configure WIZNET5K correctly on MicroPython ?

Re: WIZnet5K use DHCP ?

Posted: Thu Sep 24, 2020 3:44 am
by Stevo52
You haven't shown how you set up the WIZnet5k device?

This section of Micropython documentation might be worth reading, to help you figure it out...

http://docs.micropython.org/en/latest/l ... NET5K.html