summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-12-12 13:59:09 +0100
committermakefu <github@syntax-fehler.de>2014-12-12 13:59:09 +0100
commitfb6b7311b4f94467d397a8804b4b67eaeecc91b9 (patch)
treed9ff38cb1d897b612264eab646a1ad2254cec124
parent0a6f59e08857c99b087bfc2c5ba0229204598e55 (diff)
parent99f7895cdd4cbf99b1d9c768301e5d69e28f5fde (diff)
Merge branch 'master' of pigstarter:euer_blog
-rw-r--r--content/posts/archlinux-and-bridged-libvirt-plus-ufw.rst68
-rw-r--r--content/posts/scripting-forti.rst55
l---------[-rw-r--r--]content/wiki/knowledge_base.html14538
l---------[-rwxr-xr-x]content/wiki/knowledge_base.xml463
4 files changed, 125 insertions, 14999 deletions
diff --git a/content/posts/archlinux-and-bridged-libvirt-plus-ufw.rst b/content/posts/archlinux-and-bridged-libvirt-plus-ufw.rst
new file mode 100644
index 0000000..cb4850d
--- /dev/null
+++ b/content/posts/archlinux-and-bridged-libvirt-plus-ufw.rst
@@ -0,0 +1,68 @@
+Arch+libvirt+bridges+ufw
+########################
+:date: 2014-07-03 14:48
+:tags: archlinux,libvirt,network-bridge,ufw,netctl
+
+I never thought getting bridged network for libvirt
+clients to work under archlinux. Here is the digest.
+
+Adding Bridge Network with netctl
+---------------------------------
+eth0 needs to be up in order to get the bridge working
+
+
+**/etc/netctl/bridge**
+
+.. code-block:: bash
+
+ Description='bridge'
+ Interface=br0
+ Connection=bridge
+ BindsToInterface=(eth0)
+ IP=static # or dhcp
+ Address=('1.2.3.4/24')
+ Gateway='1.2.3.1'
+ DNS=('1.2.3.3')
+ ExecUpPost="brctl stp $Interface on||:"
+
+**/etc/netctl/eth_bridged**
+
+.. code-block:: bash
+
+ Description='eth0 without ip'
+ Interface=eth0
+ Connection=ethernet
+ IP=no
+ IP6=no
+
+**enable the bridge**
+
+.. code-block:: bash
+
+ systemctl disable dhcpcd@eth0 # if applicable
+ netctl enable bridge
+ netctl enable eth_bridged
+
+After a reboot the interface should be available and libvirt should be able to use the bridge for libvirt clients.
+If you have ufw in place, add this line to **/etc/ufw/before{,6}.rules** between \*filter and COMMIT :
+
+.. code-block:: bash
+
+ -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
+
+maybe you also need the following lines in **/etc/sysctl.d/bridge.conf**:
+
+.. code-block:: bash
+
+ net.bridge.bridge-nf-call-ip6tables = 0
+ net.bridge.bridge-nf-call-iptables = 0
+ net.bridge.bridge-nf-call-arptables = 0
+
+enable security changes
+
+.. code-block:: bash
+
+ ufw disable
+ ufw enable
+ sysctl -p /etc/sysctl.d/bridge.conf
+
diff --git a/content/posts/scripting-forti.rst b/content/posts/scripting-forti.rst
new file mode 100644
index 0000000..7ee3a23
--- /dev/null
+++ b/content/posts/scripting-forti.rst
@@ -0,0 +1,55 @@
+Scripting the Fortigate VPN Client
+##################################
+:date: 2014-09-12 13:37
+:tags: expect, fortigate
+
+Again there was a need to fix frickelsoftware. In that case i needed a permanent vpn connection via the fortigate vpn client .
+Problem is, that the tunnel disconnects after some time but the client does not exists and that input cannot simply piped into the executable.
+
+I wrote an Expect script which works work around both issues:
+
+.. code-block:: tcl
+
+ #!/usr/bin/expect -f
+ # cd into the 64 bit folder of the client
+ # usage: efort.exp
+
+ spawn ./forticlientsslvpn_cli --server <VPNIP>:<VPNPORT> --vpnuser <VPNUSER> 2>&1
+ log_user 0
+ send_user "Logging in\n"
+ expect "Password for VPN:"
+ send "<VPNPASSWORD>\n"
+
+ # i needed ths for 'certificate error'
+ expect "Would you like to connect to this server"
+ send "Y\n"
+ send_user "Beginning to connect\n"
+ expect "STATUS::Tunnel running"
+ send_user "Tunnel running!\n"
+
+ # this is how long the next expect waits for pattern match, in seconds
+ set timeout 90001
+ expect "STATUS::Tunnel closed"
+ send_user "Tunnel closed!\n"
+ send_user "Dying\n"
+ close
+ exit
+
+
+At the end, enterprise-loop the script and we are done!
+
+.. code-block:: bash
+
+ #!/bin/sh
+ cd "$(dirname "$(readlink -f "$0")")"
+ while sleep 1;do
+ expect efort.exp
+ echo "Restarting forticlient !"
+ done
+
+
+Fyi: It seems it is not that easy to find the fortigate client for linux, if you are lucky you can get it from the `official FTP server`_ or have a look at the current `fortclientsslvpn AUR package`_.
+
+
+.. _official FTP server: ftp://pftpintl:sgn89IOngs@support.fortinet.com/FortiGate/v5.00/5.2/5.2.0/VPN/SSLVPNTools/forticlientsslvpn_linux_4.4.2303.tar.gz
+.. _fortclientsslvpn AUR package: https://aur.archlinux.org/packages/forticlientsslvpn/
diff --git a/content/wiki/knowledge_base.html b/content/wiki/knowledge_base.html
index dc8c3b5..e614acd 100644..120000
--- a/content/wiki/knowledge_base.html
+++ b/content/wiki/knowledge_base.html
@@ -1,14537 +1 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<script id="versionArea" type="text/javascript">
-//<![CDATA[
-var version = {title: "TiddlyWiki", major: 2, minor: 8, revision: 1, date: new Date("June 23, 2013"), extensions: {}};
-
-//]]>
-</script>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<meta name="copyright" content="
-TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
-
-Copyright (c) Jeremy Ruston 2004-2007
-Copyright (c) UnaMesa Association 2007-2012
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this
-list of conditions and the following disclaimer in the documentation and/or other
-materials provided with the distribution.
-
-Neither the name of the UnaMesa Association nor the names of its contributors may be
-used to endorse or promote products derived from this software without specific
-prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
-SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
-" />
-<!--PRE-HEAD-START-->
-<!--{{{-->
-<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
-<!--}}}-->
-
-<!--PRE-HEAD-END-->
-<title> Knowledge Base - </title>
-<style id="styleArea" type="text/css">
-#saveTest {display:none;}
-#messageArea {display:none;}
-#copyright {display:none;}
-#storeArea {display:none;}
-#storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
-#shadowArea {display:none;}
-#javascriptWarning {width:100%; text-align:center; font-weight:bold; background-color:#dd1100; color:#fff; padding:1em 0em;}
-
-</style>
-<!--POST-HEAD-START-->
-
-<!--POST-HEAD-END-->
-</head>
-<body onload="main();" onunload="if(window.unload) unload();">
-<!--PRE-BODY-START-->
-
-<!--PRE-BODY-END-->
-<div id="copyright">
-Welcome to TiddlyWiki created by Jeremy Ruston; Copyright &copy; 2004-2007 Jeremy Ruston, Copyright &copy; 2007-2011 UnaMesa Association
-</div>
-<noscript>
-<div id="javascriptWarning">
-This page requires JavaScript to function properly.<br /><br />If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select 'Allow Blocked Content'. You must then click 'Yes' on the following security warning.
-</div>
-
-</noscript>
-<div id="saveTest"></div>
-<div id="backstageCloak"></div>
-<div id="backstageButton"></div>
-<div id="backstageArea"><div id="backstageToolbar"></div></div>
-<div id="backstage">
- <div id="backstagePanel"></div>
-</div>
-<div id="contentWrapper"></div>
-<div id="contentStash"></div>
-<div id="shadowArea">
-<div title="ColorPalette">
-<pre>Background: #fff
-Foreground: #000
-PrimaryPale: #8cf
-PrimaryLight: #18f
-PrimaryMid: #04b
-PrimaryDark: #014
-SecondaryPale: #ffc
-SecondaryLight: #fe8
-SecondaryMid: #db4
-SecondaryDark: #841
-TertiaryPale: #eee
-TertiaryLight: #ccc
-TertiaryMid: #999
-TertiaryDark: #666
-Error: #f88
-</pre>
-</div>
-<div title="EditTemplate">
-<pre>&lt;!--{{{--&gt;
-&lt;div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'&gt;&lt;/div&gt;
-&lt;div class='title' macro='view title'&gt;&lt;/div&gt;
-&lt;div class='editor' macro='edit title'&gt;&lt;/div&gt;
-&lt;div macro='annotations'&gt;&lt;/div&gt;
-&lt;div class='editor' macro='edit text'&gt;&lt;/div&gt;
-&lt;div class='editor' macro='edit tags'&gt;&lt;/div&gt;&lt;div class='editorFooter'&gt;&lt;span macro='message views.editor.tagPrompt'&gt;&lt;/span&gt;&lt;span macro='tagChooser excludeLists'&gt;&lt;/span&gt;&lt;/div&gt;
-&lt;!--}}}--&gt;
-</pre>
-</div>
-<div title="GettingStarted">
-<pre>To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
-* [[SiteTitle]] &amp; [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
-* [[MainMenu]]: The menu (usually on the left)
-* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
-You'll also need to enter your username for signing your edits: &lt;&lt;option txtUserName&gt;&gt;
-</pre>
-</div>
-<div title="ImportTiddlers">
-<pre>&lt;&lt;importTiddlers&gt;&gt;
-</pre>
-</div>
-<div title="MarkupPreHead">
-<pre>&lt;!--{{{--&gt;
-&lt;link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' /&gt;
-&lt;!--}}}--&gt;
-</pre>
-</div>
-<div title="OptionsPanel">
-<pre>These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser
-
-Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])
-
-&lt;&lt;option txtUserName&gt;&gt;
-&lt;&lt;option chkSaveBackups&gt;&gt; [[SaveBackups]]
-&lt;&lt;option chkAutoSave&gt;&gt; [[AutoSave]]
-&lt;&lt;option chkRegExpSearch&gt;&gt; [[RegExpSearch]]
-&lt;&lt;option chkCaseSensitiveSearch&gt;&gt; [[CaseSensitiveSearch]]
-&lt;&lt;option chkAnimate&gt;&gt; [[EnableAnimations]]
-
-----
-Also see [[AdvancedOptions]]
-</pre>
-</div>
-<div title="PageTemplate">
-<pre>&lt;!--{{{--&gt;
-&lt;div class='header' role='banner' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'&gt;
-&lt;div class='headerShadow'&gt;
-&lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
-&lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
-&lt;/div&gt;
-&lt;div class='headerForeground'&gt;
-&lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
-&lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
-&lt;/div&gt;
-&lt;/div&gt;
-&lt;div id='mainMenu' role='navigation' refresh='content' tiddler='MainMenu'&gt;&lt;/div&gt;
-&lt;div id='sidebar'&gt;
-&lt;div id='sidebarOptions' role='navigation' refresh='content' tiddler='SideBarOptions'&gt;&lt;/div&gt;
-&lt;div id='sidebarTabs' role='complementary' refresh='content' force='true' tiddler='SideBarTabs'&gt;&lt;/div&gt;
-&lt;/div&gt;
-&lt;div id='displayArea' role='main'&gt;
-&lt;div id='messageArea'&gt;&lt;/div&gt;
-&lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;
-&lt;/div&gt;
-&lt;!--}}}--&gt;
-</pre>
-</div>
-<div title="StyleSheetColors">
-<pre>/*{{{*/
-body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
-
-a {color:[[ColorPalette::PrimaryMid]];}
-a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
-a img {border:0;}
-
-h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
-h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
-h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
-
-.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
-.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
-.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
-
-.header {background:[[ColorPalette::PrimaryMid]];}
-.headerShadow {color:[[ColorPalette::Foreground]];}
-.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
-.headerForeground {color:[[ColorPalette::Background]];}
-.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
-
-.tabSelected {color:[[ColorPalette::PrimaryDark]];
- background:[[ColorPalette::TertiaryPale]];
- border-left:1px solid [[ColorPalette::TertiaryLight]];
- border-top:1px solid [[ColorPalette::TertiaryLight]];
- border-right:1px solid [[ColorPalette::TertiaryLight]];
-}
-.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
-.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
-.tabContents .button {border:0;}
-
-#sidebar {}
-#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
-#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
-#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
-#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
-#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
-
-.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
-.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
-.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
-.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
- border:1px solid [[ColorPalette::PrimaryMid]];}
-.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
-.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
-.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
-.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
- border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
-.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
-.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
- border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
-
-.wizard .notChanged {background:transparent;}
-.wizard .changedLocally {background:#80ff80;}
-.wizard .changedServer {background:#8080ff;}
-.wizard .changedBoth {background:#ff8080;}
-.wizard .notFound {background:#ffff80;}
-.wizard .putToServer {background:#ff80ff;}
-.wizard .gotFromServer {background:#80ffff;}
-
-#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
-#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
-
-.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
-
-.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
-.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
-.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
-.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
-.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
-.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
-.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
-.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
-
-.tiddler .defaultCommand {font-weight:bold;}
-
-.shadow .title {color:[[ColorPalette::TertiaryDark]];}
-
-.title {color:[[ColorPalette::SecondaryDark]];}
-.subtitle {color:[[ColorPalette::TertiaryDark]];}
-
-.toolbar {color:[[ColorPalette::PrimaryMid]];}
-.toolbar a {color:[[ColorPalette::TertiaryLight]];}
-.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
-.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
-
-.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
-.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
-.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
-.tagging .button, .tagged .button {border:none;}
-
-.footer {color:[[ColorPalette::TertiaryLight]];}
-.selected .footer {color:[[ColorPalette::TertiaryMid]];}
-
-.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
-.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
-.lowlight {background:[[ColorPalette::TertiaryLight]];}
-
-.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
-
-.imageLink, #displayArea .imageLink {background:transparent;}
-
-.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
-
-.viewer .listTitle {list-style-type:none; margin-left:-2em;}
-.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
-.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
-
-.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
-.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
-.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
-
-.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
-.viewer code {color:[[ColorPalette::SecondaryDark]];}
-.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
-
-.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
-
-.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
-.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
-.editorFooter {color:[[ColorPalette::TertiaryMid]];}
-.readOnly {background:[[ColorPalette::TertiaryPale]];}
-
-#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
-#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
-#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
-#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
-#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
-#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
-#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
-.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
-.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
-#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
-/*}}}*/
-</pre>
-</div>
-<div title="StyleSheetLayout">
-<pre>/*{{{*/
-* html .tiddler {height:1%;}
-
-body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
-
-h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
-h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
-h4,h5,h6 {margin-top:1em;}
-h1 {font-size:1.35em;}
-h2 {font-size:1.25em;}
-h3 {font-size:1.1em;}
-h4 {font-size:1em;}
-h5 {font-size:.9em;}
-
-hr {height:1px;}
-
-a {text-decoration:none;}
-
-dt {font-weight:bold;}
-
-ol {list-style-type:decimal;}
-ol ol {list-style-type:lower-alpha;}
-ol ol ol {list-style-type:lower-roman;}
-ol ol ol ol {list-style-type:decimal;}
-ol ol ol ol ol {list-style-type:lower-alpha;}
-ol ol ol ol ol ol {list-style-type:lower-roman;}
-ol ol ol ol ol ol ol {list-style-type:decimal;}
-
-.txtOptionInput {width:11em;}
-
-#contentWrapper .chkOptionInput {border:0;}
-
-.externalLink {text-decoration:underline;}
-
-.indent {margin-left:3em;}
-.outdent {margin-left:3em; text-indent:-3em;}
-code.escaped {white-space:nowrap;}
-
-.tiddlyLinkExisting {font-weight:bold;}
-.tiddlyLinkNonExisting {font-style:italic;}
-
-/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
-a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
-
-#mainMenu .tiddlyLinkExisting,
- #mainMenu .tiddlyLinkNonExisting,
- #sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
-#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
-
-.header {position:relative;}
-.header a:hover {background:transparent;}
-.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
-.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}
-
-.siteTitle {font-size:3em;}
-.siteSubtitle {font-size:1.2em;}
-
-#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
-
-#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
-#sidebarOptions {padding-top:0.3em;}
-#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
-#sidebarOptions input {margin:0.4em 0.5em;}
-#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
-#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
-#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
-#sidebarTabs .tabContents {width:15em; overflow:hidden;}
-
-.wizard {padding:0.1em 1em 0 2em;}
-.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
-.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
-.wizardStep {padding:1em 1em 1em 1em;}
-.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
-.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
-.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
-.wizard .button {padding:0.1em 0.2em;}
-
-#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
-.messageToolbar {display:block; text-align:right; padding:0.2em;}
-#messageArea a {text-decoration:underline;}
-
-.tiddlerPopupButton {padding:0.2em;}
-.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}
-
-.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
-.popup .popupMessage {padding:0.4em;}
-.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
-.popup li.disabled {padding:0.4em;}
-.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
-.listBreak {font-size:1px; line-height:1px;}
-.listBreak div {margin:2px 0;}
-
-.tabset {padding:1em 0 0 0.5em;}
-.tab {margin:0 0 0 0.25em; padding:2px;}
-.tabContents {padding:0.5em;}
-.tabContents ul, .tabContents ol {margin:0; padding:0;}
-.txtMainTab .tabContents li {list-style:none;}
-.tabContents li.listLink { margin-left:.75em;}
-
-#contentWrapper {display:block;}
-#splashScreen {display:none;}
-
-#displayArea {margin:1em 17em 0 14em;}
-
-.toolbar {text-align:right; font-size:.9em;}
-
-.tiddler {padding:1em 1em 0;}
-
-.missing .viewer,.missing .title {font-style:italic;}
-
-.title {font-size:1.6em; font-weight:bold;}
-
-.missing .subtitle {display:none;}
-.subtitle {font-size:1.1em;}
-
-.tiddler .button {padding:0.2em 0.4em;}
-
-.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
-.isTag .tagging {display:block;}
-.tagged {margin:0.5em; float:right;}
-.tagging, .tagged {font-size:0.9em; padding:0.25em;}
-.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
-.tagClear {clear:both;}
-
-.footer {font-size:.9em;}
-.footer li {display:inline;}
-
-.annotation {padding:0.5em; margin:0.5em;}
-
-* html .viewer pre {width:99%; padding:0 0 1em 0;}
-.viewer {line-height:1.4em; padding-top:0.5em;}
-.viewer .button {margin:0 0.25em; padding:0 0.25em;}
-.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
-.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
-
-.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
-.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
-table.listView {font-size:0.85em; margin:0.8em 1.0em;}
-table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}
-
-.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
-.viewer code {font-size:1.2em; line-height:1.4em;}
-
-.editor {font-size:1.1em;}
-.editor input, .editor textarea {display:block; width:100%; font:inherit;}
-.editorFooter {padding:0.25em 0; font-size:.9em;}
-.editorFooter .button {padding-top:0; padding-bottom:0;}
-
-.fieldsetFix {border:0; padding:0; margin:1px 0px;}
-
-.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
-.zoomer div {padding:1em;}
-
-* html #backstage {width:99%;}
-* html #backstageArea {width:99%;}
-#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
-#backstageToolbar {position:relative;}
-#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
-#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
-#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
-#backstage {position:relative; width:100%; z-index:50;}
-#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
-.backstagePanelFooter {padding-top:0.2em; float:right;}
-.backstagePanelFooter a {padding:0.2em 0.4em;}
-#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
-
-.whenBackstage {display:none;}
-.backstageVisible .whenBackstage {display:block;}
-/*}}}*/
-</pre>
-</div>
-<div title="StyleSheetLocale">
-<pre>/***
-StyleSheet for use when a translation requires any css style changes.
-This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
-***/
-/*{{{*/
-body {font-size:0.8em;}
-#sidebarOptions {font-size:1.05em;}
-#sidebarOptions a {font-style:normal;}
-#sidebarOptions .sliderPanel {font-size:0.95em;}
-.subtitle {font-size:0.8em;}
-.viewer table.listView {font-size:0.95em;}
-/*}}}*/
-</pre>
-</div>
-<div title="StyleSheetPrint">
-<pre>/*{{{*/
-@media print {
-#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
-#displayArea {margin: 1em 1em 0em;}
-noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
-}
-/*}}}*/
-</pre>
-</div>
-<div title="ViewTemplate">
-<pre>&lt;!--{{{--&gt;
-&lt;div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'&gt;&lt;/div&gt;
-&lt;div class='title' macro='view title'&gt;&lt;/div&gt;
-&lt;div class='subtitle'&gt;&lt;span macro='view modifier link'&gt;&lt;/span&gt;, &lt;span macro='view modified date'&gt;&lt;/span&gt; (&lt;span macro='message views.wikified.createdPrompt'&gt;&lt;/span&gt; &lt;span macro='view created date'&gt;&lt;/span&gt;)&lt;/div&gt;
-&lt;div class='tagging' macro='tagging'&gt;&lt;/div&gt;
-&lt;div class='tagged' macro='tags'&gt;&lt;/div&gt;
-&lt;div class='viewer' macro='view text wikified'&gt;&lt;/div&gt;
-&lt;div class='tagClear'&gt;&lt;/div&gt;
-&lt;!--}}}--&gt;
-</pre>
-</div>
-
-</div>
-<!--POST-SHADOWAREA-->
-<div id="storeArea">
-<div title="/etc/network/interfaces" modifier="makefu" created="201103082153" modified="201310162354" tags="network" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201103082302" changecount="1">
-<pre>!static network
-{{{
-auto eth1 # come up automatically
-iface et1 inet static
- address 192.168.0.24
- netmask 255.255.255.0
-# gateway 192.168.0.23
-}}}
-! for wpa_supplicant
-{{{
-auto wlan0
-allow-hotplug wlan0
-iface wlan0 inet dhcp
- wpa-ssid meinessid
- wpa-psk meinpasswort
-}}}</pre>
-</div>
-<div title="16 May 2013" modifier="makefu" created="201305161300" tags="journal" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201305161300">
-<pre>Type the text for '16 May 2013'</pre>
-</div>
-<div title="Acer1810tz" modifier="Felix" created="201101311616" modified="201103280306" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201103280306">
-<pre>!usb hotplugging
-hotfix for not nonfuct hotplugging (which is probably a problem with either laptop-mode,udev,dbus or usb-autosuspend)
-{{{
-modprobe -r uhci-hcd
-modprobe uhci-hcd
-}}}
-!brightness
-/sys/class/backlight/acpi_video0/brightness
-!fan control
-via module acerhdf_kmod ( http://piie.net/index.php?section=acerhdf )
-add line for my bios to the array of supported hw in acerhdf.c :
-{{{
-/* Acer 1810TZ */
-/// changed in new version
-
-{&quot;Acer&quot;, &quot;Aspire 1810TZ&quot;, &quot;v0.3108&quot;, 0x55, 0x58, {0x9e, 0x00} },
-{&quot;Acer&quot;, &quot;Aspire 1810TZ&quot;, &quot;v0.3113&quot;, 0x55, 0x58, {0x9e, 0x00} },
-{&quot;Acer&quot;, &quot;Aspire 1810TZ&quot;, &quot;v0.3115&quot;, 0x55, 0x58, {0x9e, 0x00} },
-{&quot;Acer&quot;, &quot;Aspire 1810TZ&quot;, &quot;v0.3117&quot;, 0x55, 0x58, {0x9e, 0x00} },
-
-}}}
-!Synaptic Touchpad
-Fix crappy touchpad, enable twofinger scrolling
-in {{{ /etc/X11/xorg.conf.d/96-synaptics-twofinger.conf }}}
-{{{
-Section &quot;InputClass&quot;
-Identifier &quot;touchpad two finger scrolling&quot;
-MatchIsTouchpad &quot;on&quot;
-MatchDevicePath &quot;/dev/input/event*&quot;
-Option &quot;HorizScrollDelta&quot; &quot;0&quot;
-Option &quot;MinSpeed&quot; &quot;0.5&quot;
-Option &quot;MaxSpeed&quot; &quot;0.5&quot;
-#Option &quot;AccelFactor&quot; &quot;0.0010&quot;
-Option &quot;EmulateTwoFingerMinZ&quot; &quot;40&quot;
-Option &quot;EmulateTwoFingerMinW&quot; &quot;11&quot;
-Option &quot;VertTwoFingerScroll&quot; &quot;True&quot;
-Option &quot;HorizTwoFingerScroll&quot; &quot;True&quot;
-Option &quot;VertEdgeScroll&quot; &quot;False&quot;
-Option &quot;HorizEdgeScroll&quot; &quot;False&quot;
-Option &quot;JumpyCursorThreshold&quot; &quot;250&quot;
-Driver &quot;synaptics&quot;
-EndSection
-}}}</pre>
-</div>
-<div title="All Tiddlers" modifier="Felix" created="201101311521" modified="201103291131" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201103291131">
-<pre>&lt;&lt;list&gt;&gt;</pre>
-</div>
-<div title="Alsa" modifier="makefu" created="201103201603" modified="201308011302" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201307151853" changecount="2">
-<pre>! asoundrc
-!! find &lt;card&gt;,&lt;device&gt;
-see aplay -l
-!! get hdmi sound working
-in /etc/asoundrc (or ~/.asoundrc )
-{{{
-pcm.!default {
- type plug
- slave {
- pcm &quot;hw:&lt;card&gt;,&lt;device&gt;&quot;
- rate 48000
- }
-}
-}}}
-!! use dmix instead of direct device
-
-{{{
-pcm.dmixer {
- type dmix
- ipc_key 1024
- ipc_key_add_uid false
- ipc_perm 0660
- slave {
- pcm &quot;hw:0,0&quot;
- rate 48000
- channels 2
- format S32_LE
- period_time 0
- period_size 1024
- buffer_time 0
- buffer_size 4096
- }
-}
-
-pcm.!default {
- type plug
- slave.pcm &quot;dmixer&quot;
-}
-}}}
-! mplayer with different device
-{{{
-mplayer -ao alsa:device=bluetooth FILE # play over bluetooth
-mplayer -ao alsa:device=hw=2.0 FILE # play over different hardware card (like usb audio)
-}}}</pre>
-</div>
-<div title="Amazon Web Service" modifier="Felix" created="201104092254" modified="201104092308" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201104092308">
-<pre>! generate credentials
-go to https://aws-portal.amazon.com/gp/aws/developer/account/index.html
-! install ec2 webservices
-{{{
-#? /bin/bash
-wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
-unzip ec2-api-tools.zip
-mv ec2-api-tools .ec2
-
-echo &quot;mv ~/Downloads/*.pem .ec2&quot;
-read &quot;you will probably need to do this&quot;
-cd .ec2
-cat &gt; change_env &lt;&lt; EOF
-export EC2_HOME=~/.ec2
-export PATH=$PATH:$EC2_HOME/bin
-export EC2_PRIVATE_KEY=`ls $EC2_HOME/pk-*.pem`
-export EC2_CERT=`ls $EC2_HOME/cert-*.pem`
-export JAVA_HOME=/opt/java/jre
-EOF
-source change_env
-ec2-describe-images -o amazon
-ec2-create-keypair bobkhan &gt;bobkhan.pem
-
-ec2-authorize default -p 22
-}}}
-! create instance
-
-{{{
-cd
-source .ec2/change_env
-ec2-run-instances ami-8c1fece5 -k bobkhan -t t1.micro
-ec2-describe-instances
-#look for the global dns name
-ssh -i bobkhan.pem ec2-user@$ec2-instance-name
-}}}
-</pre>
-</div>
-<div title="Analyze Blobs" creator="makefu" modifier="makefu" created="201309241419" modified="201309241422" changecount="3">
-<pre>! using binwalk
-!! extract filesystem
-{{{
-$ binwalk openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
-
-DECIMAL HEX DESCRIPTION
--------------------------------------------------------------------------------------------------------------------
-512 0x200 LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 2910740 bytes
-957612 0xE9CAC Squashfs filesystem, little endian, version 4.0, compression: size: 2356427 bytes, 653 inodes, blocksize: 262144 bytes, created: Mon Sep 23 20:26:40 2013
-$ dd if=openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin skip=957612 bs=1 of=fs.squashfs
-$ unsquashfs fs.squashfs
-
-}}}
-!! Entropy analysis
-{{{
-binwalk -E binary
-}}}</pre>
-</div>
-<div title="Anschriften" modifier="Felix" created="201108071234" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201108071234">
-<pre>! Melissa Tiono
-!! Zuhause
-Ludwig-Roselius-Allee 89
-28329 Bremen
-
-Haltestelle: Wilhelm busch weg
-
-! Silvia Richter
-Dahmestr. 8
-Haltestelle: Joachimstr</pre>
-</div>
-<div title="Bluetooth Headset" modifier="Felix" created="201101311618" modified="201103061210" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201103061210">
-<pre>!Troubleshooting
-* Rauschen
-* check with:
-{{{ arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE}}}
-* physically disconnect bluetooth and connect again
-* unpair headset
-{{{/etc/rc.d/bluetooth restart}}}
-{{{bluetooth-applet}}} # connect to bt-headset again
-//check again
-</pre>
-</div>
-<div title="Buffalo LinkStation LS-WVL" modifier="makefu" created="201305022357" modified="201305030000" server.type="file" server.host="file:///home/makefu/Downloads/knowledge_base.html" server.page.revision="201305030000">
-<pre>! TFTP Flashing
-Problem:
-- The Error LED is blinking 6x short (No firmware found)
-
-!! Bring into Recovery Mode
-{{{
-ifconfig eth0 192.168.11.1 up
-ethtool eth0 # just to see if ethernet is working and link is up
-
-# the TFTP Boot stuff
-wget -O tftp.rar http://download.discountnetz.com/tftp-boot-recovery/TFTP%20Boot%20Recovery%201.53.rar
-unrar x tftp.rar
-cd TFTP*
-sudo in.tftpd -l -s -L $PWD
-# press the &quot;function Button&quot;, the blue Power LED is blinking
-}}}
-!! Flash The new Firmware