How to prevent bringing interface up on system startup and be able to bring it up manually
Роман Мещеряков
Fri Apr 14 14:50:20 2017Hello everyone,
I have Raspberry Pi (RPi) mini-PC with Raspbian OS which is adaptation of Debian. RPi model 3 B has 2 built-in network interfaces: Ethernet (eth0) and Wi-Fi (wlan0). As far as I know, in Raspbian it is dhcpcd that manages network configuration.
I need to configure it in such a way that on system startup only eth0 is brought up. At the same time I need opportunity to bring up wlan0 at any time with simple command like “ifconfig wlan0 up” or “ifup wlan0”. I read “man dhcpcd.conf” and tried using “denyinterfaces wlan0” configuration option, but this seems to make wlan0 completely out of dhcpcd’s control. Is it possible to configure dhcpcd to get the result desired?
dhcpcd version installed in Raspbian by default is 6.7.1.
--
Kind regards, Roman Mescheryakov
Archive administrator: postmaster@marples.name