Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/iproute2/rt_tables: No such file or directory #2552

Open
OlivierGre opened this issue Oct 21, 2024 · 3 comments
Open

/etc/iproute2/rt_tables: No such file or directory #2552

OlivierGre opened this issue Oct 21, 2024 · 3 comments

Comments

@OlivierGre
Copy link

I'm facing an error during setup screen:
sed: can't read /etc/iproute2/rt_tables: No such file or directory

Here is what I have done:

  • In Raspberry Pi Imager, flashed a SD Card with Ubuntu 24.04 64 bits
  • Used it on a Raspberry Pi4
  • Cloned ot-be-posix with "--recursive". NB: At this stage the RPi is connected by Ethernet
  • Run bootstrap script (still by ethernet)
  • I'm then switching to Wifi.
  • Run "INFRA_IF_NAME=wlan0 ./script/setup"

I'm then getting the above error.

I'm attaching the traces.
Do you think that it is related to the change of interface (eth -> wifi)?

setup_nok.txt

@OlivierGre
Copy link
Author

If I use the Ethernet interface and call "INFRA_IF_NAME=wlan0 ./script/setup" (which is odd), I get the same error

@OlivierGre
Copy link
Author

I have also tried this:

  • connect the RPi by Wifi
  • bootstrap
  • Run "INFRA_IF_NAME=wlan0 ./script/setup"
    I'm getting the same error.

A clean is maybe necessary to flush what has been built before for Ethernet.

@OlivierGre
Copy link
Author

I have fixed it with:

sudo mkdir -p /etc/iproute2
sudo touch /etc/iproute2/rt_tables
echo -e "255\tlocal\n254\tmain\n253\tdefault\n0\tunspec" | sudo tee /etc/iproute2/rt_tables
sudo chmod 644 /etc/iproute2/rt_tables

Is it normal that I had to do this after an installation from scratch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant