UCTRONICS / U6143_ssd1306

70 stars 88 forks source link

IP Address is all zeros #5

Open briceott opened 3 years ago

briceott commented 3 years ago

When the Pi is connected via Ethernet the IP is displayed as 0.0.0.0.

theesquire commented 3 years ago

I am having the exact same issue

robiwisc commented 3 years ago

I had this issue too. In file ssd1306_i2c.c, line 397, you need to change wlan0 to eth0. Recompile and rerun ./display. I submitted a pull request to fix the issue.

theesquire commented 3 years ago

Oh thank you. That’s very helpful and makes a lot of sense!

Sent from my mobile

On Apr 12, 2021, at 6:14 PM, Brady @.***> wrote:

 I had this issue too. In file ssd1306_i2c.c, line 397, you need to change wlan0 to eth0. Recompile and rerun ./display. I submitted a pull request to fix the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

lamberts69 commented 3 years ago

thanks robiwisc it works!

ehbush commented 3 years ago

I asked UCTRONICS to review the issues here and update the code. This issue should be solved with their latest commit, 17 hours ago. I cannot confirm however though as I have forked my own version.

darkgrue commented 3 years ago

I've submitted Pull Request #16, which will get the IP address of the default interface, which should be more robust than hard-coding the interface.