ubuntu@arm $ ifconfig usb0
--
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 beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@beaglebone:/opt/scripts/boot# ./am335x_evm.sh
SIOCSIFADDR: Invalid argument
Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and 'journalctl -xn' for details.
root@beaglebone:/opt/scripts/boot# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has failed.
--
-- The result is failed.
Nov 12 22:04:18 beaglebone systemd[1]: Dependency failed for Host and Network Name Lookups.
-- Subject: Unit nss-lookup.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nss-lookup.target has failed.
--
-- The result is dependency.
Nov 12 22:04:18 beaglebone systemd[1]: Unit dnsmasq.service entered failed state.
Nov 12 22:17:01 beaglebone CRON[641]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 12 22:17:01 beaglebone CRON[642]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 12 22:17:01 beaglebone CRON[641]: pam_unix(cron:session): session closed for user root
Nov 12 22:22:21 beaglebone dnsmasq[707]: dnsmasq: syntax check OK.
Nov 12 22:22:21 beaglebone dnsmasq[710]: dnsmasq: bad dhcp-range at line 9 of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: bad dhcp-range at line 9 of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: FAILED to start up
Nov 12 22:22:21 beaglebone systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Nov 12 22:22:21 beaglebone systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
-- Subject: Unit dnsmasq.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dnsmasq.service has failed.
--
-- The result is failed.
Nov 12 22:22:21 beaglebone systemd[1]: Dependency failed for Host and Network Name Lookups.
-- Subject: Unit nss-lookup.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nss-lookup.target has failed.
--
-- The result is dependency.
Nov 12 22:22:21 beaglebone systemd[1]: Unit dnsmasq.service entered failed state.
lines 597-635/635 (END)
root@beaglebone:/opt/scripts/boot# systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Thu 2015-11-12 22:22:21 UTC; 8min ago
Process: 404 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
Process: 289 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Process: 710 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=1/FAILURE)
Process: 707 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 279 (code=exited, status=0/SUCCESS)
Nov 12 22:22:21 beaglebone dnsmasq[707]: dnsmasq: syntax check OK.
Nov 12 22:22:21 beaglebone dnsmasq[710]: dnsmasq: bad dhcp-range at line 9 of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone dnsmasq[710]: bad dhcp-range at line 9 of /etc/dnsmasq.d/usb0-dhcp
Nov 12 22:22:21 beaglebone systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Nov 12 22:22:21 beaglebone systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Nov 12 22:22:21 beaglebone systemd[1]: Unit dnsmasq.service entered failed state.
more usb0-dhcp
port=0
interface=usb0
#one address range
dhcp-range=192.168.7.1
192.168.7.1,192.168.7.1
192.168.7.1
dhcp-option=3
except-interface=lo
except-interface=eth0
listen-address=192.168.7.2
192.168.7.2