<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Tue, 09 Feb 2016 17:41:00 +0000</lastBuildDate><item><title>Alpine Linux Raspberry Pi and Wireless (WiFi) firmware</title><link>https://www.linickx.com/alpine-linux-raspberry-pi-and-wireless-wifi-firmware</link><description>&lt;p&gt;&lt;a href="http://pidora.ca"&gt;Pidora&lt;/a&gt; doesn't appear to be being maintained anymore and CentOS/Fedora support for the &lt;a href="https://www.raspberrypi.org"&gt;Pi&lt;/a&gt; appears to be focused on the version 2 hardware, so I've been looking for an alternative distro. I'm very early on in my experimentation with docker, and docker is not in anyway related to my Pi, but since the &lt;a href="https://news.ycombinator.com/item?id=10998667"&gt;unofficial announcement&lt;/a&gt; that they were moving away from Ubuntu to to &lt;a href="alpinelinux.org/"&gt;Alpine Linux&lt;/a&gt;, I thought that's was as good a distro to try as any... funny how we're influenced by the media.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://wiki.alpinelinux.org/wiki/Raspberry_Pi"&gt;Alpine Linux Raspberry Pi&lt;/a&gt; install guide is &lt;em&gt;insanely easy&lt;/em&gt;, unpack the files onto a single disk partition, no fricking around with partitions, no &lt;code&gt;dd&lt;/code&gt; just unpack and boot! The &lt;a href="http://wiki.alpinelinux.org/wiki/Connecting_to_a_wireless_access_point"&gt;Alpine WiFi guide&lt;/a&gt; isn't bad either but IMHO isn't complete as I couldn't start the &lt;code&gt;wpa_supplicant&lt;/code&gt; service:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pi # /etc/init.d/wpa_supplicant start
 * Starting WPA Supplicant Daemon ...
Successfully initialized wpa_supplicant
Could not set interface wlan0 flags (UP): Resource temporarily unavailable
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface
 * start-stop-daemon: failed to start `/sbin/wpa_supplicant'
 * Failed to start wpa_supplicant 
 * ERROR: wpa_supplicant failed to start
pi #
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;A quick poke at &lt;code&gt;/var/log/messages&lt;/code&gt; reveals that the service is missing firmware:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;kern.info kernel: [33264.393174] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
kern.warn kernel: [33264.393356] rt2800usb 1-1.4:1.0: Direct firmware load for rt2870.bin failed with error -2
kern.warn kernel: [33264.393377] rt2800usb 1-1.4:1.0: Falling back to user helper
daemon.err /etc/init.d/wpa_supplicant[2101]: start-stop-daemon: failed to start `/sbin/wpa_supplicant'
kern.err kernel: [33264.423493] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
daemon.err /etc/init.d/wpa_supplicant[2083]: ERROR: wpa_supplicant failed to start
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;a href="http://www.amazon.co.uk/gp/product/B00EZOQFHO"&gt;USB WiFi Adapter&lt;/a&gt; I purchased has a lot of reviews saying "&lt;em&gt;it just works&lt;/em&gt;" on various Pi distro's and it worked fine in pidora, so I figured that this driver was probably something generic. A few googles later and I find the &lt;a href="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/"&gt;Linux Kernel Firmware page&lt;/a&gt; and I find a copy of &lt;a href="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/rt2870.bin"&gt;rt2870.bin&lt;/a&gt; which I place in &lt;code&gt;/lib/firmware/&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;After a little &lt;code&gt;/etc/init.d/wpa_supplicant restart&lt;/code&gt; I have working WiFi!&lt;/p&gt;
&lt;p&gt;The alpine documentation is clear, on a Pi the install is in disk-less mode and forces everything into memory, therefore I'm going to loose the firmware after a reboot. To make the change persistent, run &lt;code&gt;lbu include /lib/firmware/rt2870.bin;lbu commit&lt;/code&gt;... give it a reboot, and cross your fingers!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Bettison</dc:creator><pubDate>Tue, 09 Feb 2016 17:41:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2016-02-09:alpine-linux-raspberry-pi-and-wireless-wifi-firmware</guid><category>Alpine</category><category>Linux</category><category>WiFi</category><category>Raspberry Pi</category></item><item><title>Cisco develops smart robot nodes to maintain network connectivity.</title><link>https://www.linickx.com/cisco-develops-smart-robot-nodes-to-maintain-network-connectivity</link><description>&lt;p&gt;I found this via
&lt;a href="http://it.slashdot.org/it/07/03/28/2353217.shtml"&gt;slashdot&lt;/a&gt; ....&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://mae.pennnet.com/display_article/288269/32/NEWS/none/none/Cisco-develops-smart-robot-nodes-to-maintain-network-connectivity-while-on-the-move"&gt;Military &amp;amp; Aerospace Electronics - Cisco develops smart robot nodes
to maintain network connectivity while on the
move&lt;/a&gt;
Company engineers built prototype cube-shaped robots that sense when a
laptop computer user is about to lose wireless network connectivity
and move toward the user to maintain the network link, said Dave
Buster, product marketing manager for the Cisco Global Government
Solutions Group (GGSG) in Research Triangle Park, N.C.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ok, on first glance you think, &lt;em&gt;how cool&lt;/em&gt; what a gimmick, and then you
smile as you see the colour from your IT security officers face drain
away... the chances are that they have spent hours tuning the radios so
that very little WIFI leaks outside the building, now imaging a robot
that will follow you outside and all that effort is wasted. I think
there's a good lesson here, obscurity isn't security, if your WIFI is
rock solid then a little exposure won't be a problem.&lt;/p&gt;
&lt;p&gt;In general I think the idea is good, as it could allow you to cover
area's dynamically, i.e. if robots could make their way over to the
meeting rooms or canteen when usage went up that would be cool, but I
guess that would cause problems with free channels etc, what about the
idea of a sony dog with a wi-fi repeater in ? You could have one AP
inside, and that could follow you out to the garden ! Oh the
possibilities ! :cool:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 29 Mar 2007 15:59:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-03-29:cisco-develops-smart-robot-nodes-to-maintain-network-connectivity</guid><category>Blog</category><category>Cisco</category><category>news</category><category>robot</category><category>slashdot</category><category>wifi</category></item></channel></rss>