Log file from daemon.log

Hi,

My distribution is:

BeagleBoard.org Debian Image 2016-12-09

From one of my units I am able to see the dhcp request from the usb0 like this:

Feb 25 22:26:03 beaglebone dnsmasq-dhcp[689]: DHCPINFORM(usb0) 192.168.7.1 38:d2:69:57:cc:c2
Feb 25 22:26:03 beaglebone dnsmasq-dhcp[689]: DHCPACK(usb0) 192.168.7.1 38:d2:69:57:cc:c2 TJWill-VAIO
Feb 25 22:26:06 beaglebone dnsmasq-dhcp[689]: DHCPINFORM(usb0) 192.168.7.1 38:d2:69:57:cc:c2
Feb 25 22:26:06 beaglebone dnsmasq-dhcp[689]: DHCPACK(usb0) 192.168.7.1 38:d2:69:57:cc:c2 TJWill-VAIO
Feb 25 22:26:11 beaglebone dnsmasq-dhcp[689]: DHCPREQUEST(usb0) 192.168.7.1 38:d2:69:57:cc:c2
Feb 25 22:26:11 beaglebone dnsmasq-dhcp[689]: DHCPACK(usb0) 192.168.7.1 38:d2:69:57:cc:c2 TJWill-VAIO

Please also see the log files from the daemon.log for the one that usb0 fails to connect after 10 seconds:

Weird thing is that I don’t see the dhcp request during the log,

Feb 26 14:29:03 WarrierTech-BetaTester-Location connmand[2943]: Remove interface usb0 [ gadget ]
Feb 26 14:29:03 WarrierTech-BetaTester-Location connmand[2943]: usb0 {remove} index 3
Feb 26 14:29:03 WarrierTech-BetaTester-Location connmand[3030]: usb0 {create} index 3 type 1
Feb 26 14:29:03 WarrierTech-BetaTester-Location connmand[3030]: usb0 {RX} 848 packets 79152 bytes
Feb 26 14:29:03 WarrierTech-BetaTester-Location connmand[3030]: usb0 {TX} 183 packets 50652 bytes
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: usb0 {newlink} index 3 operstate 6
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: Ignoring interface usb0 (filtered)
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: Adding interface usb0 [ gadget ]
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:29:04 WarrierTech-BetaTester-Location connmand[3030]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:29:49 WarrierTech-BetaTester-Location udhcpd[1035]: is interface usb0 up and configured?: No such device
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: usb0 {create} index 3 type 1
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: usb0 {update} flags 4098
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: usb0 {newlink} index 3 operstate 2
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: Ignoring interface usb0 (filtered)
Feb 26 14:29:53 WarrierTech-BetaTester-Location connmand[902]: Adding interface usb0 [ gadget ]
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {add} address 192.168.7.2/24 label usb0 family 2
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {newlink} index 3 operstate 6
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: Ignoring interface usb0 (filtered)
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: New relevant interface usb0.IPv4 for mDNS.
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Registering new address record for 192.168.7.2 on usb0.IPv4.
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {add} route fe80:: gw :: scope 0
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Withdrawing address record for 192.168.7.2 on usb0.
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Leaving mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {del} address 192.168.7.2/24 label usb0
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {del} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Interface usb0.IPv4 no longer relevant for mDNS.
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: New relevant interface usb0.IPv4 for mDNS.
Feb 26 14:29:54 WarrierTech-BetaTester-Location avahi-daemon[822]: Registering new address record for 192.168.7.2 on usb0.IPv4.
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:29:54 WarrierTech-BetaTester-Location connmand[902]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:29:55 WarrierTech-BetaTester-Location connmand[902]: Remove interface usb0 [ gadget ]
Feb 26 14:29:55 WarrierTech-BetaTester-Location connmand[902]: usb0 {remove} index 3
Feb 26 14:29:56 WarrierTech-BetaTester-Location avahi-daemon[822]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::3ad2:69ff:fe57:dd16.
Feb 26 14:29:56 WarrierTech-BetaTester-Location avahi-daemon[822]: New relevant interface usb0.IPv6 for mDNS.
Feb 26 14:29:56 WarrierTech-BetaTester-Location avahi-daemon[822]: Registering new address record for fe80::3ad2:69ff:fe57:dd16 on usb0..
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {create} index 3 type 1
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {RX} 7 packets 1000 bytes
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {TX} 31 packets 9567 bytes
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {newlink} index 3 operstate 6
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: Ignoring interface usb0 (filtered)
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: Adding interface usb0 [ gadget ]
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:29:58 WarrierTech-BetaTester-Location connmand[1298]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:30:00 WarrierTech-BetaTester-Location avahi-daemon[822]: Withdrawing address record for fe80::3ad2:69ff:fe57:dd16 on usb0.
Feb 26 14:30:00 WarrierTech-BetaTester-Location avahi-daemon[822]: Withdrawing address record for 192.168.7.2 on usb0.
Feb 26 14:30:00 WarrierTech-BetaTester-Location avahi-daemon[822]: Withdrawing workstation service for usb0.
Feb 26 14:30:00 WarrierTech-BetaTester-Location avahi-daemon[822]: Registering new address record for fe80::3ad2:69ff:fe57:dd16 on usb0.
.
Feb 26 14:30:00 WarrierTech-BetaTester-Location avahi-daemon[822]: Registering new address record for 192.168.7.2 on usb0.IPv4.
Feb 26 14:30:17 WarrierTech-BetaTester-Location connmand[1298]: Remove interface usb0 [ gadget ]
Feb 26 14:30:17 WarrierTech-BetaTester-Location connmand[1298]: usb0 {remove} index 3
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {create} index 3 type 1
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {RX} 40 packets 4674 bytes
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {TX} 110 packets 32865 bytes
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {newlink} index 3 operstate 6
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: Ignoring interface usb0 (filtered)
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: Adding interface usb0 [ gadget ]
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:30:18 WarrierTech-BetaTester-Location connmand[2281]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:31:02 WarrierTech-BetaTester-Location connmand[2281]: Remove interface usb0 [ gadget ]
Feb 26 14:31:02 WarrierTech-BetaTester-Location connmand[2281]: usb0 {remove} index 3
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {create} index 3 type 1
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {RX} 245 packets 25358 bytes
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {TX} 148 packets 39599 bytes
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {newlink} index 3 operstate 6
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: Ignoring interface usb0 (filtered)
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: Adding interface usb0 [ gadget ]
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:31:03 WarrierTech-BetaTester-Location connmand[2632]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:32:02 WarrierTech-BetaTester-Location connmand[2632]: Remove interface usb0 [ gadget ]
Feb 26 14:32:02 WarrierTech-BetaTester-Location connmand[2632]: usb0 {remove} index 3
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {create} index 3 type 1
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {RX} 451 packets 45202 bytes
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {TX} 148 packets 39599 bytes
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {newlink} index 3 operstate 6
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: Ignoring interface usb0 (filtered)
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: Adding interface usb0 [ gadget ]
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:32:03 WarrierTech-BetaTester-Location connmand[2694]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:33:02 WarrierTech-BetaTester-Location connmand[2694]: Remove interface usb0 [ gadget ]
Feb 26 14:33:02 WarrierTech-BetaTester-Location connmand[2694]: usb0 {remove} index 3
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {create} index 3 type 1
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {RX} 566 packets 54120 bytes
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {TX} 148 packets 39599 bytes
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {newlink} index 3 operstate 6
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: Ignoring interface usb0 (filtered)
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: Adding interface usb0 [ gadget ]
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:33:03 WarrierTech-BetaTester-Location connmand[2762]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
Feb 26 14:34:02 WarrierTech-BetaTester-Location connmand[2762]: Remove interface usb0 [ gadget ]
Feb 26 14:34:02 WarrierTech-BetaTester-Location connmand[2762]: usb0 {remove} index 3
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {create} index 3 type 1
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {RX} 683 packets 63257 bytes
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {TX} 148 packets 39599 bytes
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {newlink} index 3 address 38:D2:69:57:DD:16 mtu 1500
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {newlink} index 3 operstate 6
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: Ignoring interface usb0 (filtered)
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: Adding interface usb0 [ gadget ]
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 26 14:34:03 WarrierTech-BetaTester-Location connmand[2818]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253
root@WarrierTech-BetaTester-Location:~# cat /var/log/daemon.log | grep dnsmasq-dhcpdnsmasq-dhcp

Regards,