U6143_ssd1306 icon indicating copy to clipboard operation
U6143_ssd1306 copied to clipboard

IP Address is all zeros

Open briceott opened this issue 3 years ago • 6 comments

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

briceott avatar Apr 07 '21 23:04 briceott

I am having the exact same issue

theesquire avatar Apr 12 '21 17:04 theesquire

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.

robiwisc avatar Apr 12 '21 22:04 robiwisc

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.

theesquire avatar Apr 13 '21 01:04 theesquire

thanks robiwisc it works!

lamberts69 avatar Apr 20 '21 07:04 lamberts69

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.

ehbush avatar May 07 '21 20:05 ehbush

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.

darkgrue avatar May 18 '21 12:05 darkgrue