tag:blogger.com,1999:blog-52884553440079591962024-03-13T06:14:41.176-05:00pjwelsh's mostly geek musingsMostly geek musings: Linux, CentOS, gaming etcpjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.comBlogger62125tag:blogger.com,1999:blog-5288455344007959196.post-53741022830448919852013-06-21T07:52:00.000-05:002013-06-21T07:52:47.521-05:00Google 2 factor authentication with Zimbra DesktopI would like to thank the user "wdurham" for pointing me in the correct direction:<br />
<br />
For Google account security reasons, I decided to enable the 2 factor authentication earlier this year. I have been using the <a href="https://www.zimbra.com/downloads/zd-downloads.html" target="_blank">Zimbra Desktop email client</a> to consolidate my various email accounts. There are many good features implemented in Zimbra Desktop. The (now) sad reality is that VMware has stopped any further development so I will be looking for a new one :(<br />
<br />
<br />
<ol>
<li>Enable Google's <a href="http://www.google.com/landing/2step/" target="_blank">2 factor/2 step authenticatoin</a></li>
<li>Create an <a href="http://support.google.com/a/bin/answer.py?hl=en&answer=1032419" target="_blank">Application Specific Password (ASP)</a> and keep it handy</li>
<li>Temporarily <a href="https://accounts.google.com/b/0/DisplayUnlockCaptcha" target="_blank">unlock</a> the account</li>
<li>Now use the just created ASP in the password field for the Zimbra Desktop client</li>
</ol>
pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-37168687394556692942012-10-29T10:55:00.002-05:002012-10-29T11:20:13.332-05:00Zimbra 8.0 upgrade from Zimbra 7.2 on CentOS 6.x quickyWoot Woot. The rather well done <a href="http://www.zimbra.com/">Zimbra Collaboration Server</a> ("<span style="background-color: white; color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px;">enterprise-class email, calendar and collaboration solution")</span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px;"> has a major version change from 7.2.1 to version 8.0.0! We choose to run the </span><span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 24px;"><a href="http://www.zimbra.com/products/zimbra-open-source.html">Zimbra Collaboration Server Open Source Edition (OSE)</a>. We have previously upgraded through the 7.1 and 7.2 series with no issues. This is a brief overview of what needed to happen to get from 7.2.0 -> 8.0.0 on my CentOS 64-bit test server. I will take the production system from 7.2.1 -> 8.0.0 after a couple of weeks of random testing. I'm not crazy enough to just put a dot0 version in production. I may even wait a month to make sure enough bugs are worked through. I do have a job I want to keep ;)</span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 24px;"><br /></span></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 24px;">Naturally, one should start by reading the very informative Zimbra 8.0.0 GA Release <a href="http://files.zimbra.com/website/docs/8.0/Zimbra_OS_Release_Notes_8.0.0.pdf">Release Notes</a>. I am glad to see the "Inline reply", "Autocomplete matches now work correctly for Contact Groups" </span></span><span style="font-family: Arial, Helvetica, sans-serif; line-height: 24px;">bugs fixed! The "</span><span style="font-family: Arial, Helvetica, sans-serif; line-height: 24px;">Per folder message retention policy creation" added is long overdue IMHO. Don't short change your upgrade by skipping the release notes. You *should* take the time to go through it!</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; line-height: 24px;"><br /></span>
<br />
<div>
As root:</div>
<div>
screen</div>
<div>
tar -xzvf zcs-8.0.0_GA_5434.RHEL6_64.20120907144639.tgz</div>
<div>
cd zcs-8.0.0_GA_5434.RHEL6_64.20120907144639</div>
<div>
./install.sh --platform-override</div>
<div>
<br /></div>
<div>
To get the new 5 year default SSL cert, you will want to run as user zimbra:</div>
<div>
<div>
sudo /opt/zimbra/bin/zmcertmgr createca -new</div>
</div>
<div>
<div>
sudo /opt/zimbra/bin/zmcertmgr deployca</div>
</div>
<div>
<div>
sudo /opt/zimbra/bin/zmcertmgr deploycrt self</div>
</div>
<div>
<br />
Production server upgrade note (10/29/2012):<br />
The Zimbra 8.0.0 upgrade/install seems to have reset several of my custom settings to default attributes! I have made most of my custom changes based on the very handy <a href="http://wiki.zimbra.com/wiki/Performance_Tuning_Guidelines_for_Large_Deployments">Zimbra wiki for Performance Tuning Guidelines for Large Deployments</a> in the past. The main changed items I've spotted so far are zimbraImapMaxConnections and zimbraImapNumThreads that reverted back to 200. I hope not to find too many more production system oddities! The reason I noticed the issue is that the /opt/zimbra/log/mailbox.log had MANY messages like:<br />
WARN [ImapServer-76] [] imap - Dropping connection (max connections exceeded)<br />
WARN [ImapServer-80] [] imap - Dropping connection (max connections exceeded)</div>
pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-17285563912590883492012-09-26T12:55:00.002-05:002012-09-26T12:55:52.563-05:00Adobe Acrobat Reader 64-bit CentOS (RHEL or SL) linux LDAP problemLet me start by saying, "Shame on you Adobe!" for not recognizing an opportunity to continue in the Linux OS realm in a <a href="http://www.zdnet.com/blog/open-source/adobe-abandons-linux/10418">meaningful way</a>... I already use <a href="http://projects.gnome.org/evince/">Evince</a> more for PDF files now anyway. No more real Flash support is just another nail in the coffin.<br />
<br />
Here's the deal; Adobe doesn't have a 64-bit Acrobat Readear (acroread). So, when you need to install the 32-bit version you get only some of the 32-bit stuff gets installed. More may actually be needed. This is especially true if you have <a href="http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP</a> (<a href="http://www.openldap.org/">openldap</a>) at the center of the authentication realm. You will end up with a message like:<br />
<blockquote class="tr_bq">
GLib-WARNING **: getpwuid_r(): failed due to unknown user id</blockquote>
As user root, you will need to run:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum -y install nss-pam-ldapd.i686</div>
</pre>
pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-65925134758075613542012-09-11T12:19:00.000-05:002012-09-26T13:02:58.276-05:00Eye-Fi Connect X2 mini review/recommendation<h2>
Summary: </h2>
<a href="http://www.eye.fi/">Eys-Fi</a> makes a nice little SD card with built-in wifi called an <a href="http://www.eye.fi/products/connectx2">Eye-Fi Connect X2</a> among <a href="http://www.eye.fi/products">others</a>. This little gem is great! The title should really be, "Amazing geek toy and CYA device"...<br />
I find the <a href="http://www.eye.fi/products/connectx2">Eye-Fi Connect X2</a> card and <a href="https://play.google.com/store/apps/details?id=fi.eye.android">Android Eye-Fi App</a> to be very useful and mostly reliable on my <a href="http://www.samsung.com/us/mobile/galaxy-tab/GT-P6210MAYXAR-features">Samsung Galaxy Tab Plus GT-P6210</a> running both the original <a href="http://en.wikipedia.org/wiki/Android_version_history#Android_3.x_Honeycomb">Android 3.2 Honeycomb</a> and recently updated <a href="http://en.wikipedia.org/wiki/Android_version_history#Android_4.0.x_Ice_Cream_Sandwich">Ice Cream Sandwich</a>. There is a great deal of comfort knowing I have an immediate backup copy of every picture I take. <br />
<br />
<h2>
Background:</h2>
<br />
Since pictures are of major importance to me. Safeguarding
my
photos with multiple copies is a priority. Under normal circumstance, I
would take some random number of pictures, head to my laptop or home
system, copy the pictures, rotate out the SD card, take more pictures,
etc.<br />
<br />
I had an original Eye-Fi card from a couple of years ago. I tried <a href="http://en.wikipedia.org/wiki/Eye-Fi#Software">a couple</a> of the Linux options like the python powered <a href="http://code.google.com/p/eyefiserver/">eyefiserver</a> with some luck. Sadly, at the time, this option was not very portable since it needed an access point plus laptop or similar. Besides, reading the original eye-fi card was a pain for me under Linux.<br />
<br />
Skip ahead a couple of years and the X2 versions... and add a tablet or smart phone and Ad-hoc network support of wireless uploads... welcome to a whole new world.<br />
<br />
Now with my <a href="http://www.android.com/">Android</a> powered phone or my great little <a href="http://www.samsung.com/us/mobile/galaxy-tab/GT-P6210MAYXAR-features">Samsung Galaxy Tab Plus GT-P6210</a> and the <a href="https://play.google.com/store/apps/details?id=fi.eye.android">Android Eye-Fi App</a> (or <a href="http://www.eye.fi/products/iphone">IOS App</a>), I just start the App, shoot a pic and have an original sized copy on my phone or tablet!<br />
<br />
OK there's a bit more to process of course. Some will not like the *requirement* to have an <a href="https://center.eye.fi/login.php">Eye-Fi account</a> to use the app. Others will note that I needed to register the SD card with a Windows system. I wish that was different, but it's not.<br />
<br />
Just as a side note, the Ad-hoc network range was about 40-45 feet as a general rule for quick transfers. As the distance got just past this range, the time to upload increased by minute(s). So, proximity does matter as you would expect for such a tiny device. Also, I did have a couple of times that the Ad-hoc network would not connect. Restarting the app seemed to provide relief. pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-62390169583528645752012-07-27T11:23:00.001-05:002012-07-27T11:32:53.104-05:00OMSA 7.0 firmware update issue or holdover public key problem from 2010? Updated Dell's <a href="http://linux.dell.com/wiki/index.php/Repository/OMSA">OMSA</a> from 6.5.1 to 7.0 via standard yum process. Checked for any new goodies via "yum install $(bootstrap_firmware)". Tried to update firmware, but failed:<br />
<blockquote class="tr_bq">
# update_firmware --yes<br />
Running system inventory...<br />
Searching storage directory for available BIOS updates...<br />
Checking BIOS - 6.1.0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_00159 - 6.1.0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Checking SAS/SATA Backplane 0:0 Backplane Firmware - 1.07<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_11204 - 1.07<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Checking PERC 6/i Integrated Controller 0 Firmware - 6.3.1-0003<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x1000_dev_0x0060_subven_0x1028_subdev_0x1f0c) - 6.3.1-0003<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Checking OS Drivers - 0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_18981 - 7.0.0.4<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: dell_dup_componentid_18981 - 7.0.0.4<br />
Checking Dell Lifecycle Controller - 1.5.1.57<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_18980 - 1.5.2.32<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: dell_dup_componentid_18980 - 1.5.2.32<br />
Checking NetXtreme II BCM5709 Gigabit Ethernet rev 20 (eth1) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
Checking NetXtreme II BCM5709 Gigabit Ethernet rev 20 (eth0) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
Checking ST3450857SS Firmware - es65<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_20795 - es65<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Checking iDRAC6 - 1.80<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_20137 - 1.85<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: dell_dup_componentid_20137 - 1.85<br />
Checking NetXtreme II BCM5709 Gigabit Ethernet rev 20 (eth2) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
Checking NetXtreme II BCM5709 Gigabit Ethernet rev 20 (eth3) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639) - 6.2.16<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Found Update: pci_firmware(ven_0x14e4_dev_0x1639_subven_0x1028_subdev_0x0235) - 7.0.47<br />
Checking Dell 32 Bit Diagnostics - 5154a0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: dell_dup_componentid_00196 - 5154a0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Checking System BIOS for PowerEdge R710 - 6.1.0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Available: system_bios(ven_0x1028_dev_0x0235) - 3.0.0<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Did not find a newer package to install that meets all installation checks.<br />
Found firmware which needs to be updated.<br />
Running updates...<br />
/<span class="Apple-tab-span" style="white-space: pre;"> </span>Installing dell_dup_componentid_18981 - 7.0.0.4Installation failed for package: dell_dup_componentid_18981 - 7.0.0.4<br />
aborting update...<br />
The error message from the low-level command was:<br />
Update Failure: Partition Failure - The Delete Dynamic Partition has failed</blockquote>
Tried the <a href="http://pjwelsh.blogspot.com/2011/02/failed-bios-update-on-r710-with-centos.html">/etc/redhat-release</a> fix without success. Tried a reboot to flush out any oddities...<br />
<br />
After much google'n it seems that I had some kind of <a href="http://lists.us.dell.com/pipermail/linux-poweredge/2010-February/041256.html">public key issue</a>:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
</div>
<pre>rpm --import <a href="http://linux.dell.com/files/libsmbios/download/RPM-GPG-KEY-libsmbios">http://linux.dell.com/files/libsmbios/download/RPM-GPG-KEY-libsmbios</a></pre>
<pre>rpm --import <a href="http://lists.us.dell.com/linux-security-publickey.txt">http://lists.us.dell.com/linux-security-publickey.txt</a></pre>
</pre>
Now update_firmware works again as expected.pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com1tag:blogger.com,1999:blog-5288455344007959196.post-42657570563119973422012-07-10T12:45:00.001-05:002012-07-10T12:45:49.684-05:00CentOS 6.3 mdadm won't start older md arrays.For some of us, the drive setups we create stays with a system for a long time. Keeping the same data disk array untouched even for major revision changes is common (like a OS rebuild of 5.x -> 6.x). Sometimes that long term usage bites back. Here is my failure case while upgrading from CentOS 6.2 -> CentOS 6.3.<br />
<br />
Symptoms:<br />
Simply md RAID 1 extra data drive will not boot. The system drops to recovery mode with a missing (md) drive to mount and an fsck request. The extra file system has 2 "linux_raid_member" drives that show under fdisk and blkid. Even a
"cat /proc/mdstat" shows no arrays. If I run, as root:
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
mdadm --auto-detect
</div>
</pre>
the /proc/mdstat will finally show info, however. <br />
<br />
Solutions:<br />
<ol>
<li>Make sure that the /etc/mdadm.conf contains the array info from:
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
mdadm --examine --scan >> /etc/mdadm.conf
</div>
</pre>
</li>
<li><span style="background-color: white;">There seems to be kinda "depreciated" <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.3_Technical_Notes/mdadm.html" target="_blank">mdadm technical note</a> about older created arrays with <a href="https://bugzilla.redhat.com/show_bug.cgi?id=788022" target="_blank">BZ-788022</a> implicated and a "+0.90" needing to be added to/etc/mdadm.conf, but you need to get rid of the "+1.x -all" options!</span></li>
</ol>
<div>
<span style="background-color: white;">How do you tell in advance that you will have an issue *before* an upgrade? If you run, as root,</span></div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
mdadm -E /dev/sdc1|grep Vers
</div>
</pre>
</div>
and get output like: "Version : 0.90.00", you will want to make a change *before* you reboot!
<br />
<br />
It is interesting to note that I was able to just have this md array work in 6.0, 6.1 and 6.2 because,<br />
<blockquote class="tr_bq">
In Red Hat Enterprise Linux 6.1 and 6.2, mdadm always assembled version 0.90 RAID arrays automatically due to a bug.</blockquote>
<div>
</div>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com1tag:blogger.com,1999:blog-5288455344007959196.post-90670684283580686142012-06-21T14:15:00.000-05:002012-06-21T14:15:18.740-05:00"DEFROUTE" in RHEL, CentOS or Fedora - a usage case for eth0Here is the situation: There is a user with a remote office that includes networking equipment like printers, backup server etc. He uses a company provided <span style="background-color: white;"><a href="http://www.centos.org/">CentOS</a> </span><span style="background-color: white;">laptop as the gateway for his network via a cell card since there is no other cheaper option available to get him connected. He travels with the laptop often and I don't need access to the equipment at his office unless he's there. The user always connects either via WIFI or a cell card for VPN connection depending on what is available. The laptop is running openvpn and is connecting to our company's openvpn server. No problem... until I want to also connect the laptops ethernet cable and use NetworkManager and use a DHCP server for the eth0... That's when the VPN drops and the laptop now has an incorrect default route. What's odd is that order of interface startup does not matter... dhcp on eth0 wins no matter what... bummer.</span><br />
<span style="background-color: white;"><br /></span><br />
<span style="background-color: white;">What's happening? Well, normally with DHCP, the client is given a default route as part of the information exchange. That eth0 default route takes over. It's just that simple... unless you give the networking system guidance on what to do in the form of the "DEFROUTE" option. The option has been around for a long time. The current <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Deployment_Guide/index.html">Red Hat Enterprise Linux 6 Deployment Guide</a> has DEFROUTE option </span><span style="background-color: white;">hidden </span><span style="background-color: white;">in the </span><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Deployment_Guide/index.html#s2-networkscripts-interfaces-ppp0">8.2.4. Dialup Interfaces</a><span style="background-color: white;"> section. Here is a chunk of the information from the guide:</span><br />
<blockquote class="tr_bq">
<dt class="varlistentry"><span class="term"><code class="option">DEFROUTE</code>=<em class="replaceable"><code>answer</code></em></span></dt>
<dd><div class="para">
where <em class="replaceable"><code>answer</code></em> is one of the following:
</div>
<div class="itemizedlist">
<ul>
<li class="listitem"><div class="para">
<code class="literal">yes</code> — Set this interface as the default route.
</div>
</li>
<li class="listitem"><div class="para">
<code class="literal">no</code> — Do not set this interface as the default route. </div>
</li>
</ul>
</div>
</dd></blockquote>
<br />
In the past, I did not use the DEFROUTE option. I found that I could just statically assign the eth0 and *not* let NetworkManager have access to it (NM_CONTROLLED=no). In fact with Centos (and the like), NM seems to get disabled as a<span style="background-color: white;"> </span><span style="background-color: white;">generally</span><span style="background-color: white;"> rule.</span><br />
<br />
Also, if this was a server or I wanted to statically assign the interface, it would not be an issue. Just one of those fringe usage cases.pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-67006699474782090702012-06-14T08:20:00.001-05:002012-12-06T14:22:51.950-06:00LTSP 5.2.x rsh server on client install, setup and HOWTODon't start with the, "rsh is bad..." message. I know, I know! It's an internal test network and was just easy to do for remote client checking. Besides, the "ltsp-localapps" only works for the logged in user and does not allow for arbitrary root user interaction with the client. If there is a built-in way to do this, let me know. At some point, I may try sshd client setup.<br />
<div>
<br /></div>
<div>
I am using <a href="http://centos.org/">CentOS 6.x</a> as the server OS and customize the client build to be CentOS 6.x also. LTSP 5.2 is the software from <a href="https://fedorahosted.org/k12linux/">k12linux at fedorahosted</a>I don't think that affects the directions below in any way, however. And if this looks like part of a script, you would be correct.<br />
<div>
<br />
<div>
Change the LTS_HOME variable to your own LTSP client build location on the server as required:</div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
export LTS_HOME="/opt/ltsp/i386"</div>
</pre>
</div>
<div>
<br /></div>
<div>
Check to make sure rsh is allowed in securetty for the client:</div>
<div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
grep -q "^rsh" $LTS_HOME/etc/securetty && echo rsh >> $LTS_HOME/etc/securetty</div>
</pre>
</div>
</div>
<div>
<br /></div>
<div>
Get rsh-server installed into you chroot'd environment:</div>
<div>
Option 1 (re)creates the client build to have rsh-server instaled and includes future builds:</div>
<div>
edit the "/etc/ltsp/kickstart/Fedora/common/release/el6.ks" and add "rsh-server" *before* the "%end" line. Then (re)run the ltsp-build-client and ltsp-server-tweaks as if a new install:</div>
</div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
ltsp-build-client 2>&1 |tee /tmp/ltsp-build-client.out-`date +%Y%m%d%H%M`</div>
<div>
<div>
cd $LTS_HOME</div>
<div>
setarch i386 chroot .</div>
</div>
<div>
chkconfig rsh on</div>
<div>
ltsp-server-tweaks</div>
</pre>
</div>
<div>
<br /></div>
<div>
Option 2 install and setup the rsh-server for this client build only:</div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
cd $LTS_HOME</div>
<div>
setarch i386 chroot .</div>
<div>
mount -t proc proc /proc</div>
<div>
#set proxy if needed</div>
<div>
yum install rsh-server</div>
<div>
chkconfig rsh on</div>
<div>
umount /proc</div>
</pre>
</div>
<div>
<br /></div>
<div>
Get the clients /root to be based on the $LTS_HOME/root from the server and not a tmpfs by commenting the "/root" line of k12linux.rwtab:</div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
sed -i 's/^empty[[:space:]]\/root/#empty\t\/root/'$LTS_HOME/etc/rwtab.d/k12linux.rwtab
</div>
</pre>
<div>
OR for you perl peeps
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
perl -p -i -e "s/^empty\t\/root/\#empty\t\/root/g" $LTS_HOME/etc/rwtab.d/k12linux.rwtab</div>
</pre>
<div>
<br /></div>
<div>
Note: To safeguard your custom options from accidental rpm update overwrites, please consider creating your own blah.ks file to be referenced in /etc/ltsp/ltsp-build-client.conf.</div>
</div>
<div>
<br /></div>
<div>
Properly create a .rhosts file for the clients root user. This script chunk assumes the primary (eth0) interface is the interface that communicates with the clients. If your primary server interface is not the interface for client connection, you will need to add/modify the client's .rhosts file accordingly:</div>
<div>
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em;"><div style="overflow: auto;">
<div style="font-family: 'DejaVu Sans Mono', 'Liberation Mono', monospace; white-space: pre;">
echo "server-`hostname --ip` root" >> $LTS_HOME/root/.rhosts
echo "rsh" >> $LTS_HOME/etc/securetty
chmod 600 $LTS_HOME/root/.rhosts
</div>
</div>
</pre>
<div>
<br /></div>
<div>
Now boot the client and test an rsh command from the server to the client. If you have issues, you will want to add a "shell" option for the client in the correct lts.conf then reboot the client. For i386 arch, the file is "/var/lib/tftpboot/ltsp/i386/lts.conf". This will give you a chance to see the /var/log/messages file if you have not setup remote logging for the client.<br />
<br />
To make a custom PXE boot logo change, create/modify a theme run the following command from within the chroot:<br />
ltsp-rewrap-latest-kernel<br />
<br />
To apply a new theme<br />
<tt>Create a new plymouth theme. You can do this by making simple
</tt><tt>variations on the stock theme by taking a copy of the default theme
</tt><tt>using the procedure below. You can replace "newtheme" in the commands
</tt><tt>below with whatever name you want to give the new theme. This procedure
</tt><tt>assumes the chroot is in the /opt/ltsp/i386 directory.
</tt><br />
<pre style="margin: 0em;">Start by copying the folder with this command:
</pre>
<tt>cp -a /opt/ltsp/i386/usr/share/plymouth/themes/solar
</tt><tt>/opt/ltsp/i386/usr/share/plymouth/themes/newtheme
</tt><pre style="margin: 0em;"></pre>
<tt>Now modify "newtheme" as appropriate. First go into the new theme
</tt><tt>directory by typing:
</tt><pre style="margin: 0em;">cd /opt/ltsp/i386/usr/share/plymouth/themes/newtheme
Then rename the .plymouth file by running:
mv rings.plymouth newtheme.plymouth
Edit the .plymouth file and change:
Name=Rings
to:
Name=Newtheme
and change:
ImageDir=/usr/share/plymouth/themes/rings
to
ImageDir=/usr/share/plymouth/themes/newtheme
</pre>
<tt>You may also want to change the background colors. BackgroundStartColor
</tt><tt>is the color at the top of the screen and BackgroundEndColor is the
</tt><tt>color at the bottom of the screen. Plymouth will make a gradient of
</tt><tt>these colors across the screen. For example to make the background
</tt><tt>change from white to black change the lines:
</tt><pre style="margin: 0em;">BackgroundStartColor=0x080808
BackgroundEndColor=0x080808
to:
BackgroundStartColor=0xffffff
BackgroundEndColor=0x000000
When finished making changes save the file.
</pre>
<tt>Next replace the image file named header-image.png with the desired
</tt><tt>replacement. Do not change the name of this file!
</tt><pre style="margin: 0em;"></pre>
<tt>The exact size does not seem to matter as the plymouth will center it in
</tt><tt>the screen above the animated "rings".
</tt><pre style="margin: 0em;">You can also get fancy and replace all the other progress images also.
Chroot to the client directory by running:
chroot /opt/ltsp/i386
Activate the new theme with this command:
plymouth-set-default-theme newtheme
</pre>
<tt>Note: you may get an error from sed (ex: sed: warning: failed to set
</tt><tt>default file creation context to unconfined_u:object_r:usr_t:s0: No such
</tt><tt>file or directory). This does not seem to cause problems.
</tt><pre style="margin: 0em;">Build a new initramfs file with the new theme:
ltsp-rewrap-latest-kernel
Exit the chroot by typing:
exit
and update the tftp directory with the new initramfs by typing:
ltsp-update-kernels
If you use NBD you will also need to run:
ltsp-update-image
Now fire up a client and enjoy the new theme!</pre>
</div>
</div>
</div>
</div>
pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-55993027880912873512012-05-24T11:35:00.002-05:002012-05-24T11:35:26.924-05:00Static DHCP is better than IP address assignment on a device//BEGIN RANT//<br />
<br />
Attention standalone network attached device vendors like large copier manufacturers:<br />
<br />
Please train your onsite personnel in understanding that a <a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a> assigned address is not always a "<a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Technical_overview">Dynamic</a>" address. Please help them understand that there is such a beast as "<a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Technical_overview">Static Allocation DHCP</a>" or "<a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Technical_overview">Address Reservation</a>". And that Static DHCP gives the equipment *the same address* every time. And help them realize that the equipment will work just fine on the network and won't magically just break. And that I can change every part of the network properties without touching the dumb box or it's crappy web/console interface. Please also train them to not go behind a client's back who gives explicit instructions on keeping the DHCP option enabled (and then enabling a static address on the device).<br />
<br />
//END RANT//pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-74390534581346184532012-05-22T14:08:00.001-05:002012-06-18T18:24:48.559-05:00JShot - multiplatform screen capture and annotatorRecently, I needed to do a minor amount of screen annotation. I was very pleased to have found <a href="http://jshot.info/">JShot</a> for my Linux system. As quoted from the website,<br />
<blockquote class="tr_bq">
"JShot is a free and <b>multiplatform screen capture</b> and <b>uploader</b> application which allows you to capture and annotate a part of your screen and <b>share</b> it <b>via the Internet</b> in one step."</blockquote>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-1pBjVWeqscQ/T7vUzrCM4PI/AAAAAAADhH0/fGDQTLBBmno/s1600/screenshot" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="278" src="http://2.bp.blogspot.com/-1pBjVWeqscQ/T7vUzrCM4PI/AAAAAAADhH0/fGDQTLBBmno/s320/screenshot" width="320" /></a></div>
And as luck would have it, one of the upload options is for Google's <a href="http://picasaweb.google.com/">Picasaweb</a> that helps provide images for <a href="http://www.blogger.com/">Blogger</a>.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-LqIfFG8_urY/T7veOuLQPeI/AAAAAAADhIA/aezH497qD3I/s1600/screenshot" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="108" src="http://2.bp.blogspot.com/-LqIfFG8_urY/T7veOuLQPeI/AAAAAAADhIA/aezH497qD3I/s320/screenshot" width="320" /></a></div>
<br />
JShot is a usefully featured screen capture program. It is fast in screen, area or region capture. JShot has an optional toolbar dock that lets you quickly take the screenshot you want. There are several easy to select and use annotation tools. The tools include circles, ovals, squares, rectangles, arrows or text. I like the transparency and highlight options for those tools. Arrows and text input pivot and rotate with little effort. Text input font is easy to modify.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-mDSV6Jtn61U/T7vj9NBOosI/AAAAAAADhIc/JXuVbrR1zGQ/s1600/screenshot" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="77" src="http://2.bp.blogspot.com/-mDSV6Jtn61U/T7vj9NBOosI/AAAAAAADhIc/JXuVbrR1zGQ/s320/screenshot" width="320" /></a></div>
<br />
JShot will also open arbitrary image files for annotation beyond just the screenshot image taken. Nice additional features include the mentioned Picasaweb single click upload as well as FTP or Dropbox to name just a couple. You can even free-hand draw on your screen prior to screen capture (yes that is close to my normal handwriting scribble).<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-ZarMB0vudy0/T7vgBXiOg3I/AAAAAAADhIQ/IY-ZgbHH9wg/s1600/screenshot" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="http://3.bp.blogspot.com/-ZarMB0vudy0/T7vgBXiOg3I/AAAAAAADhIQ/IY-ZgbHH9wg/s320/screenshot" width="320" /></a></div>
<br />
JShot also includes an extendable <a href="http://jshot.info/node/52">plugin</a> capability for those needing something more. Did I mention the <a href="http://jshot.info/node/15">Java Web Start</a> option?<br />
<br />
There are just a couple of minor issues from my usage attempts. First, large images can not be scaled to fit on the screen. Also, the shapes can not be rotated (not that you rotate a circle). They move on an vertical or horizontal axis only. The "File" -> "Open" dialog does not remember last settings (for stuff like this, the date sort is more often what I want). I would also like to see the auto-number name incrementing that other screen capture utilities have like ksnapshot. Another only slightly annoyance is the "File" -> "Exit" produces a "All unsaved data will be lost" message even if you *just* saved. Fairly nit-picky issues overall. None outweigh the very useful capability.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-wGuNikIF_BU/T7ve6GbwB7I/AAAAAAADhII/HKJNCEdeykQ/s1600/screenshot" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="144" src="http://3.bp.blogspot.com/-wGuNikIF_BU/T7ve6GbwB7I/AAAAAAADhII/HKJNCEdeykQ/s320/screenshot" width="320" /></a></div>
<br />
I have not been much of a java app fan, but JShot is a very well done utility that will remain in my Linux geek toolbox. Hope you enjoy this utility as much as I have. And just to be clear, JShot screen capture and annotator works for Mac, Windows and Linux.pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-65855434358765210532012-05-21T22:35:00.001-05:002012-05-21T22:35:40.616-05:00Google Voice + Talkatone + iPhone/Android = Google VOIP phoneI had an older iPhone 3gs sitting around after upgrading to an (much better) Android handset a while back. The contract was over for the iPhone and was ultimately claimed by my son. He has been watching Youtube videos and playing games on the thing ever since. For some strange reason, I decided to check for SMS and VOIP options for it's WIFI connection. The generic search of "iphone 3gs VOIP" lead to many options. Most were not free or just not what I was thinking. At some point I stumbled onto the free <a href="http://www.talkatone.com/">Talkatone</a> app with the promise of "Unlimited FREE calls, texts and picture sharing to Facebook and GTalk friends, or any phone number in US/Canada." Wow, what a statement. I am happy to say that from my point of view, they are correct.<br />
<br />
The <a href="http://www.talkatone.com/gettingstarted.html">Getting Started</a> section spells out the general procedure. It was actually easy. I had already setup a Google account for my son and just added the Google Voice upgrade. No big deal. With prerequisites done, the Talkatone install was easy. The combination just worked. My only marginal issue is the voice lag starts to get on the slightly noticeable side. Not a deal breaker noticeable mind you. And yes, I was able to call the iPhone from other phones just like they say.<br />
<br />
I did try to setup a SIP account at an early stage of just playing with a couple of apps. Not very easy and did not work for me. So, having this combo made my geeky day. Besides, almost any time you can integrate with Google, you are going to be better off. It has so much of my digital life anyway.<br />
<br />
Just so it's clear, Talkatone will work on both the iPhone from the App Store and Android handset from Google play.<br />
<br />
This is not actually a thorough review or install howto. I just have some general praise for a geeky and fun product combination that works. The Talkatone peeps have done a great job!<br />
<br />
Enjoypjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-86413997251538547962012-03-22T09:39:00.000-05:002012-06-08T20:04:55.172-05:00CentOS 6.2 BCM4312 working wifi howtoLinux on laptops has come a LONG way over the years. I am happy to say that most Linux installs for laptops go with very little or no issues. Recently decided to install CentOS 6 (but I'm sure this applies to RHEL 6 or SL6) on an otherwise decent Dell D630 laptop. My only issue was wifi not working out of the box. The "issue" seems to be mostly about the BCM4312 802.11 card in the laptop. Here is the easy fix:<br />
<br />
1. Get the "<a href="http://koji.russianfedora.ru/koji/packageinfo?packageID=93">updated</a>" el6 b43-firmware rpm from the <a href="http://koji.russianfedora.ru/">Russian Fedora</a> guys. (make sure it's the *el6* version)<br />
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
wget "http://koji.russianfedora.ru/koji/buildinfo?buildID=1041"
</div>
</pre>
<br />
2. Install it (current version depreciates the b43-openfwwf package nicely)
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum install b43-firmware-5.10.56.27.3-2.el6.noarch.rpm
</div>
</pre>
<br />
3. Wait several seconds and the wifi light comes on and wifi works!<br />
<br />
I originally tried with the <a href="http://linuxwireless.org/en/users/Drivers/b43">documented</a> b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o but failed to extract the firmware needed.<br />
<br />
I also looked into the <a href="http://people.redhat.com/sgruszka/compat_wireless.html">kmod-compat-wireless</a> but <a href="http://people.redhat.com/sgruszka/compat_wireless.html">current information</a> suggest, "RHEL6 packages are broken at present".
Enjoy.<br />
<br />
Here is all of the info from the BCM4312 card in question:<br />
<br />
lspci | grep BCM<br />
0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)<br />
<div>
<div>
<br /></div>
<div>
lspci -n | grep 14e4</div>
<div>
0c:00.0 0280: 14e4:4315 (rev 01)</div>
</div>
<div>
<br /></div>
<div>
Original /var/log/messages indicated:</div>
<div>
b43-phy0 ERROR: Firmware file "b43/ucode15.fw" not found<br />
b43-phy0 ERROR: Firmware file "b43-open/ucode15.fw" not found<br />
b43-phy0 ERROR: You must go to <a href="http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware" target="_blank">http://wireless.kernel.org/en/users/...devicefirmware</a> and download the correct firmware for this driver version. Please carefully read all instructions on this website.</div>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com4tag:blogger.com,1999:blog-5288455344007959196.post-28759131797986246862012-03-18T20:40:00.001-05:002012-06-08T20:05:22.698-05:00Google Music Manger issue with .ogg file?Had a very head scratching issue with the (at least the) Linux version of Goggle Music Manger. GMM claims to have uploaded all of the songs and produced some errors on some individual song titles. I didn't think much of the errors since the upload showed successful. I then went to the Google Play page to take the next step of creating some play lists. To my surprise, I only had the original group of files I uploaded a while back and the recently purchased songs from Google (practically a) give-way of albums from last week. I went back to look at the errors noted by Google Music Manager and deleted from disk the files that were named in the errors. I was left with a single error from the "Run Troubleshooter" option; and the error listed that had no filename and a error with just "Failed to upload". Kinda odd to find no filename... Finally noticed that after hitting "Apply" and "Ok" I saw a "0%" on a Al DiMeola song and went searching for it. Immediately after moving the file from the original disk location on my system, Google Music Manger had a little green icon turn on and Google Play began to see the songs. That Al DiMeola song was an otherwise legit and playable .ogg file. I can only suspect that GMM does not like OGG files at this point, but doesn't want to ignore them.
Hope my pain is your gain with Google Music Manager.pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com1tag:blogger.com,1999:blog-5288455344007959196.post-38829944814019611232012-03-06T15:18:00.000-06:002012-08-24T12:39:23.946-05:00Dell Server Update Utility (SUU) v6.5.3 64-bit CentOS/RHEL 6 problemsJust going to vent here for a minute, so stay with me...Why? Why would you have so many 32bit dependencies when running SUU on a 64bit OS. I mean Dell has already shown that OMSA for 32bit is not going to happen going forward. At least fix your own documentation for requirements... please.<br />
<br />
So, to get SUU 6.5.3 functional on a 64bit CentOS 6.2 or RHEL 6.x server (and SL I bet), you *will* need to:<br />
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum install pam.i686 libXtst.i686 libXext.i686 compat-libstdc++-33.i686 pam.i686
</div>
</pre>
As noted in the comments by <a href="https://plus.google.com/112757260070140411615/posts">Carlos Capriotti</a>, if you want to run the GUI stuff, you will need a couple more packages:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum install ncurses-libs.i686 libXp.i686
</div>
</pre>
pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com2tag:blogger.com,1999:blog-5288455344007959196.post-67629389410720751852012-02-24T19:51:00.001-06:002012-06-08T20:05:56.553-05:00Verizon pc770 wireless card setup on CentOS 6.xIt's a very good time in a Linux lovers life when you can just say, "it works"... Because of all of the hard work of countless volunteers (and/or paid professionals). I am pleased to announce that the crappy unount of the virtual CD ROM is no longer needed in CentOS 6.x (or SL 6, RedHat 6)!<br />
<br />
Thank You!<br />
<br />
1. Plug in the card<br />
2. Select the provider<br />
3. Follow the prompts<br />
4. Activate the card<br />
<br />
NICE. It just WORKS!<br />
<br />
P.S. Sorry about the situation for CentOS 5.x, but it's, "doable".pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-13078108510695518572012-02-24T16:07:00.001-06:002012-02-24T16:07:53.583-06:00CentOS 6.x VMware Workstation 7.1 installation issue solved.As this writing, <a href="http://www.vmware.com/products/workstation/overview.html">VMware-Workstation</a> 7.1 has issues building vmmon on <a href="http://www.centos.org/">CentOS</a> 6.2 and therefore SL 6 and RHEL 6 also. After some head scratching, google'n and lots of reading, here is the easy way to get up and running.<br />
<br />
This install example is for VMware-Workstation-7.1.5-491717.i386.bundle at the very least. Download that from <a href="http://www.vmware.com/">VMware</a> as you would normally.<br />
<br />
First, make sure you have booted to the most recent kernel before installing.
Otherwise you will not be able to build the VMware modules against the kernel you are running.<br />
<br />
First, make sure to have some basic prerequisites before you start:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum install gcc gcc-c++ kernel-headers kernel-devel
</div>
</pre>
<br />
<br />
Next install (or update) the VMware-Workstation bundle as root and valid $DISPLAY set:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
bash VMware-Workstation-7.1.5-491717.i386.bundle
</div>
</pre>
Follow the promps as usual.<br />
<br />
Bummer, vmmon won't load and produces errors in /var/log/messages like:<br />
<code>kernel: vmmon: disagrees about version of symbol smp_ops<br />kernel: vmmon: Unknown symbol smp_ops</code><br />
<br />
First attempt at a work around yields the ever helpful Akemi Yag (aka "toracat") <a href="http://blog.toracat.org/">blog</a> and the perfect *helpful* <a href="http://blog.toracat.org/2011/05/vmware-workstation-and-rhel6-1/comment-page-1/#comment-471">comment</a> by <span class="fn">NomadAU. Why is that <a href="https://bugzilla.redhat.com/show_bug.cgi?id=706216">Redhat Bugzilla entry</a> closed anyway??</span><br />
<span class="fn"><br /></span><br />
<span class="fn">Here is the portion that is key to fixing the issue; as root:</span><br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
mv /usr/lib/vmware/modules/binary/bld-2.6.32-*-rhel6 ~/
</div>
</pre>
<br />
Finally run:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
vmware-modconfig --console --install-all
</div>
</pre>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com1tag:blogger.com,1999:blog-5288455344007959196.post-58298187994522797722012-02-07T13:20:00.002-06:002012-02-07T15:32:03.909-06:00How to get system-config-netboot working on CentOS 6, RHEL 6 or SL 6Sadly, <a href="http://www.redhat.com/">Redhat</a> has decided to <a href="https://bugzilla.redhat.com/show_bug.cgi?id=607544">drop</a> system-config-netboot from it's offerings for RHEL 6. I was very much accustomed to the simplicity of using system-config-netboot for PXE boot client installs. Redhat may have not included the packages to install system-config-netboot, but it is certainly easy to get running on your RHEL 6 or clone. Here is the <a href="http://www.centos.org/">CentOS</a> 6 i386example (please run commands as root or sudo you guts out):<br />
<br />
1. Make sure some pre-requisites are in place:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
yum install tftp-server xinetd pygtk2-libglade gnome-python2-canvas</div>
</pre>
<br />
2. Adjust for your arch type: Download the latest CentOS 5.x system-config-netboot* and alchemist* versions:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
wget http://mirrors.kernel.org/centos/5/os/i386/CentOS/system-config-netboot-0.1.45.1-3.el5.noarch.rpm
wget http://mirrors.kernel.org/centos/5/os/i386/CentOS/system-config-netboot-cmd-0.1.45.1-3.el5.noarch.rpm
wget http://mirrors.kernel.org/centos/5/os/i386/CentOS/alchemist-1.0.36-2.el5.i386.rpm
</div>
</pre>
<br />
3. Force the install of the above packages:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
rpm -ihv --force --nodeps system-config-netboot-* alchemist-1.0.36-2.el5.i386.rpm</div>
</pre>
<br />
4. Move part of the installed alchemist package to the correct place... bad administrator! ;)<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
mv /usr/lib/python2.4/site-packages/* /usr/lib/python2.6/site-packages/</div>
</pre>
<br />
Running "system-config-netboot" through some warning message at me, but it did what I wanted it to do<br />
<br />
Yeah, it's a bit hackish. I'm OK with it if you are. You *could* rebuild the source rpm for each of them correcting the the alchemist path etc. I will for my systems, but this is the "easy" version of the "How to get system-config-netboot working on CentOS 6, RHEL 6 or SL 6" after all...pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com5tag:blogger.com,1999:blog-5288455344007959196.post-76578143414894510392011-11-10T12:16:00.000-06:002012-06-08T20:06:18.015-05:00Howto get network card vendor, device or kernel module from the /proc and/or /sys filesystemWork in progress - place to keep notes to myself - may help someone else - cheat sheet kinda page ;)<br />
<br />
1. How to get NIC/network card vendor information (scripted example)<br />
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
for i in `ls -d /sys/class/net/eth*`
do
ETH="`basename $i`"
echo -n "$ETH "
NICID="`cat /sys/class/net/$ETH/device/vendor|cut -c3-`"
grep "^$NICID" /usr/share/hwdata/pci.ids
done
</div>
</pre>
2. How to get the NIC/network card MAC address (simple example)
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
cat /sys/class/net/eth0/address
</div>
</pre>
3. How to get the NIC/network kernel module and PCI device info (<a href="https://wiki.archlinux.org/index.php/Modalias">DETAILS</a>). This can also derive the vendor and device info like above (simple example)
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
VENDOR="`cat /sys/class/net/eth0/device/modalias |cut -c6-13`"
DEVICE="`cat /sys/class/net/eth0/device/modalias |cut -c15-22`"
grep -i $VENDOR /lib/modules/`uname -r`/modules.alias | grep -i $DEVICE
</div>
</pre>
OR generally
<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
grep `cat /sys/class/net/eth0/device/modalias |cut -c-22` /lib/modules/`uname -r`/modules.alias
</div>
</pre>
External important links for PCI or kernel module information for Linux:
<br />
<a href="http://www.pcidatabase.com/">http://www.pcidatabase.com/</a><br />
<br />
4. How to find the WWN for a SAS end device (the arrary for example) card on RHEL 6, CentOS 6 or similar (simple example)<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
cat /sys/class/sas_device/*/sas_address
</div>
</pre>
5. How to find the WWN for a SAS card on RHEL 6, CentOS 6 or similar (simple example)<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">
cat /sys/class/sas_phy/*/sas_address
</div>
</pre>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com2tag:blogger.com,1999:blog-5288455344007959196.post-31739388019639401482011-11-10T09:28:00.002-06:002011-11-17T16:52:46.610-06:00OpenGTS client connection test with gps2opengts-freeWORK IN PROGRESS!!!<br />
<br />
Just recently started playing setting up a <a href="http://pjwelsh.blogspot.com/2011/10/centos-60-opengts-238-install-and-setup.html">GPS tracking server</a>. Here is a follow up client connection on my Android phone with the free version of <a href="http://www.appbrain.com/app/gps2opengts-free/com.wiebej.gps2opengtsfree">gps2opengts</a>. Here are some (incomplete) notes so far.<br />
<br />
I hope you can at least find and install the gps2opengts-free on your own. I will skip that ;)<br />
I will leave it up to you to figure out how to tunnel/port forward through your firewall as required.<br />
<br />
<a href="http://opengts.org/">OpenGTS</a> server config change for "GPRMC" type of connections based on info from <a href="http://sourceforge.net/projects/opengts/forums/forum/579835/topic/4721066">HERE</a>.<br />
Edit /var/lib/tomcat6/webapps/track/WEB-INF/webapp.conf and uncomment the the next 2 lines from the "# --- GPRMC properties" section:<br />
<br />
gprmc.parm.account=acct<br />
gprmc.parm.device=dev<br />
<div><br />
</div><div>Rebuild and deploy the tomcat container as noted from <a href="http://pjwelsh.blogspot.com/2011/10/centos-60-opengts-238-install-and-setup.html">my server setup page</a>:</div><div>ant all</div><div>ant track.deploy</div><div>ant gprmc.deploy</div><div><br />
</div><div>(re)Start tomcat:</div><div>service tomcat6 restart</div><div><br />
</div><div>OpenGTS web based vehicle setup for <a href="http://www.appbrain.com/app/gps2opengts-free/com.wiebej.gps2opengtsfree">gps2opengts-free</a> (should also work with <a href="http://slideme.org/en/application/gps2opengts-pro">GPS2OpenGTS_Pro</a>):</div><div>1. Log into your OpenGTS server as a user "demo" (just playing with the demo install at this point!). </div><div>1. From the "Main Menu" -> "Administration" tab -> "Vehicle Admin" -> create a new "Vehicle ID<span class="Apple-style-span" style="font-family: Arial; font-size: x-small;">" of "test01".</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: x-small;">2. From the "</span>View/Edit Vehicle Information" section -> select the new vehicle and then "Edit" button.</div><div>3. "Unique ID" is required and will be the "test01" that is the only option for the free client gps2opengts-free. Otherwise add info to as many fields as you know/want. Make sure this vehicle is also "Active" = "Yes" and hit the "Change" button to save.</div><div><br />
</div><div>gps2opengts-free android app client setup:</div><div>I hope to document this tonight...</div><div><br />
</div><div>Note: As part of the frustration of initial install, I needed a little help from tcpdump to help figure out what was/was not happening. Again, my lack of tomcat knowledge was the reason for my issues:</div><div>tcpdump port 8080 -vvvvvv and not host THE_HOST_YOU_MAY_HAVE_SSHd_FROM</div><div><br />
</div><div>Note: I was hoping to find a handy to use wget to make local connection attempts. The assumption is that you are connecting via the "demo" default account like:</div><div>wget --post-data='/gprmc/Data?acct=demo&dev=test01&gprmc=$GPRMC,172413,A,3848.8028,N,08957.3521,W,0,000.0,171111,,*16' http://localhost:8080</div><div>But I have been unable to get this kinda thing to work. Wireshark shows the wget doing an http/1.0 post that is different that the gps2opengts_free http/1.1 post :(</div><div><br />
</div><div>Log information can be gotten from the /var/log/tomcat6/catalina.out $GTS_HOME/logs/w-gprmc.log $GTS_HOME/logs/TrackWar.log or any other file in the $GTS_HOME/log/ directory.</div><div><br />
</div>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com5tag:blogger.com,1999:blog-5288455344007959196.post-84954596861790525742011-10-28T23:21:00.004-05:002011-10-29T11:26:41.071-05:00CentOS 6.0 OpenGTS 2.3.8 install and demo setup howtoThis is the quick install and setup for <a href="http://www.opengts.org/">OpenGTS</a> and <a href="http://www.centos.org/">CentOS 6.0</a>. OpenGTS is a general GPS tracking software for many types of devices. There is also a <a href="http://www.geotelematic.com/">commercial version</a>.<br />
There are some details missing, but the jist of what needs to happen is here.<br />
<br />
*Please keep in mind that I live VERY near St. Louis and was writing this during the World Series Championship game 6 and game 7! I've been distracted to say the least ;)<br />
<a href="http://www.blogger.com/%20http://opengts.org/OpenGTS_Config.pdf"><br />
OpenGTS Config</a> manual is the REAL source for what needs to be done, but here are the steps for CentOS 6.0 with a little strategy difference (I wanted to use the CentOS provided version of most everything).<br />
<br />
If you want to use the "real" java SDK, fine, download it from <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html">HERE</a> and change the rest of the java install accordingly:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install ant mysql-connector-java java-1.6.0-openjdk tomcat6 apache-tomcat-apis httpd classpathx-mail
cd /opt
wget "http://sourceforge.net/projects/opengts/files/server-base/2.3.8/OpenGTS_2.3.8.zip/download"
unzip OpenGTS_2.3.8.zip
ln -s OpenGTS_2.3.8 OpenGTS
</div></pre><br />
Create environment file<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">cat >> /etc/profile.d/opengts.sh << EOF
#The Java JDK (NOT the JRE) installation directory.
#export JAVA_HOME=/usr/java/latest
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
#The Apache Ant installation directory.
#export ANT_HOME=/usr/lib64/gcj/ant
#The Apache Tomcat installation directory.
export CATALINA_HOME=/usr/share/tomcat6
#The OpenGTS installation directory.
export GTS_HOME=/opt/OpenGTS
EOF
. /etc/profile.d/opengts.sh
</div></pre><br />
If you don't want to use the "classpathx-mail" javamail.jar you can download the mail.jar from <a href="http://www.oracle.com/technetwork/java/javamail/index-138643.html">Oracle </a>or <a href="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-eeplat-419426.html#javamail-1.4.4-oth-JPR%22">here</a>:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">unzip javamail1_4_4.zip
cp -p ~/javamail-1.4.4/mail.jar $JAVA_HOME/jre/lib/ext/
</div></pre>OR just use the one installed:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">ln -s /usr/share/java/javamail.jar $JAVA_HOME/jre/lib/ext/
</div></pre><br />
Here are a couple of symlinks that help out:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">mkdir /usr/share/tomcat6/common/lib
cd /usr/share/tomcat6/common/lib
ln -s /usr/share/java/tomcat6-servlet-2.5-api-6.0.24.jar servlet-api.jar
ln -s /usr/share/java/mysql-connector-java-5.1.12.jar $JAVA_HOME/jre/lib/ext/
</div></pre><br />
The real meat of the install of the java stuff:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">cd $GTS_HOME
ant all
ant track.war
ant track.deploy
</div></pre><br />
A couple of housekeeping commands to silence warnings/errors before running the checkInstall.sh:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">ln -s $JAVA_HOME java
ln -s $CATALINA_HOME tomcat
ln -s $GTS_HOME gts
$GTS_HOME/bin/checkInstall.sh
</div></pre><br />
Correct issue noted from the checkinstall script.<br />
<br />
Initialize the database and get the demo stuff up and going:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">service mysqld restart
service tomcat6 restart
echo "create database demo;"|mysql
$GTS_HOME/bin/initdb.sh -rootUser=root -rootPass=
$GTS_HOME/bin/admin.pl Account -account=demo -nopass -create
$GTS_HOME/bin/admin.pl Device -account=demo -device=demo -create
$GTS_HOME/bin/admin.pl Device -account=demo -device=demo2 -create
$GTS_HOME/bin/dbAdmin.pl -load=EventData -dir=./sampleData
</div></pre><br />
Look at $GTS_HOME/logs/TrackWar.log or /var/log/tomcat6/catalina.2011-10-26.log for issues.<br />
<br />
Next part will be connecting a real test client to this server... coming soon!<br />
<br />
<a href="http://www.opengts.org/FAQ.html">http://www.opengts.org/FAQ.html</a><br />
<a href="http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS#RHEL.2FCentOS.2FSL_6_:_Packages_Status_Summary">http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS#RHEL.2FCentOS.2FSL_6_:_Packages_Status_Summary</a>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com12tag:blogger.com,1999:blog-5288455344007959196.post-29794723238734192202011-10-22T22:02:00.000-05:002011-11-16T07:28:03.878-06:00CentOS 6.x updated wine-1.3.29 install howtoStable is good! That's why I like the <a href="http://centos.org/">CentOS</a>/<a href="http://www.scientificlinux.org/">SL</a>/<a href="http://www.redhat.com/rhel/">RHEL</a> distrobutions. But sometimes you need to kick it up a notch and go more recent with specific packages. It might be an <a href="http://pjwelsh.blogspot.com/2011/07/libroffice-for-centos-5-or-centos-6.html">office suite update</a> or a <a href="http://pjwelsh.blogspot.com/2011/04/centos-5x-gitco-xen-343-kernel-update.html">Xen update</a> or <a href="http://pjwelsh.blogspot.com/2010/12/linux-rhelcentos-55-php-53-upgrade-made.html">even a PHP update</a>; it doesn't matter, you just need some part that is, well, more recent. This time it's <a href="http://www.winehq.org/">wine</a>. And, instead of version wine-1.2 stable something, you get to most recent and kick-ass version 1.3 something. I can say that the wine-1.3 is much better at handling the oddities of running the <a href="http://picasa.google.com/">most recent Google Windows Picasa version</a>. Let's face it, the <a href="http://picasa.google.com/linux/">Linux version 3.0</a> is OK, but WAYYYY dated. Besides, the face recognition is much better in <a href="http://picasa.google.com/index.html##">Picasa 3.8</a>. Enough fluff; down to business. Start off with some good information from the <a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge">CentOS RPMForge link</a><br />
and make sure to set up either <a href="http://wiki.centos.org/PackageManagement/Yum/Priorities">priorities</a> or <a href="http://wiki.centos.org/PackageManagement/Yum/ProtectBase">ProtectBase</a>. Get <a href="http://repoforge.org/">familiar with RPMForge/Repoforge</a>. Then install it the important repository:<br />
(32bit)
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">rpm -ihv http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
</div></pre><br />
(64bit)
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">rpm -ihv http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
</div></pre>
By the way, this wine upgrade also works with <a href="http://centos.org/">CentOS</a>/<a href="http://www.scientificlinux.org/">SL</a>/<a href="http://www.redhat.com/rhel/">RHEL</a> version 5.x. Just substitute "el5" for"el6" above.<br /><br />
Get rid of the old:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum remove wine\*
</div></pre><br />
In with the new:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install wine --disablerep=\* --enablerepo=rpmforge-testing
</div></pre><br />
All done! Time to pay attention to the <a href="http://stlouis.cardinals.mlb.com/">St. Louis Cardinals</a> as they play for the World Series <a href="http://mlb.mlb.com/">World Series against Texas</a> ;)pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-87607229154604976662011-10-19T22:38:00.001-05:002011-10-19T22:39:33.001-05:00CentOS 6.x Mythtv 0.24 plus Hauppauge PVR-500 setup hotwoLet me start by stating that getting this setup to be functional was a frustrating experience. Mostly due to my lack of Mythtv setup experience. It's not to say that I have not been using Mythtv for a very long time. It's more along the lines that I run the boxes for sooooo long without issue and therefore don't have to deal with setup very often. The box I'm replacing was a venerable CentOS 5 setup with a single Hauppauge PVR-250. The other issue is that I introduced some new-to-me equipment (the PVR-500) and most found documentation did not directly pertain to the mythtv-0.24 version.<br />
<br />
Basic CentOS 6.0 32bit is documented in a <a href="http://pjwelsh.blogspot.com/2011/10/centos-6x-mythtv-24-install-and-setup.html">previous post</a>. This will be more about the setup of the <a href="http://www.hauppauge.com/site/support/support_pvr150.html">Hauppauge PVR-500</a> since that was really the only problem.<br />
<br />
There is some <a href="http://www.mythtv.org/wiki/Hauppauge_PVR-500">some information</a> in the Mythtv wiki that is helpful. <br />
<br />
Please keep in mind that my main intent is to show the PVR-500 setup and not all<br />
the easy other stuff.<br />
<br />
Step 1: run mythtvsetup <br />
Step 2: select "Capture cards" -> "New capture card"<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-gHmD2ioT0hM/Tp-VuSZvGQI/AAAAAAADZ1A/3xa2XsFol_A/s1600/mythtv-pvr-500-setup.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="203" src="http://1.bp.blogspot.com/-gHmD2ioT0hM/Tp-VuSZvGQI/AAAAAAADZ1A/3xa2XsFol_A/s320/mythtv-pvr-500-setup.jpg" width="320" /></a></div><br />
Step 3: from "Card type:" select "H.264 encoder card (HD-PVR)" then "Finish"<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-_frsrtmSXH8/Tp-V2diY71I/AAAAAAADZ1I/sFw8-gvRCxs/s1600/mythtv-pvr-500-setup-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://3.bp.blogspot.com/-_frsrtmSXH8/Tp-V2diY71I/AAAAAAADZ1I/sFw8-gvRCxs/s320/mythtv-pvr-500-setup-1.jpg" width="320" /></a></div><br />
Step 4: select "New capture card" -> "Card type:" select "H.264 encoder card (HD-PVR)" again. This time change "Video device:" to "/dev/video1" then "Finish"<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-yOhI-eDFo4A/Tp-WEuvp7tI/AAAAAAADZ1Q/-o0RnL8CYkE/s1600/mythtv-pvr-500-setup-2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://1.bp.blogspot.com/-yOhI-eDFo4A/Tp-WEuvp7tI/AAAAAAADZ1Q/-o0RnL8CYkE/s320/mythtv-pvr-500-setup-2.jpg" width="320" /></a></div><br />
Step 5: add your "Video source" and "Input connections" and follow any other instructions you have ;)<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-nhfdRFowjh0/Tp-WQ5GtYCI/AAAAAAADZ1Y/Q6D2Z8TwfAg/s1600/mythtv-pvr-500-setup-3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="125" src="http://2.bp.blogspot.com/-nhfdRFowjh0/Tp-WQ5GtYCI/AAAAAAADZ1Y/Q6D2Z8TwfAg/s200/mythtv-pvr-500-setup-3.jpg" width="200" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-eeV84A9u9LU/Tp-WRhd2dAI/AAAAAAADZ1g/Tb8XS8dM6_U/s1600/mythtv-pvr-500-setup-4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="125" src="http://2.bp.blogspot.com/-eeV84A9u9LU/Tp-WRhd2dAI/AAAAAAADZ1g/Tb8XS8dM6_U/s200/mythtv-pvr-500-setup-4.jpg" style="cursor: move;" width="200" /></a></div><br />
Error messages I had while trying to get the PVR-500 setup correctly:<br />
snd_pcm_open_noupdate unknown pcm default<br />
Error: Failed to open audio device ALSA:default<br />
Encountered problems running /usr/bin/mythpreviewgen<br />
<br />
Note: vlc error:<br />
<blockquote>*** glibc detected *** vlc: free(): invalid pointer:</blockquote> <a href="http://trac.videolan.org/vlc/ticket/3701">Solution</a> was simple for this 32bit install, as root:<br />
mv /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so ~/libtaglib_plugin.so-vlc-issuepjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-50296157628693787602011-10-19T21:27:00.000-05:002011-10-19T21:27:35.065-05:00Google Music Manager native Linux client install and reviewTo <a href="http://www.google.com/">Google's</a> credit they have quickly moved to a native Linux client with their <a href="http://music.google.com/">beta Music Manager</a>, The "<a href="http://dl.google.com/linux/direct/google-musicmanager-beta_current_i386.rpm">google-musicmanager-beta-1.0.18.6104-0.i386</a>" was built on September 14 and made available on September 24 2011. The <a href="http://pjwelsh.blogspot.com/2011/06/google-music-beta-review.html">initial Music Manager</a> was built on <a href="http://www.winehq.org/">wine</a> like some other notable Google products (like Picasa). The Linux version of the Music Manager is now native! And since there is no bundled wine the install size is a very modest 9.5MBish.<br />
<br />
I am running this test on <a href="http://www.centos.org/">CentOS</a> 6.0(<a href="http://lists.centos.org/pipermail/centos-announce/2011-September/018078.html">CR</a>). Other choices for downloads is available from <a href="http://music.google.com/music/listen#manager_pl">HERE</a> or by going to your "ADD MUSIC" option toward the top right of the music.google.com screen after Google login. Google has downloads for Debian/Ubuntu and for Fedora/openSUSE in both 32bit and 64bit:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-FwBl6oReSXc/Tp9cGVJoq_I/AAAAAAADZ04/bn4DIhR0UT8/s1600/Google-music-manager-9-download-manager.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="237" src="http://2.bp.blogspot.com/-FwBl6oReSXc/Tp9cGVJoq_I/AAAAAAADZ04/bn4DIhR0UT8/s320/Google-music-manager-9-download-manager.png" width="320" /></a></div>As root install your download. For my CentOS box I did:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install google-musicmanager-beta-1.0.18.6104-0.i386
</div></pre><br />
You can run the program from the command line by just typing at your GUI prompt:<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">google-musicmanager
</div></pre><br />
To run the Linux Google Music Manager from the Gnome desktop, just select "Applications" -> "Internet" -> "Google Music Manager". You will be greeted with this start sequence:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-0GNOfhq8V1s/Tp9cC_2gHjI/AAAAAAADZzw/Rrjnd2loPYo/s1600/Google-music-manager-1-welcome.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="190" src="http://1.bp.blogspot.com/-0GNOfhq8V1s/Tp9cC_2gHjI/AAAAAAADZzw/Rrjnd2loPYo/s200/Google-music-manager-1-welcome.png" width="200" /></a></div><a href="http://4.bp.blogspot.com/-RMzbpzMzgYc/Tp9cDAIz6YI/AAAAAAADZz4/GoHeLt06K8c/s1600/Google-music-manager-2-login.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="190" src="http://4.bp.blogspot.com/-RMzbpzMzgYc/Tp9cDAIz6YI/AAAAAAADZz4/GoHeLt06K8c/s200/Google-music-manager-2-login.png" width="200" /></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-NvzxqNKsjNo/Tp9cDy5am5I/AAAAAAADZ0A/E1OwG0Oj9tY/s1600/Google-music-manager-3-dir-selection.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="191" src="http://3.bp.blogspot.com/-NvzxqNKsjNo/Tp9cDy5am5I/AAAAAAADZ0A/E1OwG0Oj9tY/s200/Google-music-manager-3-dir-selection.png" width="200" /></a></div><a href="http://1.bp.blogspot.com/-V_-emt-t9PU/Tp9cESWQBYI/AAAAAAADZ0I/CHwAjvYZv3E/s1600/Google-music-manager-4-too-few-songs.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="191" src="http://1.bp.blogspot.com/-V_-emt-t9PU/Tp9cESWQBYI/AAAAAAADZ0I/CHwAjvYZv3E/s200/Google-music-manager-4-too-few-songs.png" width="200" /></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-o2TK3zXjk0M/Tp9cErmtVuI/AAAAAAADZ0Q/nX9hMjwJ5f0/s1600/Google-music-manager-5-gnome-toolbar.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="191" src="http://2.bp.blogspot.com/-o2TK3zXjk0M/Tp9cErmtVuI/AAAAAAADZ0Q/nX9hMjwJ5f0/s200/Google-music-manager-5-gnome-toolbar.png" width="200" /></a></div><a href="http://4.bp.blogspot.com/-9meiakowP6k/Tp9cFaxbRkI/AAAAAAADZ0g/iujVyqChFpA/s1600/Google-music-manager-6-main.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="141" src="http://4.bp.blogspot.com/-9meiakowP6k/Tp9cFaxbRkI/AAAAAAADZ0g/iujVyqChFpA/s200/Google-music-manager-6-main.png" width="200" /></a><br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div>Here is a screenshot of the "About" for this installed version:<br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-ffkSsi86_-k/Tp9cFoSWtyI/AAAAAAADZ0o/ewYIh6itRzI/s1600/Google-music-manager-7-about.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="http://1.bp.blogspot.com/-ffkSsi86_-k/Tp9cFoSWtyI/AAAAAAADZ0o/ewYIh6itRzI/s200/Google-music-manager-7-about.png" width="200" /></a></div><br />
Here is a screenshot of the Gnome panel view of the running Music Manager: <br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-LbW3kiPVzK4/Tp9cFPpyAPI/AAAAAAADZ0Y/sqMKK9gZqNU/s1600/Google-music-manager-6-gnome-toolbar2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-LbW3kiPVzK4/Tp9cFPpyAPI/AAAAAAADZ0Y/sqMKK9gZqNU/s1600/Google-music-manager-6-gnome-toolbar2.png" /></a></div><br />
<br />
Firefox seems well supported for Google Music when you have Flash installed:<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-6omNsHS3Eog/Tp9cGH2CnhI/AAAAAAADZ0w/nOpLb0dYAso/s1600/Google-music-manager-8-need-flash.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="110" src="http://4.bp.blogspot.com/-6omNsHS3Eog/Tp9cGH2CnhI/AAAAAAADZ0w/nOpLb0dYAso/s320/Google-music-manager-8-need-flash.png" width="320" /></a></div>pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0tag:blogger.com,1999:blog-5288455344007959196.post-48415190043210089092011-10-12T17:04:00.002-05:002011-10-22T12:48:02.607-05:00CentOS 6.x Mythtv 0.24 install and setup hotwoThis is originally created with CentOS 6.0. Prior to the release of CentOS 6.1, I strongly urge all admin's to use the <a href="http://lists.centos.org/pipermail/centos-announce/2011-September/018078.html">CentOS 6.0 CR Updates</a> to enhance the security of your system. Also, my CentOS Mythtv server was a "Desktop" install option for this example. I have cable TV and have used both the Hauppauge PVR-250 and now the <a href="http://www.mythtv.org/wiki/Hauppauge_PVR-500">Hauppauge PVR-500</a> since my needs are basic.<br />
<br />
UPDATE: I have the <a href="http://pjwelsh.blogspot.com/2011/10/centos-6x-mythtv-024-hauppauge-setup.html">PVR-500 CentOS 6 setup info with pictures for mythtv 0.24</a> now.<br />
<br />
Get the security related updates first:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">rpm -ihv /home/pj/Downloads/centos-release-cr-6-0.el6.centos.i686.rpm
yum update
</div></pre><br />
<a href="http://wiki.centos.org/AdditionalResources/Repositories">Install</a> both EPEL and RPMFORGE repositories and please remember to also install *AND* setup either <a href="http://wiki.centos.org/PackageManagement/Yum/Priorities">priorities</a> or <a href="http://wiki.centos.org/PackageManagement/Yum/ProtectBase">protectbase</a> yum plugins.<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">rpm -ihv http://dl.atrpms.net/all/atrpms-repo-6-4.el6.i686.rpm
rpm -ihv http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
yum install yum-plugin-priorities
</div></pre><br />
<br />
Do these error messages look familiar?<br />
<blockquote> --> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.i686 conflicts qt-x11 < 1:4.7.2-1_18.el6<br />
--> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.i686 conflicts qt4-x11 < 1:4.7.2-1_18.el6<br />
--> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.i686 conflicts phonon < 4.3.80-1<br />
Error: qt47-x11 conflicts with qt-x11</blockquote><br />
OR<br />
<blockquote>file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-3.el6.noarch and perl-XML-SAX-0.96-7.el6.noarch<br />
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-3.el6.noarch and perl-XML-SAX-0.96-7.el6.noarch</blockquote><br />
Clean out the older/problem bits:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum remove qt-x11 qt phonon perl-XML-SAX-Base
</div></pre><br />
Install the initial problem packages:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install qt47 qt47-x11 qt47-webkit qt47-mysql --enablerepo=atrpms-testing
</div></pre><br />
<br />
The big download and install:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install mythtv --enablerepo=atrpms-testing --exclude=perl-XML-SAX-Base
</div></pre><br />
Make sure mysqld and mythbackend on going to try and start on boot<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">chkconfig mythbackend on mysqld on
</div></pre><br />
You really need to read through the <a href="http://www.mythtv.org/docs/mythtv-HOWTO.pdf">mythtv-HOWTO</a> or even <a href="http://www.mythtv.org/wiki/Installing_MythTV_on_RHEL/CentOS">Installing MythTV on RHEL/CentOS</a><br />
<br />
I'm migrating from CentOS 5.7 -> 6.0 following normal <a href="http://www.mythtv.org/docs/mythtv-HOWTO-singlehtml.html#backupdb">backup and restore</a> steps:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">service mysqld start
mysql < /usr/share/doc/mythtv-docs-0.24.1/database/mc.sql
</div></pre><br />
<br />
A new simple no-security-just-get-it-running setup could include:<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">echo 'grant all on mythconverg.* to mythtv@"%" identified by "mythtv";' |mysql mythconverg
echo 'flush privileges;'|mysql mythconverg
mythtv-setupp
</div></pre><br />
<br />
Again, you really need to read through the <a href="http://www.mythtv.org/docs/mythtv-HOWTO.pdf">mythtv-HOWTO</a> or even <a href="http://www.mythtv.org/wiki/Installing_MythTV_on_RHEL/CentOS">Installing MythTV on RHEL/CentOS</a> for your specific tuner card.<br />
<br />
http://www.gossamer-threads.com/lists/atrpms/users/15601pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com2tag:blogger.com,1999:blog-5288455344007959196.post-11417598074840714272011-10-10T13:18:00.003-05:002011-10-13T10:48:47.289-05:00Dell printer firmware update stupidity and howtoNot sure why Dell is taking recent steps backwards with regard to Linux support, but clearly it is. The <a href="http://pjwelsh.blogspot.com/2011/02/failed-bios-update-on-r710-with-centos.html">recent BIOS update issues</a> have given way to printer update utilities that are not Linux install friendly. The most recent example is the otherwise decent Dell 2555dn MFP. The previous A02 version of the firmware (DELL_2355DN-MONO-LASER-MFP_A02_R302331.exe) was just a self-extracting zip file. So a simple<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">unzip DELL_2355DN-MONO-LASER-MFP_A02_R302331.exe
</div></pre>would provide me with the needed "*.hd" (Dell2355dn_A02_v2.70.03.06.hd in this case) firmware file to load via the update firmware web page.<br />
Now Dell seems to add in their install/extractor utility like the general Windows driver files have... and it takes some extra effort.<br />
<br />
My current system/admin setup is based on CentOS 6.x but any recent distro will likely be very close. I'm going to assume that you have already downloaded the file and you are at a command/terminal prompt.<br />
<br />
1. Install wine as root<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">yum install wine cabextract
</div></pre><br />
2. As a normal user get winetricks and install "vcrun6"<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">wget http://winetricks.org/winetricks
chmod +x winetricks
./winetricks vcrun6
</div></pre><br />
<br />
3. As a normal user run the installer like and just exit after the GUI comes up<br />
<pre style="background-color: #fffae9; border-color: rgb(229, 229, 229); border-style: solid; font-family: 'DejaVu Sans Mono','Liberation Mono',monospace; margin: 0.5em 0px 0.5em 1.5em; padding: 0.5em 1em; white-space: pre;"><div style="overflow: auto;">wine Dell2355dn_A03_2.70.03.08.exe
</div></pre><br />
4. After you should be able to find the needed *.hd file in "~/.wine/drive_c/users/YOUR_USERNAME/Temp/". For this example, it was "~/.wine/drive_c/users/pj/Temp/Dell2355dn_A03_2.70.03.08.hd"<br />
<br />
Possible error messages:<br />
If you don't have the VBRUN 6 installed (vcrun6) you will get an error like:<br />
err:module:import_dll Library MFC42.DLL (which is needed by L BLAHBLAH) not found<br />
err:module:LdrInitializeThunk Main exe initialization for L BLAHBLAH failed, status c0000135pjwelshhttp://www.blogger.com/profile/02065093429615129157noreply@blogger.com0