I am trying to setup my Linux Mint 17.2 machine so that I can boot BBB from PC over USB.
I am following the step in “processors.wiki.ti.com/.../Ubuntu_12.04_Set_Up_to_Network_Boot_an_AM335x_Based_Platform”. I have edited the /etc/dhcp/dhcpd.conf file: default-lease-time 600; max-lease-time 7200; subnet 192.168.2.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.2.2 192.168.2.100; if substring (option vendor-class-identifier, 0, 10) = "AM335x ROM" { filename "u-boot-spl-restore.bin"; } elsif substring (option vendor-class-identifier, 0, 10) = "DM814x ROM" { filename "u-boot-spl-restore.bin"; } elsif substring (option vendor-class-identifier, 0, 17) = "AM335x U-Boot SPL" { filename "u-boot-restore.img"; } else { filename "zImage"; } range 192.168.2.101 192.168.2.199; } I have edited the /etc/xinetd.d/tftp file: service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no } I have edited the /etc/default/isc-dhcp-server file: INTERFACES="eth0 eth1 usb0" I have edited the /etc/network/interfaces file: auto lo iface lo inet loopback allow-hotplug usb0 iface usb0 inet static address 192.168.2.1 network 192.168.2.0 netmask 255.255.255.0 broadcast 192.168.2.255 up /etc/network/if-up.d/usb-interfaces I have created a /etc/network/if-up.d/usb-interfaces file: #!/bin/sh if [ "$IFACE" = usb0 ]; then sudo service isc-dhcp-server restart fi I have edited the /etc/NetworkManager/NetworkManager.conf file: [main] plugins=ifupdown [ifupdown] managed=false When I try to start isc-dhcp-server this is the result: ronz@ronz-TMP453-M:/home/sitara > sudo service network-manager restart network-manager stop/waiting network-manager start/running, process 7439 ronz@ronz-TMP453-M:/home/sitara > sudo /etc/init.d/isc-dhcp-server restart * Stopping ISC DHCP server dhcpd [fail] * Starting ISC DHCP server dhcpd * check syslog for diagnostics. [fail] The syslog indicates that there is “No subnet declaration for usb0”, but a subnet (192.168.2.0) is defined in /etc/dhcp/dhcpd.conf ronz@ronz-TMP453-M:/home/sitara > tail -n 40 /var/log/syslog Nov 8 17:41:46 ronz-TMP453-M avahi-daemon[867]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.165. Nov 8 17:41:46 ronz-TMP453-M avahi-daemon[867]: New relevant interface wlan0.IPv4 for mDNS. Nov 8 17:41:46 ronz-TMP453-M avahi-daemon[867]: Registering new address record for 192.168.0.165 on wlan0.IPv4. Nov 8 17:41:47 ronz-TMP453-M NetworkManager[7439]: <info> (wlan0): device state change: ip-config -> secondaries (reason 'none') [70 90 0] Nov 8 17:41:47 ronz-TMP453-M NetworkManager[7439]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete. Nov 8 17:41:47 ronz-TMP453-M NetworkManager[7439]: <info> (wlan0): device state change: secondaries -> activated (reason 'none') [90 100 0] Nov 8 17:41:48 ronz-TMP453-M avahi-daemon[867]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::caf7:33ff:fea2:dee7. Nov 8 17:41:48 ronz-TMP453-M avahi-daemon[867]: New relevant interface wlan0.IPv6 for mDNS. Nov 8 17:41:48 ronz-TMP453-M avahi-daemon[867]: Registering new address record for fe80::caf7:33ff:fea2:dee7 on wlan0.*. Nov 8 17:41:48 ronz-TMP453-M NetworkManager[7439]: <info> NetworkManager state is now CONNECTED_GLOBAL Nov 8 17:41:48 ronz-TMP453-M NetworkManager[7439]: <info> Policy set 'MAGicALL' (wlan0) as default for IPv4 routing and DNS. Nov 8 17:41:48 ronz-TMP453-M NetworkManager[7439]: <info> Writing DNS information to /sbin/resolvconf Nov 8 17:41:49 ronz-TMP453-M ntpd[7389]: Listen normally on 6 wlan0 192.168.0.165 UDP 123 Nov 8 17:41:49 ronz-TMP453-M ntpd[7389]: Listen normally on 7 wlan0 fe80::caf7:33ff:fea2:dee7 UDP 123 Nov 8 17:41:49 ronz-TMP453-M ntpd[7389]: peers refreshed Nov 8 17:41:49 ronz-TMP453-M ntpd[7389]: new interface(s) found: waking up resolver Nov 8 17:41:49 ronz-TMP453-M dhcpd: Wrote 0 leases to leases file. Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: No subnet declaration for usb0 (no IPv4 addresses). Nov 8 17:41:49 ronz-TMP453-M dhcpd: ** Ignoring requests on usb0. If this is not what Nov 8 17:41:49 ronz-TMP453-M dhcpd: you want, please write a subnet declaration Nov 8 17:41:49 ronz-TMP453-M dhcpd: in your dhcpd.conf file for the network segment Nov 8 17:41:49 ronz-TMP453-M dhcpd: to which interface usb0 is attached. ** Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: No subnet declaration for eth1 (no IPv4 addresses). Nov 8 17:41:49 ronz-TMP453-M dhcpd: ** Ignoring requests on eth1. If this is not what Nov 8 17:41:49 ronz-TMP453-M dhcpd: you want, please write a subnet declaration Nov 8 17:41:49 ronz-TMP453-M dhcpd: in your dhcpd.conf file for the network segment Nov 8 17:41:49 ronz-TMP453-M dhcpd: to which interface eth1 is attached. ** Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: No subnet declaration for eth0 (no IPv4 addresses). Nov 8 17:41:49 ronz-TMP453-M dhcpd: ** Ignoring requests on eth0. If this is not what Nov 8 17:41:49 ronz-TMP453-M dhcpd: you want, please write a subnet declaration Nov 8 17:41:49 ronz-TMP453-M dhcpd: in your dhcpd.conf file for the network segment Nov 8 17:41:49 ronz-TMP453-M dhcpd: to which interface eth0 is attached. ** Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: Nov 8 17:41:49 ronz-TMP453-M dhcpd: Not configured to listen on any interfaces! ronz@ronz-TMP453-M:/home/sitara >
What have I missed?