Hi,
The current script in debian 8.0 uses dnsmasq to serve dhcp. Current config for dnsmasq does not bind to usb0 , so it uses the lo device. In case I add a new network device and want to use another instance of dnsmasq to serve dhcp on that device, I can’t as the current config, blocks a second dnsmasq as the socket is already in use. This is because the first dnsmasq runs on 0.0.0.0 and serves all network devices.
This also blocks running avahi-dnsconfd, as the lo device is taken. avahi is useful, for when you don’t know the address of your BBB, and can reach it using the hostname beagleone.local.
so I suggest this dnsmasq config:
/etc/dnsmasq.d/usb0-dhcp
#disable DNS by setting port to 0
port=0
interface=usb0
#one address range
dhcp-range=192.168.7.1,192.168.7.1
dhcp-option=3
except-interface=lo
listen-address=192.168.7.2
bind-interfaces