Changes

BeagleBone

2,331 bytes added, 05:46, 2 December 2015
Hardware
=Setup=
==Change Hostname==
<syntaxhighlight lang="bash">sudo vi /etc/hostname</syntaxhighlight>
<syntaxhighlight lang="bash">sudo vi /etc/hosts</syntaxhighlight>
==Add public key==
<syntaxhighlight lang="bash">cat ~/.ssh/id_rsa.pub | ssh debian@beaglebone1.local "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"</syntaxhighlight>
==Debloat==
http://kacangbawang.com/beagleboneblack-revc-debloat-part-1/
==Install devmem2==
https://scivision.co/devmem2-on-the-beaglebone-black/
==Install Adafruit BBBIO==
https://github.com/adafruit/adafruit-beaglebone-io-python
==Install
==Textmate and rmate for simple remote editing==
*install textmate on os x system
</syntaxhighlight>
*The beaglebone will now boot from microSD until you replace the MLO file.
 
==Edimax WiFi fix==
for debian 3.8.13-bone70
*http://www.feverlabs.org/2015/03/edimax-wifi-adapter-on-beaglebone-black/
Basically, disable HDMI output.
 
likely due to HDMI interference.
alternately, use a usb extension cable :)
 
*boot wifi
<syntaxhighlight lang="bash">sudo ifup wlan0</syntaxhighlight>
if it works...
<syntaxhighlight lang="bash">sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
 
Listening on LPF/wlan0/80:1f:02:bf:23:52
Sending on LPF/wlan0/80:1f:02:bf:23:52
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPOFFER from 10.1.10.1
DHCPACK from 10.1.10.1
bound to 10.1.10.121 -- renewal in 4605 seconds.</syntaxhighlight>
 
*adafruit wifi reset script: https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black?view=all
 
*<syntaxhighlight lang="bash">iwconfig</syntaxhighlight>
==What Kernel am I running==
**for os x - http://sourceforge.net/projects/osx-pl2303/
*Connect pins like so:
http://www.adafruit.com/images/mediumlarge/954bbb_MED954bbb_LRG.jpg
(RED IS NOT CONNECTED)
**<code>screen /dev/cu.usbserial 115200</code>
*http://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/test-and-configure
 
==ssh not working==
*https://groups.google.com/forum/?fromgroups#!topic/beagleboard/Ya2qE4repSY
=Hardware=
==Rechargeable LiPo==
http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system
==Real Time Clock (RTC)==
http://www.dfrobot.com/image/cache/data/DFR0151/V1.1/IMGP9616-600x600.jpg
<syntaxhighlight lang="bash">
cd /etc/systemd/system/
ln /lib/systemd/system/cvxmirror.service cvxmirror.service
</syntaxhighlight>
make system take notice:
systemctl enable cvxmirror.service
</syntaxhighlight>
 
'''Run and don't exit'''
call bash afterwards. it will keep the screen process open
<syntaxhighlight lang="bash">
/usr/bin/screen -dmS printing bash -c '/home/debian/children/okidata_udp_server.py; exec bash'
</syntaxhighlight>
'''Run service on network boot'''
<syntaxhighlight lang="bash">
After=syslog.target network-online.target
</syntaxhighlight>
 
 
http://www.nunoalves.com/open_source/?p=308