Thanks! I took all your suggestions, and now the BBBW provides DHCP IP addresses as before. On to the next issue: a node-red flow that behaves one way (correctly) when accessed via 192.168.1.159:1880/xx and a different way (incorrectly) when accessed via 192.168.8.1:1880/xx -- both running the identical code [literally, the same file] on the same BBBW. But this is not something I'd expect you to weigh in on. Again, thanks for getting me over the DHCP hurdle. ~Richard
On Tuesday, July 28, 2020 at 5:36:05 PM UTC-4, RobertCNelson wrote: > > On Tue, Jul 28, 2020 at 4:15 PM Richard <[email protected] <javascript:>> > wrote: > > > > 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 > > These should be: > > dhcp-range=usb0,192.168.7.1,192.168.7.1,20m > dhcp-range=usb1,192.168.6.1,192.168.6.1,20m > > That is really odd, let's try resetting things.. > > cd /opt/scripts/tools/ > git pull > > and > > sudo apt update > sudo apt install bb-usb-gadgets > > Then reboot, and let's check SoftAp0 > > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/599ec6fe-456b-4da4-bca0-fab50fb91169o%40googlegroups.com.
