Hi. I have a BeagleBone Black Wireless running software almost two years old:
root@beaglebone:/etc/dnsmasq.d# uname -a Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC 2018 armv7l GNU/Linux root@beaglebone:/etc/dnsmasq.d# cat /etc/dogtag BeagleBoard.org Debian Image 2018-08-30 I've moved it to a different location and find that the DHCP system that used to work no longer does. I want the SoftAp0, 192.168.1.8, to provide an IP to my cell phone or local computer so that it can manipulate the BBBW. It sees the WiFi signal and connects with the usual password, but after a while disconnects without ever receiving an IP address. I've checked SoftAp0:-- root@beaglebone:/etc/dnsmasq.d# cat SoftAp0 interface=SoftAp0 interface=usb0 port=53 dhcp-authoritative domain-needed bogus-priv expand-hosts cache-size=2048 dhcp-range=SoftAp0,192.168.8.50,192.168.8.150,10m dhcp-range=usb0,.1,.1,2m listen-address=127.0.0.1 listen-address=192.168.8.1 listen-address= dhcp-option-force=interface:SoftAp0,option:dns-server,192.168.8.1 dhcp-option-force=interface:SoftAp0,option:mtu,1500 dhcp-option=usb0,3 dhcp-option=usb0,6 The system log shows that dnsmasq didn't start: Jul 28 12:23:47 beaglebone bb-wl18xx-wlan0[1756]: wl18xx:tether [iptables -w -A FORWARD -i SoftAp0 -o wlan0 -j ACCEPT] Jul 28 12:23:47 beaglebone systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... Jul 28 12:23:47 beaglebone dnsmasq[4741]: dnsmasq: syntax check OK. Jul 28 12:23:47 beaglebone dnsmasq[4744]: dnsmasq: bad dhcp-range at line 10 of /etc/dnsmasq.d/SoftAp0 Jul 28 12:23:47 beaglebone dnsmasq[4744]: bad dhcp-range at line 10 of /etc/dnsmasq.d/SoftAp0 Jul 28 12:23:47 beaglebone dnsmasq[4744]: FAILED to start up Jul 28 12:23:47 beaglebone systemd[1]: dnsmasq.service: Control process exited, code=exited status=1 Jul 28 12:23:47 beaglebone systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server. Jul 28 12:23:47 beaglebone systemd[1]: dnsmasq.service: Unit entered failed state. Jul 28 12:23:47 beaglebone systemd[1]: dnsmasq.service: Failed with result 'exit-code'. Jul 28 12:23:47 beaglebone bb-wl18xx-wlan0[1756]: Job for dnsmasq.service failed because the control process exited with error code. If I comment out line 10, # dhcp-range=usb0,.1,.1,2m I still get the same message Jul 28 17:05:16 beaglebone dnsmasq[4731]: bad dhcp-range at line 10 of /etc/dnsmasq.d/SoftAp0 Huh? Why?? But I'm still unable to get an IP address. Well, given that dnsmasq doesn't start, that's not a surprise. But what do I have to do to convince dnsmasq to start? I.e., what do I do now? Many thanks, Richard -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3a3fe20e-df7e-4675-9884-7ad56221e724o%40googlegroups.com.
