NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Michel-jacobs's avatar
Aug 03, 2017
Solved

Restart network interfaces

After installing openvpn I noticed tap0 getting a dhcp address as well. In /etc/network/interfaces I changed dhcp to static. Now I wanted to restart the tap0 device with ifup   Ifdown but these comma...
  • OOM-9's avatar
    OOM-9
    Aug 07, 2017
    If you really wanted to dig into connman, you are able to use `connmanctl`, but I think what you are looking for is to have connman just ignore the tap interface.

    You can modify `/etc/connman/main.conf` and add your interface to the `NetworkInterfaceBlacklist` field. The line will looks something like this:
    `NetworkInterfaceBlacklist = LeafNets,docker,veth,zt,tap`

    After that configuration saved, you will need to restart the connman service:
    `systemctl restart connman.service`

    Note: Since this is a system service, the configuration file will be overwritten with the firmware updates. I will see if we can add the tap to the blacklist in a future firmware release.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More