Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass IP address instead of server name #26

Open
tuctboh opened this issue Aug 10, 2022 · 3 comments
Open

Pass IP address instead of server name #26

tuctboh opened this issue Aug 10, 2022 · 3 comments

Comments

@tuctboh
Copy link

tuctboh commented Aug 10, 2022

Hi,

I run a home lab and want to specify the IP address of the SYSLOG_SERVER, but seems like it only is looking for a string. (Since I'm tcpdumping the destination and nothing is coming to 514).

Tnx, Tuc

@tuctboh
Copy link
Author

tuctboh commented Aug 11, 2022

I relented and put this into DNS, and still not getting it to work. Does it matter I use WiFiNINA instead of just WiFi?

@tuctboh
Copy link
Author

tuctboh commented Aug 12, 2022

So dug into this more..

  1. Learned I could put #define SYSLOG_SERVER {192,168,3,245} and it actually worked just fine
  2. Realized after doing some investigation about WiFiNINA and UDP, you need to issue a client.begin(localPort).

I've submitted pr #27 to add an example file for WiFiNINA for others.

@DrGonzo65
Copy link

Thank you! You saved me on this one. Needed to add the client.begin(localPort)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants