cancel
Showing results for 
Search instead for 
Did you mean: 

How to modify default routing table on STM32MP157 with OpenSTlinux

yclin
Associate II

Hi,

 

I'm new of linux.

Now I have two network interface on my board, end0 for ethernet & en1u2i4 for 4G modem.

Capture21.PNG

The ethenet(end0) is directly connected to my PC only for development that I can use ssh to connect my board.

And I want the other connection transfered by 4G modem(en1u2i4), so I use "route del default" to delete the first rule of the routing table.

Capture22.PNG 

That will work. But I need to do this everytime the board boot up.

Are there settings can be modified in the system? Or should I write a script to do "route del" command with a startup service?

Thank you.

0 REPLIES 0