Linux https://jochenhebbrecht.be/site/index.php/ en Connecting a WH-1000XM2 to Ubuntu 18.04 using Bluetooth https://jochenhebbrecht.be/site/index.php/2020-08-12/linux/connecting-wh-1000xm2-ubuntu-1804-using-bluetooth <span class="field field--name-title field--type-string field--label-hidden">Connecting a WH-1000XM2 to Ubuntu 18.04 using Bluetooth</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Wed, 12/08/2020 - 12:11</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://media.s-bol.com/j7wWVGNnA2v/550x822.jpg"/ style="width: 150px"/><br/><br /> When connecting my WH-1000XM2 with the default Bluetooth manager of Ubuntu, I'm getting by default a very low quality of audio and when switching to A2DP, I can't hear anything.</p> <p>This is how I solved the issue:</p> <ul> <li>Unpair the headphone (in case it's currently still paired)</li> <li>Install <b>blueman</b> (<a href="https://wiki.archlinux.org/index.php/Blueman">https://wiki.archlinux.org/index.php/Blueman</a>)<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> apt <span style="color: #c20cb9; font-weight: bold;">install</span> blueman</pre></div></li> <li>After installation is done, open up <b>blueman</b> and click on <i>Search</i></li> <li>Select the WH-1000XM2, right click on it and select <i>Setup...</i></li> <li>Make sure the headphone is paired as an <i>Audio Sink</i> instead of a <i>Headset</i>. This is a very important step, if you don't do this, you won't get the correct audio atmosphere</li> </ul> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1042&amp;2=comment_no_subject&amp;3=comment_no_subject" token="bwLM1yFpCHKkafRuGrCdHBaJYFJKhI6Sr-1OX4UqyMw"></drupal-render-placeholder> </section> Wed, 12 Aug 2020 10:11:26 +0000 Jochus 1042 at https://jochenhebbrecht.be/site Add Google Calendar back to chrome://apps and create a launcher in Ubuntu Dock https://jochenhebbrecht.be/site/index.php/2018-12-06/linux/add-google-calendar-back-chromeapps-and-create-launcher-ubuntu-dock <span class="field field--name-title field--type-string field--label-hidden">Add Google Calendar back to chrome://apps and create a launcher in Ubuntu Dock</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Fri, 27/07/2018 - 08:07</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://vignette.wikia.nocookie.net/logopedia/images/f/f0/GoogleC2015.png/revision/latest?cb=20171221234647" style="width: 200px"/></p> <ul> <li>Navigate to calendar.google.com</li> <li>Press F12 to bring up the Developer Tools Panel.</li> <li>Click the Console tab.</li> <li>Google an icon of your choosing by typing "Google Calendar.ico" into Google Images</li> <li>Paste this code in, replacing the "link.href" part with your chosen icon and press enter:<br /> <div class="geshifilter"><pre class="javascript geshifilter-javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">var</span> link <span style="color: #339933;">=</span> document.<span style="color: #660066;">querySelector</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;link[rel*='icon']&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> link.<span style="color: #660066;">type</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'image/x-icon'</span><span style="color: #339933;">;</span> link.<span style="color: #660066;">rel</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'shortcut icon'</span><span style="color: #339933;">;</span> link.<span style="color: #660066;">href</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'&lt;a href=&quot;https://png.icons8.com/color/1600/google-calendar.png'</span><span style="color: #339933;">;&amp;</span>#<span style="color: #CC0000;">10</span><span style="color: #3366CC;">&quot;&gt;https://png.icons8.com/color/1600/google-calendar.png';&amp;#10&lt;/a&gt;; document.getElementsByTagName('head')[0].appendChild(link); })();</span></pre></div><br /> You'll notice the web page's icon will change.</li> <li>Click the '...' button > <i>More tools...</i> > <i>Create shortcut</i> > "Google Calendar"</li> <li>Go to <i>chrome://apps</i> or click the Apps button in the top-left of your browser and you should see the new high quality icon there</li> <li>Right click on the app and pick: <i>Create shortcuts ...</i></i></li> <li>Check <i>Applications Menu</i></li> <li>In the Ubuntu launcher, search for your app</li> <li>Right click on the app and choose <i>Add to favorites</i></li> </ul> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1032&amp;2=comment_no_subject&amp;3=comment_no_subject" token="Y5XHe-bMHbxvJnRRgPIrnIuCnUgw1968IqqBamtswXI"></drupal-render-placeholder> </section> Fri, 27 Jul 2018 06:07:04 +0000 Jochus 1032 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2018-12-06/linux/add-google-calendar-back-chromeapps-and-create-launcher-ubuntu-dock#comments How to resolve DNS requests using host DNS settings when in virtual Windows guest machine (VirtualBox) https://jochenhebbrecht.be/site/index.php/2018-01-04/linux/how-resolve-dns-requests-using-host-dns-settings-when-virtual-windows-guest <span class="field field--name-title field--type-string field--label-hidden">How to resolve DNS requests using host DNS settings when in virtual Windows guest machine (VirtualBox)</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 04/01/2018 - 19:43</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://upload.wikimedia.org/wikipedia/commons/d/d5/Virtualbox_logo.png" style="width: 150px"/><br /> My host system is an Ubuntu 17.04 installation. I'm running a Windows virtual machine using VirtualBox. My network adapter is configured to use NAT. I was facing issues in which DNS resolving in the guest system was not equal to DNS resolving in the host system. To enforce this, I had the run the following configuration setting in the host system:</p> <p><div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #666666;">$ </span>VBoxManage modifyvm <span style="color: #ff0000;">&quot;VM name&quot;</span> <span style="color: #660033;">--natdnshostresolver1</span> on</pre></div></p> <p><code>--natdnshostresolver<1-N> on|off: This setting makes the NAT engine use the host's resolver mechanisms to handle DNS requests. Please see Section 9.11.5, “Enabling DNS proxy in NAT mode” for detailsx).<br /> </code></p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1029&amp;2=comment_no_subject&amp;3=comment_no_subject" token="NQKMSw2ejHDkkpfb9rF3E1HYPQXpvwOadbisiAAv60A"></drupal-render-placeholder> </section> Thu, 04 Jan 2018 18:43:54 +0000 Jochus 1029 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2018-01-04/linux/how-resolve-dns-requests-using-host-dns-settings-when-virtual-windows-guest#comments Dell Inspirion 5510 failing dual monitor screen in combination with Dell WD 15 docking station on Ubuntu 16.04.LTS https://jochenhebbrecht.be/site/index.php/2017-06-16/linux/dell-inspirion-5510-failing-dual-monitor-screen-combination-dell-wd-15-docking <span class="field field--name-title field--type-string field--label-hidden">Dell Inspirion 5510 failing dual monitor screen in combination with Dell WD 15 docking station on Ubuntu 16.04.LTS</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Fri, 16/06/2017 - 10:27</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="http://snpi.dell.com/snp/images/products/large/dell_dock_180W_1_l.jpg" style="width: 150px"/><br /> At work, I'm using a Dell Inspirion 5510 in combination with a Dell WD15 docking station. All my hardware/cables (mouse, keyboard, earphones, screens, network) are attached to the docking station. This is very handy, as the only thing I have to do to go home (or arrive at work) is to attach/detach the USB-C cable between the Inspirion and the WD15.</p> <p>My operation system is Ubuntu 16.04.LTS. I was struggling a lot with the setup of my 2 external monitors. I use the mini-display port and the HDMI port. Whenever I attached my laptop to the WD15, screens turned blacked. The only solution was to restart my laptop. And then sometimes, I even had to reattach the cables (unplug, plug, unplug, plug, ...)</p> <p>After some investigation, I found out I was using a kernel version which was too old. I did an upgrade to 16.10 by executing the following command:</p> <p><div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> do-release-upgrade <span style="color: #660033;">-d</span></pre></div></p> <p>After the upgrade, attaching screens goes very smoothly. Even when I go to a meetingroom with an external TV screen, the system knows how to recognize the correct hardware and restores the correct configuration set.</p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1024&amp;2=comment_no_subject&amp;3=comment_no_subject" token="g2zE-rLjXeb-OUj0mwiQ0W88eSQsv5oCy8V0pZGVPr8"></drupal-render-placeholder> </section> Fri, 16 Jun 2017 08:27:47 +0000 Jochus 1024 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2017-06-16/linux/dell-inspirion-5510-failing-dual-monitor-screen-combination-dell-wd-15-docking#comments Stopping and removing all running Docker containers https://jochenhebbrecht.be/site/index.php/2017-06-13/linux/stopping-and-removing-all-running-docker-containers <span class="field field--name-title field--type-string field--label-hidden">Stopping and removing all running Docker containers</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Tue, 13/06/2017 - 07:44</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://d3nmt5vlzunoa1.cloudfront.net/phpstorm/files/2015/10/large_v-trans.png" style="width: 150px"/><br /> In case you want to stop AND remove all running containers, you can perform the following commands on a terminal:<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">$ docker stop $<span style="color: #7a0874; font-weight: bold;">&#40;</span>docker <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-a</span> -q<span style="color: #7a0874; font-weight: bold;">&#41;</span> $ docker <span style="color: #c20cb9; font-weight: bold;">rm</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>docker <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-a</span> -q<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1023&amp;2=comment_no_subject&amp;3=comment_no_subject" token="gRCsDYZ4MzJw3lPt6pnDvB08RixNCuspbV2f6hpSerk"></drupal-render-placeholder> </section> Tue, 13 Jun 2017 05:44:46 +0000 Jochus 1023 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2017-06-13/linux/stopping-and-removing-all-running-docker-containers#comments Adding GIT branch in PS1 on terminal https://jochenhebbrecht.be/site/index.php/2017-02-16/linux/adding-git-branch-in-ps1-terminal <span class="field field--name-title field--type-string field--label-hidden">Adding GIT branch in PS1 on terminal</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Thu, 16/02/2017 - 11:23</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="http://glxn.net/attachments/ps11.png"/><br /> I've updated my PS1 variable to the content below. By doing this change, I'm printing the GIT branch I'm currently working on. As I am working on different projects, it helps me indicating if I'm working on the correct branch for a specific project or not:</p> <p><b>Original value:</b><br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #800000;">${debian_chroot:+($debian_chroot)}</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;32m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\u<span style="color: #000000; font-weight: bold;">@</span>\h\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>00m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>:\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;34m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\<span style="color: #c20cb9; font-weight: bold;">w</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>00m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\$</pre></div><br /> <b>New value:</b><br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #800000;">${debian_chroot:+($debian_chroot)}</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;32m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\u<span style="color: #000000; font-weight: bold;">@</span>\h\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>00m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;33m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_ps1<span style="color: #7a0874; font-weight: bold;">&#41;</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>00m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>:\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;34m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\<span style="color: #c20cb9; font-weight: bold;">w</span>\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>00m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>\$</pre></div></p> <p>So the part I've added (first block indicates the yellow color, second block executes the <b>__git_ps1</b> command)<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">\<span style="color: #7a0874; font-weight: bold;">&#91;</span>\033<span style="color: #7a0874; font-weight: bold;">&#91;</span>01;33m\<span style="color: #7a0874; font-weight: bold;">&#93;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>__git_ps1<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1019&amp;2=comment_no_subject&amp;3=comment_no_subject" token="TYdJ1DyIifXQQVOLHu6gz4prymOee0gkEhlQ55SHpWo"></drupal-render-placeholder> </section> Thu, 16 Feb 2017 10:23:03 +0000 Jochus 1019 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2017-02-16/linux/adding-git-branch-in-ps1-terminal#comments Apache HTTD 2.4: AH01630: client denied by server configuration https://jochenhebbrecht.be/site/index.php/2015-09-12/linux/apache-httd-24-ah01630-client-denied-server-configuration <span class="field field--name-title field--type-string field--label-hidden">Apache HTTD 2.4: AH01630: client denied by server configuration</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sat, 12/09/2015 - 20:13</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://rhdevelopers.files.wordpress.com/2014/09/apache-http-server-188c2a0c397c2a0129.jpeg?w=640"/><br /> I recently upgraded one of my HTTPD severs from version 2.2 to 2.4. When I tried to start the Apache HTTPD daemon, I got the following exception:</p> <p><div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">AH01630: client denied by server configuration</pre></div></p> <p>The problem was related to a change in the configuration specs of the "allow &amp; deny rules". More info was found <a href="http://httpd.apache.org/docs/2.4/upgrading.html#access" target="_blank">here</a>:</p> <h5>2.2 configuration:</h5> <p><div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">Order deny,allow Deny from all</pre></div></p> <h5>2.4 configuration:</h5> <p><div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">Require all denied</pre></div></p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=1002&amp;2=comment_no_subject&amp;3=comment_no_subject" token="kn9ioQrhBCdCVOvZGgCutGb7-Z1LlbtN6pZ9Jh8jJAc"></drupal-render-placeholder> </section> Sat, 12 Sep 2015 18:13:05 +0000 Jochus 1002 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2015-09-12/linux/apache-httd-24-ah01630-client-denied-server-configuration#comments Location of Apache HTTPD error log on Synology DS-213 https://jochenhebbrecht.be/site/index.php/2014-02-09/linux/location-apache-httpd-error-log-synology-ds-213 <span class="field field--name-title field--type-string field--label-hidden">Location of Apache HTTPD error log on Synology DS-213</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sun, 09/02/2014 - 15:01</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="http://www.custompcreview.com/wp-content/uploads/2012/08/synology-diskstation-ds213-plus.jpg" style="width: 300px"/><br /> Server configuration is defined at:<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>syno<span style="color: #000000; font-weight: bold;">/</span>apache<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</pre></div></p> <p>The error log file is by default located at:<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>httpd-error-user.log</pre></div></p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title">Comments</h2> <article data-comment-user-id="0" id="comment-3989" class="js-comment comment"> <mark class="hidden" data-comment-timestamp="1422447360"></mark> <footer> <article typeof="schema:Person" about="/site/user/0" class="profile"> </article> <div style="height: 30px; float: left"><b>Submitted by</b> <span lang="" typeof="schema:Person" property="schema:name" datatype="">Gahan Zwart (not verified)</span> <b>on</b> Wed, 28/01/2015 - 13:16</div> <div style="height: 30px; float: left; margin: -5px 0px 0px 10px"><a href="/site/index.php/comment/3989#comment-3989"><img src="/site/sites/default/files/pictures/permalink.png"/></a></div> <div style="height: 0px; clear: both">&nbsp;</div> </footer> <div> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>/var/log/httpd/error-user.log is the right path to the file.</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=3989&amp;1=default&amp;2=en&amp;3=" token="pDZitzFea2xbHQ0AO5Y3v53JyVCLmBTVwrc_UYugWrM"></drupal-render-placeholder> </div> </article> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=970&amp;2=comment_no_subject&amp;3=comment_no_subject" token="jZVWa9Tccd77tHb5Urtm2fYBGB52H8Yj_bSMErGktCI"></drupal-render-placeholder> </section> Sun, 09 Feb 2014 14:01:06 +0000 Jochus 970 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2014-02-09/linux/location-apache-httpd-error-log-synology-ds-213#comments Cron entries removed after Synology DS213 reboot https://jochenhebbrecht.be/site/index.php/2013-03-23/linux/cron-entries-removed-after-synology-ds213-reboot <span class="field field--name-title field--type-string field--label-hidden">Cron entries removed after Synology DS213 reboot</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sat, 23/03/2013 - 13:45</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://images-na.ssl-images-amazon.com/images/I/61AcXVO14nL._AC_SL1024_.jpg" style="width: 250px"/><br/><br /> Yesterday, I came to the conclusion all my cron entries were removed (for the second time!) in my <b>/etc/crontab</b> file on my Synology DS213 NAS server.</p> <p>I noticed the cron entries were removed after a system reboot. I figured out Synology has some problems with cron entries having columns separated with spaces (not tabs). All entries including spaces are removed on system startup.</p> <p>Updating my crontab by putting tabs (\t) between the columns, fixed the problem.</p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=947&amp;2=comment_no_subject&amp;3=comment_no_subject" token="_yUvnIUsGtXH40Lm4Xx7qwX2Ojy3lz6xOa5IrEnNB_Q"></drupal-render-placeholder> </section> Sat, 23 Mar 2013 12:45:45 +0000 Jochus 947 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2013-03-23/linux/cron-entries-removed-after-synology-ds213-reboot#comments Differences in wireless security https://jochenhebbrecht.be/site/index.php/2013-02-25/linux/differences-in-wireless-security <span class="field field--name-title field--type-string field--label-hidden">Differences in wireless security</span> <div class="field field--name-news field--type-entity-reference field--label-hidden field__items"> <div class="field__item"><a href="/site/index.php/blogs/linux" hreflang="en">Linux</a></div> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/site/index.php/users/jochus" typeof="schema:Person" property="schema:name" datatype="">Jochus</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mon, 25/02/2013 - 23:10</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><img src="https://www.cellblue.nl/wp-content/uploads/2013/01/wireless_security.gif" style="width: 150px"/></p> <div class="warning">I just found this old article I've written down once when I was looking for a good wireless security setup. This article was written in Dutch, but I didn't want it to get lost, so I added it to my blog.</div> <h3>Versleutelingsmethodes</h3> <h4>WEP</h4> <h5>Definitie</h5> <p>WEP staat voor <b>Wired Equivalent Privacy</b> en is een door de Institute of Electrical and Electronics Engineers 802.11 gespecificeerde methode om berichten die via een draadloze verbinding (Wi-Fi) worden verstuurd te versleutelen en maakt gebruik van de RC4-encryptie van RSA Security. De versleuteling vindt plaats tussen de twee NICs; de versleuteling geldt dus alleen voor zover de data "in de lucht hangt". Nadat de data ontvangen is, is het niet meer encrypted. Om gebruik te maken van WEP moeten de participerende NICs WEP aanzetten en een gelijke sleutel ingevoerd krijgen.</p> <p><b><u>Bron:</u></b> <a href="http://nl.wikipedia.org/wiki/WEP">http://nl.wikipedia.org/wiki/WEP</a></p> <h5>Werking</h5> <ul> <li>Van de te verzenden data wordt een CRC32-checksum berekend. Deze checksum wordt achter de data geplakt.</li> <li>Het nieuwe geheel (Data + CRC32(Data)) wordt de 'plaintext' genoemd. ('Plain', omdat dit stuk nog niet gecodeerd is en dus gewoon leesbaar.)</li> <li>De keystream wordt als volgt berekend: keystream = RC4(IV, sleutel). <ul> <li>IV = initiële vectoren. Dit zijn een aantal willekeurige getallen die mogen, maar NIET moeten (volgens de IEEE WEP-specificaties), veranderen bij elk nieuw verzonden pakket.</li> <li>sleutel = een afgesproken 'wachtwoord' dat gebruikt wordt, en door beide NIC's op voorhand gekend is.</li> </ul> </li> <li>Het pakket wordt samengesteld: Eerst worden de keystream en plaintext tezamen ge-XOR'd, en vervolgens wordt de IV voor het pakketje geplakt. Dan wordt het pakket verzonden.</li> </ul> <p>Kort samengevat:<br /> <div class="geshifilter"><pre class="bash geshifilter-bash" style="font-family:monospace;">:pakket = IV + XOR<span style="color: #7a0874; font-weight: bold;">&#40;</span>data + crc32<span style="color: #7a0874; font-weight: bold;">&#40;</span>data<span style="color: #7a0874; font-weight: bold;">&#41;</span>, RC4<span style="color: #7a0874; font-weight: bold;">&#40;</span>IV, sleutel<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></p> <p><b><u>Bron:</u></b> <a href="http://nl.wikipedia.org/wiki/WEP">http://nl.wikipedia.org/wiki/WEP</a></p> <h5>Persoonlijke mening</h5> <p>WEP is totaal niet veilig en kan in minder dan een seconde gekraakt worden. Dit komt vooral door de statische sleutel die in het algoritme gebruikt wordt. Bij deze raad ik dan WEP ook aan niemand aan.</p> <h4>WPA</h4> <h5>Definitie</h5> <p><b>Wi-Fi Protected Access (WPA)</b> is een systeem om veilige draadloos draadloze netwerken (Wi-Fi) op te zetten en is ontwikkeld nadat onderzoekers een aantal zwakke plekken in WEP (Wired Equivalent Privacy) hadden gevonden. WPA is gebaseerd op een deel van de 802.11i-standaard van IEEE en bedoeld als tussenoplossing voor de problemen met WEP terwijl de nieuwe draadloze veiligheidsstandaard (802.11i) werd ontwikkeld. Certificatie van producten met WPA is begonnen in april 2003; de volledige 802.11i werd geratificeerd in juni 2004.</p> <h5>Werking</h5> <p>WPA kent 2 manieren van configureren: personal en enterprise. Enterprise vereist een authenticatieserver en wordt meer gebruikt in bedrijven. Personal kan je thuis gebruiken.</p> <p>WPA lost eigenlijk het probleem van de WEP hoofding (de initialisatie vectoren IV) op en voorziet een betere beveiliging door gebruik te maken van het MIC (Messsage Integrity Check). Deze laatste maakt gebruik van het TKIP protocol (Temporal Key Integrity Protocol). Concreet wil dit zeggen dat WPA de sleutel automatisch aanpast (''rekeying'' genoemd). Dit proces gebeurt na een periode van X tijd of na X aantal pakketten verzonden te hebben = the rekey interval. </p> <p>WPA maakt gebruikt van een <b>passphrase</b>, of ook wel de geheime code genomed die zowel moet ingevoerd worden op je router als op je computer. Vervolgens neemt TKIP het proces over en past dit de sleutel automatisch aan.</p> <p>WPA is niet geklasseerd als een standaard, maar is eigenlijk een oplossing tussen WEP en WPA2 (zie verder)</p> <h5>Persoonlijke mening</h5> <p>Stuk veiliger dan WEP en zeker aan te raden!</p> <h4>WPA2</h4> <h5>Definitie</h5> <p>WPA2 is de nieuwste beveiligings methode in de Wifi wereld. De ondersteuning is nog matig en WPA voldoet zeker nog aan de <b>veiligheidsnorm</b> voor de thuisgebruikers.</p> <p>WPA2 is er net als WPA in 2 varianten, de Enterprice en de Personal.</p> <p>De Personal variant werkt ook met een in te vullen <b>wachtwoord</b> zoals bij WPA, en de Enterprice variant werkt via een aparte authenticatie server.</p> <p>WPA2 maakt gebruik van AES (Advanced Encyption Standard) een commercieël en overheids ondersteunde data pakket beveiliging.</p> <h5>Werking</h5> <p>AES is de nieuwe methode voor de bescherming van persoonlijke gegevens bij draadloze transmissies die wordt gespecificeerd in de IEEE 802.11i-standaard. AES-CCMP biedt een krachtigere coderingsmethode dan TKIP. Kies AES-CCMP als methode voor de gegevenscodering als een sterke bescherming van gegevens voor u van belang is.</p> <h5>Persoonlijke mening</h5> <p>WPA2 geniet mijn persoonlijke voorkeur wegens de sterke codering van AES. Toch echter 1 minpunt: een standaard Windows XP installatie kan niet omgaan met WPA2 en heeft nood aan deze update: <a href="http://www.microsoft.com/downloads/details.aspx?familyid=662BB74D-E7C1-48D6-95EE-1459234F4483&amp;displaylang=nl">http://www.microsoft.com/downloads/details.aspx?familyid=662BB74D-E7C1-…</a></p> <h3>Toegangsmethodes</h3> <h4>MAC filtering</h4> <h5>Definitie en werking</h5> <p>MAC adressen filteren is een beveiligingsmethode die vaak in combinatie met encryptie gebruikt wordt. Een MAC adres (ook wel 'hardware adres' of 'fysiek adres' genoemd) is een ingebakken adres dat uniek is voor elk netwerkapparaat. Het MAC adres is een hexadecimale code van twaalf tekens, bijvoorbeeld 00-C0-26-A9-42-F7. Deze code kan gebruikt worden om toegang tot het netwerk toe te zeggen of juist te blokkeren. In feite is het erg gemakkelijk.</p> <h5>Persoonlijke mening</h5> <p>In mijn ogen deftige beveiligingstechniek, alhoewel deze terug mooi kan omzeild worden door MAC-spoofing. MAC-spoofing? Dat is een techniek waar je toch die hexadecimale code kan aanpassen en je voordoen als iemand anders ...</p> </div> <section class="field field--name-comment-no-subject field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=936&amp;2=comment_no_subject&amp;3=comment_no_subject" token="2vqyGDuxD01AjAsjOaZMSH4U0TDMgNfVC575wUSP2wE"></drupal-render-placeholder> </section> Mon, 25 Feb 2013 22:10:17 +0000 Jochus 936 at https://jochenhebbrecht.be/site https://jochenhebbrecht.be/site/index.php/2013-02-25/linux/differences-in-wireless-security#comments