Month: August 2011

Tips for WebEx on 64-bit Fedora 15

Things are settling down now on my Fedora 15, and it is time to get WebEx working.  After a few Google searches, I came across instructions on using 32-bit Firefox on 64-bit Fedora.

I had WebEx working in my 64-bit Ubuntu installation, so I decided to not settle for a 32-bit hack. I didn’t get a good how-to going, but here’s some tips that might help:

First, get Java working. I have Sun’s JDK 1.7 installed. I am not sure the version matters. Open JDK or Sun’s JDK should work, and the 1.6 should be fine. From this posting, I found the command to link the Java plugin to Firefox:

sudo /usr/sbin/alternatives –install \
    /usr/lib64/mozilla/plugins/libjavaplugin.so \
    libjavaplugin.so.x86_64 \
    /usr/java/default/lib/amd64/libnpjp2.so 20000

For Chrome, I used this command:

sudo ln -s \
   /etc/alternatives/libjavaplugin.so.x86_64 \
   /usr/lib64/chromium-browser/plugins/libjavaplugin.so.x86_64

If this still doesn’t work, you can troubleshoot with these commands:

ls -l /usr/java/default/lib/amd64/libnpjp2.so
ls -l /usr/lib64/mozilla/plugins
ls -l /etc/alternatives/libjavaplugin.so.x86_64

Now, make sure this page comes up and says that the Java plugin is working:
Java.com: How do I test whether Java is working on my computer?

If that works for you, move on to WebEx:
WebEx Join Test

Update: Unfortunately, while the Join Test works, it is not a good test. The 64-bit will not work with Desktop Sharing. If you plan to try to view someone’s desktop, you will need to fall back to the 32-bit version of Firefox and Java. You can view the requirements here, and notice that 27.27 has updated to requiring 32-bit.

Resources:

Skype on Fedora 15

I found a couple of good instructions for installing Skype from their repository. The advantage is that it should keep it up to date assuming Skype publishes updates to the repository.

The repo file I got from here, and I just uploaded it so that I could use wget to install rather than gedit as the other instructions use. Maybe someday I can build an RPM to make it even easier.

Install Steps:

su -c "wget -P /etc/yum.repos.d/ http://digitaleagle.net/fedorastuff/skype.repo"
su -c "yum install skype"

Unfortunately, this didn’t work for my 64bit system:

Running Transaction
  Installing : skype-2.1.0.81-fc10.i586                                     1/1

Installed:
  skype.i586 0:2.1.0.81-fc10

Complete!
[skp@pecan ~]$ locate skype
[skp@pecan ~]$ which skype
/usr/bin/skype
[skp@pecan ~]$ ls -l `which skype
> `
-rwxr-xr-x. 1 root root 18621060 Jan 18  2010 /usr/bin/skype
[skp@pecan ~]$ /usr/bin/skype
bash: /usr/bin/skype: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

So, I installed the dependencies mentioned in this thread:

yum install alsa-lib.i686 dbus-libs.i686 e2fsprogs-libs.i686 expat.i686 fontconfig.i686 freetype.i686 glib2.i686 glibc.i686 keyutils-libs.i686 krb5-libs.i686 libcap.i686 libgcc.i686 libICE.i686 libpng.i686 libselinux.i686 libSM.i686 libstdc++.i686 libX11.i686 libXau.i686 libxcb.i686 libXcursor.i686 libXdmcp.i686 libXext.i686 libXfixes.i686 libXi.i686 libXinerama.i686 libXrandr.i686 libXrender.i686 libXScrnSaver.i686 libXv.i686 openssl.i686 qt.i686 qt-x11.i686 zlib.i686

Then, that finally worked!
Skype starting up for the first time (showing the license screen)

References:

Great Links: Web Encryption without SSL

I have been working on getting data transfer encrypted for parts of my website, and I think I have a solution! Rather than encrypt all of the site with an expensive SSL certificate, I am just going to encrypt the AJAX calls.

Here are the resources that I am using:

Do you have any experience with this or anything similar? Comments are welcome!

Update: I am still trying to get it working… Check out my question here.

Update: Here’s a nice link to help with generating the key: madboa.com: OpenSSL Command-Line HOWTO — How do I generate an RSA key?

Update: I haven’t been able to get pidCrypt to work. I found another tool that looks very good called jCryption, but I can’t make it work because my host doesn’t provide the bcMath library. I found a couple more helpful pages here and here.

Kernel 2.6.40 and Broadcom Wireless Broken!

Unfortunately, I don’t have any fixes at this point. But, I do have some links. If you have any ideas, please comment below. I am sure I am not the only one with this problem.

I have updated the kernel with YumEx, and now I have two different 2.6.40 kernels. When I boot into either of those kernels, my wireless is gone! Currently, the only way I can make the wireless work is to select the 2.6.38 kernel at the grub menu during boot.

That is not a good long term solution because I believe that yum only saves the last two kernels previous to the current one. So, if I update the kernel one more time, I think 2.6.38 will fall off the list! That’s is why I haven’t just updated the /boot/grub/grub.conf to make the 2.6.38 kernel default.

Here are some links that may help:

One link that I found suggested adding a line to the modprobe configuration to blacklist bcma. Unfortunately, that didn’t work for me. That module doesn’t seem to be installed. Do I need to install it?

[skp@pecan ~]$ sudo modprobe bcma
[sudo] password for skp: 
FATAL: Module bcma not found.

Another post suggested blacklisting b44. That one didn’t work for me either. It just made the Wired connection not work.

In my old kernel, here is what things look like:

[skp@pecan ~]$ echo 'Kernel Version: ' `uname -r` && echo 'lspci Info:' && lspci -v | awk '/Ether|Net/,/^$/'
Kernel Version:  2.6.38.8-35.fc15.x86_64
lspci Info:
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01f2
	Flags: bus master, fast devsel, latency 64, IRQ 17
	Memory at fe5fe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
	Subsystem: Dell Wireless 1395 WLAN Mini-Card
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: wl
	Kernel modules: wl, ssb

In, the new kernel, here is what it looks like:

[skp@pecan ~]$ echo 'Kernel Version: ' `uname -r` && echo 'lspci Info:' && lspci -v | awk '/Ether|Net/,/^$/'
Kernel Version:  2.6.40.3-0.fc15.x86_64
lspci Info:
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
	Subsystem: Dell Device 01f2
	Flags: bus master, fast devsel, latency 64, IRQ 17
	Memory at fe5fe000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: b44
	Kernel modules: b44

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
	Subsystem: Dell Wireless 1395 WLAN Mini-Card
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

Installing MS Office on Fedora 15 — try 2

This is my second attempt at writing this article.  Office hasn’t been playing nicely with Fedora, but I finally have it working!  This How-To is not as clean as I would like, but it works.

First, let’s explore the motivation for installing Microsoft Office on Linux.  I would venture to guess that most if not all Linux distributions have LibreOffice in their repositories.  That is a full-featured office package that will probably do most of what you want.  In my opinion, Microsoft Office is just a little bit better, but that comes with a huge price tag!  The value is definitely on LibreOffice’s side.  But, here are some reasons you may consider Office instead:

  • if you can get Office cheaper — many times you can get Office much cheaper through student licensing or corporate licensing
  • if you do a lot of work on Office documents in conjunction with other Microsoft users — LibreOffice can open, edit, and save MS Office documents, but when you go back and forth, you will probably have to constantly fix small formatting issues

My motivation comes from working with textbooks.  I was working with large Word documents, and since they were so large, reformatting images and screenshots were not feasible every time we passed them back and forth between LibreOffice and MS Office.  Plus, Office was bought for me so the cost was not an issue!
So, with no further adue, let me walk you through what I did to install it on my Fedora 15 OS:

Read More

Installing Microsoft Office 2007 on Fedora 15

I needed to install Microsoft Office 2007 on my Fedora 15 installation, and my first step was to look for a tutorial that might help clear up any gotchas before I hit them. Unfortunately, the closest I found was these two articles:

So, my thought was to create my own how to.  Instead, I think I have created more of a how NOT to!  By the time I was done with all of this, it didn’t work.  So, don’t bother with this article if you are trying to figure out how to make it work.  If you are looking on something to develop to make the world better for Linux users, look no more.  We need help!

Read More

Installing Flash on Fedora 15

I found a plethora of information about installing Flash on Fedora 15, so I am not going to go into detail. Here’s the decision I made though: I had to decide between going with the standard 32bit plugin wrapped to work on 64bit or use the experimental native 64bit plugin. I chose the 32bit plugin because I have made enough bleeding edge choices that haven’t worked out easily. Flash is just one of those things that you don’t expect a lot of features from, you just want the web pages to work.

So, below are the commands I used. Please follow the links at the end for better instructions. If you have trouble, maybe these commands will help give you an idea of what worked for me.

Downloaded from
http://get.adobe.com/flashplayer/

Downloading Flash

Then ran:

su -c "yum update"

su -c 'yum install nspluginwrapper.{x86_64,i686} alsa-plugins-pulseaudio.i686 --disablerepo=adobe-linux-i386'
su -c 'yum install flash-plugin'

su -c "ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so /usr/lib64/chromium-browser/plugins"

I also did these extra Adobe things:

su -c "yum install AdobeReader_enu"

su -c "yum install gtk2-devel.i686 nss.i686 libxml2-devel.i686 libxslt.i686 \ 
gnome-keyring.i686 rpm-devel.i686 rpm-build rpm-build-libs.i686  \
libgnome-keyring.i686 ld-linux.so.2 libdbus-glib-1.so.2 libhal.so.1 \
libXt.so.6 libDCOP.so.4 nss-devel.i686"

su -c "yum install adobeair"

Resources

LogMeIn Hamachi on Fedora 15

The time has come to get my LogMeIn VPN working again. The learning curve was not near as steep as this time (I didn’t loose any hair!), but I did still have a few issues.

First, I downloaded the RPM from Logmein’s website: logmein-hamachi-2.0.1.15-1.x86_64.rpm

When I went to use the VPN, I got this message:

Hamachi does not seem to be running. 
Run '/etc/init.d/logmein-hamachi start' to start daemon. 

That seemed like an easy fix, but it wouldn’t start. I got this error message when I tried to start the service:

/etc/init.d/logmein-hamachi: line 28: /lib/lsb/init-functions: No such file or directory 

To fix it, I found a bug reference that suggested I should install a package like redhat-lsb-4.0-6.fc15. You should be able to do it with this command:

su -c "yum install redhat-lsb"

After installing that, the VPN service started fine:

su -c "/etc/init.d/logmein-hamachi start"
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamac[  OK  ] 

One thing I did notice is that the service doesn’t automatically start like it did when I was using it on Ubuntu. I don’t know why, but this is actually what I want anyway. I can just start the service when I want to use it with:

su -c "/etc/init.d/logmein-hamachi start"