U6143_ssd1306
U6143_ssd1306 copied to clipboard
IP Address is all zeros
When the Pi is connected via Ethernet the IP is displayed as 0.0.0.0.
I am having the exact same issue
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.
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.
thanks robiwisc it works!
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.
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.