During some experiments with programming my DP3600 I experienced issues with my network connection when the radio’s programming cable is plugged to the USB port. This was also reported by Andreas, DL5APR when he plugged his DM series mobile radio in. The result is that no internet or local LAN connections are possible any more. Analyzing this reveals that it registers a new network device on my Ubuntu 16.04 host operating system. For some reason it claims the same IPv4 address as my eth0 device. That results in a broken routing table and all network stuff is interrupted.
When the device is plugged in it is recognized by the kernel and the cdc_ether kernel module is loaded. After that NetworkManger configures the device with IP addresses. That looked like this on my system:
The network device in question is named enp0s29u1u7u1 however.
So to stop the Linux system to use this device I thought about blacklisting the module cdc_ether. But that would probably lead to the situation that other devices that use the same module would not work any more, e.g. mobile phones with USB connection.
So I decided to prevent NetworkManager from configuring the device. That can be done by editing the config file /etc/NetworkManager/NetworkManager.conf and adding a keyfile section. Additionally “keyfile” must be listed among the plugins of the main section. But in my case it was already there so that I only added the section “[keyfile]”. It looks like this:
So the list of unmanaged devices is created from their MAC addresses. The MAC address of the device can be found with a simple “ip link show” command:
So you just add the MAC to the list of unmanaged devices and restart NetworkManager with
and after that the network device of the Motorola radio should stay unconfigured.