diff --git a/.gitignore b/.gitignore index 53a89d1..93e4e4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ *.log .env +*.o diff --git a/lib/resource/3588s/demo b/lib/resource/3588s/demo index bdd520e..196d34e 100755 Binary files a/lib/resource/3588s/demo and b/lib/resource/3588s/demo differ diff --git a/lib/resource/3588s/src/build/bin/demo b/lib/resource/3588s/src/build/bin/demo index 9281944..196d34e 100755 Binary files a/lib/resource/3588s/src/build/bin/demo and b/lib/resource/3588s/src/build/bin/demo differ diff --git a/lib/resource/3588s/src/main.c b/lib/resource/3588s/src/main.c index e595439..7dea3f5 100755 --- a/lib/resource/3588s/src/main.c +++ b/lib/resource/3588s/src/main.c @@ -287,6 +287,9 @@ static void update_ip_ui(void) { char eth[32] = {0}, wifi[32] = {0}; get_ip("enP4p65s0", eth, sizeof(eth)); + if (eth[0] == '\0') { + get_ip("eth0", eth, sizeof(eth)); + } get_ip("wlan0", wifi, sizeof(wifi)); if (eth[0]) { diff --git a/package.json b/package.json index 6205236..8088191 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clawd", - "version": "1.5.4", + "version": "1.5.5", "description": "Claw Box daemon - connects local Linux box to claw.cutos.ai via WebSocket", "main": "lib/client.js", "bin": {