Skip to content

[BUG REPORT]: dweOS service fails on boot when Ethernet is disconnected #523

Description

@Tekunalogy

Search before asking

System information

System Information:

  • Device: Raspberry Pi 4b
  • OS: Raspberry Pi OS (Fresh installation)

Describe the bug

When installing dweOS via the installation script on a fresh Raspberry Pi OS setup, the installation finishes successfully. However, upon rebooting, if the device is not connected via an Ethernet cable, the dweOS service fails to start.

The service needs a safeguard or a try-catch block to handle network initialization gracefully, ensuring it doesn't crash if a user intends to connect via Wi-Fi instead of a wired connection.

To Reproduce

  1. Flash a fresh image of Raspberry Pi OS onto an RPi 4b.
  2. Run the installation script: curl -s https://raw.githubusercontent.com/DeepwaterExploration/dweOS/main/install.sh | sudo bash -s
  3. Disconnect the Ethernet cable.
  4. Reboot the Raspberry Pi.
  5. Check the service status to see the failure.

Expected behavior

dweOS should handle the absence of an active Ethernet connection gracefully (e.g., via a try-catch block or proper systemd network targets) and remain active so that the user can configure or connect via Wi-Fi.

Additional information

The service needs a safeguard or a try-catch block to handle network initialization gracefully, ensuring it doesn't crash if a user intends to connect via Wi-Fi instead of a wired connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions