Comments (4)
Hi
Thanks for using the library.
I suggest you start with the working and more complex Server examples as follows, I just tested OK and running reliably. Then modify then according to your requirements.
We're sorry We certainly don't have time to spend on your issue, unless you use those examples and prove they're not working.
Starting AdvancedWebServer on TEENSY 4.1 with Custom Ethernet using Teensy 4.1 NativeEthernet Library
EthernetWebServer v1.5.0
[EWS] ======== USE_NATIVE_ETHERNET ========
[EWS] Default SPI pinout:
[EWS] MOSI: 11
[EWS] MISO: 12
[EWS] SCK: 13
[EWS] SS: 10
[EWS] =========================
[EWS] Board : TEENSY 4.1 , setCsPin: 10
=========================
Currently Used SPI pinout:
MOSI:11
MISO:12
SCK:13
SS:10
=========================
Using mac index = 14
Connected! IP address: 192.168.2.97
HTTP EthernetWebServer is @ IP : 192.168.2.97
from ethernetwebserver.
Hey,
I can confirm the above issue on a Teensy 4.1 using the AdvancedWebserverExample.
The Teensy does not accept any connections but is running / prints the heartbeats.
As a difference to @MoosKarneval181, Ethernet.localIP()
is always 0.0.0.0
, whether static IP or DHCP.
I'm using Arduino 1.8.16, Teensyduino 1.55, and I have applied the patches necessary for the library.
Interestingly, it works on a different PC with Arduino 1.8.15 and Teensyduino 1.54.
I have already tried a fresh install of Arduino 1.8.16 and patching only Stream.h manually (in case that the patches are out-of-date...).
Please let me know how we can debug this.
I would actually like to use the library with platformio but there I run into the same issue.
I hope that finding out what the issue is will help fixing it there as well.
Best regards
Moritz
from ethernetwebserver.
I suggest you first trying the better QNEthernet instead of NativeEthernet library.
I've just tested and added support to UPnP_Generic for Teeensy 4.1 + QNEthernet several hours ago.
The result in T41_QNEthernet_SimpleServer on TEENSY 4.1
Interestingly, it works on a different PC with Arduino 1.8.15 and Teensyduino 1.54.
I'm afraid only you can find out what is the issue, such as installation, missing files, etc.
Good Luck,
from ethernetwebserver.
Thanks, it works with QNEthernet. With platformio as well... must be some issue with the current Arduino distribution or NativeEthernet then.
from ethernetwebserver.
Related Issues (20)
- ARDUINO IDE 1.6.12 compile error with esp8266 HOT 1
- Consecutive page refreshes finally leads to data corruption and Connection Refused HOT 4
- Upload file is very slow HOT 1
- Upload speed it's slow HOT 1
- Something wrong in http response header HOT 1
- server.authenticate problem HOT 2
- multiple definition of base64 error with ver. 1.8.3 HOT 3
- Missing ESP definitions ..... HOT 1
- Needing help ! HOT 1
- ESP32 keeps rebooting when trying to use pointers. HOT 1
- Udp Multicast HOT 3
- AdvancedWebServer example give me wrong ip HTTP EthernetWebServer is @ IP : 1.0.1.0 HOT 2
- Teensy 4.1 server.streamFile not working HOT 2
- RP2040-W5500 UdpSendReceive HOT 2
- AdvancedWebServer example give me wrong ip HTTP EthernetWebServer is @ IP : 0.0.0.0 HOT 48
- RP2040 (IP Unset) with localIP HOT 3
- Not Working With Default ETH Library HOT 1
- fatal error: functional-vlpp.h: No such file or directory HOT 1
- FS_EthernetWebServer Example for PICO (WIZnet 5100S-EVB-Pico ) not working
- undefined reference to EthernetWebServer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethernetwebserver.