Chat freely about anything...

User avatar
By skinman777
#42933 Hi all,
I am having some issues getting more than one device connected. I have an 8266 setup as a wifi access point and I have another 8266 setup as a client. The client connects to the server just fine. Gets an ip address and can even use UDP to transfer info. With the client setup I then try to connect a pc to the device and it will not work. I disconnect the client 8266 and connect the pc and it works fine but then try to reconnect the client 8266 to the server while the PC is connected and no go. I was wondering about DHCP leases or ip assignments. Both devices connect using the same client ip address 192.168.4.2. I am wondering if the server remembers each client by mac address and tries to assign the same IP address to each device. If this is the case then I should be able to release the DHCP lease so they can connect with different IP addresses. Does this make any sense? If so how can I release the DHCP leases? I have looked around but can not seem to find where this is. Or, perhaps there is a different problem?
I am using the Arduino IDE with the built in ESP8266Wifi libraries.
Any help would be eternally appreciated.
Thanks,
Ed