On Fri, Apr 17, 2015 at 8:51 AM, <[email protected]> wrote: > 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
Thanks for the fix! https://github.com/beagleboard/image-builder/commit/1f93c63b131c3c48dbb7e58de6b70e4aac78fcbc It'll be included in this sunday's weekly update.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
