<?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>random things</title>
	<atom:link href="https://random.kakaopor.hu/feed/" rel="self" type="application/rss+xml" />
	<link>https://random.kakaopor.hu</link>
	<description></description>
	<lastBuildDate>Sat, 12 Apr 2025 10:03:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.4</generator>
	<item>
		<title>Swap the Subject and description line in Roundcube Webmail mail list</title>
		<link>https://random.kakaopor.hu/swap-the-subject-and-description-line-in-roundcube-webmail-mail-list/</link>
				<comments>https://random.kakaopor.hu/swap-the-subject-and-description-line-in-roundcube-webmail-mail-list/#respond</comments>
				<pubDate>Sat, 12 Apr 2025 10:02:57 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=417</guid>
				<description><![CDATA[I have been using Roundcube Webmail for a really long time, but some recent update changed the view in the default skin, so now the message list is displayed in an odd way. There are two lines (no odd things so far), the first contains the sender and the time, the other one contains the<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/swap-the-subject-and-description-line-in-roundcube-webmail-mail-list/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[
<p>I have been using <a href="https://roundcube.net/">Roundcube Webmail</a> for a really long time, but some recent update changed the view in the default skin, so now the message list is displayed in an odd way. There are two lines (no odd things so far), the first contains the sender and the time, the other one contains the subject. Which is exactly the opposite of the usual way to display these information.</p>



<p>At first I thought I will get used to it quickly, but that was not the case so I wanted to swap it. I&#8217;ll spare everyone about the digging I had to do to achieve this simple task, in the end it boiled down to only one line of change:</p>



<p>The file <strong><em>program/js/app.js</em></strong> contains a <code>this.env.widescreen_list_template</code> list <a href="https://github.com/roundcube/roundcubemail/blob/master/program/js/app.js#L274">on line 274</a> where you need to reorder the list so <code>'subject'</code> is the first item:</p>



<figure class="wp-block-image"><img src="https://random.kakaopor.hu/wp-content/uploads/2025/04/image-1-1024x247.png" alt="" class="wp-image-419" srcset="https://random.kakaopor.hu/wp-content/uploads/2025/04/image-1-1024x247.png 1024w, https://random.kakaopor.hu/wp-content/uploads/2025/04/image-1-300x72.png 300w, https://random.kakaopor.hu/wp-content/uploads/2025/04/image-1-768x185.png 768w, https://random.kakaopor.hu/wp-content/uploads/2025/04/image-1.png 1220w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Moving the &#8216;subject&#8217; to the first line in Roundcube Webmail message list</figcaption></figure>



<p>You might need to do a hard refresh in your browser (Ctrl-F5), but that&#8217;s it.</p>



<p>Probably there is a nicer way to do this but after chasing this for an hour I wasn&#8217;t motivated enough to find it. If you know it then let me know.</p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/swap-the-subject-and-description-line-in-roundcube-webmail-mail-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Using ssh-rsa public key on Ubuntu 22.04 &#8211; no mutual signature algorithm</title>
		<link>https://random.kakaopor.hu/using-ssh-rsa-public-key-on-ubuntu-22-04-no-mutual-signature-algorithm/</link>
				<comments>https://random.kakaopor.hu/using-ssh-rsa-public-key-on-ubuntu-22-04-no-mutual-signature-algorithm/#respond</comments>
				<pubDate>Fri, 24 Nov 2023 16:41:46 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh-rsa]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=411</guid>
				<description><![CDATA[The RSA key for public key authentication was deprecated in 2020 due to security problems and although it is really not recommended to use this type of keys anymore here is how you can configure your server to accept it if you really need to. But this post is about the client side. The OpenSSH<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/using-ssh-rsa-public-key-on-ubuntu-22-04-no-mutual-signature-algorithm/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[
<p>The RSA key for public key authentication was deprecated in 2020 due to security problems and although it is really not recommended to use this type of keys anymore here is <a href="https://askubuntu.com/a/1409528">how you can configure your server to accept it</a> if you really need to. <strong>But this post is about the client side.</strong></p>



<p>The <strong>OpenSSH client</strong> starting from version 8.4 also deprecated ssh-rsa keys so it refuses to use it with the following message (when using the <strong>-v</strong> switch for verbose output):</p>



<pre class="wp-block-code"><code>$ ssh -v -i /path/to/id_rsa user@server
[...]
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /path/to/id_rsa RSA SHA256:1a2b3c4d[...] explicit
debug1: send_pubkey_test: no mutual signature algorithm
debug1: No more authentication methods to try.  
Permission denied (publickey).  </code></pre>



<p>Although the <code>no mutual signature algorithm</code> seems to be a server issue at first, it might be as well a problem on the client side &#8211; the client refuses to use the key despite not stating it clearly.</p>



<p>You can extend the accepted key algorithms using the option <code> -o "PubkeyAcceptedAlgorithms +ssh-rsa" </code> and this should solve the problem:</p>



<pre class="wp-block-code"><code>$ ssh -v -o "PubkeyAcceptedAlgorithms +ssh-rsa" -i /path/to/id_rsa user@server
[...]
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /path/to/id_rsa RSA SHA256:1a2b3c4d[...] explicit
debug1: Server accepts key: /path/to/id_rsa RSA SHA256:1a2b3c4d[...] explicit
Authenticated to server ([192.168.1.1]:22) using "publickey".</code></pre>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/using-ssh-rsa-public-key-on-ubuntu-22-04-no-mutual-signature-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>&#8220;Operation not supported&#8221; &#8211; extended attributes, getfattr, setfattr</title>
		<link>https://random.kakaopor.hu/operation-not-supported-extended-attributes-getfattr-setfattr/</link>
				<comments>https://random.kakaopor.hu/operation-not-supported-extended-attributes-getfattr-setfattr/#respond</comments>
				<pubDate>Tue, 03 Jan 2023 15:06:52 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[getfattr]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[setfattr]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=408</guid>
				<description><![CDATA[When using getfattr and setfattr on a filesystem that you&#8217;re sure about extended attributes is supported (i.e. ext4, reiserfs, btrfs) and get &#8220;Operation not supported&#8221; errors like this&#8230; # touch test.txt # setfattr --name test --value 42 test.txt setfattr: test.txt: Operation not supported # getfattr --name test test.txt test.txt: test: Operation not supported &#8230; then<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/operation-not-supported-extended-attributes-getfattr-setfattr/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[
<p>When using <a href="https://man7.org/linux/man-pages/man1/getfattr.1.html">getfattr</a> and <a href="https://man7.org/linux/man-pages/man1/setfattr.1.html">setfattr</a> on a filesystem that you&#8217;re sure about extended attributes is supported (i.e. ext4, reiserfs, btrfs) and get &#8220;Operation not supported&#8221; errors like this&#8230;</p>



<pre class="wp-block-preformatted"><strong># touch test.txt
# setfattr --name test --value 42 test.txt</strong>
setfattr: test.txt: Operation not supported
<strong># getfattr --name test test.txt</strong>
test.txt: test: Operation not supported</pre>



<p>&#8230; then make sure you&#8217;re using the &#8220;user&#8221; namespace (the name of the attribute is prefixed with <code>user.</code>), like this:</p>



<pre class="wp-block-preformatted"><strong># setfattr --name user.test --value 42 test.txt
# getfattr --name user.test test.txt
</strong># file: test.txt
user.test="42"</pre>



<p>And please don&#8217;t ask me why I&#8217;m posting this.</p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/operation-not-supported-extended-attributes-getfattr-setfattr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Repairing a broken mp4 video using untrunc &#8211; &#8220;moov atom not found&#8221;</title>
		<link>https://random.kakaopor.hu/repairing-broken-mp4-using-untrunc-moov-atom-not-found/</link>
				<comments>https://random.kakaopor.hu/repairing-broken-mp4-using-untrunc-moov-atom-not-found/#respond</comments>
				<pubDate>Thu, 21 Apr 2022 12:45:29 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffprobe]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[moov atom]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[untrunc]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=402</guid>
				<description><![CDATA[The problem VLC reports: Ffprobe and ffmpeg reports: The details The moov atom is basically and index and technical description to the mp4 file, as it contains info about the whole video it can only be written once the video is complete, so it is usually located at the end of the file. If the<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/repairing-broken-mp4-using-untrunc-moov-atom-not-found/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[
<h2>The problem</h2>



<p>VLC reports:</p>



<pre class="wp-block-code"><code>[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9030c5ea00] moov atom not found</code></pre>



<p>Ffprobe and ffmpeg reports:</p>



<pre class="wp-block-code"><code>[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c2c17aa600] moov atom not found
videofile.mp4: Invalid data found when processing input</code></pre>



<h2>The details</h2>



<p>The <code>moov atom</code> is basically and index and technical description to the mp4 file, as it contains info about the whole video it can only be written once the video is complete, so it is usually located at the end of the file.</p>



<p>If the recording device loses power, crashes, runs out of disk space, or a download fails for any reason, the file gets broken.</p>



<p>Unfortunately the <code>moov atom</code> is unique to every video, even the recorders/encoders have different parameters.</p>



<p>This can affect GoPro videos, iPhone recordings, live stream recordings, etc.</p>



<h2>The (possible) solution</h2>



<p>There is a tool called <a href="https://github.com/anthwlock/untrunc">untrunc</a>, but I recommend <a href="https://github.com/anthwlock/untrunc">the fork by anthwlock</a> as it has several improvements over the original (better performance, easier build and better compatibility).</p>



<p>It works by analyzing a video that was recorded by the same recorder/encoder (&#8220;good.mp4&#8221; in the example) then tries to recreate a <code>moov atom</code> for the broken video (&#8220;broken.mp4&#8221; in the example) based on that.</p>



<p>All you need to do is download the code, compile it, then run:</p>



<pre class="wp-block-code"><code>./untrunc good.mp4 broken.mp4</code></pre>



<p>This has worked for me several times but there are detailed description in the repository so check that out if you need more info.</p>



<p>Note: the &#8220;good&#8221; video should be recorded with the same settings (i.e. same video mode, slow motion, etc.) with the same version of the same software as the broken one.</p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/repairing-broken-mp4-using-untrunc-moov-atom-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>systemd-tty-ask hangs</title>
		<link>https://random.kakaopor.hu/systemd-tty-ask-hangs/</link>
				<comments>https://random.kakaopor.hu/systemd-tty-ask-hangs/#respond</comments>
				<pubDate>Fri, 09 Feb 2018 13:29:22 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[systemd]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=387</guid>
				<description><![CDATA[It is rather annoying when systemd-tty-ask or /bin/systemd-tty-ask-password-agent &#8211;watch hangs during a package installation, service start or stop operation. Although rebooting system solves the problem, fortunately it is enough to restart the systemd manager only: sudo systemctl daemon-reexec I suspect this is a systemd bug as daemon-reexec said to be doing nothing special apart from<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/systemd-tty-ask-hangs/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<p>It is rather annoying when <b>systemd-tty-ask</b> or <b>/bin/systemd-tty-ask-password-agent &#8211;watch</b> hangs during a package installation, service start or stop operation.</p>
<p>Although rebooting system solves the problem, fortunately it is enough to restart the systemd manager only:</p>
<p><code>sudo systemctl daemon-reexec</code></p>
<p>I suspect this is a systemd bug as <a href="https://serverfault.com/a/805751">daemon-reexec</a> said to be doing nothing special apart from restarting the daemon with the config reread.</p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/systemd-tty-ask-hangs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>&#8220;failed to add gnttab to physmap&#8221; when starting a HVM guest in XEN with memory over 3200 MB</title>
		<link>https://random.kakaopor.hu/failed-to-add-gnttab-to-physmap-when-starting-a-hvm-guest-in-xen-with-memory-over-3200-mb/</link>
				<comments>https://random.kakaopor.hu/failed-to-add-gnttab-to-physmap-when-starting-a-hvm-guest-in-xen-with-memory-over-3200-mb/#respond</comments>
				<pubDate>Tue, 04 Aug 2015 12:58:11 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hvm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shadow_memory]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=380</guid>
				<description><![CDATA[I have some HVM guests on XEN but most of them have memory around or less than 2048 MB. However when I tried to give more than 3200 MB of RAM to them I faced the following message: # xl create /etc/xen/configs/a.conf Parsing config from /etc/xen/configs/a.conf xc: error: panic: xc_dom_boot.c:395: xc_dom_gnttab_hvm_seed: failed to add gnttab<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/failed-to-add-gnttab-to-physmap-when-starting-a-hvm-guest-in-xen-with-memory-over-3200-mb/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<p>I have some HVM guests on XEN but most of them have memory around or less than 2048 MB. However when I tried to give more than 3200 MB of RAM to them I faced the following message:</p>
<p><code># xl create /etc/xen/configs/a.conf<br />
Parsing config from /etc/xen/configs/a.conf<br />
xc: error: panic: xc_dom_boot.c:395: xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=22]<br />
: Internal error<br />
libxl: error: libxl_dm.c:1388:device_model_spawn_outcome: domain 13 device model: spawn failed (rc=-3)<br />
libxl: error: libxl_create.c:1186:domcreate_devmodel_started: device model did not start: -3<br />
libxl: error: libxl_dm.c:1492:kill_device_model: Device Model already exited</code></p>
<p>And to make it easier, not all the tried XEN hosts produced the above message (6 in 7 produced).</p>
<p>After a lot of google searches (<a href="https://www.google.com/search?q=xc_dom_boot.c%3A395%3A+xc_dom_gnttab_hvm_seed%3A+failed+to+add+gnttab+to+physmap">some with no results at all</a>) I could not get around this problem, and after some trial and error guesses I found the problematic part.</p>
<p>It seems that the default <strong>shadow_memory = 8</strong> (in MB) parameter was too low. After finding this out I found <a href="http://old-list-archives.xenproject.org/xen-devel/2006-08/msg01653.html">a post on the Xen-devel maillist</a> mentioning the approximate requirements of the shadow_memory: <em>there should be 2KB of memory for every one MB of RAM assigned to the guest domain, plus a few MB per vcpu (~2MB).</em></p>
<p>Anyway, doubling this number seems to be solving this problem, my config now looks like the following:</p>
<pre>name = "a"
vcpus = 2
<strong>memory = 6000</strong>
vif = [ "bridge=br0,mac=aa:ab:ac:ad:ae:af" ]
boot = "n"
vnc = 1
vncpasswd = "xxxxxxxx"

builder = "hvm"
acpi = 1
apic = 1
pae = 1
<strong>shadow_memory = 16</strong>
sdl = 0
vnclisten  = "0.0.0.0"
vncconsole = 1
stdvga = 0
serial = "pty"
usbdevice = "tablet"

on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
</pre>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/failed-to-add-gnttab-to-physmap-when-starting-a-hvm-guest-in-xen-with-memory-over-3200-mb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Repacking Debian .deb package using different compression</title>
		<link>https://random.kakaopor.hu/repacking-debian-deb-package-using-different-compression/</link>
				<comments>https://random.kakaopor.hu/repacking-debian-deb-package-using-different-compression/#respond</comments>
				<pubDate>Fri, 17 Jul 2015 17:00:22 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=369</guid>
				<description><![CDATA[Just a quick howto on repacking Debian .deb package from one compression to the other. Create a temporary directory:mkdir ./tmp Extract the package contents:dpkg --extract package.deb ./tmp Extract the control files (must be done to a directory called DEBIAN):dpkg --control package.deb ./tmp/DEBIAN Create the new package (-Z accepts gzip, bzip2, xz and none):dpkg-deb --build -Zgzip<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/repacking-debian-deb-package-using-different-compression/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<p>Just a quick howto on repacking Debian .deb package from one compression to the other.</p>
<ol>
<li>Create a temporary directory:<br /><code>mkdir ./tmp</code></li>
<li>Extract the package contents:<br /><code>dpkg --extract <em>package</em>.deb ./tmp</code></li>
<li>Extract the control files (must be done to a directory called DEBIAN):<br /><code>dpkg --control <em>package</em>.deb ./tmp/DEBIAN</code></li>
<li>Create the new package (-Z accepts gzip, bzip2, xz and none):<br /><code>dpkg-deb --build -Zgzip ./tmp <em>package</em>_gzip.deb</code></li>
<li>Profit.</li>
</ol>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/repacking-debian-deb-package-using-different-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Installing Skype on 64-bit Ubuntu 12.04 LTS (Precise) / Debian Wheezy / Debian Jessie</title>
		<link>https://random.kakaopor.hu/installing-skype-on-64-bit-ubuntu-12-04-lts-precise-debian-wheezy-debian-jessie/</link>
				<comments>https://random.kakaopor.hu/installing-skype-on-64-bit-ubuntu-12-04-lts-precise-debian-wheezy-debian-jessie/#comments</comments>
				<pubDate>Wed, 13 May 2015 12:57:21 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=360</guid>
				<description><![CDATA[Download one of Ubuntu 12.04 (multiarch) or Debian 7.0 (multiarch) version from the Skype download page. Add the i386 architecture to your package manager:sudo dpkg --add-architecture i386 Update your package list:sudo apt-get update Try installing the Skype package &#8211; will fail on dependency tests, that&#8217;s normal!:sudo dpkg -i Downloads/skype-&#60;version&#62;_i386.deb Fix the dependencies and then install<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/installing-skype-on-64-bit-ubuntu-12-04-lts-precise-debian-wheezy-debian-jessie/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<ol>
<li>Download one of <em>Ubuntu 12.04 (multiarch)</em> or <em>Debian 7.0 (multiarch)</em> version from the <a href="http://www.skype.com/en/download-skype/skype-for-computer/">Skype download page</a>.</li>
<li>Add the i386 architecture to your package manager:<br /><code>sudo dpkg --add-architecture i386</code></li>
<li>Update your package list:<code>sudo apt-get update</code></li>
<li>Try installing the Skype package &#8211; <strong>will fail on dependency tests, that&#8217;s normal!</strong>:<code>sudo dpkg -i Downloads/skype-<em>&lt;version&gt;</em>_i386.deb</code></li>
<li>Fix the dependencies and then install the Skype package:<br /><code>sudo apt-get -f install</code></li>
<li>Profit.</li>
</ol>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/installing-skype-on-64-bit-ubuntu-12-04-lts-precise-debian-wheezy-debian-jessie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>Huawei E173 &#8211; how to disable CD-ROM?</title>
		<link>https://random.kakaopor.hu/huawei-e173-how-to-disable-cd-rom/</link>
				<comments>https://random.kakaopor.hu/huawei-e173-how-to-disable-cd-rom/#respond</comments>
				<pubDate>Fri, 19 Dec 2014 10:34:20 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[e173]]></category>
		<category><![CDATA[huawei]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile internet]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[modeswitch]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usb-modem]]></category>
		<category><![CDATA[usb_modeswitch]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=346</guid>
				<description><![CDATA[When connecting a Huawei E173 mobile internet stick (and probably a lot of others as I have seen, but I have several of the E173) the first thing that comes up is the driver CD. When using from a terminal (in Linux for example) this can be annoying but the usb_modeswitch will do the switch<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/huawei-e173-how-to-disable-cd-rom/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<p>
When connecting a Huawei E173 mobile internet stick (and probably a lot of others as I have seen, but I have several of the E173) the first thing that comes up is the driver CD. When using from a terminal (in Linux for example) this can be annoying but the usb_modeswitch will do the switch and the modem will come up. Except when there are more than one sticks connected. Then you will need some luck (could not find out why this is happening) to make the switch on the latest stick.
</p>
<p>
Fortunately enough there is a solution to skip all the hassle and make the modem jump right into modem mode!
</p>
<p>
To disable the CD-ROM, the SD card reader the need of usb_modeswitch and jump straight to modem mode on Huawei E173 mobile internet stick you need to send the following AT command: <b>AT^U2DIAG=0</b>
</p>
<p>
Note: you can use any program that can communicate with a modem via serial interface (minicom for example or hyperterminal (for Windows guys)). You might also still need to do a modeswitch one time to be able to enter this command.
</p>
<p>
The <b>AT^U2DIAG</b> sets <a href="http://www.3g-modem-wiki.com/page/Huawei+AT-commands">what component/function is available on the stick to the user</a>. (See the previous link for more info.) You can also check the current setting entering <b>AT^U2DIAG?</b> (yes, the questionmark is the part of the command).
</p>
<p>
See also:
</p>
<ul>
<li><a href="http://www.3g-modem-wiki.com/page/Huawei+AT-commands">http://www.3g-modem-wiki.com/page/Huawei+AT-commands</a></li>
<li><a href="http://sysadmin.toshiro.biz/hardware/disable-cd-rom-and-sd-storage-in-huawei-e173-usb-modem/">http://sysadmin.toshiro.biz/hardware/disable-cd-rom-and-sd-storage-in-huawei-e173-usb-modem/</a></li>
</ul>
<p><small>I wrote this post for the reason I could not find these info easily enough from time to time&#8230; I had to try a few google searches to find the answer, maybe I am not the only one who had this problem and I might have used better keywords.</small></p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/huawei-e173-how-to-disable-cd-rom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>4 x 146 GB 15k RPM SAS disks in RAID-0</title>
		<link>https://random.kakaopor.hu/4-x-146-gb-15k-rpm-sas-disks-in-raid-0/</link>
				<comments>https://random.kakaopor.hu/4-x-146-gb-15k-rpm-sas-disks-in-raid-0/#respond</comments>
				<pubDate>Thu, 11 Jul 2013 09:35:48 +0000</pubDate>
		<dc:creator><![CDATA[gheja]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://random.kakaopor.hu/?p=341</guid>
				<description><![CDATA[Just a quick post. I created the RAID-0 array just for a speed test on a HP ProLiant DL380p G8 server. # dd if=/dev/vg0/test of=/dev/null bs=8M iflag=direct 1280+0 records in 1280+0 records out 10737418240 bytes (11 GB) copied, 16.0664 s, 668 MB/s # dd if=/dev/zero of=/dev/vg0/test bs=8M oflag=direct 1281+0 records in 1280+0 records out 10737418240<p class="readmore-p"><a class="readmore" href="https://random.kakaopor.hu/4-x-146-gb-15k-rpm-sas-disks-in-raid-0/">Read More</a></p>]]></description>
								<content:encoded><![CDATA[<p>Just a quick post. I created the RAID-0 array just for a speed test on a HP ProLiant DL380p G8 server.</p>
<p><code># dd if=/dev/vg0/test of=/dev/null bs=8M iflag=direct<br />
1280+0 records in<br />
1280+0 records out<br />
10737418240 bytes (11 GB) copied, 16.0664 s, 668 MB/s</code><br />
<code># dd if=/dev/zero of=/dev/vg0/test bs=8M oflag=direct<br />
1281+0 records in<br />
1280+0 records out<br />
10737418240 bytes (11 GB) copied, 15.8712 s, 677 MB/s</code></p>
<p>Read speed: 668 MB/s</p>
<p>Write speed: 677 MB/s</p>
<p>Note: this is sequential read/write, random would be far worse, although I have not performed more tests (yet?).</p>
]]></content:encoded>
							<wfw:commentRss>https://random.kakaopor.hu/4-x-146-gb-15k-rpm-sas-disks-in-raid-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
