MikeTeo.net

A Software Developer’s Blog (Wanna Email Me?)

Archive for the ‘Internet’ Category

I have recently upgraded my laptop from Windows Vista 32-bit to Windows 7 Home Premium. I have performed the following steps to get my Huawei E169 3G modem working in Windows 7 again.

  1. Uninstall the SingTel Broadband on Mobile software and unplug your 3G modem from your PC/laptop
  2. Download this patch from Huawei (Local Mirror), extract the setup file and run it.
  3. Reboot your PC/laptop
  4. Plug back your 3G modem. Wait for the SingTel CD drive to appear in your “My Computer”
  5. Install the SingTel Broadband on Mobile software again. Your 3G modem should be automatically be detected after the software has been installed.

PS. SingTel Broadband on Mobile web site has some firmwares and Windows 7 fixes for Huawei E169 modem. But these softwares keep giving some code 2 errors indicating that I do not have administrator permission or the data card is being used by other software on the PC/laptop. Well, in all cases, I have gotten my 3G modem working without these “upgrades”. Thank goodness.

TrueType Font RPM for Fedora Core

Dec-21-2009 By miketeo

I have rpmbuild the msttcorefonts RPM from msttcorefonts-2.0-1.spec.
For FC12, you will encounter a chkfontpath dependency error when trying to install this rpm. Just rpm -i –nodeps msttcorefonts-2.0-1.noarch.rpm and re-login your X session.

Download the msttcorefonts-2.0-1.noarch.rpm.

Compiling runit on Fedora Core 11

Sep-8-2009 By miketeo

If you encounter the following error while trying to compile runit on a FC11 machine

[root@norma runit-2.0.0]# package/install
Linking ./src/* into ./compile…
Compiling everything in ./compile…
+ cd compile
+ exec make
./load runit unix.a byte.a -static
/usr/bin/ld: cannot find -lc

Try yum install glibc-static

Arduino IDE : USB Ports Not Found

Jun-27-2009 By miketeo

If you have upgraded or installed Fedora Core 11, you might find that your USB ports are not listed or the Serial Port menu is greyed out on the Arduino IDE. This is due to a change of group ownership for the /dev/ttyUSBx ports in FC11.

To resolve this, simply add your user (eg. myuser) to the dialout group in /etc/group like this:

dialout:x:18:myuser

Then logout from your desktop and re-login back again.

Upgrading from FC9/FC10 to FC11

Jun-23-2009 By miketeo

I have recently upgraded some of my Linux boxes from Fedora Core 9 and Core 10 to Fedora Core 11. Recent Fedora distros come with a preupgrade application which simplifies the upgrade process. It works well for some of my FC10 boxes, but I find that the preupgrade application has issues with RAIDs for the FC9 box.

I have upgraded 3 boxes using the DVD media (both 32-bits and 64-bits distros). After upgrading, it seems that I need to perform some additional steps in order to upgrade the entire application base to FC11.

The first few problems that you will see is that some of the softwares refuse to start, or hang. For example, the gnome terminal will start but refuse to accept any keystrokes in its window. My gnubiff won’t even start. And the worst: yum refuses to run! (No module named yum… Please go to this wiki FAQ…)

My solution as follows:

  1. Go to console. You can press <Ctrl> + <Alt> + <F2>. You should see a prompt for your ID. Sign in as root user with your root password.
  2. Download and install the FC11 yum rpm. If rpm reports that yum has already been installed, uninstall the existing yum: rpm -e –nodeps yum. Then install the new yum: rpm -i yum-3.2.22-4.fc11.noarch.rpm
  3. Rebuild the rpm database: rpm –rebuilddb
  4. Flush yum cache: yum clean all
  5. Then perform the upgrade: yum upgrade
  6. Reboot the machine when upgrade completes, and the whole machine is in FC11 “mode” now.