martin-ger / lwip_nat_arduino

lwip library with NAT feature for Arduino environment
59 stars 20 forks source link

dhcps_set_DNS(WiFi.dnsIP()); #14

Open parisli0086 opened 4 years ago

parisli0086 commented 4 years ago

Dear all I meet one problem about the line: dhcps_set_DNS(WiFi.dnsIP()); from feedback of arduino IDE: conversion from 'IPAddress' to 'ip_addr*' is ambiguous I check everywhere but not find answer. Thanks for read , prefer your answer.

martin-ger commented 4 years ago

You might want to try that with the standard esp8266 Arduino. Since release 2.6.0 it support NAPT: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/RangeExtender-NAPT/RangeExtender-NAPT.ino

parisli0086 commented 4 years ago

You might want to try that with the standard esp8266 Arduino. Since release 2.6.0 it support NAPT: https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/RangeExtender-NAPT/RangeExtender-NAPT.ino

Thank you very much for your help. I already try your link, it's very good solve my problem. thank you again and best wishes for you.