I tried the upload zip via GUI and it didn't work. "not a valid zip"

Then I tried to run the update_board script after cloning the repository. I get this weird behavior where during the script running, my laptop loses connection to the beagle bone, but then it pops back. The result is this:

$ ./update_board
Checking the board is up and running at root@192.168.7.2...done
Updating the Bela core code in root@192.168.7.2:~/Bela
All the changes to the CORE files in the remote folder ~/Bela will be LOST. The content of these files/folders will be l
ost:
core include Makefile libNE10.a libprussdrv.a examples Doxyfile
Your projects stored in ~/Bela/projects should be safe (and surely you have already backed them up somewhere safe, haven
't you?).
Are you sure you want to continue? (y/N) y
Updating Bela core files to remote folder ~/Bela
Stopping Bela...done
Updating files......ssh: connect to host 192.168.7.2 port 22: Attempt to connect timed out without establishing a connec
tion
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at /usr/src/rsync/rsync-3.0.8/io.c(760) [sender=3.0.8]

An error occurred. Is the board connected?

I should add this on a laptop with Windows 7 (thus mingw for the terminal stuff), and I'm using the ethernet over usb option. I'm now getting the below error:

$ ./update_board
Checking the board is up and running at root@192.168.7.2...done
Updating the Bela core code in root@192.168.7.2:~/Bela
All the changes to the CORE files in the remote folder ~/Bela will be LOST. The content of these files/folders will be l
ost:
core include Makefile libNE10.a libprussdrv.a examples Doxyfile
Your projects stored in ~/Bela/projects should be safe (and surely you have already backed them up somewhere safe, haven
't you?).
Are you sure you want to continue? (y/N) y
Updating Bela core files to remote folder ~/Bela
Stopping Bela...done
Updating files...Updated files: 0 ...done
Creating directory structure on BeagleBone...done
Generating on-board documentation...Write failed: Connection reset by peer

Error while generating Doxygen documentation

I just tried plugging it into the router, and it doesn't seem to be picking up a DHCP address for some reason.

Okay, I setup both at the same time (ethernet and the usb interface), using the usb interface I was able to do "ifup eth0". I was then able to run the update script over the ethernet connection. it seems to have worked.

    djzielin glad to hear you sorted the update. The problem with the IDE rejecting the update zip archive was a bug on all windows machines and was fixed a while ago, see here for a workaround.

    Are you still having troubles with DHCP?

    also the dhcp thing via ethernet is because in an older image auto eth0 was commented out in /etc/network/interfaces.
    If you plan to use ethernet again, you may want to edit that file and add this line to it

    allow-hotplug eth0

    Regarding your issue with the USB connection, that looks very strange, as if the USB-ethernet connection was dropping out occasionally.
    But that should also cause similar troubles when running the IDE.
    Could you try with a different USB cable perhaps?

    Also, that "updated files: 0" looks a bit suspicious.
    Could you see if rsync is installed on your computer? try run which rsync from mingw.