<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Quote:Tom B. wrote:I have the in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933117#M15267</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tom B. wrote:&lt;BR /&gt;I have the exact same problem. &amp;nbsp;Seems that the date on the Galileo is what is at issue. &amp;nbsp;It defaults on boot to something like "Jan 01 2001".&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;We have a deeper explanation of the issue &amp;amp; fix here: &lt;A href="http://software.intel.com/en-us/forums/topic/507062#comment-1782611" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/507062#comment-1782611&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 09:58:11 GMT</pubDate>
    <dc:creator>Brendan_L_Intel</dc:creator>
    <dc:date>2014-03-27T09:58:11Z</dc:date>
    <item>
      <title>Problem installing iotkit-agent</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933110#M15260</link>
      <description>&lt;P&gt;I'm trying to install iotkit-agent on my Galileo but ran into a problem with some SSL certificate issues.&lt;/P&gt;&lt;P&gt;Here's the error message when I try to run iotkit-agent/setup-agent.sh. Any idea how to get around this.&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;&amp;nbsp;IoT Kit Agent - Setup&lt;BR /&gt;============================================&lt;BR /&gt;copying startup script&lt;BR /&gt;forever:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;installing ...&lt;BR /&gt;./setup-agent.sh: line 33: sudo: command not found&lt;BR /&gt;npm http GET &lt;A href="https://registry.npmjs.org/mqtt" target="_blank"&gt;https://registry.npmjs.org/mqtt&lt;/A&gt;&lt;BR /&gt;npm http GET &lt;A href="https://registry.npmjs.org/getmac" target="_blank"&gt;https://registry.npmjs.org/getmac&lt;/A&gt;&lt;BR /&gt;npm http GET &lt;A href="https://registry.npmjs.org/winston" target="_blank"&gt;https://registry.npmjs.org/winston&lt;/A&gt;&lt;BR /&gt;npm http GET &lt;A href="https://registry.npmjs.org/express" target="_blank"&gt;https://registry.npmjs.org/express&lt;/A&gt;&lt;BR /&gt;npm ERR! Error: SSL Error: CERT_NOT_YET_VALID&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at ClientRequest.&amp;lt;anonymous&amp;gt; (/usr/lib/node_modules/npm/node_modules/request/main.js:525:26)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at ClientRequest.g (events.js:192:14)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at ClientRequest.EventEmitter.emit (events.js:96:17)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at HTTPParser.parserOnIncomingClient (http.js:1544:7)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at CleartextStream.socketOnData (http.js:1447:20)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at CleartextStream.CryptoStream._push (tls.js:544:27)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at SecurePair.cycle (tls.js:898:20)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at EncryptedStream.CryptoStream.write (tls.js:285:13)&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; at Socket.ondata (stream.js:38:26)&lt;BR /&gt;npm ERR! If you need help, you may report this log at:&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; &amp;lt;http://github.com/isaacs/npm/issues&amp;gt;&lt;BR /&gt;npm ERR! or email it to:&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; &amp;lt;npm-@googlegroups.com&amp;gt;&lt;/P&gt;&lt;P&gt;npm ERR! System Linux 3.8.7-yocto-standard&lt;BR /&gt;npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"&lt;BR /&gt;npm ERR! cwd /home/root/iotkit-agent&lt;BR /&gt;npm ERR! node -v v0.8.18&lt;BR /&gt;npm ERR! npm -v 1.2.2&lt;BR /&gt;npm ERR! code ESSL&lt;BR /&gt;npm ERR!&lt;BR /&gt;npm ERR! Additional logging details can be found in:&lt;BR /&gt;npm ERR! &amp;nbsp; &amp;nbsp; /home/root/iotkit-agent/npm-debug.log&lt;BR /&gt;npm ERR! not ok code 0&lt;BR /&gt;done&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 16:17:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933110#M15260</guid>
      <dc:creator>Tuan_B_Intel</dc:creator>
      <dc:date>2014-03-01T16:17:23Z</dc:date>
    </item>
    <item>
      <title>iotkit-agent is already</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933111#M15261</link>
      <description>&lt;P&gt;iotkit-agent is already installed &amp;amp; launched (if you the iotdk images). But if you want to use the latest from git (from the log you have it doesn't look it it) you should be able to run it but make sure to kill the existing one first.&lt;/P&gt;

&lt;P&gt;This looks like a npm issue though, maybe the first thing to do would be getting to an unrestricted internet access point, there may just be a proxy or something interfering :/&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 16:43:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933111#M15261</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-03-01T16:43:00Z</dc:date>
    </item>
    <item>
      <title>I'm not behind any firewall</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933112#M15262</link>
      <description>&lt;P&gt;I'm not behind any firewall when I tried this. This is the original image I have been running my Galileo since I got it.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 17:26:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933112#M15262</guid>
      <dc:creator>Tuan_B_Intel</dc:creator>
      <dc:date>2014-03-01T17:26:13Z</dc:date>
    </item>
    <item>
      <title>Then you're in the wrong</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933113#M15263</link>
      <description>&lt;P&gt;Then you're in the wrong forum ;-) the iotdk images are here : &lt;A href="http://iotdk.intel.com/images/1.0/iot-devkit-201402201605-mmcblkp0.direct.bz2" target="_blank"&gt;http://iotdk.intel.com/images/1.0/iot-devkit-201402201605-mmcblkp0.direct.bz2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you're on an original image (probably earlier than 0.7.5) then you'll need to start by updating node. But I haven't tried it myself so can't really help there.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 17:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933113#M15263</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-03-01T17:39:00Z</dc:date>
    </item>
    <item>
      <title>So, I went and download the</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933114#M15264</link>
      <description>&lt;P&gt;So, I went and download the iotdev image to try out iotdev-agent.&lt;/P&gt;

&lt;P&gt;When I try to get my N6235 WiFi card up, I get the following error message:&lt;/P&gt;

&lt;P&gt;ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill&lt;/P&gt;

&lt;P&gt;When I tried 'rfkill unblock all', the wireless software go into an infinite loop of authenticate, then de-authenticate on my WiFi access point.&lt;/P&gt;

&lt;P&gt;Does the iotdevkit image support WiFi? I'd hate to go into my closet to connect to the ethernet port on my router.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 18:22:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933114#M15264</guid>
      <dc:creator>Tuan_B_Intel</dc:creator>
      <dc:date>2014-03-01T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Yes it does but we have an</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933115#M15265</link>
      <description>&lt;P&gt;Yes it does but we have an issue with connman. You need to kill it, then remove the init script (to make sure :)) and then it should work as normal. Make sure to use the nl80211 and not the wext driver with wpa_supplicant.&lt;/P&gt;

&lt;P&gt;Hopefully we'll do a package update to fix this and also provide an updated image soon.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2014 18:30:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933115#M15265</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-03-01T18:30:15Z</dc:date>
    </item>
    <item>
      <title>I have the exact same problem</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933116#M15266</link>
      <description>&lt;P&gt;I have the exact same problem. &amp;nbsp;Seems that the date on the Galileo is what is at issue. &amp;nbsp;It defaults on boot to something like "Jan 01 2001".&lt;/P&gt;

&lt;P&gt;This caused the node package manager to fail on certificate validation.&lt;/P&gt;

&lt;P&gt;Easy fix is to adjust the date with:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
# date 201403261645.5
&lt;/PRE&gt;

&lt;P&gt;where YYYYMMDDHHMM.SS is the format for that killer number. &amp;nbsp;Pretty obscure, if you're not a embedded guy.&lt;/P&gt;

&lt;P&gt;Additionally - if you want the result of the command "date" to return the value in your timezone, then you'll need to add this to a file in your ~ directory.&lt;/P&gt;

&lt;P&gt;1.) create a file in your ~ directory called .profile&lt;/P&gt;

&lt;P&gt;2.) add two lines to this file:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
TZ = 'PST8PDT'
export TZ&lt;/PRE&gt;

&lt;P&gt;where you adjust the PST8PDT to your timezone. &amp;nbsp;PST = Pacific Standard Time, PDT = Pacific Daylight savings Time and the number between these two is the offset from UTC.&lt;/P&gt;

&lt;P&gt;Hope that helps others - took me a long time to figure that one out...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 22:57:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933116#M15266</guid>
      <dc:creator>Tom_B_Intel</dc:creator>
      <dc:date>2014-03-26T22:57:12Z</dc:date>
    </item>
    <item>
      <title>Quote:Tom B. wrote:I have the</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933117#M15267</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tom B. wrote:&lt;BR /&gt;I have the exact same problem. &amp;nbsp;Seems that the date on the Galileo is what is at issue. &amp;nbsp;It defaults on boot to something like "Jan 01 2001".&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;We have a deeper explanation of the issue &amp;amp; fix here: &lt;A href="http://software.intel.com/en-us/forums/topic/507062#comment-1782611" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/507062#comment-1782611&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:58:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933117#M15267</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-03-27T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Quote:Brendan Le Foll (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933118#M15268</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Brendan Le Foll (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes it does but we have an issue with connman. You need to kill it, then remove the init script (to make sure :)) and then it should work as normal. Make sure to use the nl80211 and not the wext driver with wpa_supplicant.&lt;/P&gt;

&lt;P&gt;Hopefully we'll do a package update to fix this and also provide an updated image soon.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Would you elaborate more about how to workaround this?&lt;/P&gt;

&lt;P&gt;Kill by "rfkill block 0"? And which script file to be removed?&lt;/P&gt;

&lt;P&gt;I am using Intel Centrino Wireless-N 135. Is this wifi module supported?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 07:27:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933118#M15268</guid>
      <dc:creator>EngKean_L_Intel</dc:creator>
      <dc:date>2014-04-02T07:27:21Z</dc:date>
    </item>
    <item>
      <title>Quote:Eng Kean Lee (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933119#M15269</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Eng Kean Lee (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Would you elaborate more about how to workaround this?&lt;/P&gt;

&lt;P&gt;Kill by "rfkill block 0"? And which script file to be removed?&lt;/P&gt;

&lt;P&gt;I am using Intel Centrino Wireless-N 135. Is this wifi module supported?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I don't have and old image around so I can't tell you exactly which init script, but it's the one starting connman, I think it's /etc/init.d/connman. You need to stop rfkill blocking the wifi module, and then disable connman, then killall connmand. Alternatively install conman-client from the repo and use conmanctl to connect to your wifi network.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;rfkill unblock 0
rm /etc/init.d/connman&lt;/PRE&gt;

&lt;P&gt;We support the Intel 135 wifi module (just do iwconfig) and you should see it.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 08:32:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933119#M15269</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-04-02T08:32:01Z</dc:date>
    </item>
    <item>
      <title>Instead of removing the init</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933120#M15270</link>
      <description>&lt;P&gt;Instead of removing the init script, I use another method by&amp;nbsp;kill -9 "connman's process id", and then rfkill unblock 0.&lt;/P&gt;

&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:15:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933120#M15270</guid>
      <dc:creator>EngKean_L_Intel</dc:creator>
      <dc:date>2014-04-03T06:15:43Z</dc:date>
    </item>
    <item>
      <title>Quote:Eng Kean Lee (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933121#M15271</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Eng Kean Lee (Intel) wrote:&lt;BR /&gt;Instead of removing the init script, I use another method by&amp;nbsp;kill -9 "connman's process id", and then rfkill unblock 0.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I'd always advise against a 'kill -9', 'killall' is present and will do a cleaner job. When doing this be careful connman doesn't come back on reboot or if using systemd just because systemd helpfully restarts it :) In this case '/etc/init.d/connman stop' would be the best option for a temporary shutdown.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2014 08:38:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-installing-iotkit-agent/m-p/933121#M15271</guid>
      <dc:creator>Brendan_L_Intel</dc:creator>
      <dc:date>2014-04-07T08:38:07Z</dc:date>
    </item>
  </channel>
</rss>

