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

how to prevent ifconfig_em0="DHCP" in /etc/rc.conf.d/network #138

Closed
Matatu opened this issue Nov 26, 2022 · 1 comment
Closed

how to prevent ifconfig_em0="DHCP" in /etc/rc.conf.d/network #138

Matatu opened this issue Nov 26, 2022 · 1 comment

Comments

@Matatu
Copy link

Matatu commented Nov 26, 2022

I want to setup a fixed IP for em0, but regardless what I setup in "conf/rc.conf" or "config/interfaces.conf",
the network conf with the DHCP conf is there and overload my em0 config.

@Matatu
Copy link
Author

Matatu commented Nov 27, 2022

After digging a little bit deeper I found out, that
mfsbsd.autodhcp="NO"

is needed in "conf/loader.conf" to prevent DHCP.

@Matatu Matatu closed this as completed Nov 27, 2022
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