<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / threads" -->
				<rss  version="2.0">
				<channel>
				<title>: Forum / threads</title>
				<link>www.blufudge.com/</link>
				<description>The blufudge IRC network</description>

<language>en-gb</language>
				<copyright></copyright>
				<managingEditor>setone@nospam.com (setone@diggedy.com)</managingEditor>
				<webMaster>setone@nospam.com (setone@diggedy.com)</webMaster>
				<pubDate>Thu, 09 Sep 2010 06:44:22 +0200</pubDate>
				<lastBuildDate>Thu, 09 Sep 2010 06:44:22 +0200</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
						<item>
						<title>HowTo: Medibuntu and Codeces</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?55</link>
<description><![CDATA[Hi Folks,<br /><br />this is a short copy &amp; paste HowTo.<br /><br />After a fresh installation of our Ubuntu or Ubuntubased distribution ou often have the problem that you can't play all Video and Audiofiles cause of missing Codecs. If you paste the following lines to a Terminal ( xTerm, Console etc.) the System will install the most used Codecs to you sstem:<br /><br /><br />The Commands do the Following:<br /><br /><ul class='bbcode'><li class='bbcode'>Update our /etc/apt/sources.list with the Medibuntu-Repo</li></ul><br /><ul class='bbcode'><li class='bbcode'>Update your apt database</li></ul><br /><ul class='bbcode'><li class='bbcode'>Install the Keyring to allow access to the Repo</li></ul><br /><ul class='bbcode'><li class='bbcode'>Install some Codecs for daily use</li></ul><br /><br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">sudo&nbsp;wget&nbsp;http://www.medibuntu.org/sources.list.d/$(lsb_release&nbsp;-cs).list&nbsp;\<br />&nbsp;--output-document=/etc/apt/sources.list.d/medibuntu.list&nbsp;&amp;&amp;<br />sudo&nbsp;apt-get&nbsp;-q&nbsp;update&nbsp;&amp;&amp;<br />sudo&nbsp;apt-get&nbsp;--yes&nbsp;-q&nbsp;--allow-unauthenticated&nbsp;install&nbsp;medibuntu-keyring&nbsp;&amp;&amp;<br />sudo&nbsp;apt-get&nbsp;-q&nbsp;update<br />sudo&nbsp;apt-get&nbsp;install&nbsp;libxvidcore4&nbsp;gstreamer0.10-plugins-base&nbsp;gstreamer0.10-plugins-good&nbsp;gstreamer0.10-plugins-ugly&nbsp;gstreamer0.10-plugins-ugly-multiverse&nbsp;gstreamer0.10-plugins-bad&nbsp;gstreamer0.10-plugins-bad-multiverse&nbsp;gstreamer0.10-ffmpeg&nbsp;gstreamer0.10-pitfdll&nbsp;</span></code></div><br /><br /><br />yours,<br />bubulein]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Thu, 08 Apr 2010 18:18:01 +0200</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?55</guid>
</item>
						<item>
						<title>HowTo compile Linux Wirelessdriver</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?54</link>
<description><![CDATA[This HowTo describe in short steps the compilation of the Wirelessdriver provided by the Compat Wirless Project.<br />The Projectpage is located at <br /><br />http://linuxwireless.org/<br /><br />For a list of supported NIC and Chips see <br /><br />http://linuxwireless.org/en/users/Devices<br /><br />The steps are tested under Ubuntu<br />Linux nick 2.6.32-18-generic #27-Ubuntu SMP Fri Mar 26 19:51:10 UTC 2010 i686 GNU/Linux<br /><br />Update you headerfiles:<br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />sudo&nbsp;apt-get&nbsp;install&nbsp;--reinstall&nbsp;linux-headers-$(uname&nbsp;-r)&nbsp;build-essential<br /></span></code></div><br /><br />Download the actual Compat_Wireless source from<br /><br />http://linuxwireless.org/download/compat-wireless-2.6/<br /><br />Then unpack, compile and install the driver<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />tar&nbsp;jxvf&nbsp;compat-wireless-2010*.tar.bz2<br /><br />cd&nbsp;compat-wireless-2010-&lt;change-this&gt;/<br /><br />make&nbsp;install&nbsp;clean<br /></span></code></div><br /><br />After a reboot your wirless nic should be regonized:<br /><br />use the <br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">&nbsp;ifconfig</span></code></div><br /><br /> command to check this.<br /><br />With<br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />iwlist&nbsp;wlan0&nbsp;scan</span></code></div><br /><br />You can search for Accesspoints.<br /><br />thx,<br />bubulein<br /><br />Feel free to ask for help in the irc-chat.<br /><br />thx to<br /><br />The Ladies who wrote the driver<br />Fudge and kyle to improve my "very good" english *G*<br />]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Thu, 01 Apr 2010 15:28:06 +0200</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?54</guid>
</item>
						<item>
						<title>How to add a BigBrother to your FreeNAS with chroot</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?53</link>
<description><![CDATA[<strong class='bbcode bold'>FreeNAS get's an BigBrother</strong><br /><a href="http://tmcc.dyndns.org:8080/mailto:bubulein@mail.com" class="bbcode" rel="external">bubulein@mail.com</a><br />primary location: http://www.blufudge.net<br /><br /><br /><strong class='bbcode bold'>How to add a BigBrother to your FreeNAS with chroot</strong><br /><br />What is FreeNAS ... <br /><br /><div class='indent'>FreeNAS is a free network-attached storage server, supporting: CIFS (Samba), FTP, NFS, rsync, AFP protocols, iSCSI, S.M.A.R.T., local user authentication, and software RAID (0,1,5), with a web-based configuration interface. FreeNAS takes less than 64 MB once installed on CompactFlash, hard drive or USB flash drive.[1] FreeNAS is currently distributed as an ISO image and in source form. It is possible to run FreeNAS from a Live CD, with the configuration files stored on an MS-DOS-formatted floppy disk or USB thumb drive. </div><br />source: http://en.wikipedia.org/wiki/Freenas<br /><br />Homepage: http://www.freenas.org<br /><br /><br />Tested on<br /><br /><br /> Version 0.7.1 Shere (revision 4997) <br /> Built on Mon Jan 25 18:54:44 UTC 2010 <br /> OS Version FreeBSD 7.2-RELEASE-p6 (revision 199506) <br /> Platform amd64-embedded on Intel(R) Atom(TM) CPU 330 @ 1.60GHz<br /><br /><strong class='bbcode bold'>Disk Layout</strong><br /><br /><br /> <br />   /dev/ad8p1 /mnt/home<br /> ufs HOME<br /> Home<br /> read  write<br /><br />  /dev/ad12.elip1 /mnt/media<br /> ufs / AES 128 encrypted<br /> MEDIA<br /> Audio, Video, Pictures<br /> read only<br /><br />  /dev/ad13.elip1 /mnt/chroot<br /> ufs / AES 128 encrypted<br /> BigBrother<br /> chroot - Home of the BigBrother<br /> read write<br /><br />  /dev/da1.elip1 /mnt/BACKUP001<br /> ufs / AES 128 encrypted<br /> BACKUP001<br /> externel USB-Backupdrive<br /> read write<br /><br /><br /><strong class='bbcode bold'>Setting up the chroot</strong><br /><br /><div class='indent'>Definition: chroot (jail): A UNIX feature that creates a limited sandbox allowing a process to view only a single subtree of the filesystem. The jail call in BSD is a more advanced version for creating the same sort of sandbox. Point: In order for it to work properly, some common programs and libraries (e.g. /bin/ sh, /usr/lib/libc.so.1, ...) need to be copied/linked to the appropriate locations in the new directory tree. Key point: A process running with root access can break out of a chrooted environment. Therefore, it should be used in conjunction with setuid.</div><br /><br />dont know where i have stolen the definition ;)<br /><br /><br /><br />copy &amp; paste only if u know what you are doing<br /><br /><br /> #!/bin/sh<br /># choose a directory to download the FreeBSD 7.2 ISO. If you are running i386 just replace amd64 with i386.<br /><br />cd /mnt/home<br />fetch ftp:/ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/7.2/7.2-RELEASE-amd64-disc1.iso<br /><br /># now we need to mount the downloaded ISO ( via WebUI or command line)<br /><br />mkdir /mnt/7.2-Release<br />mdconfig -a -t vnode -f /mnt/home/7.2-RELEASE-amd64-disc1.iso -u 2<br />mount -t cd9660 /dev/md2 /mnt/7.2-Release/<br /><br /># now we install our chroot<br /><br />cd /mnt/7.2-Release/7.2-RELEASE/base/<br />cat base.?? | tar --unlink -xpzf - -C /mnt/chroot/<br /><br /># now we change to our chroot dir and take at look what we have done<br /><br /><br />cd /mnt/chroot/<br />ls -la<br /><br /># now we take a look how much space we use, not necesarry, but interesting<br /><br />du -hc ./<br /><br />#  152 mb total. later we clean up<br />#<br /># Now we need to mount /dev and /proc to get a working chroot<br /><br />mount_nullfs /dev/ /mnt/chroot/dev/<br />mount_nullfs /proc/ /mnt/chroot/proc/<br /><br /># copy your network settings from FreeNAS into the chroot<br /><br />cp /etc/hosts /etc/resolv.conf /mnt/chroot/etc/<br /><br /># now we have a simple FreeBSD running<br /># time to enter our chroot the first time<br /><br />chroot /mnt/chroot<br />pwd<br /><br /># now we see just a / , and we are inside our jail.<br /><br />uname -a<br /><br /># uname -a shows you that you still using the FreeNAS kernel, <br /># also you do not need more Memory or CPU resources ( ok, chroot need less then 1%)<br />#<br /># to exit the chroot just type <br /><br />exit<br /><br />Currently we do not have made any perisist changes to our FreeNAS installtion.<br />If your reboot your system /dev /proc are unmounted. And our chroot enviroment is just a directory on our FreeNAS.<br />If you never used freebsd before, this is the right moment to play around withit. Inside the jail you can do everything you whantwithout affecting your FreeNAS installation.<br />Also your stored data are uneffected by the chroot. <br />Even a "rm -rf /" wouldn't effect your FreeNAS.To make all your changes perisistent, do following.<br /><br />Add<br /><br /> mount_nullfs /dev/ /mnt/chroot/dev/ &amp;&amp; mount_nullfs /proc/ /mnt/chroot/proc/<br />to your FreeNAS configuration:<br /><br />WebUI >  System > Advanced > Command scripts <br /><br />Type "PostInit"<br /><br /><br /><strong class='bbcode bold'>And now?</strong><br /><br />Well, now its time to get an overview about FreeBSD. A good starting point is the FreeBSD Handbook available in many languages.<br /><br /><a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/" class="bbcode" rel="external">FreeBSD Handbbok &lt;> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/</a><br /><br />But, wait, lets play around with the chroot. Now we enter the chrootand download and "install" the hanbook and the manual pages.<br />First a good hint. If  you have questions feel free to emailme,  and if you use a forum or ask on the irc point them to the FreeNAShomepage and the origin location of this tutorial cause a chroot isntthe same like an full installed FreeBSD, do that just to avoid beeingmissunderstood.<br /><br /><br /><strong class='bbcode bold'>Installing the Handbook and Manualpages</strong><br />There are many ways to do this. If you never had direct contact toFreeBSD a good start is the "sysinstall" util. Its used to installFreeBSD and do changes,<br />Btw, keep in mind<br /><br />THIS CHROOT ISN'T A DESKTOP, IT IS A SERVER<br /><br />If you enter the sysinstall util now, perhaps its a goodidea that you read the dokumentation of an application before youinstall it. It dont make sense to setup a X-Desktop enviroment onyour  FreeNAS, but it isnt impossible.<br /><br />Ok, i know, i talk too much let's enter the chroot and install the Handbook and Manualpages.<br /><br /><br /> chroot /mnt/chroot<br />sysinstall<br /><br />#<br />#<br /># The sysinstall tool is a simple, but powerfull tool. Watch your steps<br />#<br /># First i just whant you point to the steps to get the Dokumentation<br />#<br />#<br /># Go to<br /><br /><ul class='bbcode'><li class='bbcode'>Configure<ul class='bbcode'><li class='bbcode'>Options<ul class='bbcode'><li class='bbcode'>move to Release Name<ul class='bbcode'><li class='bbcode'>change 7.2-Release-p6 , select with SPACE<ul class='bbcode'><li class='bbcode'>to 7.2-Release, cause -p6 is the patchlevel ( like updates)<ul class='bbcode'><li class='bbcode'>If you dont change this "sysinstall" <br /></li><li class='bbcode'>cant find the download location on the serverpress ENTER, and ESC to leave the Menu<br /></li></ul></li></ul></li></ul></li></ul></li></ul><ul class='bbcode'><li class='bbcode'>Media<ul class='bbcode'><li class='bbcode'>Choose your installation Media. I suggest</li><li class='bbcode'>FTP</li><li class='bbcode'>Choose a Mirror next to you</li></ul></li></ul></li></ul><ul class='bbcode'><li class='bbcode'><ul class='bbcode'><li class='bbcode'>Configure Network<ul class='bbcode'><li class='bbcode'>Should be done during setup of the chroot ( FreeNAS  networksettings)<br /></li></ul></li></ul></li></ul><ul class='bbcode'><li class='bbcode'> Now you are on the Menue again<ul class='bbcode'><li class='bbcode'>go to Distribution<ul class='bbcode'><li class='bbcode'>doc</li><li class='bbcode'>man</li><li class='bbcode'>jump with TAB to OK and press ENTERNow sysinstall should download and extract the requested files<br /></li></ul></li></ul></li></ul> <br />Ok, now you have the basic documentaion and the manualpages.<br />You can find the Handbook under<br /><br /><br /> /usr/local/share/doc/freebsd/handbook<br /><br />To find out how to use the manualpages just type <br /><br /><br /> man man<br /><br />#<br /># i suggest<br /><br />man hier<br /><br /># to see where you can find which files<br /><br /><br /><br />I whant to expand this document every 2 days, so feel free to come back.<br /><br />Question and commnts to the forum or  at the irc-net server: irc.blufudge.net channel #holodeck<br /><br />yours,<br />bubulein@mail.com<br /><br />]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Sat, 13 Mar 2010 15:19:31 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?53</guid>
</item>
						<item>
						<title>New logo!</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?48</link>
<description><![CDATA[And new colors for design, site is updated :)]]></description>
<author>christian.brachel@nospam.com (ckb)</author>
<pubDate>Fri, 05 Mar 2010 20:13:35 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?48</guid>
</item>
						<item>
						<title>WLAN with WPA-PSK encryption on Ubuntu &amp; Debian Linux</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?47</link>
<description><![CDATA[WLAN with WPA-PSK encryption on Ubuntu &amp; Debian Linux<br /><br />Category:<br /><br />Network, Wireless<br /><br />Difficulty: medium<br /><br />Tested on/for:<br />	Ubuntu 9.10 Karmic Koala<br />	Debian GNU/Linux 5.0.x<br /><br />bubulein@mail.com<br /><br /><br />How to connect to the Internet via wlan and WPA.<br />In this text i assume that the system has detected the correct driver for your wireless interface.<br />I do not describe additional commands, only the basic steps to get  a quick success.<br /><br />Commands start with a leading #<br /><br />Step 1<br /><br />Find the access point and get information about the encryption<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;sudo&nbsp;iwlist&nbsp;scanning</span></code></div><br /><br />The output should look like this:<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">&nbsp;<br />&nbsp;IE:&nbsp;IEEE&nbsp;802.11i/WPA2&nbsp;Version&nbsp;1<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Group&nbsp;Cipher&nbsp;:&nbsp;TKIP<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pairwise&nbsp;Ciphers&nbsp;(2)&nbsp;:&nbsp;CCMP&nbsp;TKIP<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authentication&nbsp;Suites&nbsp;(1)&nbsp;:&nbsp;PSK</span></code></div><br /><br />This 4 lines, the name of the Access-point ( ssid) and your password give you all the information you need for a successful connection.<br /><br /><br />Step 2<br /><br />Create a wpa_supplicant configuration file.<br /><br />This file include all information we get with the previous command.<br /><br /><br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;sudo&nbsp;nano&nbsp;/etc/wpa_supplicant/wpa_supplicant.conf</span></code></div><br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />network={<br />&nbsp;&nbsp;&nbsp;&nbsp;ssid="your_ssid_here"<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;scan_ssid=1<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;key_mgmt=WPA-PSK<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;psk="yourpass_here"<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;proto=WPA<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;pairwise=TKIP<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;group=TKIP<br />}<br /></span></code></div><br /><br />The "ssid" is set in the configuration of your router. <br /><br /><br />pairwise and group depend on the output of <br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;sudo&nbsp;iwlist&nbsp;scanning</span></code></div><br /><br />perhaps u have to change this two lines to<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />pairwise=CCMP<br /><br />group=TKIP</span></code></div><br /><br />or<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />pairwise=CCMP<br /><br />group=CCMP</span></code></div><br /><br />Safe your file with Ctrl + X ENTER<br /><br />Step 3<br /><br />Testing the configuration<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;sudo&nbsp;wpa_supplicant&nbsp;-i&nbsp;wlan0&nbsp;-D&nbsp;wext&nbsp;-c&nbsp;/etc/wpa_supplicant/wpa_supplicant.conf&nbsp;-d</span></code></div><br /><br />where <br />-i = interface<br />-D = driver<br />-c = configuration file<br />-d = simple debugging (increase debugging level with -dd )<br /><br />Now run <br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;iwconfig&nbsp;</span></code></div><br /><br />to see if everything works:<br />	<br />You can cancel with ctrl+C<br /><br />If u replace -d with -B the connection should be established and run in background mode.<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;sudo&nbsp;dhclient&nbsp;wlan0</span></code></div><br /><br />Connects you to your dhcp server and give you and ip.<br /><br />Note: <br />Enter your nameserver to /etc/resolv.conf<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">nameserver&nbsp;192.168.1.1&nbsp;</span></code></div><br /><br />( normally DHCP should do that for you)<br /><br />Step 4<br /><br />Activating wpa_supplicant<br /><br />modify your interface configuration with<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;sudo&nbsp;nano&nbsp;/etc/network/interfaces</span></code></div><br /><br />Your file should look like that<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />#&nbsp;This&nbsp;file&nbsp;describes&nbsp;the&nbsp;network&nbsp;interfaces&nbsp;available&nbsp;on&nbsp;your&nbsp;system<br /><br />#&nbsp;and&nbsp;how&nbsp;to&nbsp;activate&nbsp;them.&nbsp;For&nbsp;more&nbsp;information,&nbsp;see&nbsp;interfaces(5).<br /><br />#&nbsp;The&nbsp;loopback&nbsp;network&nbsp;interface<br /><br />auto&nbsp;lo<br /><br />iface&nbsp;lo&nbsp;inet&nbsp;loopback<br /><br />#&nbsp;The&nbsp;primary&nbsp;network&nbsp;interface<br /><br />auto&nbsp;wlan0<br /><br />iface&nbsp;wlan0&nbsp;inet&nbsp;dhcp<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wpa-conf&nbsp;/etc/wpa_supplicant/wpa_supplicant.conf<br /></span></code></div><br /><br />For a static IP replace dhcp with your ip. ( not tested)<br /><br />In some cases u have to add the driver to this file.<br />insert<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">wpa-driver&nbsp;wext</span></code></div><br /><br />after iface wlan0 inet dhcp.<br /><br />Her is a short list of the drivers:<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />hostap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Host&nbsp;AP&nbsp;driver&nbsp;(Intersil&nbsp;Prism2/2.5/3)<br /><br />madwifi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MADWIFI&nbsp;802.11&nbsp;support&nbsp;(Atheros,&nbsp;etc.)<br /><br />atmel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ATMEL&nbsp;AT76C5XXx&nbsp;(USB,&nbsp;PCMCIA)<br /><br />wext&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Linux&nbsp;wireless&nbsp;extensions&nbsp;(generic),&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;standard&nbsp;driver&nbsp;if&nbsp;the&nbsp;other&nbsp;drivers&nbsp;do&nbsp;not&nbsp;work.<br /><br />ndiswrapper&nbsp;&nbsp;&nbsp;&nbsp;Linux&nbsp;ndiswrapper<br /><br />wired&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wired&nbsp;Ethernet&nbsp;driver</span></code></div><br /><br />Step 5<br /><br />Starting the connection and adding an entry for auto connect on boot.<br />To connect use, or add this two lines without # to /etc/rc.local .<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;ifdown&nbsp;wlan0<br /><br />#&nbsp;ifup&nbsp;wlan0&nbsp;</span></code></div><br /><br /><br />Bye bubulein@mail.com<br /><br />If u have question feel free to send me an email or ask at <br />irc://bludufge.net/#holodeck<br />irc://bubulein@chat.freenode.net<br /><br /><br /><br />]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Wed, 03 Mar 2010 02:20:43 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?47</guid>
</item>
						<item>
						<title>Installing Emacspeak HOWTO</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?42</link>
<description><![CDATA[Installing Emacspeak HOWTO<br /><br /><br />Note: I just pasted this howto to give some information about the abilities of Emacs and his screen reader.<br />Some people say Emacs is a operating system without an editor.<br />Its hard to learn the first steps while using Emacs. But if u master Emacs its a helpful piece of software.<br />Emacs also include:<br />irc chat<br />email<br />net news<br /><br />bubulein@mail.com  <br /><br /><br />Jennifer Jobst<br /><br />James Van Zandt<br /><br />jrv@vanzandt.mv.com<br />Revision History                                                             <br />Revision 1.1                    July 23, 2002           Revised by: SDS      <br />Updated the maintainer of this document to Sharon Snider, corrected links,   <br />and converted to XML.                                                        <br />Revision 1.0                    December 4, 2001        Revised by: JEJ      <br />First release                                                                <br />Revision 1.0 DRAFT              November 9, 2001        Revised by: JEJ      <br />DRAFT                                                                        <br />Revision Emacspeak HOWTO        1996-2001               Revised by: JVZ      <br />Previously, this document was known as the Emacspeak HOWTO, and was written  <br />and maintained by Mr. James Van Zandt.                                       <br /><br /><br />This document contains the installation instructions for the Emacspeak audio<br />desktop application for Linux.<br /><br />Please send any comments, or contributions via e-mail to [mailto:<br />snidersd@us.ibm.com] Sharon Snider. This document will be updated regularly<br />with new contributions and suggestions.<br /><br />-----------------------------------------------------------------------------<br />Table of Contents<br />1. Legal Notice<br />2. Introduction<br />3. Documentation Conventions<br />4. Requirements<br />    4.1. Linux Distributions<br />    4.2. Emacs<br />    4.3. Background applications<br />    4.4. Speech Synthesizers<br />   <br />   <br />5. Installing Emacspeak<br />6. Frequently Asked Questions (FAQs)<br />7. Additional resources<br />8. Appendix A: Installing Linux from a DOS machine<br />    8.1. Requirments<br />    8.2. Connecting the computers<br />    8.3. Installation<br />   <br />   <br />9. Appendix B: Installing ViaVoice TTS<br />    9.1. Downloading ViaVoice<br />    9.2. Installing ViaVoice RTK<br />    9.3. Installing ViaVoice SDK<br />    9.4. Testing the installation<br />   <br />   <br />10. Acknowledgments<br /><br />1. Legal Notice<br /><br />This document is Copyright © 2001 IBM. Permission is granted to copy,<br />distribute and/or modify this document under the terms of the GNU Free<br />Documentation License, Version 1.1 or any later version published by the Free<br />Software Foundation with no Invariant Sections, no Front-Cover Texts, and no<br />Back-Cover Texts. A copy of the license can be found at [http://www.gnu.org/<br />license/fdl.txt] http://www.gnu.org/license/fdl.txt.<br />-----------------------------------------------------------------------------<br /><br />2. Introduction<br /><br />Emacspeak is a Linux application that allows users to get synthesized speech<br />output inside the Emacs desktop environment. Because Emacspeak is actually<br />integrated into the Emacs environment (instead of just running "on top" of an<br />environment like most screen readers), Emacspeak provides much more<br />context-specific information than its commercial screen reader counterparts.<br />In this sense, Emacspeak is not a "screen reader," but rather a subsystem of<br />Emacs that produces speech output.<br /><br />Although Emacspeak only works inside Emacs, there are a large number of both<br />built-in and add-on applications for Emacs that do everything from keeping<br />track of your appointments to playing CDs to coding HTML. In addition, Emacs<br />has a special command shell mode that can be used to run any command-line<br />application.<br /><br />This HOWTO focuses on installing Emacspeak on your Linux system. It does not<br />discuss how to actually use Emacs or Emacspeak - for information on usage,<br />refer to the Emacspeak User's Guide, available at [http://www.tldp.org/<br />guides.html#espk] http://www.tldp.org/guides.html#espk.<br />-----------------------------------------------------------------------------<br /><br />3. Documentation Conventions<br /><br />As per the LDP Author Guide, this HOWTO uses the following documentation<br />conventions:<br /><br />File Names:           file.extension                 <br />Commands to be typed: command                        <br />Command prompt:       > (unless otherwise specified) <br /><br />-----------------------------------------------------------------------------<br />4. Requirements<br /><br />There are a number of things you must have before you install Emacspeak,<br />including Linux, a Linux-compatible sound card, Emacs, and a hardware or<br />software speech synthesizer. You should read this section carefully before<br />installing Emacspeak, because Emacspeak will not function correctly if any of<br />the requirements are missing.<br />-----------------------------------------------------------------------------<br /><br />4.1. Linux Distributions<br /><br />This HOWTO assumes that you have already installed Linux on your system. If<br />not, you may wish to refer to the "Linux Information Sheet" by Michael K.<br />Johnson a [http://www.linuxdoc.org/HOWTO/INFO-SHEET.html] http://<br />www.linuxdoc.org/HOWTO/INFO-SHEET.html. It provides an introduction to Linux,<br />discusses some hardware requirements, and also has a section on how to obtain<br />Linux.<br /><br />There are a number of different Linux distributions (distros) that you can<br />choose from. All of the distros are based upon the same basic Linux code, or<br />kernel, but each distro has a different installation process, features, and<br />support options. Martin Wheeler's "Distributions HOWTO," at [http://<br />www.linuxdoc.org/HOWTO/Distributions-HOWTO/index.html] http://<br />www.linuxdoc.org/HOWTO/Distributions-HOWTO/index.html, discusses the pros and<br />cons of a number of Linux distros. You can also find information about each<br />distribution on their respective web sites. Those distros known to support<br />Emacspeak are listed below with their URLs:<br /><br />  * Debian Linux - [http://www.debian.org] http://www.debian.org<br />   <br />  * Mandrake Linux - [http://www.mandrakelinux.com/en/] http://<br />    www.mandrakelinux.com/en/<br />   <br />  * Red Hat Linux - [http://www.redhat.com] http://www.redhat.com<br />   <br />  * Slackware Linux - [http://www.slackware.com] http://www.slackware.com<br />   <br />  * SuSE Linux - [http://www.suse.com] http://www.suse.com<br />   <br />  * TurboLinux - [http://www.turbolinux.com] http://www.turbolinux.com<br />   <br /><br />All of the distributions listed above can be downloaded free of charge from<br />their respective web sites. However, the downloads are quite large, so you'll<br />need a fast Internet connection. You will also need access to a CD burner, to<br />burn your own CDs from the images you download. Depending on the<br />distribution, you may also have to download and make a boot floppy. Once you<br />have burned the CDs and created the boot floppy, you can install Linux.<br />Alternatively, you can purchase the disks at your local computer store for<br />between $30 and $80 US. Both of these options are discussed at length in the<br />Linux Installation HOWTO at [http://www.linuxdoc.org/HOWTO/Installation-HOWTO<br />/overview.html] http://www.linuxdoc.org/HOWTO/Installation-HOWTO/<br />overview.html, so you may want to refer there before making a decision as to<br />which route to take.<br /><br />Most methods of installation require sighted assistance. However, if you<br />prefer to install Linux yourself, there are two options. The first is to<br />install Linux from a DOS machine running JAWS. This option requires two<br />machines, a null modem cable, JAWS for DOS, and a hardware speech<br />synthesizer. More information on this option can be found in, Appendix A. The<br />second option is installing one of the distributions that includes a Speakup<br />kernel patch. This option requires a Speakup-enabled distro and a hardware<br />synthesizer. Speakup is a screen reader that is patched into the kernel, so<br />it starts talking at boot and will speak during the entire installation.<br />Currently, Speakup is supported on Debian, Red Hat 7.1, and Slackware. The<br />Speakup option also requires you to download the CD images and make your own<br />CDs. Refer to the Speakup home page at [http://www.linux-speakup.org] http://<br />www.linux-speakup.org for instructions for this option.<br /><br />For assistance with installing Linux, Eric Raymond's Linux Installation<br />HOWTO, at [http://www.linuxdoc.org/HOWTO/Installation-HOWTO] http://<br />www.linuxdoc.org/HOWTO/Installation-HOWTO, is highly recommended reading. In<br />the HOWTO, Eric discusses hardware requirements, choosing a distro, and<br />installing your distro of choice. If Eric's HOWTO does not provide enough<br />installation-specific information, you can refer to the documentation<br />specific to your distribution, available at the URLs given in the distro<br />list.<br />-----------------------------------------------------------------------------<br /><br />4.2. Emacs<br /><br />Because Emacspeak is an Emacs subsystem, you must have Emacs installed for<br />Emacspeak to work. Most distributions include Emacs by default, so it should<br />be installed on your system when you install Linux.<br /><br />If you do not have Emacs on your system or you want to check on the latest<br />version of Emacs, refer to the Emacs homepage at [http://www.gnu.org/software<br />/emacs/emacs.html] http://www.gnu.org/software/emacs/emacs.html. If you<br />install Emacs on your own or choose to upgrade, be sure to install all of<br />Emacs, including both the X and non-X versions (even if you do not plan to<br />use X). Some Emacs applications depend on packages included in the X version,<br />even if you use those applications in the non-X version of Emacs.<br /><br />If you would like to learn more about Emacs and how to use it, an excellent<br />place to start is the Emacs Beginner's HOWTO, by Jeremy D. Zawondy. It's<br />available at [http://www.linuxdoc.org/HOWTO/Emacs-Beginner-HOWTO.html] http:/<br />/www.linuxdoc.org/HOWTO/Emacs-Beginner-HOWTO.html. There is also an online<br />manual available at [http://www.gnu.org/manual/emacs/index.html] http://<br />www.gnu.org/manual/emacs/index.html. Alternatively, you can try the built-in<br />Emacs tutorial. To start the tutorial, type C-h t.<br />-----------------------------------------------------------------------------<br /><br />4.3. Background applications<br /><br />Emacspeak depends on a number of applications. Because each Linux<br />distribution comes with different applications, you may find that your distro<br />does not quite have everything that Emacspeak needs to run properly.<br />Therefore, before you install anything else, it is important to make sure you<br />have all the necessary applications, as listed below.<br /><br />  * Tk, Tcl, and Tclx: Check to make sure you have these applications. If<br />    not, download and install the following rpms from [http://<br />    www.rpmfind.net] http://www.rpmfind.net: tcl-8.3.2-7mdk, tk-8.3.2-7mdk,<br />    and tclx-8.3.2-7mdk.<br />   <br />  * Lesstif: If you want to run the Graphical User Interface (GUI) versions<br />    of the ViaVoice sample programs, you'll need these packages. For<br />    Emacspeak, the Lesstif packages are only useful if you're running<br />    Xwindows, or if you want to use the GUI tools.<br />   <br />    Lesstif can be downloaded from either the Lesstif home page [http://<br />    www.lesstif.org] http://www.lesstif.org or Sourceforge [http://<br />    sourceforge.net/projects/lesstif] http://sourceforge.net/projects/<br />    lesstif. Currently, the latest release of Lesstif is version 0.93.14;<br />    however, Marty Moore recommends using the 0.92.32 version. You can either<br />    download the gzipped tarball that contains all the necessary files or<br />    download the three individual packages (lesstif-mwm-0.92.32-1.i386.rpm,<br />    lesstif-clients-0.92.32-1.i386.rpm, and<br />    lesstif-devel-0.92.32-1.i386.rpm). If you choose to use the three<br />    individual files, be sure to use the --nodeps option when you unpack the<br />    RPMs to avoid dependancy errors.<br />   <br />  * sndconfig: You will need to run this application from the command line to<br />    configure your sound card. At the command prompt, type sndconfig and<br />    follow the instructions.<br />   <br />    If your sound card is not recognized by sndconfig, refer to, <br />    Troubleshooting, for more information.<br />   <br />  * stdiom: This package is only necessary if you are using ViaVoice as your<br />    synthesizer, or if you want to use auditory icons, and your sound card is<br />    not a multi-channel card.<br />   <br />    For information on auditory icons, refer to the [http://www.tldp.org/<br />    guides.html#espk] Emacspeak User's Guide.<br />   <br /><br />-----------------------------------------------------------------------------<br />4.4. Speech Synthesizers<br /><br /> To produce speech output, you need two things: something to parse the<br />information on the screen (Emacspeak), and something to produce the sounds<br />you hear as output (a speech synthesizer). Emacspeak can use either a<br />hardware or software synthesizer to produce sound output. Software<br />synthesizers have the benefit of being either free or very inexpensive.<br />Hardware synthesizers can run from $150 to $1600 or more, but they are<br />typically easier to install than software synthesizers.<br />-----------------------------------------------------------------------------<br /><br />4.4.1. Hardware synthesizers<br /><br />Emacspeak supports the following hardware synthesizers:<br /><br />  * Accent<br />   <br />  * Apollo<br />   <br />  * Braille Lite<br />   <br />  * Braille n' Speak<br />   <br />  * DECtalk Express (the original Emacspeak synthesizer) or MultiVoice<br />   <br />  * DoubleTalk PC and AT<br />   <br />  * Internal DECtalk PC and DECtalk PC2<br />   <br />  * LiteTalk<br />   <br />  * Type n' Speak<br />   <br /><br />Support for the DECtalk Express and MultiVoice synthesizers is built into<br />Emacspeak. If you have a synthesizer other than a DECtalk Express, you may<br />require additional drivers or "speech servers" to get Emacspeak to work with<br />your synthesizer.<br /><br />The Internal DECtalk PC and DECtalk PC2 require a kernel driver available<br />from [ftp://leb.net/pub/blinux/dectalk_pc-0.95.tgz] ftp://leb.net/pub/blinux/<br />dectalk_pc-0.95.tgz. Installation instructions are at [ftp://leb.net/pub/<br />blinux/dectalk_pc-0.95.README] ftp://leb.net/pub/blinux/<br />dectalk_pc-0.95.README.<br /><br />The DoubleTalk PC and AT, Braille n' Speak, Type n' Speak, Braille Lite,<br />Apollo, and Accent synthesizers all require an additional speech server that<br />can be downloaded from [http://leb.net/pub/blinux/emacspeak/blinux/<br />emacspeak-ss-1.7-1.i386.rpm] http://leb.net/pub/blinux/emacspeak/blinux/<br />emacspeak-ss-1.7-1.i386.rpm. A README file with installation instructions can<br />be found at [ftp://leb.net/pub/blinux/emacspeak/blinux/emacspeak-ss.README]<br />ftp://leb.net/pub/blinux/emacspeak/blinux/emacspeak-ss.README.<br />-----------------------------------------------------------------------------<br /><br />4.4.2. Software synthesizers<br /><br />If you choose to use a software synthesizer, you must make sure your sound<br />card is Linux compatible. In addition, if you want to perform any tasks that<br />require a multi-channel sound card, such as playing auditory cues when you<br />open or close an Emacs buffer, you must make sure that your sound card is<br />multi-channel capable.<br /><br />There is a complete list of Linux-compatible sound cards available at [http:/<br />/www.alsa-project.org] http://www.alsa-project.org. In addition, you can<br />usually find information on your distribution's web site about which sound<br />cards are supported with each distro.<br /><br />Once you have ensured that your sound card is Linux compatible, you can<br />install a software synthesizer. Currently the only one that works with<br />Emacspeak is IBM's ViaVoice Text-to-Speech (TTS), formerly called ViaVoice<br />Outloud. Many Emacspeak users use this software synthesizer, because it is<br />free of charge. Instructions for installing ViaVoice can be found in, <br />Appendix B.<br />-----------------------------------------------------------------------------<br /><br />5. Installing Emacspeak<br /><br />Assuming that you have all the items listed in, Requirements, you are ready<br />to install Emacspeak. The following steps provide the instructions to do so.<br /><br /> 1. Go to the Emacspeak site at [http://emacspeak.sourceforge.net] http://<br />    emacspeak.sourceforge.net and, from the Support and Documentation<br />    section, select an Emacspeak file to download. If you select the binary<br />    file, emacspeak.tar.gz, you will need to configure and make Emacspeak. If<br />    you have some experience with Linux, or if you're using a distribution<br />    that does not support RPMs, you should download this option. If your<br />    distro supports RPMs, you can download the ready-to-install version of<br />    Emacspeak (emacspeak-14.0-1.noarch.rpm).<br />   <br /> 2. Download the file and place it in your home directory.<br />   <br /> 3. Type su root and provide the root password if you are not already logged<br />    onto your machine as root. You'll need root permissions to install<br />    Emacspeak.<br />   <br /> 4. If you downloaded the rpm version of Emacspeak, unpack it using the<br />    command rpm -i emacspeak-14.0-1.noarch.rpm. If you downloaded the binary<br />    version, unzip and untar the file, then follow the installation<br />    directions in the README file in the resulting emacspeak-14.0 directory.<br />   <br />    Once you have installed the rpm, you'll see a message saying that<br />    Emacspeak installed successfully, as well as some additional<br />    instructions.<br />   <br /> 5. If you are using Emacspeak v.14 or earlier and also using ViaVoice TTS as<br />    your synthesizer, change directories to the /usr/share/emacs/site-lisp/<br />    emacspeak/servers/linux-outloud directory and type the command make. This<br />    command compiles the ViaVoice TTS server. If you are not using ViaVoice,<br />    or if you have Emacspeak v.15 or later, you do not need to complete this<br />    step.<br />   <br /> 6. Using the cd command, change directories to the /etc directory and open<br />    your profile file with your favorite text editor (you must be root to<br />    edit the profile). Scroll to the bottom of the file, then add the<br />    following two lines:<br />    export DTK_PROGRAM DTK_PROGRAM=name of your speech server                <br />   <br />    The value of DTK_PROGRAM must be the name of your speech server. A list<br />    of standard Emacspeak-supported speech synthesizers and the names of<br />    their respective speech servers is below.<br />   <br />    ViaVoice TTS        Outloud<br />    DecTalk Xpress      dtk-exp<br />    DecTalk MultiVoice  dtk-mv <br />   <br />    Several additional synthesizers are supported, but they require add-on<br />    speech servers. Refer to the documentation for each specific speech<br />    server for more information.<br />   <br /> 7. Save your profile file and close it.<br />   <br /><br />Now, you should have installed and configured everything required to run<br />Emacspeak. To use Emacspeak, log on to your system as someone other than root<br />(you should never run Emacspeak as root), and type emacspeak at the prompt.<br />Emacspeak should start talking immediately.<br />-----------------------------------------------------------------------------<br /><br />6. Frequently Asked Questions (FAQs)<br /><br />This sections covers some of the more common problems encountered when<br />installing Emacspeak. If there is a topic that is not covered here, you<br />should review the Emacspeak mailing list archives at [http://<br />www.cs.vassar.edu/~priestdo/emacspeak/] http://www.cs.vassar.edu/~priestdo/<br />emacspeak/. You can find the answers to many additional questions there.<br /><br />The volume on my system is very low - how can I increase it?<br />    The easiest way to turn up system volume is with a set of speakers.<br />    However, sometimes speakers aren't feasible (for example, with a laptop),<br />    or even with speakers, the volume is still not loud enough. In this case,<br />    you can use the application aumix to increase your system's volume.<br />   <br />    Aumix comes with many distributions of Linux, but if your distro doesn't<br />    have aumix, you can download it from [http://prdownloads.sourceforge.net/<br />    aumix/aumix-2.7.tar.gz] http://prdownloads.sourceforge.net/aumix/<br />    aumix-2.7.tar.gz. The latest version is 2.7.<br />   <br />    To use aumix to increase your system's volume, type the command aumix -v<br />    +100 or aumix -w +100. The numerical value is the percentage volume, so<br />    in this case 100 means 100%. You may want to try different settings to<br />    find the most comfortable one for you.<br />   <br />    For more information on using aumix, type aumix -h at the command prompt.<br />   <br />sndconfig doesn't recognize my soundcard. What should I do?<br />    If sndconfig doesn't recognize your soundcard, you should see if you can<br />    download a driver for your card. The Advanced Linux Sound Architecture<br />    (ALSA) Web site, located at [http://www.alsa-project.org] http://<br />    www.alsa-project.org, lists many sound cards, along with their drivers<br />    (if available). Another alternative is the Open Sound System (OSS) for<br />    Linux. OSS is a commercial implementation of the Linux kernel drivers,<br />    and a list of supported cards can be found at [http://www.4front-tech.com<br />    /osshw.html] http://www.4front-tech.com/osshw.html. There used to be a<br />    free version, but apparently it is no longer available (if anyone knows<br />    differently, please let me know).<br />   <br />    Note Note                                                                <br />         Some users have reported compatibility problems with ViaVoice and   <br />         ALSA drivers. I have been unable to determine the exact problem or  <br />         solution from various mailing archives, so if anyone can provide    <br />         more information on this issue, please let me know.                 <br />   <br />When I try to install the ViaVoice RTK rpm file, I get the error "libXm.so.1<br />    is missing." What's wrong?<br />    The file libXm.so.1 is part of the lesstif distribution, and it is also a<br />    shared library. This error message indicates that either lesstif is not<br />    installed, or that the system is unable to locate the file. Often shared<br />    libraries are referenced by a symbolic link to the real shared library<br />    file, which may be named something like libXm.so.1.0.17. When the name of<br />    the symbolic link to the shared library and the name of the real shared<br />    library file differ, the system may not be able to find the shared<br />    library, even if it exists. If another program depends on a shared<br />    library that cannot be found, an error message like the one above<br />    results. In the case of libXm.so.1, lesstif is only needed for graphical<br />    demonstration programs. Thus, if you do not plan to use the graphical<br />    mode, it is safe to install the ViaVoice RTK rpm using the option <br />    --nodeps, which tells ViaVoice to ignore any missing dependencies.<br />   <br />    Note Note                                                                <br />         Note that this is only a workaround, not a "fix," and that it only  <br />         works for ViaVoice Text-to-speech (TTS). This solution may not work <br />         if you use any of the ViaVoice voice recognition software.          <br />   <br />When I compile the ViaVoice TTS server for Emacspeak, I get an error<br />    "tcleci.cpp:43:17: eci.h: No such file or directory." Where is eci.h?<br />    This error message appears when you install the ViaVoice RTK and SDK in<br />    the wrong order, or if the SDK is not installed.<br />   <br />    The file eci.h should be in the /usr/include directory. If it is not<br />    there, re-install ViaVoice TTS, RTK, then install ViaVoice TTS SDK. Check<br />    to make sure eci.h is in the /usr/include directory, then change<br />    directories to /usr/share/emacs/site-lisp/emacspeak/servers/<br />    linux-outloud, and type make at the command prompt. The ViaVoice TTS<br />    should now make successfully.<br />   <br />When I start Emacspeak, I keep getting the error "process speaker not<br />    running." What's wrong?<br />    If you are getting this error message, there are several possible causes.<br />    This section steps though finding and correcting this problem.<br />   <br />    The first step is to make sure that you have tcl correctly installed, as<br />    explained in the following instructions.<br />   <br />     1. First, make sure you are in the /usr/share/emacs/site-lisp/emacspeak/<br />        servers directory.<br />       <br />     2. At the command prompt, type tcl name of speech server. The most<br />        common speech servers are dtk-exp and outloud.<br />       <br />   <br />    If you get an error such as bash: tcl:: command not found, it means that<br />    tcl/tclx is not correctly installed on your system. You must get the<br />    latest version of either tcl or tclx and install it before Emacspeak will<br />    work.<br />   <br />    If everything is installed correctly, you should hear a voice saying "IBM<br />    ViaVoice. This is Emacspeak" or something similar. A % command prompt<br />    should also appear. At the prompt, type q "this is a test." Then press <br />    Return and type d. This command runs the speech, so you should hear "this<br />    is a test" spoken. If you hear this, the server script is running<br />    properly. You can type exit to quit tcl.<br />   <br />    You may also get an error like stdiosynth executable not found when you<br />    type tclname of speech server, and then get a command prompt. Testing has<br />    shown that this error can appear even when stdiosynth is correctly<br />    installed and Emacspeak is working. Even if you get this error message,<br />    you should still get the % command prompt, so you should be able to test<br />    the script.<br />   <br />    If the script test was unsuccessful, (if tcl was found and you got a %<br />    prompt but you did not hear any speech), the next step is to make sure<br />    that you have the correct lines in your profile file to let Emacspeak<br />    know where to find the speech server. To check this, follow these steps:<br />   <br />     1. Go to your /etc directory, then use you favorite text editor to open<br />        the file namedprofile.<br />       <br />     2. Make sure the following lines are in the file:<br />         export DTK_PROGRAM DTK_PROGRAM=name of speech server                <br />       <br />        The most common speech servers, are outloud and dtk-exp.<br />       <br />   <br />    If these lines are not in your profile file, add them and then re-test<br />    tcl. If you are using ViaVoice TTS as your synthesizer, Emacspeak should<br />    work correctly at this point. If you are using a hardware synthesizer and<br />    you still do not get any sound, check to make sure that the environment<br />    variable DTK_PORT is set correctly in your /etc/profile file.<br />   <br />    The variable DTK_PORT specifies which port your hardware synthesizer is<br />    plugged into on your computer. Under Linux, if your synthesizer is<br />    plugged into com1, you must set DTK_PORT to/dev/ttyS0, and if it is in<br />    com2, then DTK_PORT should be set to /dev/ttyS1. To set this variable,<br />    follow these steps:<br />   <br />     1. Open your profile file located in the /etc directory.<br />       <br />     2. Look for the variable DTK_PORT. If this variable does not exist,<br />        scroll to the bottom of the profile and add the following line:<br />        export DTK_PORT=/dev/ttySX                                           <br />       <br />        In this line, the "X" should be replaced by the correct port number,<br />        as described above.<br />       <br />     3. When you are finished, save and close the profile file.<br />       <br />   <br />    Finally, retest tcl, and if it works, restart Emacspeak. Emacspeak should<br />    work correctly.<br />   <br />    If you have a hardware synthesizer and are still not getting any speech,<br />    you probably do not have the necessary permissions to use the serial port<br />    for your synthesizer. There are a number of solutions to this problem,<br />    and the best solution depends on your operating environment. For example,<br />    if you are in a multi-user environment, controlling the access<br />    permissions to the serial device may be a concern. The options are as<br />    follows:<br />   <br />      + Change the ownership of the serail device to the user running<br />        Emacspeak. To do this, type chown username /dev/ttyS0 at the command<br />        prompt then type chmode u+rw dev/ttyS0.<br />       <br />      + Add the user to the group associated with the serial device. On Red<br />        Hat systems this is usually the grouptty. To do this edit the /etc/<br />        group file and find the line starting with tty:. At the end of that<br />        line, add ",username" where username is your username.<br />       <br />      + Give read/write access to the serial device for all users. This is<br />        the least secure solution, but if you are the only user on the<br />        system, it will not matter. To give read/write access, make sure you<br />        are the root user and at the command prompt type chmod o+rw /dev/<br />        ttyS0.<br />       <br />   <br /><br />-----------------------------------------------------------------------------<br />7. Additional resources<br /><br />Once Emacspeak has been successfully installed, you should become familiar<br />with the Emacspeak commands and the many applications you can run with Emacs.<br />Although this HOWTO does not cover this information, there are a number of<br />excellent tutorials that are available for new users of both Emacs and<br />Emacspeak. The following list provides a starting point:<br /><br />  * "A gentle introduction to Emacspeak," by Gary Lawrence Murphy, [http://<br />    emacspeak-guide.sourceforge.net/tutorial.html/] http://<br />    emacspeak-guide.sourceforge.net/tutorial.html/. Gary provides a<br />    lighthearted but thorough introduction to Emacs and Emacspeak, focusing<br />    on users who are not familiar with either application. This introduction<br />    is recommend as a starting point, even before you do the Emacs tutorial<br />    (see next item).<br />   <br />  * "The (Official) Emacs Tutorial," by the Free Software Foundation. I call<br />    this the "official" tutorial because it is included with Emacs. To access<br />    this tutorial, start Emacspeak, then type C-h t. This tutorial discusses<br />    the basic Emacs commands, including navigation using Emacs as a text<br />    editor, and a bit about how Emacs works "under the hood." For new users<br />    this tutorial is strongly recommended, and even those users who are<br />    familiar with Emacs might find something new.<br />   <br />  * "Emacspeak Tutorial," by Nita Van Zandt, available at [http://www.mv.com/<br />    ipusers/vanzandt/emacspeak-tutorial-1.0.tar.gz] http://www.mv.com/ipusers<br />    /vanzandt/emacspeak-tutorial-1.0.tar.gz. This tutorial helps new<br />    Emacspeak users get up and running and includes plenty of examples and<br />    step-by-step instructions. Once you have a grasp of Emacs, this tutorial<br />    is a must.<br />   <br />  * "The Emacs Beginner's HOWTO," by Jeremy D. Zawodny. It is available at<br />    [http://www.linuxdoc.org/HOWTO/Emacs-Beginner-HOWTO.html] http://<br />    www.linuxdoc.org/HOWTO/Emacs-Beginner-HOWTO.html and discusses many of<br />    the topics discussed in the Emacs tutorial. However, it also includes<br />    overviews of some of the more popular Emacs packages, including VM, Gnus,<br />    BBDB, and AucTeX.<br />   <br />  * "Using Emacspeak HOWTO," by Jennifer Jobst, available at [http://<br />    emacspeak.sourceforge.net] http://emacspeak.sourceforge.net. This HOWTO<br />    is a task-based guide on getting the most out of Emacs and Emacspeak.<br />    From browsing the Internet to coding to playing games, this HOWTO tells<br />    you where to get the best Emacs applications for each task and how to use<br />    them.<br />   <br /><br />-----------------------------------------------------------------------------<br />8. Appendix A: Installing Linux from a DOS machine<br /><br />In the original Emacspeak HOWTO, James Van Zandt provided instructions on how<br />to install Linux from a DOS machine using a null-modem cable. As with the<br />other instructions in this HOWTO, I tried, unfortunately without success, to<br />duplicate this procedure. However, I have provided the information gathered<br />during testing in the following section. If you successfully install Linux<br />from a Windows?? or DOS?? machine over a null-modem cable, please let me know<br />the procedure you followed and I'll include it here.<br /><br />Please note that the original instructions for installing Linux over a null<br />modem cable were written for a DOS machine. I first attempted to reproduce<br />these instructions with my Windows 2000 machine (from the DOS prompt) and Red<br />Hat 7.1. Although I successfully downloaded and installed JAWS for DOS<br />(available from Freedom Scientific at [http://www.freedomscientific.com/<br />fs_downloads/morejaws.asp] http://www.freedomscientific.com/fs_downloads/<br />morejaws.asp), I was unable to get a DOS VT100 terminal emulator installed. I<br />tried using TELIX, which was popular several years ago, but when I tried to<br />install TELIX version 3.51, I got a runtime error. Since I was unable to find<br />any other DOS terminal emulators, I decided to try using a Windows<br />screenreader and terminal emulator instead. This section documents the<br />procedure I tried with the Windows machine.<br />-----------------------------------------------------------------------------<br /><br />8.1. Requirments<br /><br />For this process, you will need a machine with a working speech synthesizer<br />and a terminal emulator program. For my test, I used a Windows 2000 machine<br />and tried both Narrarator (which comes with Windows 2000) and JAWS for<br />Windows v.3.5. For the terminal emulator, I used tried both Hyperterminal<br />(which comes with Windows) and CRT (which can be downloaded from [http://<br />www.vandyke.com/products/crt] http://www.vandyke.com/products/crt). You will<br />also need a second machine (on which to install Linux), a null modem cable,<br />and a copy of your preferred Linux distribution on either floppy disk or<br />CD-ROM.<br />-----------------------------------------------------------------------------<br /><br />8.2. Connecting the computers<br /><br />To connect the two computers, you need a "null modem" cable. A "null modem"<br />cable is a serial cable that connects ground to ground and transmits on each<br />end to receive on the other. The cable that comes with the DOS application<br />LapLink will work fine. The LapLink cable is particularly handy because it<br />has both a 9 pin and a 25 pin connector on each end. Alternatively, you may<br />be able to find a null modem cable at your local computer store, or you can<br />have one made. If you choose to have one made, here are the required<br />connections:<br /><br />  * For two 9 pin connectors, connect pin 2 (receive data) to pin 3, pin 3<br />    (transmit data) to pin 2, and pin 5 (signal ground) to pin 5.<br />   <br />  * For two 25 pin connectors, connect pin 2 (receive data) to pin 3, pin 3<br />    (transmit data) to pin 2, and pin 7 (signal ground) to pin 7.<br />   <br />  * For a 9 pin connector (first) to a 25 pin connector (second), connect pin<br />    2 (receive data) to pin 2 (transmit data), pin 3 (transmit data) to pin 3<br />    (receive data), and pin 5 (signal ground) to pin 7 (signal ground).<br />   <br /><br />Once you have your null modem cable, you'll need to connect the two machines<br />while both of them are off. It's easiest to use COM1 on both machines. Once<br />you've got them connected, you're ready to start them up, as discussed in the<br />next section<br />-----------------------------------------------------------------------------<br /><br />8.3. Installation<br /><br />Once your machines are connected via the null modem cable, boot the DOS/<br />Windows machine, then start the terminal emulation program. For my test, I<br />tried both Hyperterminal (which comes with Windows 2000) and CRT (which can<br />be downloaded from [http://www.vandyke.com/products/crt] http://<br />www.vandyke.com/products/crt. For some reason, the arrow keys did not work in<br />HyperTerminal, making navigation within the HyperTerminal window impossible.<br />However, the arrow keys (as well as Tab and Return) do work in CRT, so I<br />recommend using CRT as your terminal emulator.<br /><br />Set the terminal emulator for 9600 baud, no parity, eight data bits, 1 stop<br />bit. If "Flow control" is an option, select Hardware. Also be sure to set<br />your terminal emulation mode to VT100. Start the terminal emulator connection<br />(you won't get any data at this point, as your Linux machine should still be<br />off).<br /><br />Once you've set up the terminal emulator on your DOS/Windows machine, insert<br />the "boot" floppy or CD into your Linux machine and boot the machine. With<br />Red Hat, at the boot: prompt, I typed in the command linux text console=ttyS0<br />. Note that the "s" in "ttyS0" is capitalized, and that's a "zero" at the end<br />of the string, not a capital letter "o." Other distributions may require<br />other strings, so if you know the syntax required for distros other than Red<br />Hat, please let me know and I will include that information here.<br /><br />Once you've typed in this string at the boot: prompt and hit Return, you<br />should get output in your terminal emulator program on your DOS/Windows<br />machine. Unfortunately, at this point I discovered that neither JAWS for<br />Windows nor Narrarator produces speech output in either the HyperTerminal or<br />CRT terminal windows. This ultimately stymied my attempts to install Linux<br />over a null modem cable.<br />-----------------------------------------------------------------------------<br /><br />9. Appendix B: Installing ViaVoice TTS<br /><br />This section steps through the installation of ViaVoice TTS, which can be<br />used as a software synthesizer with Emacspeak.<br />-----------------------------------------------------------------------------<br /><br />9.1. Downloading ViaVoice<br /><br />First, you must download the ViaVoice Software Development Kit (SDK) and the<br />Run Time Kit (RTK), as described in the following steps.<br /><br /> 1. Go to IBM's ViaVoice TTS website a [http://www-4.ibm.com/software/speech/<br />    dev/ttssdk_linux.html] http://www-4.ibm.com/software/speech/dev/<br />    ttssdk_linux.html.<br />   <br /> 2. Scroll down to the Downloads section, and click on the Downloads link.<br />    You will be asked to provide a username and password before you download<br />    anything.<br />   <br /> 3. Download the following files:<br />   <br />      + ViaVoice TTS SDK for Linux V5.1. The filename is<br />        viavoice_tts_sdk_5.tar.<br />       <br />      + ViaVoice TTS Run Time Kit for Linux V5.1. The filename is<br />        viavoice_tts_rtk_5.tar.<br />       <br />   <br /><br />-----------------------------------------------------------------------------<br />9.2. Installing ViaVoice RTK<br /><br />Now that you have downloaded the ViaVoice files, you can install them. You<br />must install the RTK first, as it contains libraries required by the SDK.<br /><br /> 1. Type the su root command and provide the root password to log on to your<br />    system as root.<br />   <br /> 2. Type the cd command to change to the directory that contains the files<br />    you just downloaded.<br />   <br /> 3. Untar the RTK using the command tar -xvf viavoice_tts_rtk_5.tar. You<br />    should now have two files in your directory, ttsrt_readme.txt and<br />    ViaVoice_TTS_rtk_5.1-1.2.i386.rpm.<br />   <br /> 4. Unpack the rpm using the command rpm -i ViaVoice_TTS_rtk_5.1-1.2.i386.rpm<br />    . You will be given a license agreement to read. You can press the<br />    spacebar to scroll through the document. When you've read the document,<br />    you'll be returned to the command prompt.<br />   <br /> 5. Type the command source /etc/profile to finish installing the RTK.<br />   <br /><br />-----------------------------------------------------------------------------<br />9.3. Installing ViaVoice SDK<br /><br />Now that you have installed the RTK, you can install the SDK as well using<br />the following steps:<br /><br /> 1. Change directories to the directory that contains the SDK file you<br />    downloaded.<br />   <br /> 2. Untar the SDK file using the command tar -xvf viavoice_tts_sdk_5.tar. You<br />    should now have two files in your directory, ttssd.readme.txt and<br />    ViaVoice_TTS_sdk-5.1-1.2.i386.rpm.<br />   <br /> 3. Unpack the rpm using the command rpm-i --nodeps<br />    ViaVoice_TTS_sdk-5.1-1.2.i386.rpm. You will be given a license agreement<br />    to read. You can press the spacebar to scroll through the agreement. When<br />    you've read the document, you'll be returned to the command prompt.<br />   <br /><br />-----------------------------------------------------------------------------<br />9.4. Testing the installation<br /><br />Now that you have installed both the ViaVoice RTK and SDK, you must test to<br />make sure that they are working correctly. You can perform two tests using<br />the following steps:<br /><br /> 1. Type the cd command to change to the /usr/lib/ViaVoiceTTS/samples/<br />    cmdlinespeak/ directory.<br />   <br /> 2. Type the command ./runcmdlinespeak at the prompt. You should hear your<br />    computer say "Hello, welcome to ViaVoice Outloud for Linux." Normal<br />    system volume is often very low, so you may not be able to hear it very<br />    well. Refer to, Troubleshooting, for information on how to increase your<br />    system volume.<br />   <br /><br />If for some reason your test was not successful, refer to the installation<br />notes provided with both the RTK (ttsrt.readme.txt) and the SDK<br />(ttssd.readme.txt) for debugging information.<br />-----------------------------------------------------------------------------<br /><br />10. Acknowledgments<br /><br />As with any effort for the Linux project, there are a number of people who<br />contributed to this HOWTO in a roundabout way. Without their help, this<br />document would not exist.<br /><br />Mr. James Van Zandt, the original author of the Emacspeak HOWTO. He<br />graciously allowed me maintainership of the original HOWTO, which has been<br />reworked into this document, "The Emacspeak Installation HOWTO."<br /><br />Dr. T.V. Raman, who always answered my Emacspeak questions, no matter how<br />odd.<br /><br />Marty Moore, who provided a list of instructions for installing Emacspeak and<br />ViaVoice under Mandrake. Many of Marty's instructions were used to make this<br />document more complete.<br /><br />Tim Cross also deserves recognition, as he clarified several points in<br />Marty's instructions, and some of Tim's comments are also used in this<br />document. Tim also provided excellent explanations for the libXm.so.1 error<br />message, as well as the "process speaker not running" error message.<br /><br />All the folks on the Emacspeak and blinux mailing lists who contributed<br />suggestions, answered my questions, and gently showed me the errors in my<br />ways.<br /><br />Throughout this document, I have tried to give credit to other authors when<br />referring to their work. If I missed a citation, please let me know and I<br />will be sure to correct it. If you did the work, you certainly deserve the<br />credit!<br />]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Fri, 26 Feb 2010 20:47:04 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?42</guid>
</item>
						<item>
						<title>System - Backup: Automated backup for Linux / Unix with rsnapshot</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?40</link>
<description><![CDATA[Automated backup for Linux / Unix with rsnapshot<br /><br />Category:<br /><br />System, Backup<br /><br />Difficulty: medium<br /><br />Tested on/for:<br />	Ubuntu 9.10 Karmic Koala<br />	should work on other Linux/Unices, too<br /><br /><br />This document is about adding automated backups for your Linux / Unix System.<br />Once configured u don't have to care about.<br /><br />Quote from the developers homepage at http://rsnapshot.org:<br /><br />rsnapshot is a filesystem backup utility based on rsync. Using rsnapshot, it is possible to take snapshots of your filesystems at different points in time. Using hard links, rsnapshot creates the illusion of multiple full backups, while only taking up the space of one full backup plus differences. When coupled with ssh, it is possible to take snapshots of remote filesystems as well.<br />quote end<br /><br />With rsnapshot u can make backups from multiple computers in your Network. e.g your Laptop<br /><br />I refer to the original HowTo:<br />This is only an short extraction.<br /><br />Commands are marked with a leading #<br /><br />Step 1<br /><br />Installing rsnapshot<br /><br />On Debian based distributions like Ubuntu and Knoppix<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;sudo&nbsp;apt-get&nbsp;install&nbsp;rsnapshot</span></code></div><br /><br />This will install rsnapshot and rsync, a remote synchronisation tool.<br /><br />Step2<br /><br />Configure rsnapshot<br /><br />To configure rsnapshot you have to modify the rsnapshot.conf<br />Open the file with<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;sudo&nbsp;nano&nbsp;/etc/rsnapshot.conf</span></code></div><br /><br />PLEASE BE AWARE OF THE FOLLOWING RULES:       <br />                                               <br />This file requires tabs between elements      <br />                                   <br />Directories require a trailing slash:         <br />   right: /home/                               <br />   wrong: /home <br /><br />This file is well documented it should be no problem to read and edit the necessary setting. <br /><br />Change<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">snapshot_root&nbsp;&nbsp;&nbsp;/.snapshots/</span></code></div><br /><br />This line define the directory for your snapshots.<br />If you have a separate backupdrive is suggest to use it. In this case the backups prevent you from deleting files accidentally. If the harddrive fail your files are lost. Assuming you have mounted an additional harddrive to /backup the line should look like<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">snapshot_root&nbsp;/backup/</span></code></div><br /><br />If rsnapshot is installed with your systems packagemanger all other settings should be ok.<br /><br />Next we have to set the backup intervals<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hourly&nbsp;&nbsp;6<br /><br />interval&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;daily&nbsp;&nbsp;&nbsp;7<br /></span></code></div><br /><br />With these settings you create a backup<br />6 times a day every 4 hours, stored one day<br />7 times a week one backup per day, stored one week<br /><br /><br />The backups rotate, and after 4 weeks you have<br />6 daily backups<br />7 weekly backups<br /><br /><br />In case u need to restore a backup you have a all your data from the complete last week.<br /><br />To disable a entry just add a leading #, to comment it out<br /><br />Now we have to tell rsnapshot the location of the files we want to backup.<br />In this case we backup the home-directory of every user, and all configuration files under /etc. You can add as much directories as you want.<br /><br />The directories or files you want to backup are marked with a leading<br />backup <br />followed by a &lt;TAB> and the name of the backupset<br />a default entry looks like<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">backup&nbsp;&nbsp;/home/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost/<br /><br />backup&nbsp;&nbsp;/etc/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost/</span></code></div><br /><br />This two entries store a recursive backup of<br />/home/ and /etc/<br /><br />Assuming that you store your backups under /backup/<br /><br />this results in<br />/backup/hourly.0/localhost/home/<br />to<br />/backup/hourly.5/localhost/home/<br /><br /><br />In some cases it is helpful to exclude some files or directories.<br />for example:<br />I do not want to backup /home/bubulein/data<br />cause i mirror this folder to an other backupserver<br /><br />To exclude add<br /><br /><div class='indent'>exclude_file /home/tmcc/data/*</div><br /><br />or if u want to exclude only a  single files type<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">exclude_file&nbsp;*.txt.bak</span></code></div><br /><br />Now safe your file by pressing ctrl+x and Y<br /><br />Step 3<br /><br />Testing the configuration<br />Enter the command promt and type<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;rsnapshot&nbsp;configtest</span></code></div><br /><br />rsnapshot should answer with Syntax OK. On errors rsnapshot outputs a good description about whats wrong with your configuration file.<br /><br />like<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />ERROR:&nbsp;/usr/local/etc/rsnapshot.conf&nbsp;on&nbsp;line&nbsp;199:<br /><br />ERROR:&nbsp;backup&nbsp;/var/&nbsp;-&nbsp;no&nbsp;destination&nbsp;path&nbsp;specified&nbsp;for&nbsp;backup&nbsp;point&nbsp;<br /><br />ERROR:&nbsp;Errors&nbsp;were&nbsp;found&nbsp;in&nbsp;/usr/local/etc/rsnapshot.conf,<br /><br />ERROR:&nbsp;rsnapshot&nbsp;can&nbsp;not&nbsp;continue.&nbsp;If&nbsp;you&nbsp;think&nbsp;an&nbsp;entry&nbsp;looks&nbsp;right,&nbsp;make<br /><br />ERROR:&nbsp;sure&nbsp;you&nbsp;don't&nbsp;have&nbsp;spaces&nbsp;where&nbsp;only&nbsp;tabs&nbsp;should&nbsp;be.</span></code></div><br /><br />Now we do a final test<br /><br />with<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#&nbsp;rsnapshot&nbsp;-t&nbsp;hourly</span></code></div><br /><br />rsnapshot start a testrun without storing any backups. rsnapshot just show you what would happen if you do a real backup.<br /><br />If you use a screenreader its very complicated to read the output. <br /><br />The output just say that the backups are rotating from hourly.0 to hourly.1 and from hourly.1 to hourly.2 ...<br />Then rsnapshot shows the rsync command which is used to safe the files.<br /><br />Feel free to skip this test and check the file structure after your first backup. Backups are very helpful so feel free to ask at the irc-channel to be shure everything work as expected.<br /><br />root@teufelchen /storage/backup/snapshots]# rsnapshot -t hourly<br />echo 72247 > /var/run/rsnapshot.pid <br />/bin/rm -rf /storage/backup/snapshots/hourly.5/ <br />mv /storage/backup/snapshots/hourly.4/ /storage/backup/snapshots/hourly.5/ <br />mv /storage/backup/snapshots/hourly.3/ /storage/backup/snapshots/hourly.4/ <br />mv /storage/backup/snapshots/hourly.2/ /storage/backup/snapshots/hourly.3/ <br />mv /storage/backup/snapshots/hourly.1/ /storage/backup/snapshots/hourly.2/ <br />native_cp_al("/storage/backup/snapshots/hourly.0", &#092;<br />    "/storage/backup/snapshots/hourly.1") <br />/usr/local/bin/rsync -a --delete --numeric-ids --relative --delete-excluded &#092;<br />    /etc /storage/backup/snapshots/hourly.0/teufelchen/ <br />/usr/local/bin/rsync -a --delete --numeric-ids --relative --delete-excluded &#092;<br />    /usr/local/etc /storage/backup/snapshots/hourly.0/teufelchen/ <br />/usr/local/bin/rsync -a --delete --numeric-ids --relative --delete-excluded &#092;<br />    /var /storage/backup/snapshots/hourly.0/teufelchen/ <br />touch /storage/backup/snapshots/hourly.0/<br /><br />Step 4<br /><br />Starting the backups<br /><br />Now we have to add a cronjob to make sure the backups are runing automated.<br /><br />As root just copy and paste the following lines to your /etc/crontab<br /><br />start the crontab editor with<br /><br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000">#crontab&nbsp;-e</span></code></div><br /><br />and paste<br /><div class='code_highlight code-box' style='unicode-bidi: embed; direction: ltr'><code><span style="color: #000000"><br />0&nbsp;*/4&nbsp;*&nbsp;*&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/local/bin/rsnapshot&nbsp;hourly<br /><br />30&nbsp;23&nbsp;*&nbsp;*&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/local/bin/rsnapshot&nbsp;daily</span></code></div><br /><br />This will run the hourly backup every 4 hours starting at 0:00<br />and the daily at 23:30<br /><br />Step 5<br />Verifiyng the backup<br /><br />After the first run browse yout backup directory to see if everthing works fine.<br /><br />Links<br />www.rsnapshot.org The Developers Homepage<br /><br /><br />Thx to<br />Fudge www.blufudge.net for checking the text<br />To the rsnapshot and rsync Team<br />google inc. for his unselfish help *G*<br />	<br />If you need help feel free to join #holodeck on irc.bluefudge.net<br />or write a mail<br /><br />	yours bubulein<br />]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Wed, 10 Feb 2010 23:03:15 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?40</guid>
</item>
						<item>
						<title>Network - Filesharing: Mounting a remote directory via ssh on Windows</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?39</link>
<description><![CDATA[Mounting a remote directory via ssh on Windows<br /><br />Category:<br /><br />Networking, Filesharing<br /><br />Difficulty: easy<br /><br />Tested on/for:<br />	Windows XP<br /><br />	<br />	Notice: currently not tested with a screenreader<br />	<br />This text is about sharing files between computers via ssh.<br />Ssh is a secure remote shell with good encryption. Ssh was designed to control remote computers via a secure shell. Later file transfer was added. <br />One way to share files between two computers is to use Sftp. A FTP like file transmission protocol using ssh. If u want to transfer only some files to or from a computer a Sftp client like Filezilla ( http://filezilla-project.org/ ) is a very handy tool. But wouldn't it be nice to use a remote computer like a local harddrive?<br />Why mess around with samba if you just want to share files with your linux-server?<br /><br />Ok, here we go<br /><br />Step 1:<br /><br />Get the Software<br /><br />Download the needed apps and libarys from http://dokan-dev.net/en/<br />Get the Dorkan libary<br />http://dokan-dev.net/wp-content/uploads/dokan-0421238x86.zip<br />for 32bit Windows<br /><br />http://dokan-dev.net/wp-content/uploads/dokan-0401223x64.zip<br />for 64bit<br /><br />Then we need the ssh-filesystem apt<br />32 and 64bit<br />http://dokan-dev.net/wp-content/uploads/dokan-sshfs-0201226.zip<br /><br />And an additional package from Microsoft.com<br />The Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2005 installed<br /><br />http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&amp;displaylang=en<br /><br />Step 3:<br /><br />Install the downloaded apps and libary<br /><br />Step 4:<br /><br />Setting up sshfs<br /><br />During installation sshfs creates an icon on your desktop and places a Trayicon in your taskbar labeled as Dokan SSHFS<br /><br />After opening the application you have to enter:<br /><br />Name of your choice for the connection<br />The Host address - in my case 192.168.1.10 for my local BSD Server running ssh<br />And a your Username on the Host<br /><br />If the remote computer uses a different port u have to change 22, the standard port, to your port.<br /><br />Depending on the remote computers configuration you have to enter your Password and / or you have to enter the location of your Keyfile and enter a passphrase if needed.<br /><br />At last enter the name of the Server Root. Thats the directory u want to connect to.<br />in my case /home/bubulein<br /><br />And the drive letter u want to use. In my case N.<br /><br />After you Save your settings for the next time, and click connect.<br /><br />Now you find a new drive in the Windows Explorer that points to the remotefolder and you are connected.<br /><br />The first time you read this document it seems complicated buts it is easier then start the fight between windows and samba or nfs.<br />A great advantage is that the ssh-server is running on up to 100% of all the servers, so why install a additional service?<br /><br />Thx to<br />Fudge and Kyle who help me to improve my terrible english<br />Dorkan for this libary<br />The OpenSSH-Team for the most used service in the world<br /><br />If you need help, have questions, suggestion or just want to kick me, feel free to send a mail to bubulein@mail.com or visit us on the ircnet irc.blufudge.net  #holodeck<br /><br /><br />	yours bubulein]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Wed, 10 Feb 2010 22:12:37 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?39</guid>
</item>
						<item>
						<title>Internet - Chat: Adding basic spellchecking to irrsi</title>
<link>http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?38</link>
<description><![CDATA[Category:<br />Internet, Chat, irssi<br /><br />Difficulty: easy<br /><br />Tested on/for:<br />Ubuntu 9.10 Karmic Koala<br />should work on other Linux/Unices, too<br /><br /><br />This document is about adding a simple, not very powerfull, spellchecking support to the famous irc client irssi.<br /><br />Commands are marked with a leading #<br /><br />Step 1<br /><br />Install the needed packages.<br /><br /><br /># sudo apt-get install ispell liblingua-ispell-perl<br /><br />Step 2<br /><br />Download the spell-checking perl-script to your irssi scripts directory.<br /><br /><br /># cd ~/.irssi/scripts/<br /># wget http://scripts.irssi.org/scripts/spell.pl<br /><br />Step 3<br /><br />Load the script and bind a key.<br />Just copy and paste the following lines to irssi<br /><br />/script load spell.pl<br />/bind meta-s /_spellcheck<br />/set spell_max_guesses 3<br /><br />Now you can check spelling by pressing alt+s.<br />Dont expect toomuch.<br /><br />Links<br />irrsi irc-client: http://www.irssi.org<br /><br /><br />Thx to<br />Fudge www.blufudge.net for checking the text<br />to &amp;setone for a place to publish this text<br />To all the irssi code and script developer around the world<br />google inc. for his unselfish help *G*<br /><br />If you need help feel free to join #holodeck on irc.bluefudge.net<br />or write a mail<br /><br />yours bubulein]]></description>
<author>bubulein@nospam.com (bubulein)</author>
<pubDate>Tue, 09 Feb 2010 10:51:04 +0100</pubDate>
<guid isPermaLink="true">http://www.blufudge.net/e107_plugins/forum/forum_viewtopic.php?38</guid>
</item>
				</channel>
				</rss>