<div dir="ltr">Hello,<div><br></div><div>I am porting a 5G/LTE modem into OpenWRT.</div><div>The modem provider provided a connection manager (CM) linux daemon. This CM sets up the usbnet adapter interface which is wwan0. And it brings data connection via this interface wwan0. And after the bringup finished, it sets up firewall rules and routing settings.</div><div>But during the CM is doing these jobs, the rest of the OpenWRT daemons do their jobs too! - bring up network interfaces. set up the firewall rules. and routing settings. etc.</div><div><br></div><div>But these two jobs ignores each other. So one configuration overwrites the other. For example OpenWRT sets up the firewall as the /etc/config/firewall declares. But the CM deletes these firewall settings and sets up it's own settings.</div><div><br></div><div>I think the CM has to follow what others in OpenWRT follow. But, the problem is .. I am afraid how I can figure out the rules that others follow in OpenWRT.</div><div><br></div><div>Let me list up problems I think of .. :</div><div>- firewall settings on both side ignores each other.</div><div>- wwan0 I/F that the Modem brings gets up later than other I/Fs like eth0, ra0, etc.. and even it gets brought up after the rest of the OpenWRT daemons have finished their initial set up.</div><div><br></div><div>Is there any guide documentation I can refer to?</div><div>I'd like some documentation :</div><div> - that guides how to port these modem in OpenWRT.</div><div> - that guides how to start daemons in OpenWRT that has modem with.</div><div> - that guides when something needs to be set up during initializing/booting the OpenWRT

 that has modem with.</div><div><br></div><div>Thank you very much in advance.</div><div>Jeonghum</div><div><br></div></div>