{"id":485,"date":"2016-08-12T15:49:10","date_gmt":"2016-08-12T14:49:10","guid":{"rendered":"http:\/\/snakenet.eu\/blog\/?p=485"},"modified":"2017-01-28T09:59:50","modified_gmt":"2017-01-28T08:59:50","slug":"chip-pocketchip-ameliorer-lecran-de-base","status":"publish","type":"post","link":"https:\/\/snakenet.eu\/blog\/chip-pocketchip-ameliorer-lecran-de-base\/485\/","title":{"rendered":"CHIP &#8211; POCKETCHIP : am\u00e9liorer la base"},"content":{"rendered":"<h1>Configurer le wifi en ligne de commande<\/h1>\n<p>nmtui<\/p>\n<h1>Mettre \u00e0 jour et red\u00e9marrer l&rsquo;engin<\/h1>\n<p>apt-get update -y &amp;&amp; apt-get upgrade -y &amp;&amp; init 6<\/p>\n<h1>Installer la gestion du point d&rsquo;acc\u00e8s et la prise de contr\u00f4le a distance<\/h1>\n<p>apt-get install openssh-server<\/p>\n<div>apt-get install dnsmasq hostapd<\/div>\n<div><\/div>\n<div>echo interface=wlan1 &gt; \/etc\/dnsmasq.d\/access_point.conf<br \/>\necho except-interface=wlan0 &gt;&gt; \/etc\/dnsmasq.d\/access_point.conf<br \/>\necho dhcp-range=172.17.0.2,172.17.0.250,1h &gt;&gt; \/etc\/dnsmasq.d\/access_point.conf<br \/>\necho dhcp-option=1,255.255.255.0 &gt;&gt; \/etc\/dnsmasq.d\/access_point.conf<br \/>\necho dhcp-option=3,172.17.0.1 &gt;&gt; \/etc\/dnsmasq.d\/access_point.conf<\/div>\n<div><\/div>\n<div>echo auto wlan1 &gt;&gt; \/etc\/network\/interfaces<br \/>\necho iface wlan1 inet static &gt;&gt; \/etc\/network\/interfaces<br \/>\necho address 172.17.0.1 &gt;&gt; \/etc\/network\/interfaces<br \/>\necho netmask 255.255.255.0 &gt;&gt; \/etc\/network\/interfaces<\/div>\n<div><\/div>\n<div>ifup wlan1<\/div>\n<div><\/div>\n<div>\/etc\/init.d\/dnsmasq restart<\/div>\n<div><\/div>\n<div>echo interface=wlan1 &gt; \/etc\/hostapd.conf<br \/>\necho driver=nl80211 &gt;&gt; \/etc\/hostapd.conf<br \/>\necho ssid=PocketChip&gt;&gt; \/etc\/hostapd.conf<br \/>\necho channel=1 &gt;&gt; \/etc\/hostapd.conf<br \/>\necho ctrl_interface=\/var\/run\/hostapd &gt;&gt; \/etc\/hostapd.conf<\/div>\n<div><\/div>\n<div>echo [Unit] &gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho Description=hostapd service &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho Wants=network-manager-service &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho After=network-manager-service &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho Wants=module-init-tools-service &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho After=module-init-tools-service &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho ConditionPathExists=\/etc\/hostapd.conf &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho [Service] &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho Restart=always &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho ExecStart=\/usr\/sbin\/hostapd \/etc\/hostapd.conf &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho [Install] &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<br \/>\necho WantedBy=multi-user.target &gt;&gt; \/lib\/systemd\/system\/hostapd-systemd.service<\/div>\n<div><\/div>\n<div>update-rc.d hostapd disable<br \/>\nsystemctl daemon-reload<br \/>\nsystemctl enable hostapd-systemd<\/div>\n<div><\/div>\n<div>init 6<\/div>\n<h1>Mettre a jour l&rsquo;interface graphique du pocketchip<\/h1>\n<p>https:\/\/bbs.nextthing.co\/t\/pocket-home-marshmallow-edition\/6579<br \/>\nhttps:\/\/github.com\/o-marshmallow\/PocketCHIP-pocket-home<\/p>\n<p>wget -O installPocketHome.sh \u00ab\u00a0https:\/\/drive.google.com\/uc?export=download&amp;id=0B1jRc4IqT9kiN0pfb3FGdlJtZjA\u00a0\u00bb<br \/>\nchmod +x installPocketHome.sh<br \/>\n.\/installPocketHome.sh<br \/>\ninit 6<\/p>\n<h1>Installer un Tools qui g\u00e8re l&rsquo;alimentation du CHIP comme un grand!<\/h1>\n<p>&#8212; Je vous invite a suivre ce post : g\u00e9nial. Version courte ci-dessous:<\/p>\n<p>apt-get install i2c-tools<br \/>\nwget -O \/usr\/local\/bin\/blink.sh http:\/\/fordsfords.github.io\/blink\/blink.sh<br \/>\nchmod +x \/usr\/local\/bin\/blink.sh<br \/>\nwget -O \/etc\/systemd\/system\/blink.service http:\/\/fordsfords.github.io\/blink\/blink.service<br \/>\nsystemctl enable \/etc\/systemd\/system\/blink.service<br \/>\nwget -O \/usr\/local\/etc\/blink.cfg http:\/\/fordsfords.github.io\/blink\/blink.cfg<br \/>\nservice blink start<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configurer le wifi en ligne de commande nmtui Mettre \u00e0 jour et red\u00e9marrer l&rsquo;engin apt-get update -y &amp;&amp; apt-get upgrade -y &amp;&amp; init 6 Installer la gestion du point d&rsquo;acc\u00e8s et la prise de contr\u00f4le a distance apt-get install openssh-server apt-get install dnsmasq hostapd echo interface=wlan1 &gt; \/etc\/dnsmasq.d\/access_point.conf echo except-interface=wlan0 &gt;&gt; \/etc\/dnsmasq.d\/access_point.conf echo dhcp-range=172.17.0.2,172.17.0.250,1h &gt;&gt; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-c-h-i-p"],"_links":{"self":[{"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":7,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/posts\/485\/revisions"}],"predecessor-version":[{"id":536,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/posts\/485\/revisions\/536"}],"wp:attachment":[{"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/categories?post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snakenet.eu\/blog\/wp-json\/wp\/v2\/tags?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}