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

tsn1 on main board and tsn0 on secondary board are not receiving IPv4 addresses #61

Open
Mishytca opened this issue Jul 17, 2024 · 1 comment

Comments

@Mishytca
Copy link

After successfully flashing main and secondary boards, I observe the following behavior:

main:

tsn1      Link encap:Ethernet  HWaddr CA:22:0F:30:A6:5C 
          Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::c822:fff:fe30:a65c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:248666 errors:0 dropped:0 overruns:0 frame:0
          TX packets:345315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27780153 (26.4 MiB)  TX bytes:38828675 (37.0 MiB)

secondary:

tsn0      Link encap:Ethernet  HWaddr 2E:09:0A:0A:36:1D 
          Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2c09:aff:fe0a:361d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:353974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:255049 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:39524877 (37.6 MiB)  TX bytes:28493240 (27.1 MiB)

To resolve the issue, I simply renamed the corresponding file in:
main:

mount -o remount,rw /
mv /etc/systemd/network/tsn1.network /etc/systemd/network/20-tsn1.network

secondary:

mount -o remount,rw /
mv /etc/systemd/network/tsn0.network /etc/systemd/network/20-tsn0.network

After renaming, everything starts to work correctly:
main:

tsn1      Link encap:Ethernet  HWaddr 2E:B5:F1:B0:54:64  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2cb5:f1ff:feb0:5464/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:273230 errors:0 dropped:0 overruns:0 frame:0
          TX packets:372917 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:30653566 (29.2 MiB)  TX bytes:33310590 (31.7 MiB)

secondary:

tsn0      Link encap:Ethernet  HWaddr 2E:09:0A:0A:36:1D  
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2c09:aff:fe0a:361d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:372997 errors:0 dropped:0 overruns:0 frame:0
          TX packets:273305 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:33316988 (31.7 MiB)  TX bytes:30661960 (29.2 MiB)

Could you please investigate why the interfaces do not receive the IPv4 address with the default configuration?

Thank you.

@svlad-90
Copy link

@al1img, this issue seems to be fixed. If it is, could you please close this issue? ))

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

No branches or pull requests

2 participants