Skip to content

tp2bmc/board/tp2bmc/overlay/etc/setStaticNet.sh hasn't been upgraded for 2.1.x interface renames #238

@srcshelton

Description

@srcshelton

Describe the bug

tp2bmc/board/tp2bmc/overlay/etc/setStaticNet.sh still references eth0, even though it is executed (via S93startup) after S00dsa which renames eth0 to dsa.

I suspect that a simple edit of this script won't be sufficient, though, as in 2.1.x by the point it is executed the dsa interface will have had several links added to it, the additions of which would have to be repeated (or the ordering changed - I suspect that setStaticNet.sh needs to be called from S00dsa).

To Reproduce
Steps to reproduce the behavior:

  1. Create /etc/tpi.cfg or /mnt/sdcard/tpi.ini with a MAC or IP override;
  2. Reboot the BMC;
  3. Neither the specified MAC (nor presumably IP, although I've not tested this) have been applied.

Expected behavior
The configured MAC or IP address should have been applied.

Versions
bmc version = v2024.05.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions