<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Matthias Pospiech &#187; Linux</title>
	<atom:link href="http://www.matthiaspospiech.de/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matthiaspospiech.de</link>
	<description></description>
	<lastBuildDate>Mon, 31 May 2010 19:37:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multifunktionsdrucker unter Linux</title>
		<link>http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/</link>
		<comments>http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 23:07:29 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Printer]]></category>

		<guid isPermaLink="false">http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/</guid>
		<description><![CDATA[&#220;bersichtXerox Phaser&#8482; 6115MFPSamsung CLX-3175FWBrother DCP-9045CDNHP Color LaserJet CM1312nfi MFP (CC431A)HP Color LaserJet CM2320fxi MFP (CC435A)Lexmark X502nLexmark X560n

alle Angaben ohne Gew&#228;hr!

&#220;bersicht


	
		Drucker
		Preis
		Sprache
		Treiber
		Duplex
	


	
		Xerox Phaser 6115MFP
		835
		GDI
		foo2lava
		ja
	
	
		Samsung CLX-3175FW
		499
		GDI
		Samung, (SpliX, foo2qpdl)
		nein
	
	
		Brother DCP-9045CDN
		799
		PCL6 (emul), PS 3 (emul)
		?
		ja
	
	
		HP CM1312nfi MFP
		449
		PCL6, PS 3 (emul)
		hpijs
		nein
	
	
		HP CM2320fxi MFP
		799
		PCL6, PS 3 (emul)
		?
		ja
	
	
		Lexmark X560n
		999
		PCL6 (emul), PS 3
		Postscript
		ja
	



Xerox Phaser&#8482; 6115MFP

	
		Funktionen
		Druck (Farbe) / Kopie / Scan / Fax
	
	
		Preis
		835
	
	
		max Druckvolumen
		35.000 Seiten [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<a id="toc"></a><ol class="toc"><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-ubersicht" class="liinternal">&#220;bersicht</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-xerox-phaser-6115mfp" class="liinternal">Xerox Phaser&trade; 6115MFP</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-samsung-clx-3175fw" class="liinternal">Samsung CLX-3175FW</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-brother-dcp-9045cdn" class="liinternal">Brother DCP-9045CDN</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-hp-color-laserjet-cm1312nfi-mfp-cc431a" class="liinternal">HP Color LaserJet CM1312nfi MFP (CC431A)</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-hp-color-laserjet-cm2320fxi-mfp-cc435a" class="liinternal">HP Color LaserJet CM2320fxi MFP (CC435A)</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-lexmark-x502n" class="liinternal">Lexmark X502n</a></li><li><a href="http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/#toc-lexmark-x560n" class="liinternal">Lexmark X560n</a></li></ol>

<p>alle Angaben ohne Gew&#228;hr!</p>

<h3 id="toc-ubersicht">&#220;bersicht</h3>
<table class="alternate_rows" id="ubersicht">
<thead>
	<tr>
		<th>Drucker</th>
		<th>Preis</th>
		<th>Sprache</th>
		<th>Treiber</th>
		<th>Duplex</th>
	</tr>
</thead>
<tbody>
	<tr>
		<td>Xerox Phaser 6115MFP</td>
		<td>835</td>
		<td>GDI</td>
		<td>foo2lava</td>
		<td>ja</td>
	</tr>
	<tr>
		<td>Samsung CLX-3175FW</td>
		<td>499</td>
		<td>GDI</td>
		<td>Samung, (SpliX, foo2qpdl)</td>
		<td>nein</td>
	</tr>
	<tr>
		<td>Brother DCP-9045CDN</td>
		<td>799</td>
		<td>PCL6 (emul), PS 3 (emul)</td>
		<td>?</td>
		<td>ja</td>
	</tr>
	<tr>
		<td>HP CM1312nfi MFP</td>
		<td>449</td>
		<td>PCL6, PS 3 (emul)</td>
		<td>hpijs</td>
		<td>nein</td>
	</tr>
	<tr>
		<td>HP CM2320fxi MFP</td>
		<td>799</td>
		<td>PCL6, PS 3 (emul)</td>
		<td>?</td>
		<td>ja</td>
	</tr>
	<tr>
		<td>Lexmark X560n</td>
		<td>999</td>
		<td>PCL6 (emul), PS 3</td>
		<td>Postscript</td>
		<td>ja</td>
	</tr>
<tbody>
</table>
<span id="more-194"></span>
<h3 id="toc-xerox-phaser-6115mfp">Xerox Phaser&trade; 6115MFP</h3>
<table  class="alternate_rows" id="xerox">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>835</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>35.000 Seiten / Monat</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>128 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>Host-basiert</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100 / Wireless 11g</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://www.office.xerox.com/multifunction-printer/color-multifunction/phaser-6115mfp/dede.html" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td>
			<a href="http://www.openprinting.org/show_printer.cgi?recnum=Xerox-Phaser-
6115MFP">Link</a><br />
		</td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>Mostly</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>foo2lava</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex integriert</td>
	</tr>
</table>

</table>



<h3 id="toc-samsung-clx-3175fw">Samsung CLX-3175FW</h3>
<table  class="alternate_rows" id="samsung">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>499</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>20.000 Seiten / Monat</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>128 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>SPL-C (Samsung Sprache)</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100 / Wireless 11g</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://printing.samsung.de/produkte/detail2_main.aspx?guid=67de8dd6-4392-4df0-a7db-a71ec3de8575" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td>
			<a href="http://www.linuxprinting.org/show_printer.cgi?recnum=Samsung-CLX-3175FN" class="liexternal">Link</a> (keine Details)
		</td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>Mostly</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>Opensource: <a href="http://splix.ap2c.org/" class="liexternal">SpliX</a> (kein Support best&#228;tigt) <br />
Samsung: Unified Linux Driver, zur Qualit&#228;t siehe Bericht <a href="http://www.pro-linux.de/berichte/samsung-druckertreiber.html" class="liexternal">Pro-Linux Bericht</a></td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>kein Duplex m&#246;glich</td>
	</tr>
</table>



<h3 id="toc-brother-dcp-9045cdn">Brother DCP-9045CDN</h3>
<table  class="alternate_rows" id="brother">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan </td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>799</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>nicht spezifiziert</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>128 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>PLC 6 und PS 3 (beides emuliert)</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://www.brother.de/g3.cfm/s_page/65190/s_level/35190/s_product/DCP9045CDNG1" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td>kein Eintrag</td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex integriert</td>
	</tr>
</table>




<h3 id="toc-hp-color-laserjet-cm1312nfi-mfp-cc431a">HP Color LaserJet CM1312nfi MFP (CC431A)</h3>
<table  class="alternate_rows" id="hp">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>449 inkl MwSt</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>30.000</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>160 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>PLC 6 und PS 3 (emuliert)</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://h10010.www1.hp.com/wwpc/de/de/sm/WF06b/18972-18972-238444-3328086-3328086-3558902-3562008.html" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td><a href="http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_CM1312nfi" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>Mostly (Printer), kein Scan</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>hpijs</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex nicht m&#246;glich</td>
	</tr>
</table>


<h3 id="toc-hp-color-laserjet-cm2320fxi-mfp-cc435a">HP Color LaserJet CM2320fxi MFP (CC435A)</h3>
<table  class="alternate_rows" id="hp2">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>799 inkl MwSt</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>40.000</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>160 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>PLC 6 und PS 3 (emuliert)</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://h10010.www1.hp.com/wwpc/de/de/sm/WF06b/18972-18972-238444-3328086-3328086-3597338-3597470.html" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td>kein Eintrag</td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex integriert</td>
	</tr>
</table>



<h3 id="toc-lexmark-x502n">Lexmark X502n</h3>
<table  class="alternate_rows" id="lexmark">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>679 inkl MwSt</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>35.000 Seiten / Monat</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>128 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>Host-basiertes Drucken (GDI)</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://www.lexmark.de/lexmark/product/home/102/0,6970,1879_653293760_1065817190_de,00.html?tabId=1" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td>kein Eintrag</td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>???</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex nicht m&#246;glich</td>
	</tr>
</table>



<h3 id="toc-lexmark-x560n">Lexmark X560n</h3>
<table  class="alternate_rows" id="lexmark2">
	<tr>
		<td>Funktionen</td>
		<td>Druck (Farbe) / Kopie / Scan / Fax</td>
	</tr>
	<tr>
		<td>Preis</td>
		<td>999 inkl MwSt</td>
	</tr>
	<tr>
		<td>max Druckvolumen</td>
		<td>60.000 Seiten / Monat</td>
	</tr>
	<tr>
		<td>Speicher</td>
		<td>384 MB</td>
	</tr>
	<tr>
		<td>Sprache</td>
		<td>PS 3 / PCL 6 Emulation</td>
	</tr>
	<tr>
		<td>Anschl&#252;sse</td>
		<td>USB 2 / Eth 100</td>
	</tr>
	<tr>
		<td>Webseite</td>
		<td><a href="http://www.lexmark.de/lexmark/product/home/616/0,6970,1879_653293760_1177064040_de,00.html?tabId=1" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>OpenPrinting.org</td>
		<td><a href="http://www.linuxprinting.org/show_printer.cgi?recnum=Lexmark-X560n" class="liexternal">Link</a></td>
	</tr>
	<tr>
		<td>Linux Support</td>
		<td>Mostly</td>
	</tr>
	<tr>
		<td>Linux Treiber</td>
		<td>Postscript</td>
	</tr>
	<tr>
		<td>Anmerkung</td>
		<td>Duplex integriert</td>
	</tr>
</table>


<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2008/11/08/multifunktionsdrucker-unter-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>convert Images in batch process</title>
		<link>http://www.matthiaspospiech.de/blog/2008/08/23/convert-images-in-batch-process/</link>
		<comments>http://www.matthiaspospiech.de/blog/2008/08/23/convert-images-in-batch-process/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 14:12:34 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://www.matthiaspospiech.de/blog/2008/08/23/convert-images-in-batch-process/</guid>
		<description><![CDATA[Converting images in a batch process is not difficult in general, but approaches like this fail at filenames/directories with spaces


#!/bin/sh 
for file in $&#40;find -iname *.bmp&#41;; 
do 
mogrify -verbose -format png $file;
done




The solution is to use &#8216;read&#8217; in the following way


#!/bin/sh 
find . -iname &#34;*.bmp&#34; &#124; while read name; do  mogrify -verbose -format png [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/17/mfc-convert-cstring-to-int/' rel='bookmark' title='Permanent Link: Convert Cstring to int'>Convert Cstring to int</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Converting images in a batch process is not difficult in general, but approaches like this fail at filenames/directories with spaces</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh </span>
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #660033;">-iname</span> <span style="color: #000000; font-weight: bold;">*</span>.bmp<span style="color: #7a0874; font-weight: bold;">&#41;</span>; 
<span style="color: #000000; font-weight: bold;">do</span> 
mogrify <span style="color: #660033;">-verbose</span> <span style="color: #660033;">-format</span> png <span style="color: #007800;">$file</span>;
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>




<p>The solution is to use &#8216;read&#8217; in the following way</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh </span>
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-iname</span> <span style="color: #ff0000;">&quot;*.bmp&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> name; <span style="color: #000000; font-weight: bold;">do</span>  mogrify <span style="color: #660033;">-verbose</span> <span style="color: #660033;">-format</span> png <span style="color: #ff0000;">&quot;<span style="color: #007800;">$name</span>&quot;</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>



<p>which converts all *bmp to *.png in the folder and all of its subfolders.</p>



<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/17/mfc-convert-cstring-to-int/' rel='bookmark' title='Permanent Link: Convert Cstring to int'>Convert Cstring to int</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2008/08/23/convert-images-in-batch-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount a Samba Share from cheap NAS devices</title>
		<link>http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/</link>
		<comments>http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 12:34:51 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/</guid>
		<description><![CDATA[I recently bought a NAS device called &#8220;LANDISK&#8221; on ebay (search for SAMBA-FTP-USB-2-0-LAN on google).

This device includes a samba server which enables sharing of files on the network. The shared files can be accessed very simple via \\netdisk\\yourshare\. This works under Windows and under Linux in konqueror with smb://netdisk/yourshare.

It would however be nicer to have [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/' rel='bookmark' title='Permanent Link: Installation of openSuse 10.2'>Installation of openSuse 10.2</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-is-the-device-mounted/' rel='bookmark' title='Permanent Link: shell: is the device mounted ?'>shell: is the device mounted ?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I recently bought a NAS device called &#8220;LANDISK&#8221; on ebay (search for <a href="http://www.google.de/search?q=SAMBA-FTP-USB-2-0-LAN" class="liexternal">SAMBA-FTP-USB-2-0-LAN</a> on google).</p>

<p>This device includes a samba server which enables sharing of files on the network. The shared files can be accessed very simple via <code>\\netdisk\\yourshare\</code>. This works under Windows and under Linux in konqueror with <code>smb://netdisk/yourshare</code>.</p>

<p>It would however be nicer to have it mounted into the linux filesystem. Unfortunately at this step Linux fails miserably and leave many users totally frustrated! The problem is that the CIFS filesystem (smbfs was removed from the kernel) does not load the share.</p>
<span id="more-169"></span>
<p>The mount entry in fstab could look like this</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">//</span>netdisk<span style="color: #000000; font-weight: bold;">/</span>myshare <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>myshare cifs rw,guest</pre></div></div>




<p>This would result in the error message (if mounted manually with mount):</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># mount /home/myshare</span>
 Password:
 <span style="color: #c20cb9; font-weight: bold;">mount</span> error <span style="color: #000000;">20</span> = Not a directory
 Refer to the mount.cifs<span style="color: #7a0874; font-weight: bold;">&#40;</span> manual page <span style="color: #7a0874; font-weight: bold;">&#40;</span>e.g.man mount.cifs<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>




<p>If one searches for this error messages in the web it seems that most people expect that the user is doing something wrong and in most cases do not find the solution. The problem is, that the error message is NOT leading to the solution and not describing the problem.</p>

<p>The real reason is, that the samba share uses an old version of the SMB protocol which the CIFS implementation of Linux does not support (in its default configuration). The next problem is, that this can not even be configured directly.</p>

<p>The thing that needs to be modified is the setting for the CIFS Linux Extentions saved in <code>
/proc/fs/cifs/LinuxExtensionsEnabled.</code></p>

<p>The solution is then to add the following lines to /etc/init.d/boot.local</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>modprobe cifs
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>fs<span style="color: #000000; font-weight: bold;">/</span>cifs<span style="color: #000000; font-weight: bold;">/</span>LinuxExtensionsEnabled</pre></div></div>





<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/' rel='bookmark' title='Permanent Link: Installation of openSuse 10.2'>Installation of openSuse 10.2</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-is-the-device-mounted/' rel='bookmark' title='Permanent Link: shell: is the device mounted ?'>shell: is the device mounted ?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ucase / lcase</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/ucase-lcase/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/ucase-lcase/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:11:05 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=385</guid>
		<description><![CDATA[ucase
In Gro&#223;buchstaben umwandeln


#!/bin/sh 
#
for file in $&#40;ls -A&#41;; do 
mv $file $&#40;echo $file &#124; tr &#91;a-z&#93; &#91;A-z&#93;&#41;; done




lcase
In Kleinbuchstaben umwandeln


#!/bin/sh 
&#160;
for file in $&#40;ls -A&#41;; do 
mv $file $&#40;echo $file &#124; tr &#91;A-Z&#93; &#91;a-z&#93;&#41;; done






Related posts:Bilder nach png oder pdf konvertieren
bash: Copy everthing except &#8230;
shell: does the server exist ?



Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/10/bilder-nach-png-oder-pdf-konvertieren/' rel='bookmark' title='Permanent Link: Bilder nach png oder pdf konvertieren'>Bilder nach png oder pdf konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/bash-copy-everthing-except/' rel='bookmark' title='Permanent Link: bash: Copy everthing except &#8230;'>bash: Copy everthing except &#8230;</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-does-the-server-exist/' rel='bookmark' title='Permanent Link: shell: does the server exist ?'>shell: does the server exist ?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3 id="toc-ucase">ucase</h3>
<p>In Gro&#223;buchstaben umwandeln</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh </span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">ls</span> -A<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span> 
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$file</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$file</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>a-z<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>A-z<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>




<h3 id="toc-lcase">lcase</h3>
<p>In Kleinbuchstaben umwandeln</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh </span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">ls</span> -A<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span> 
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$file</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$file</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>A-Z<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>a-z<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>






<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/10/bilder-nach-png-oder-pdf-konvertieren/' rel='bookmark' title='Permanent Link: Bilder nach png oder pdf konvertieren'>Bilder nach png oder pdf konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/bash-copy-everthing-except/' rel='bookmark' title='Permanent Link: bash: Copy everthing except &#8230;'>bash: Copy everthing except &#8230;</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-does-the-server-exist/' rel='bookmark' title='Permanent Link: shell: does the server exist ?'>shell: does the server exist ?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/ucase-lcase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>m4a nach mp3</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/m4a-nach-mp3/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/m4a-nach-mp3/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:09:07 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=382</guid>
		<description><![CDATA[Konvertiert m4a Musikdateien nach mp3
m4aTomp3


#!/bin/bash 
# 
# Convert m4a to mp3 
&#160;
for i in $1/*.m4a 
do 
  mplayer -ao pcm &#34;$i&#34; -ao pcm:file=&#34;$i.wav&#34; 
  dest=`echo &#34;$i.wav&#34;&#124;sed -e 's/m4a.wav$/mp3/'` 
  lame -h -b 192 &#34;$i.wav&#34; &#34;$dest&#34; 
  rm &#34;$i&#34; &#34;$i.wav&#34; 
done




Related posts:ucase / lcase
csv Dateien nach LaTeX konvertieren
bash: Copy everthing except &#8230;



Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/ucase-lcase/' rel='bookmark' title='Permanent Link: ucase / lcase'>ucase / lcase</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/' rel='bookmark' title='Permanent Link: csv Dateien nach LaTeX konvertieren'>csv Dateien nach LaTeX konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/bash-copy-everthing-except/' rel='bookmark' title='Permanent Link: bash: Copy everthing except &#8230;'>bash: Copy everthing except &#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[Konvertiert m4a Musikdateien nach mp3
<h3 id="toc-m4atomp3">m4aTomp3</h3>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash </span>
<span style="color: #666666; font-style: italic;"># </span>
<span style="color: #666666; font-style: italic;"># Convert m4a to mp3 </span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/*</span>.m4a 
<span style="color: #000000; font-weight: bold;">do</span> 
  <span style="color: #c20cb9; font-weight: bold;">mplayer</span> <span style="color: #660033;">-ao</span> pcm <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #660033;">-ao</span> pcm:<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">file</span></span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>.wav&quot;</span> 
  <span style="color: #007800;">dest</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>.wav&quot;</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/m4a.wav$/mp3/'</span><span style="color: #000000; font-weight: bold;">`</span> 
  <span style="color: #c20cb9; font-weight: bold;">lame</span> <span style="color: #660033;">-h</span> <span style="color: #660033;">-b</span> <span style="color: #000000;">192</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>.wav&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dest</span>&quot;</span> 
  <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$i</span>.wav&quot;</span> 
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>




<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/ucase-lcase/' rel='bookmark' title='Permanent Link: ucase / lcase'>ucase / lcase</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/' rel='bookmark' title='Permanent Link: csv Dateien nach LaTeX konvertieren'>csv Dateien nach LaTeX konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/bash-copy-everthing-except/' rel='bookmark' title='Permanent Link: bash: Copy everthing except &#8230;'>bash: Copy everthing except &#8230;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/m4a-nach-mp3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>latin1 nach utf8</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/latin1-nach-utf8/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/latin1-nach-utf8/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:07:48 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=380</guid>
		<description><![CDATA[Konvertiert alle Dateien rekursiv unterhalb des aktuellen Verzeichnisses von Latin1 (iso-8859-1) nach utf8

ConvertIsoCharset.script


convmv -f iso-8859-1 -t utf8 -i -r --notest $1
&#160;
#       -f ENCODING
#           specify the current encoding of the filename(s) from which should
#       [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[Konvertiert alle Dateien rekursiv unterhalb des aktuellen Verzeichnisses von Latin1 (iso-8859-1) nach utf8

<h3 id="toc-convertisocharset-script">ConvertIsoCharset.script</h3>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">convmv <span style="color: #660033;">-f</span> iso-<span style="color: #000000;">8859</span>-<span style="color: #000000;">1</span> <span style="color: #660033;">-t</span> utf8 <span style="color: #660033;">-i</span> <span style="color: #660033;">-r</span> <span style="color: #660033;">--notest</span> $<span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#       -f ENCODING</span>
<span style="color: #666666; font-style: italic;">#           specify the current encoding of the filename(s) from which should</span>
<span style="color: #666666; font-style: italic;">#           be converted</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       -t ENCODING</span>
<span style="color: #666666; font-style: italic;">#           specify the encoding to which the filename(s) should be converted</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       -i  interactive mode (ask y/n for each action)</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       -r  recursively go through directories</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#       --notest</span>
<span style="color: #666666; font-style: italic;">#           Needed to actually rename the files. By default convmv will just</span>
<span style="color: #666666; font-style: italic;">#           print what it wants to do.</span></pre></div></div>





<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/latin1-nach-utf8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dateien entpacken</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/dateien-entpacken/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/dateien-entpacken/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:06:26 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=378</guid>
		<description><![CDATA[Dateien &#252;ber die Kommandozeile ohne Kenntnis des zum Packformat zugeh&#246;rigen Progamms entpacken 



#!/bin/sh
while &#91; x&#34;$1&#34; != x &#93;; do
 case &#34;$1&#34; in
 *.tar.gz &#124; *.tgz &#41;
 tar -xzf &#34;$1&#34;
 shift
 ;;
 *.tar.bz2 &#124; *.tbz &#41;
 tar -xjf &#34;$1&#34;
 shift
 ;;
 *.zip&#41;
 unzip &#34;$1&#34;
 shift
 ;;
 *.ace&#41;
 unace e &#34;$1&#34;
 shift
 ;;
 *.rar&#41;
 unrar x &#34;$1&#34;
 [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/' rel='bookmark' title='Permanent Link: csv Dateien nach LaTeX konvertieren'>csv Dateien nach LaTeX konvertieren</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[Dateien &#252;ber die Kommandozeile ohne Kenntnis des zum Packformat zugeh&#246;rigen Progamms entpacken 
<br />


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> x<span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= x <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">do</span>
 <span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
 <span style="color: #000000; font-weight: bold;">*</span>.tar.gz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">*</span>.tgz <span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.tar.bz2 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">*</span>.tbz <span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjf</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.zip<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.ace<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 unace e <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.rar<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 unrar x <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.tar<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xf</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.gz<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">gunzip</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span>.bz2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #c20cb9; font-weight: bold;">bunzip2</span> <span style="color: #ff0000;">&quot;$1&quot;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #7a0874; font-weight: bold;">shift</span>
 <span style="color: #000000; font-weight: bold;">;;</span>
 <span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>




<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/' rel='bookmark' title='Permanent Link: csv Dateien nach LaTeX konvertieren'>csv Dateien nach LaTeX konvertieren</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/dateien-entpacken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>csv Dateien nach LaTeX konvertieren</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:04:38 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=375</guid>
		<description><![CDATA[Das Skript convertiert csv Zeilen mit &#8220;;&#8221; als Trenner in LaTeX kompatible Tabellenzeilen

csv2latextable.script


&#160;
if &#91; -z $1 &#93; 
then
  echo &#34;No file to convert given to script - exit now&#34;
  exit
fi
&#160;
# for &#34;;&#34; seperation
sed &#34;s/;/ \&#38; /g; s/$/ \\\tabularnewline/&#34; $1 &#62; $1.latextable.txt
&#160;
# for tabular seperation
# sed &#34;s/\t/ \&#38; /g; s/$/ \\\tabularnewline/&#34; $1 &#62; $1.latextable.tex





Related [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/10/bilder-nach-png-oder-pdf-konvertieren/' rel='bookmark' title='Permanent Link: Bilder nach png oder pdf konvertieren'>Bilder nach png oder pdf konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/dateien-entpacken/' rel='bookmark' title='Permanent Link: Dateien entpacken'>Dateien entpacken</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[Das Skript convertiert csv Zeilen mit &#8220;;&#8221; als Trenner in LaTeX kompatible Tabellenzeilen

<h3 id="toc-csv2latextable-script">csv2latextable.script</h3>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> $<span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> 
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;No file to convert given to script - exit now&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># for &quot;;&quot; seperation</span>
<span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">&quot;s/;/ \&amp; /g; s/$/ \\<span style="color: #000099; font-weight: bold;">\t</span>abularnewline/&quot;</span> $<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> $1.latextable.txt
&nbsp;
<span style="color: #666666; font-style: italic;"># for tabular seperation</span>
<span style="color: #666666; font-style: italic;"># sed &quot;s/\t/ \&amp; /g; s/$/ \\\tabularnewline/&quot; $1 &gt; $1.latextable.tex</span></pre></div></div>





<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/10/bilder-nach-png-oder-pdf-konvertieren/' rel='bookmark' title='Permanent Link: Bilder nach png oder pdf konvertieren'>Bilder nach png oder pdf konvertieren</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/08/08/converting-latex-output-into-images-on-a-webserver/' rel='bookmark' title='Permanent Link: Converting LaTeX output into images on a webserver'>Converting LaTeX output into images on a webserver</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/10/10/dateien-entpacken/' rel='bookmark' title='Permanent Link: Dateien entpacken'>Dateien entpacken</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/csv-dateien-nach-latex-konvertieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cd mounten</title>
		<link>http://www.matthiaspospiech.de/blog/2007/10/10/cd-mounten/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/10/10/cd-mounten/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 13:03:13 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://test.pospiech.eu/?p=373</guid>
		<description><![CDATA[Mountet eine CD nach /mnt/isoCD

mountCD.sh


#!/bin/sh
mount -o loop -t iso9660 &#34;$1&#34; /mnt/isoCD





Related posts:shell: is the device mounted ?
Mount a Samba Share from cheap NAS devices
Local network shares with linux



Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-is-the-device-mounted/' rel='bookmark' title='Permanent Link: shell: is the device mounted ?'>shell: is the device mounted ?</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/' rel='bookmark' title='Permanent Link: Mount a Samba Share from cheap NAS devices'>Mount a Samba Share from cheap NAS devices</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[Mountet eine CD nach /mnt/isoCD

<h3 id="toc-mountcd-sh">mountCD.sh</h3><br />


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> loop <span style="color: #660033;">-t</span> iso9660 <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>isoCD</pre></div></div>





<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/03/31/shell-is-the-device-mounted/' rel='bookmark' title='Permanent Link: shell: is the device mounted ?'>shell: is the device mounted ?</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2008/03/30/mount-a-samba-share-from-cheap-nas-devices/' rel='bookmark' title='Permanent Link: Mount a Samba Share from cheap NAS devices'>Mount a Samba Share from cheap NAS devices</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/04/02/local-network-shares-with-linux/' rel='bookmark' title='Permanent Link: Local network shares with linux'>Local network shares with linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/10/10/cd-mounten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation of openSuse 10.2</title>
		<link>http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/</link>
		<comments>http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 10:48:00 +0000</pubDate>
		<dc:creator>pospiech</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Opensuse]]></category>

		<guid isPermaLink="false">http://www.pospiech.eu/blog/2007/04/03/installation-of-opensuse-102/</guid>
		<description><![CDATA[Note: A similar description can be found at Pimp my Suse.

InstallationGrubSystem ConfigurationNetworkprinterRemoval of unwanted FunctionsSambaSetup of /etc/hostsNetwork sharesSetup of apacheKde ConfigurationUpdatesmartyast / opensuseupdaterNvidia Video Driver Installation / X SetupSetup of /homeNew Home / Configuration filesDirectories and Linksmp3 and dvd with openSuse 10.2Installation of further packagesRSIbreakLaTeXFonts3rd party programs



Installation
The Installation worked mainly as usual. It only failed [...]


Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/03/restore-some-configuration-files/' rel='bookmark' title='Permanent Link: Restore some configuration files'>Restore some configuration files</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/01/30/howto-install-local-webserver-on-an-opensuse-system/' rel='bookmark' title='Permanent Link: Howto install a local webserver on an opensuse system'>Howto install a local webserver on an opensuse system</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/11/d-link-dwl-g510-with-opensuse-102/' rel='bookmark' title='Permanent Link: D-Link DWL-G510 with OpenSuse 10.2'>D-Link DWL-G510 with OpenSuse 10.2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Note: A similar description can be found at <a href="http://www.linux-club.de/faq/Pimp_my_SuSE" class="liexternal">Pimp my Suse</a>.</p>

<a id="toc"></a><ol class="toc"><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/#toc-installation" class="liinternal">Installation</a><ol><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/#toc-grub" class="liinternal">Grub</a></li></ol></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-system-configuration" class="liinternal">System Configuration</a><ol><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-network" class="liinternal">Network</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-printer" class="liinternal">printer</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-removal-of-unwanted-functions" class="liinternal">Removal of unwanted Functions</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-samba" class="liinternal">Samba</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-setup-of-etchosts" class="liinternal">Setup of /etc/hosts</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-network-shares" class="liinternal">Network shares</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/#toc-setup-of-apache" class="liinternal">Setup of apache</a></li></ol></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/3/#toc-kde-configuration" class="liinternal">Kde Configuration</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/3/#toc-update" class="liinternal">Update</a><ol><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/3/#toc-smart" class="liinternal">smart</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/3/#toc-yast-opensuseupdater" class="liinternal">yast / opensuseupdater</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/3/#toc-nvidia-video-driver-installation-x-setup" class="liinternal">Nvidia Video Driver Installation / X Setup</a></li></ol></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/4/#toc-setup-of-home" class="liinternal">Setup of /home</a><ol><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/4/#toc-new-home-configuration-files" class="liinternal">New Home / Configuration files</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/4/#toc-directories-and-links" class="liinternal">Directories and Links</a></li></ol></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/5/#toc-mp3-and-dvd-with-opensuse-10-2" class="liinternal">mp3 and dvd with openSuse 10.2</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/5/#toc-installation-of-further-packages" class="liinternal">Installation of further packages</a><ol><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/5/#toc-rsibreak" class="liinternal">RSIbreak</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/5/#toc-latex" class="liinternal">LaTeX</a></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/5/#toc-fonts" class="liinternal">Fonts</a></li></ol></li><li><a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/6/#toc-3rd-party-programs" class="liinternal">3rd party programs</a></li></ol>

<span id="more-73"></span>

<h3 id="toc-installation">Installation</h3>
<p>The Installation worked mainly as usual. It only failed at writing grub into the MBR, which is absolutely unacceptable. I had to install an option for the boot loader in an older distribution (10.1) to get 10.2 started. After that everything worked again as expected.</p>

<h4 id="toc-grub">Grub</h4>
The reasons for grub not working could be found in /boot/grub/device.map, which listed the following device


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>sil_agagdecafecb</pre></div></div>



which means /dev/hdc and is of course is a senseless entry. The file should have listed the following which is the content of &#8220;/boot/grub/device.map&#8221; in openSuse 10.1


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>fd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>fd0
<span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc
<span style="color: #7a0874; font-weight: bold;">&#40;</span>hd1<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdb</pre></div></div>



In the end I copied the /boot/grub/menu.lst from openSUSE 10.1 and changed the parameters for the other partition containing openSUSE 10.2.

/boot/grub/menu.lst


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Modified by YaST2. Last modification on Mon Mar 12 23:09:41 CET 2007</span>
default <span style="color: #000000;">0</span>
timeout <span style="color: #000000;">8</span>
gfxmenu <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>message
&nbsp;
&nbsp;
title OpenSuse <span style="color: #000000;">10.2</span>
    root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz <span style="color: #007800;">root</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc5 <span style="color: #007800;">vga</span>=0x31a <span style="color: #007800;">resume</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc3 <span style="color: #007800;">splash</span>=silent showopts
    initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd
&nbsp;
title Suse Linux <span style="color: #000000;">10.1</span>
    root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">5</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz <span style="color: #007800;">root</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc6 <span style="color: #007800;">vga</span>=0x31a <span style="color: #007800;">resume</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc3  <span style="color: #007800;">splash</span>=silent showopts
    initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd
&nbsp;
title windows <span style="color: #000000;">1</span>
    rootnoverify <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    chainloader <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdc,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>+<span style="color: #000000;">1</span>
&nbsp;
title Windows <span style="color: #000000;">2</span>
    map <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd1<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    map <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd1<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    chainloader <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd1,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>+<span style="color: #000000;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;">###Don't change this comment - YaST2 identifier: Original name: floppy###</span>
title Diskette
    rootnoverify <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
    chainloader <span style="color: #7a0874; font-weight: bold;">&#40;</span>fd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>+<span style="color: #000000;">1</span></pre></div></div>



The Installation of grub is described in <a href="/blog/2007/03/11/grub-installation/" class="liinternal">grub installation</a>.

<div class="toc-page-link">Next page: <a href="http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/2/" class="liinternal">&ldquo;System Configuration&rdquo;</a></div>

<p>Related posts:<ol><li><a href='http://www.matthiaspospiech.de/blog/2007/04/03/restore-some-configuration-files/' rel='bookmark' title='Permanent Link: Restore some configuration files'>Restore some configuration files</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/01/30/howto-install-local-webserver-on-an-opensuse-system/' rel='bookmark' title='Permanent Link: Howto install a local webserver on an opensuse system'>Howto install a local webserver on an opensuse system</a></li>
<li><a href='http://www.matthiaspospiech.de/blog/2007/03/11/d-link-dwl-g510-with-opensuse-102/' rel='bookmark' title='Permanent Link: D-Link DWL-G510 with OpenSuse 10.2'>D-Link DWL-G510 with OpenSuse 10.2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.matthiaspospiech.de/blog/2007/04/03/installation-of-opensuse-102/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
