Aircraft-grade Aluminum Raspberry Pi Assembly Guide from the ModMyPi blog
Technology, Hardware, Software, Systems, Raspberry Pi, Raspberian, Linux, Video, GPU, framebuffer, API, Emacs, IP Networking Visual Computing, video tracking, Linux system administration, Shell scripting, Natural Language Programming, audio signal control
2014-06-30
WiFi for Raspberry Pi
How to install wifi on Raspberry Pi is a handy, simple description of bringing up WiFi on a Raspberry Pi.
Following this guide, everything worked on the first try.
Note that prior efforts to bring the WiFi interface up from the command line were unsuccessful; the iw, ip, iwconfig, and ifup commands did not bring the wlan0 interface up.
The connection to the Pi in this instance was an SSH connection; the Pi running headless with X11 forwarded across and SSH tunnel via VNC, so the eth0 connection was active until disabled from wicd after wlan0 was successfully provisioned.
Note that the WiFi configuration for the dongle – wlan0 – does not appear to have been saved on reboot; Pi still comes up with Ethernet eth0 active, and the wlan0 module loaded and showing in the iwconfig ougtput, but the interface is not up, does not have an IP address, and no routing nor gateway configured for it.
2014-06-29
Using FUSE to store RaspiVid video files remotely
Prerequisites:
- sshfs installed on Raspberry Pi
- server is running ssh
- pi has server account
- pi has generated ssh ID
- pi has ID loaded in active ssh-key-agent
- server pi acct has pi ID in authorized keys list
pi/home/pi/Videos./Videossshfs pi@server.nym:/home/pi/Videos ./Videos
cd Videos raspivid -o ./raspivideo.h264 -n -kto store a segment of video to the remote server's file system.
Dual Boot an Asus Chromebook with ChromeOS and Linux
Upgradethe ASUS Chromebook article has a good bit of very useful information about messing with the internals of the chromebook.
Dropbox Source Code
How do I build the Dropbox installer for Linux from source? short and sweet - we should have this for the Raspberry Pi RSN - it may already be out here...
update: This code did not build successfully on the Raspberry Pi, first try. The problem was during ./configure – libnautilus-extension-dev could not be satisfied because processing of the depends-on fails, reporting a missing newline on an apt config file for the ssh package - no idea WtF reegardz that ther, meh.
Installing a LAMP Server and Wordpress
The article How to Install Apache, MySQL, and PHP on ChrunchBox Linux has a nice description of how to install and configure the LAMP server componenets, including a Wordpress blog install.
2014-06-25
Emacs Backspace Key-mapping
EmacsWiki: Backspace Key:
"
(global-set-key (kbd "C-?") 'help-command) (global-set-key (kbd "M-?") 'mark-paragraph) (global-set-key (kbd "C-h") 'delete-backward-char) (global-set-key (kbd "M-h") 'backward-kill-word)"
'via Blog this'
2014-06-24
2014-06-23
Network Interface Bonding
Linux.com :: What can you do with a second Ethernet port?: "To bond two Ethernet interfaces, you must have the bonding module compiled for your kernel (which on a modern distro is almost a certainty), and the ifenslave package (which is a standard utility, although you might need to install it from from your distro's RPM or APT repository)."
'via Blog this'
eth0 and eth1, so we will use that for our example commands.sudo ifdown eth0 sudo ifdown eth1.
sudo modprobe bonding mode=0 miimon=100will set up a round-robin configuration in which network packets alternate between the Ethernet adapters as they are sent out.
miimon value of 100 is a standard place to begin; you can adjust if it you really want to tweak your network.bond0), run
sudo ifconfig bond0 192.168.1.100 upto assign an IP address to the bond, then run
ifenslave bond0 eth0followed by
ifenslave bond0 eth1to tie the physical Ethernet interfaces into it.
- Mode 1:: active backup, uses just one adapter until it fails, then switches to the other.
- Mode 2:: balance XOR, tries to balance traffic by splitting up outgoing packets between the adapters, using the same one for each specific destination when possible.
- Mode 3:: broadcast, sends out all traffic on every interface.
- Mode 4:: dynamic link aggregation, uses a complex algorithm to aggregate adapters by speed and other settings.
- Mode 5:: adaptive transmit load balancing, redistributes outgoing traffic on the fly based on current conditions.
- Mode 6:: adaptive load balancing, does the same thing, but attempts to redistribute incoming traffic as well by sending out ARP updates.








.jpg)


