<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on Simon Waite</title>
    <link>https://simonwaite.com/tags/linux/</link>
    <description>Recent content in Linux on Simon Waite</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 15 Mar 2015 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://simonwaite.com/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Intel Edison - DFU Flashing Issues</title>
      <link>https://simonwaite.com/posts/intel-edison-dfu-flashing/</link>
      <pubDate>Sun, 15 Mar 2015 00:00:00 +0000</pubDate>
      <guid>https://simonwaite.com/posts/intel-edison-dfu-flashing/</guid>
      <description>&lt;h1 id=&#34;intel-edison&#34;&gt;Intel Edison&lt;/h1&gt;&#xA;&lt;h2 id=&#34;problems-with-dfu-flashing-the-intel-edison&#34;&gt;Problems with DFU flashing the Intel Edison&lt;/h2&gt;&#xA;&lt;p&gt;Have you tried to upload the ubilinux distro to your Edison?&lt;/p&gt;&#xA;&lt;p&gt;Do you get the annoying error on your mac/linux machine &lt;strong&gt;&amp;ldquo;Unable to allocate file buffer for firmware&amp;rdquo;&lt;/strong&gt; when you&amp;rsquo;re dfu-ing the image?&lt;/p&gt;&#xA;&lt;p&gt;Or does the &amp;ldquo;Ten minute upload&amp;rdquo; become instantaneous, but the root image is your previous one?&lt;/p&gt;&#xA;&lt;p&gt;Maybe it&amp;rsquo;s saying &lt;strong&gt;&amp;ldquo;Could not read file&amp;rdquo;&lt;/strong&gt;?&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s because your image exceeds the RAM in your machine, (or the limitations of your architecture if the image is more than 2Gb?).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up automounting on the Raspberry PI</title>
      <link>https://simonwaite.com/posts/hotspot-raspberry-pi-automount/</link>
      <pubDate>Thu, 27 Sep 2012 12:06:04 +0000</pubDate>
      <guid>https://simonwaite.com/posts/hotspot-raspberry-pi-automount/</guid>
      <description>&lt;p&gt;Post date: Sep 27, 2012 12:06:04 PM&lt;/p&gt;&#xA;&lt;p&gt;So the non-optimised debian setup hasn&amp;rsquo;t been working for me, so I&amp;rsquo;m using the raspbian distro now.&lt;/p&gt;&#xA;&lt;p&gt;So I&amp;rsquo;ll be using the &lt;code&gt;udisks-glue&lt;/code&gt; package.&lt;/p&gt;&#xA;&lt;p&gt;Just add a line with &lt;code&gt;udisks-glue&lt;/code&gt; into &lt;code&gt;/etc/rc.local&lt;/code&gt; just before the &amp;ldquo;exit 0&amp;rdquo; line.&lt;/p&gt;&#xA;&lt;p&gt;Then edit &lt;code&gt;/etc/udisks-glue.conf&lt;/code&gt; to look (something like) this:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--- Start File ---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;filter disks {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    optical = false&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    partition_table = false&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    usage = filesystem&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;match disks {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    automount = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    automount_options = { sync, noatime, &amp;#34;dmask=0&amp;#34;, &amp;#34;fmask=0&amp;#34; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;filter optical {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   optical = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   usage = filesystem&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;match optical {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   automount = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   automount_options = { ro, &amp;#34;mode=0444&amp;#34;, &amp;#34;dmode=0555&amp;#34;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--- End File ---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Plan 3.14159... (Raspberry Pi)</title>
      <link>https://simonwaite.com/posts/hotspot-plan-pi/</link>
      <pubDate>Fri, 07 Sep 2012 08:56:22 +0000</pubDate>
      <guid>https://simonwaite.com/posts/hotspot-plan-pi/</guid>
      <description>&lt;p&gt;Post date: Sep 07, 2012 8:56:22 AM&lt;/p&gt;&#xA;&lt;p&gt;Yes, the next bit of kit to try is the Raspberry PI.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m trying the &amp;ldquo;Softfloat&amp;rdquo; version of the Raspberry PI-based Debian installation.&#xA;Currently, I&amp;rsquo;ve installed &lt;code&gt;usbmount&lt;/code&gt; (to mount the SD card when it appears on the usb bus) and &lt;code&gt;usb-switcher&lt;/code&gt; to punt it into 3G mode.&lt;/p&gt;&#xA;&lt;p&gt;So, it currently mounts, but that&amp;rsquo;s about it. I can&amp;rsquo;t seem to find the &amp;ldquo;cdc_ncm&amp;rdquo; but it according to &lt;code&gt;/proc/config.gz&lt;/code&gt; as it&amp;rsquo;s compiled in statically &amp;hellip;&#xA;More voodoo than what currently know about at the moment. The last linux kernel I compiled was a 2.4.xx ages ago.&lt;/p&gt;</description>
    </item>
    <item>
      <title>OpenWRT (failed) recipe</title>
      <link>https://simonwaite.com/posts/hotspot-openwrt-failed/</link>
      <pubDate>Mon, 03 Sep 2012 18:42:17 +0000</pubDate>
      <guid>https://simonwaite.com/posts/hotspot-openwrt-failed/</guid>
      <description>&lt;p&gt;Post date: Sep 03, 2012 6:42:17 PM&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s the recipe for the (failed) Open WRT project. Here for posterity.&lt;/p&gt;&#xA;&lt;h5 id=&#34;start&#34;&gt;start&lt;/h5&gt;&#xA;&lt;p&gt;(turn wifi off, set ip address to 192.168.1.2)&#xA;telnet to 192.168.1.1&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;uci set network.lan.ipaddr&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;192.168.128.1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;uci commit&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;reboot&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;(swap ip address to 192.168.128.2, enable proxy on 8888)&#xA;telnet to 192.168.128.1&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;option http_proxy http://192.168.128.2:8888/&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; /etc/opkg.conf &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;opkg update&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;opkg install kmod-usb-storage block-mount usb-modeswitch-data kmod-scsi-generic kmod-fs-ext4&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;edit &lt;code&gt;/etc/config/fstab&lt;/code&gt; (file contents)&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config global automount&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        option from_fstab 1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        option anon_mount 1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config global autoswap&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        option from_fstab 1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        option anon_swap 0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config swap&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option device   /dev/sda1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option enabled  1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config mount&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option target   /mnt/sda2&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option device   /dev/sda2&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option fstype   ext4&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option options  rw,sync&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option enabled  1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option enabled_fsck 0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config mount&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option target   /mnt/sda3&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option device   /dev/sda3&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option fstype   ext4&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option options  rw,sync&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option enabled  1&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;         option enabled_fsck 0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;(end file contents)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Joggler</title>
      <link>https://simonwaite.com/posts/joggler-overview/</link>
      <pubDate>Tue, 12 Apr 2011 13:42:30 +0000</pubDate>
      <guid>https://simonwaite.com/posts/joggler-overview/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;https://simonwaite.com/images/joggler.jpg&#34; alt=&#34;Joggler Overview&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;The joggler (aka &lt;strong&gt;O2 Joggler&lt;/strong&gt;) wiki can be found &lt;a href=&#34;http://joggler.info/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Currently running an Ubuntu image by &lt;strong&gt;exobuzz&lt;/strong&gt; which can be found &lt;a href=&#34;http://joggler.info/forum/viewtopic.php?f=2&amp;amp;t=411&#34;&gt;here&lt;/a&gt;. [maverick 1.9]&lt;/p&gt;&#xA;&lt;h3 id=&#34;car-based-joggler&#34;&gt;Car Based Joggler:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-bluetooth/&#34;&gt;Hands-Free Profile Support&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-heatsink/&#34;&gt;Heats ink Mod&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-hardware-mods/&#34;&gt;Motherboard Mods&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-obd2/&#34;&gt;OBD II / Diagnostics&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-12v-converter/&#34;&gt;12V -&amp;gt; 5V 10A Converter&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;../joggler-audio-amp/&#34;&gt;50W Audio Amplifier&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;todo&#34;&gt;TODO:&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;[TODO] Media Playback (possible Moovida)&lt;/li&gt;&#xA;&lt;li&gt;[TODO] GPS&lt;/li&gt;&#xA;&lt;li&gt;[TODO] 12v -&amp;gt; 5V Vehicle PSU, possibly this adapter? this widget&lt;/li&gt;&#xA;&lt;li&gt;[TODO] Auto mute / pause media playback whilst in a call&lt;/li&gt;&#xA;&lt;li&gt;[TODO] Autoset &amp;ldquo;hciconfig hci0 scomtu 64:8&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;[TODO] Double DIN mounting, perhaps this one.&lt;/li&gt;&#xA;&lt;li&gt;[TODO] figure out the car stalk connector and map somehow to a usb HCI ?&lt;/li&gt;&#xA;&lt;li&gt;[TODO] OBDII readout.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Alas, this project has fallen off the world since I have changed cars and invested in an iPad Mini.&#xA;So far it seems to have most features&amp;hellip; pictures when I can get around to it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
