On Monday, January 22, 2018 at 2:31:58 PM UTC, amf wrote: > > if you want dhcp on eth0 then uncomment > #auto eth0 > #iface eth0 inet dhcp > > if you want a static ip on eth0, then do like you have on usb0 > > amf > > On Monday, January 22, 2018 at 6:19:02 AM UTC-6, James S wrote: > >> We have some legacy software running on BB White and BB Black (PCB Rev >> B6) for a while. Recently we have to build some more and using the Rev C >> BBB, the network fails to start. We are booting Debian from the same SD >> card, version 3.8.13-bone67. >> >> Can anyone tell me why the more recent hardware stops the network >> working? How can I get it going again? >> Looking at the revision history on the schematics, the only difference >> from Rev B to Rev C is the larger eMMC. >> >> Thanks, >> James >> >> *ifconfig gives the following output:* >> eth0 Link encap:Ethernet HWaddr 38:d2:69:57:93:ed >> inet6 addr: fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed/64 >> Scope:Global >> inet6 addr: fe80::3ad2:69ff:fe57:93ed/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:87010 errors:0 dropped:7 overruns:0 frame:0 >> TX packets:79 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:7151565 (6.8 MiB) TX bytes:16941 (16.5 KiB) >> Interrupt:40 >> >> lo Link encap:Local Loopback >> inet addr:127.0.0.1 Mask:255.0.0.0 >> inet6 addr: ::1/128 Scope:Host >> UP LOOPBACK RUNNING MTU:65536 Metric:1 >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) >> >> usb0 Link encap:Ethernet HWaddr 92:7f:c3:3b:c8:09 >> inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 >> UP BROADCAST MULTICAST MTU:1500 Metric:1 >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) >> >> >> The following is part of the output of *journalctl*. It seems to show >> attempts to connect to the network? >> Oct 09 01:28:04 beaglebone systemd[1]: Starting Multi-User System. >> Oct 09 01:28:04 beaglebone systemd[1]: Reached target Multi-User System. >> Oct 09 01:28:04 beaglebone systemd[1]: Starting Graphical Interface. >> Oct 09 01:28:04 beaglebone systemd[1]: Reached target Graphical Interface. >> Oct 09 01:28:04 beaglebone systemd[1]: Starting Update UTMP about System >> Runlevel Changes... >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface usb0.IPv4 with address 192.168.7.2. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: New relevant interface >> usb0.IPv4 for mDNS. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Registering new address >> record for 192.168.7.2 on usb0.IPv4. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Withdrawing address record >> for 192.168.7.2 on usb0. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface usb0.IPv4 with address 192.168.7.2. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Interface usb0.IPv4 no >> longer relevant for mDNS. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface usb0.IPv4 with address 192.168.7.2. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: New relevant interface >> usb0.IPv4 for mDNS. >> Oct 09 01:28:05 beaglebone avahi-daemon[1206]: Registering new address >> record for 192.168.7.2 on usb0.IPv4. >> Oct 09 01:28:05 beaglebone udhcpd[1518]: udhcpd (v1.20.2) started >> Oct 09 01:28:05 beaglebone kernel: IPv6: ADDRCONF(NETDEV_UP): usb0: link >> is not ready >> Oct 09 01:28:05 beaglebone systemd[1]: Started Update UTMP about System >> Runlevel Changes. >> Oct 09 01:28:05 beaglebone systemd[1]: Startup finished in 8.601s >> (kernel) + 15.137s (userspace) = 23.738s. >> Oct 09 01:28:06 beaglebone dhclient[1540]: isc-dhclient-4.2.2 >> Oct 09 01:28:06 beaglebone dhclient[1541]: isc-dhclient-4.2.2 >> Oct 09 01:28:12 beaglebone login[1226]: pam_unix(login:session): session >> opened for user root by LOGIN(uid=0) >> Oct 09 01:28:12 beaglebone systemd-journal[210]: Forwarding to syslog >> missed 62 messages. >> Oct 09 01:28:12 beaglebone login[1546]: ROOT LOGIN on '/dev/ttyO0' >> Oct 09 01:28:13 beaglebone kernel: net eth0: initializing cpsw version >> 1.12 (0) >> Oct 09 01:28:13 beaglebone kernel: net eth0: phy found : id is : 0x7c0f1 >> Oct 09 01:28:13 beaglebone kernel: libphy: PHY 4a101000.mdio:01 not found >> Oct 09 01:28:13 beaglebone kernel: net eth0: phy 4a101000.mdio:01 not >> found on slave 1 >> Oct 09 01:28:13 beaglebone kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link >> is not ready >> Oct 09 01:28:16 beaglebone kernel: libphy: 4a101000.mdio:00 - Link is Up >> - 100/Full >> Oct 09 01:28:16 beaglebone kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: >> link becomes ready >> Oct 09 01:28:17 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:28:17 beaglebone avahi-daemon[1206]: New relevant interface >> eth0.IPv6 for mDNS. >> Oct 09 01:28:17 beaglebone avahi-daemon[1206]: Registering new address >> record for fe80::3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:28:19 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:28:19 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address >> fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed. >> Oct 09 01:28:19 beaglebone avahi-daemon[1206]: Registering new address >> record for fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:28:19 beaglebone avahi-daemon[1206]: Withdrawing address record >> for fe80::3ad2:69ff:fe57:93ed on eth0. >> Oct 09 01:28:20 beaglebone dhclient[1576]: Internet Systems Consortium >> DHCP Client 4.2.2 >> Oct 09 01:28:20 beaglebone dhclient[1576]: Copyright 2004-2011 Internet >> Systems Consortium. >> Oct 09 01:28:20 beaglebone dhclient[1576]: All rights reserved. >> Oct 09 01:28:20 beaglebone dhclient[1576]: For info, please visit >> https://www.isc.org/software/dhcp/ >> Oct 09 01:28:20 beaglebone dhclient[1576]: >> Oct 09 01:28:20 beaglebone dhclient[1576]: Listening on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:20 beaglebone dhclient[1576]: Sending on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:20 beaglebone dhclient[1576]: Sending on Socket/fallback >> Oct 09 01:28:20 beaglebone dhclient[1576]: DHCPRELEASE on eth0 to >> 192.168.1.1 port 67 >> Oct 09 01:28:20 beaglebone dhclient[1576]: send_packet: Network is >> unreachable >> Oct 09 01:28:20 beaglebone dhclient[1576]: send_packet: please consult >> README file regarding broadcast address. >> Oct 09 01:28:20 beaglebone avahi-daemon[1206]: Interface eth0.IPv6 no >> longer relevant for mDNS. >> Oct 09 01:28:20 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface eth0.IPv6 with address >> fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed. >> Oct 09 01:28:20 beaglebone avahi-daemon[1206]: Withdrawing address record >> for fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed on eth0. >> Oct 09 01:28:20 beaglebone kernel: net eth0: initializing cpsw version >> 1.12 (0) >> Oct 09 01:28:20 beaglebone kernel: net eth0: phy found : id is : 0x7c0f1 >> Oct 09 01:28:20 beaglebone kernel: libphy: PHY 4a101000.mdio:01 not found >> Oct 09 01:28:20 beaglebone kernel: net eth0: phy 4a101000.mdio:01 not >> found on slave 1 >> Oct 09 01:28:20 beaglebone kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link >> is not ready >> Oct 09 01:28:21 beaglebone dhclient[1604]: Internet Systems Consortium >> DHCP Client 4.2.2 >> Oct 09 01:28:21 beaglebone dhclient[1604]: Copyright 2004-2011 Internet >> Systems Consortium. >> Oct 09 01:28:21 beaglebone dhclient[1604]: All rights reserved. >> Oct 09 01:28:21 beaglebone dhclient[1604]: For info, please visit >> https://www.isc.org/software/dhcp/ >> Oct 09 01:28:21 beaglebone dhclient[1604]: >> Oct 09 01:28:21 beaglebone dhclient[1604]: Listening on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:21 beaglebone dhclient[1604]: Sending on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:21 beaglebone dhclient[1604]: Sending on Socket/fallback >> Oct 09 01:28:21 beaglebone dhclient[1604]: DHCPRELEASE on eth0 to >> 192.168.1.1 port 67 >> Oct 09 01:28:21 beaglebone dhclient[1604]: send_packet: Network is >> unreachable >> Oct 09 01:28:21 beaglebone dhclient[1604]: send_packet: please consult >> README file regarding broadcast address. >> Oct 09 01:28:21 beaglebone kernel: net eth0: initializing cpsw version >> 1.12 (0) >> Oct 09 01:28:21 beaglebone kernel: net eth0: phy found : id is : 0x7c0f1 >> Oct 09 01:28:21 beaglebone kernel: libphy: PHY 4a101000.mdio:01 not found >> Oct 09 01:28:21 beaglebone kernel: net eth0: phy 4a101000.mdio:01 not >> found on slave 1 >> Oct 09 01:28:21 beaglebone kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link >> is not ready >> Oct 09 01:28:23 beaglebone kernel: libphy: 4a101000.mdio:00 - Link is Up >> - 100/Full >> Oct 09 01:28:23 beaglebone kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: >> link becomes ready >> Oct 09 01:28:23 beaglebone dhclient[1613]: Internet Systems Consortium >> DHCP Client 4.2.2 >> Oct 09 01:28:23 beaglebone dhclient[1613]: Copyright 2004-2011 Internet >> Systems Consortium. >> Oct 09 01:28:23 beaglebone dhclient[1613]: All rights reserved. >> Oct 09 01:28:23 beaglebone dhclient[1613]: For info, please visit >> https://www.isc.org/software/dhcp/ >> Oct 09 01:28:23 beaglebone dhclient[1613]: >> Oct 09 01:28:23 beaglebone dhclient[1613]: Listening on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:23 beaglebone dhclient[1613]: Sending on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:28:23 beaglebone dhclient[1613]: Sending on Socket/fallback >> Oct 09 01:28:23 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 4 >> Oct 09 01:28:24 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:28:24 beaglebone avahi-daemon[1206]: New relevant interface >> eth0.IPv6 for mDNS. >> Oct 09 01:28:24 beaglebone avahi-daemon[1206]: Registering new address >> record for fe80::3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:28:25 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:28:25 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address >> fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed. >> Oct 09 01:28:25 beaglebone avahi-daemon[1206]: Registering new address >> record for fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:28:25 beaglebone avahi-daemon[1206]: Withdrawing address record >> for fe80::3ad2:69ff:fe57:93ed on eth0. >> Oct 09 01:28:27 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 5 >> Oct 09 01:28:32 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 9 >> Oct 09 01:28:41 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 12 >> Oct 09 01:28:53 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 11 >> Oct 09 01:29:04 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 14 >> Oct 09 01:29:18 beaglebone dhclient[1613]: DHCPDISCOVER on eth0 to >> 255.255.255.255 port 67 interval 6 >> Oct 09 01:29:24 beaglebone dhclient[1613]: No DHCPOFFERS received. >> Oct 09 01:29:24 beaglebone dhclient[1613]: No working leases in >> persistent database - sleeping. >> Oct 09 01:29:27 beaglebone dhclient[1645]: Internet Systems Consortium >> DHCP Client 4.2.2 >> Oct 09 01:29:27 beaglebone dhclient[1645]: Copyright 2004-2011 Internet >> Systems Consortium. >> Oct 09 01:29:27 beaglebone dhclient[1645]: All rights reserved. >> Oct 09 01:29:27 beaglebone dhclient[1645]: For info, please visit >> https://www.isc.org/software/dhcp/ >> Oct 09 01:29:27 beaglebone dhclient[1645]: >> Oct 09 01:29:27 beaglebone dhclient[1645]: Listening on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:29:27 beaglebone dhclient[1645]: Sending on >> LPF/eth0/38:d2:69:57:93:ed >> Oct 09 01:29:27 beaglebone dhclient[1645]: Sending on Socket/fallback >> Oct 09 01:29:28 beaglebone dhclient[1645]: DHCPRELEASE on eth0 to >> 192.168.1.1 port 67 >> Oct 09 01:29:28 beaglebone dhclient[1645]: send_packet: Network is >> unreachable >> Oct 09 01:29:28 beaglebone dhclient[1645]: send_packet: please consult >> README file regarding broadcast address. >> Oct 09 01:29:28 beaglebone avahi-daemon[1206]: Interface eth0.IPv6 no >> longer relevant for mDNS. >> Oct 09 01:29:28 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface eth0.IPv6 with address >> fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed. >> Oct 09 01:29:28 beaglebone avahi-daemon[1206]: Withdrawing address record >> for fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed on eth0. >> Oct 09 01:29:28 beaglebone kernel: net eth0: initializing cpsw version >> 1.12 (0) >> Oct 09 01:29:28 beaglebone kernel: net eth0: phy found : id is : 0x7c0f1 >> Oct 09 01:29:28 beaglebone kernel: libphy: PHY 4a101000.mdio:01 not found >> Oct 09 01:29:28 beaglebone kernel: net eth0: phy 4a101000.mdio:01 not >> found on slave 1 >> Oct 09 01:29:28 beaglebone kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link >> is not ready >> Oct 09 01:29:30 beaglebone kernel: libphy: 4a101000.mdio:00 - Link is Up >> - 100/Full >> Oct 09 01:29:30 beaglebone kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: >> link becomes ready >> Oct 09 01:29:31 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:29:31 beaglebone avahi-daemon[1206]: New relevant interface >> eth0.IPv6 for mDNS. >> Oct 09 01:29:31 beaglebone avahi-daemon[1206]: Registering new address >> record for fe80::3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:29:33 beaglebone avahi-daemon[1206]: Leaving mDNS multicast >> group on interface eth0.IPv6 with address fe80::3ad2:69ff:fe57:93ed. >> Oct 09 01:29:33 beaglebone avahi-daemon[1206]: Joining mDNS multicast >> group on interface eth0.IPv6 with address >> fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed. >> Oct 09 01:29:33 beaglebone avahi-daemon[1206]: Registering new address >> record for fd78:6a89:d8ad:3100:3ad2:69ff:fe57:93ed on eth0.*. >> Oct 09 01:29:33 beaglebone avahi-daemon[1206]: Withdrawing address record >> for fe80::3ad2:69ff:fe57:93ed on eth0. >> Oct 09 01:29:35 beaglebone sh[1213]: hwclock: Cannot access the Hardware >> Clock via any known method. >> Oct 09 01:29:35 beaglebone sh[1213]: hwclock: Use the --debug option to >> see the details of our search for an access method. >> Oct 09 01:42:41 beaglebone systemd[1]: Starting Cleanup of Temporary >> Directories... >> Oct 09 01:42:41 beaglebone systemd[1]: Started Cleanup of Temporary >> Directories. >> >> >> root@beaglebone:~# *cat /etc/network/interfaces* >> # This file describes the network interfaces available on your system >> # and how to activate them. For more information, see interfaces(5). >> >> # The loopback network interface >> auto lo >> iface lo inet loopback >> >> # The primary network interface >> #auto eth0 >> #iface eth0 inet dhcp >> # Example to keep MAC address between reboots >> #hwaddress ether DE:AD:BE:EF:CA:FE >> >> # The secondary network interface >> #auto eth1 >> #iface eth1 inet dhcp >> >> # WiFi Example >> #auto wlan0 >> #iface wlan0 inet dhcp >> # wpa-ssid "essid" >> # wpa-psk "password" >> >> # Ethernet/RNDIS gadget (g_ether) >> # ... or on host side, usbnet and random hwaddr >> # Note on some boards, usb0 is automaticly setup with an init script >> iface usb0 inet static >> address 192.168.7.2 >> netmask 255.255.255.0 >> network 192.168.7.0 >> gateway 192.168.7.1 >> >>
-- 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/b0400940-7679-4791-a007-5bacc5655a4d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
