<?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>ejs &#187; Debian</title>
	<atom:link href="http://ejs.seniejitrakai.net/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://ejs.seniejitrakai.net</link>
	<description>a snaphot of time</description>
	<lastBuildDate>Tue, 15 Jun 2010 23:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to start multisite Gallery2 on Debian</title>
		<link>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/</link>
		<comments>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 06:35:00 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gallery2]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=45</guid>
		<description><![CDATA[I had a little disc and database crash, so the site was not updated recently. Well, WordPress was updated easily, but i had problems with Gallery2. I need a multisite deployment of Gallery2. Although it is supported from the installer, some important steps are missing. In order multisite Gallery2 to work, you will need to [...]]]></description>
			<content:encoded><![CDATA[<p>I had a little disc and database crash, so the  site was not updated recently.</p>
<p>Well, WordPress was updated easily, but i had problems with Gallery2.</p>
<p>I need a multisite deployment of Gallery2. Although it is supported from the installer, some important steps are missing.</p>
<p>In order multisite Gallery2 to work, you will need to add some symlinks to every deployment of the Gallery2:</p>
<p><span id="more-45"></span></p>
<ul>
<li> lib -&gt; /usr/share/gallery2/lib/</li>
<p>The directory is providing some scripts amongst all, so without it you will lack some functionality, like enabling themes will not work.</p>
<li> modules -&gt; /usr/share/gallery2/modules</li>
<li> themes -&gt; /usr/share/gallery2/themes</li>
<p>The themes directory is providing CSS file, so without this your gallery will look &#8220;flat&#8221;.</ul>
<p>Also, you can try to use &#8220;php_admin_flag safe_mode Off&#8221; in the Apache&#8217;s VirtualHost description, in the case PHP safe mode is turned on globally.</p>
<p>And yes, beware: do not ever mix web directory and data directory: the content of web directory is erased during install.</p>
<p><code># date<br />
Sat Jul 11 10:34:07 EEST 2009<br />
# dpkg -l |egrep gallery2<br />
ii  gallery2                          2.3-1                       web-based photo album written in PHP<br />
</code></p>
<p> The fresh issue: after fresh install (Gallery&#8230; deb), no one is able to login. The solution is explained <a href="http://gallery.menalto.com/node/76322">here</a> &#8211; you should set <code>$gallery->setConfig('baseUri', '');</code> in &#8216;config.php&#8217;.</p>
<p> Again, having both left hands, i was unable to start multisite version of Gallery2, using install scripts. What i had to change was:</p>
<ol>
<li>remove &#8216;lib/&#8217;</li>
<li>symlink &#8216;lib/&#8217; , &#8216;modules/&#8217; , &#8216;themes/&#8217; from &#8216;/usr/share/gallery2&#8242; to site root</li>
<li>symlink or copy and alter &#8216;images/&#8217; from &#8216;/usr/share/gallery2&#8242; to site root</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bnx2: Can&#8217;t load firmware file bnx2-06-4.0.5.fw</title>
		<link>http://ejs.seniejitrakai.net/2009/07/06/bnx2-cant-load-firmware-file-bnx2-06-405fw/</link>
		<comments>http://ejs.seniejitrakai.net/2009/07/06/bnx2-cant-load-firmware-file-bnx2-06-405fw/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 20:02:58 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=112</guid>
		<description><![CDATA[After migration from 2.6.18-6-amd64, a newly installed kernel 2.6.26-2-amd64 failed to load: [ 2.871916] Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.7.5 (April 29, 2008) ... [ 3.631838] firmware: requesting bnx2-06-4.0.5.fw ... [ 105.599417] bnx2: Can't load firmware file bnx2-06-4.0.5.fw ... [ 105.599563] bnx2: probe of 0000:03:00.0 failed with error -2 ... [ 106.791394] firmware: [...]]]></description>
			<content:encoded><![CDATA[<p>After migration from 2.6.18-6-amd64, a newly installed kernel 2.6.26-2-amd64 failed to load:<br />
<code><br />
[    2.871916] Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.7.5 (April 29, 2008)<br />
...<br />
[    3.631838] firmware: requesting bnx2-06-4.0.5.fw<br />
<span id="more-112"></span>...<br />
[  105.599417] bnx2: Can't load firmware file bnx2-06-4.0.5.fw<br />
...<br />
[  105.599563] bnx2: probe of 0000:03:00.0 failed with error -2<br />
...<br />
[  106.791394] firmware: requesting bnx2-06-4.0.5.fw<br />
[  203.699607] bnx2: Can't load firmware file bnx2-06-4.0.5.fw<br />
...<br />
[  203.699742] bnx2: probe of 0000:05:00.0 failed with error -2<br />
</code></p>
<p>First of all, firmware is in non-free branch, so /etc/apt/sources.list must contain &#8220;non-free&#8221; repository and:<br />
install firmware-bnx2 package: </p>
<blockquote><p>apt-get install firmware-bnx2</p></blockquote>
<p>;</p>
<p>double check the files in <code>/lib/firmware/</code>;</p>
<p><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494936">Some people</a> report it&#8217;s still impossible to load firmware from initrd, so you may wish to remove bnx2 line from &#8216;/etc/initramfs-tools/modules&#8217;;</p>
<p>&#8220;firmware-bnx2&#8243; already has initrd update scripts, but you may want to re-check the created image.<br />
You can extract the initrd image using </p>
<blockquote><p>gzip -dc /boot/initrd.img-[]kernel version-arch] | cpio -id</p></blockquote>
<p>Cross your fingers;<br />
<code>telinit 6</code>;<br />
It just worked for me:  </p>
<blockquote><p># uname -a<br />
Linux &#8230; 2.6.26-2-amd64 #1 SMP &#8230; x86_64 GNU/Linux</p></blockquote>
<p>Still got no ping? Login to console and <code>rmmod bnx2 &#038;&#038; modprobe bnx2</code> <img src='http://ejs.seniejitrakai.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2009/07/06/bnx2-cant-load-firmware-file-bnx2-06-405fw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Samba and CUPS in Debian friends again</title>
		<link>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/</link>
		<comments>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 18:28:20 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[CUPS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/</guid>
		<description><![CDATA[I&#8217;ve seen a lot of these entries in logfiles recently: [] printing/print_cups.c:cups_job_submit(656) Unable to print file to - client-error-bad-request And the printing is stopped, of course. The solution is simple: LANG=en_US.UTF-8 /etc/init.d/samba restart In short: /var/log/cups/error_log shows a lot of E [] Unsupported character set "iso-8859-1"! CUPS requires UTF-8. In the case of default login [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a lot of these entries in logfiles recently:</p>
<p><code>[<date and time>] printing/print_cups.c:cups_job_submit(656)<br />
  Unable to print file to
<printer name> - client-error-bad-request<br />
</code></p>
<p>And the printing is stopped, of course.</p>
<p>The <a href="http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/08e29c72aff5ea44/83350881376f6bc1?lnk=raot">solution</a> is simple:</p>
<p><code> LANG=en_US.UTF-8 /etc/init.d/samba restart</code></p>
<p>In short:<br />
<em>/var/log/cups/error_log</em> shows a lot of </p>
<p><code>E [<date>] Unsupported character set "iso-8859-1"!</code></p>
<p>CUPS requires UTF-8.<br />
In the case of default login in Debian, the console IS in UTF-8, but is not if you have customized it and use `su` for administrative tasks.</p>
<p>C&#8217;ia.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2008/04/15/lets-make-samb-and-cups-friends-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netgear WG511 Wi-Fi card in Debian</title>
		<link>http://ejs.seniejitrakai.net/2007/02/07/netgear-wg511-wi-fi-card-in-debian/</link>
		<comments>http://ejs.seniejitrakai.net/2007/02/07/netgear-wg511-wi-fi-card-in-debian/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 21:53:29 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Netgear]]></category>
		<category><![CDATA[WG511]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=44</guid>
		<description><![CDATA[Long time ago i&#8217;ve bought Netgear WG511 PCMCIA WiFi card. It&#8217;s version 2, and is supported by prism54 module. the basic info is in jkx page, but at least 3 years have passed In order to run in Linux, you need: PCMCIA bus modules &#8211; pcmcia, pcmci_core and yenta_socket in my case; prism54 module to [...]]]></description>
			<content:encoded><![CDATA[<p>Long time ago i&#8217;ve bought Netgear WG511 PCMCIA WiFi card. It&#8217;s version 2, and is supported by prism54 module. the basic info is in <a href="http://www.larsen-b.com/Article/73.html">jkx page</a>, but at least 3 years have passed <img src='http://ejs.seniejitrakai.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In order to run in Linux, you need:<br /><span id="more-44"></span></p>
<ol>
<li>PCMCIA bus modules &#8211; pcmcia, pcmci_core and yenta_socket in my case;</li>
<li> prism54 module to talk to the card;</li>
<li> firmware_class module to load the firmware</li>
<li>actual firmware</li>
<li>wireles-tools package to manage link</li>
</ol>
<p>The WG511 uses isl3890 module, which was available <a href="http://prism54.org/firmware/isl3890">here</a>, but due to copyright restrictions, it&#8217;s not there any more. The backup is <a href="http://prism54.org/firmware/">prism54.org firmware page</a> or <a href="1.0.4.3.arm">my local backup</a>. Netgear WG511 uses 1.0.4.3.arm firmware. Just be sure to place it into &#8216;/usr/lib/hotplug/firmware&#8217; in Debian and symlink or rename it to &#8216;isl3890&#8242;.</p>
<p>What you need more, is to edit &#8216;/etc/network/interfaces&#8217; file and add some lines about the WiFi card:</p>
<p>My WiFi card is eth2, as eth0 goes for embedded wired network and eth1 is for IEEE1384/FireWire link:<br />
&#8230;<br />
allow-hotplug eth2<br />
iface eth2 inet dhcp<br />
      wireless-essid your_APs_ssid_here<br />
      wireless-mode managed<br />
      wireless-key1 ActualKeyMustBeEnteredHere<br />
      wireless-defaultkey 1</p>
<p>Voila. Plug-in the card, and run /sbin/iwconfig.</p>
<blockquote><p>$ /sbin/iwconfig<br />
lo        no wireless extensions.</p>
<p>eth0      no wireless extensions.</p>
<p>eth1      no wireless extensions.</p>
<p>sit0      no wireless extensions.</p>
<p>eth2      IEEE 802.11b/g  ESSID:&#8221;your_APs_ssid_here&#8221;<br />
          Mode:Managed  Frequency:2.467 GHz  Access Point: 00:00:00:00:00:00<br />
          Bit Rate:54 Mb/s   Tx-Power=31 dBm   Sensitivity=20/200<br />
          Retry min limit:8   RTS thr:2347 B   Fragment thr:2346 B<br />
          Link Quality:19/0  Signal level:-50 dBm  Noise level:-40 dBm<br />
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0<br />
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
</p>
</blockquote>
<p>The problem is when you plug-in the WiFi card and your wired network stays connected. In this case you must configure routing.<br />
Or you can disable wired link with &#8216;sudo ifdown eth0&#8242;.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2007/02/07/netgear-wg511-wi-fi-card-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
