NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Michel-jacobs
Aug 03, 2017Guide
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...
- Aug 07, 2017If 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.
Michel-jacobs
Aug 05, 2017Guide
So, I tried ifconfig but I still get a dhcp address , the only solution I found that is working until a reboot is to reconfigure the tap interface from the admin page .. Which is not satisfactory at all because it only sticks till a reboot. How do I access conman settings?
OOM-9
Aug 07, 2017NETGEAR Expert
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.
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.
- 0d0aAug 07, 2017Tutor
Hello oom-9!
thank you for this answer, I hope you are able to add the tap interface to the blacklist. In the mean time I will backup the existing conf and make a new one using your advice!
Michel Jacobs (aka 0d0a)
Related Content
NETGEAR Academy

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