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

FS#3415 - netifd: ifup event not call to hotplug script for interface with static ip #8296

Closed
openwrt-bot opened this issue Oct 30, 2020 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

ptpt52:

setup interface static ip

Plug in the internet cable

not ifup event call to hotplug script

@openwrt-bot
Copy link
Author

ptpt52:

dmesg shows down/up event

[ 3472.145619] mt7530 mdio-bus:1f wan: Link is Down
[ 3495.698551] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
[ 3599.125460] mt7530 mdio-bus:1f wan: Link is Down
[ 3628.822421] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx

@openwrt-bot
Copy link
Author

ptpt52:

and even ifdown even not call to hotplug script.

@openwrt-bot
Copy link
Author

jow-:

This behaviour is intentional. You may set option force_link 0 to get dynamic carrier state handling for static ifaces - see https://openwrt.org/docs/guide-user/base-system/basic-networking#options_valid_for_all_protocol_types

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

No branches or pull requests

1 participant