Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove avahi (zeroconf)

It wasn't working that great and the errors and timeouts were
distracting.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
  • Loading branch information...
commit 82872dcd5d940f23e48bfa3c877362c9bfd803f4 1 parent da06411
@fhunleth fhunleth authored
View
9 BR_PACKAGES.txt
@@ -15,9 +15,8 @@ but for those that do, we plan to document how to add it in a How To.
Enabled packages Reason
---------------- ------
+erlang If there were one package to enable...
Busybox General Linux command line utilities
-erlang This is the point of the nerves-project!
-avahi Zero-conf for the USB ethernet interface
dropbear ssh/scp
ethtool Debug Beaglebone Ethernet PHY issue
(remove when resolved)
@@ -28,3 +27,9 @@ uemacs Lots of people like emacs
git Develop on board (large package)
gcc Develop on board (very large package!!)
strace Debugging utilities (not large, but can be removed)
+
+Formerly enabled packages Reason
+------------------------- ------
+avahi Errors on console, didn't work great.
+ Probably not avahi's fault.
+
View
13 board/nerves-project/beaglebone/rootfs-additions/etc/init.d/S06usbether
@@ -2,8 +2,17 @@
case "$1" in
start|"")
- modprobe g_ether
- ifup usb0 &
+ # Comment out. This doesn't work all that well.
+ # Problems include:
+ # Random MAC used each boot
+ # Takes a long time to give up on dhcp and assign link local
+ # Random errors on console
+ # Didn't get it to work in windows
+ # I'm leaving this since it doesn't seem like a terrible idea
+ # to connect over USB to the host. It's just too much trouble
+ # now.
+ #modprobe g_ether
+ #ifup usb0 &
;;
stop) ;;
*)
View
6 board/nerves-project/beaglebone/rootfs-additions/etc/network/interfaces
@@ -7,9 +7,3 @@ auto eth0
iface eth0 inet dhcp
hostname `hostname`
-# Debug Ethernet interface throught the USB port
-# Specify DHCP, but under normal operation, avahi
-# should assign a link local IP address
-iface usb0 inet dhcp
- hostname `hostname`-dbg
-
View
2  configs/beaglebone_erlang_defconfig
@@ -27,8 +27,6 @@ BR2_PACKAGE_ERLANG_DIALYZER=y
BR2_PACKAGE_ERLANG_MNESIA=y
BR2_PACKAGE_ERLANG_SASL=y
BR2_PACKAGE_ERLANG_MOCHIWEB=y
-BR2_PACKAGE_AVAHI=y
-BR2_PACKAGE_AVAHI_DAEMON=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS=y
BR2_PACKAGE_ETHTOOL=y
Please sign in to comment.
Something went wrong with that request. Please try again.