Al Hoang

April 16, 2006

THis is why I hate Japanese Drivers

Filed under: tagme — @ 6:13 am

Read more here

Basically it says their printer drivers only support OS X 10.2 and 10.3 but can’t be bothered to
support Tiger. This announcement was back in 2005. It is now the middle of 2006 with no drivers showing
up in site. And just for note, the drivers don’t work properly under Tiger. Double-sided printing is busted
and half of the other functionality just doesn’t work. This really sucks. How come they can’t be bothered
to write more standard drivers?

April 8, 2006

How NOT to design an embedded NTP Client

Filed under: tagme — @ 1:20 am


A number of D-Link products, so far I have at least identified DI-604, DI-614+,
DI-624, DI-754, DI-764, DI-774, DI-784, VDI604 and VDI624, contain a list of
NTP servers in their firmware and using some sort of algorithm, they pick one
and send packets to it.



The correct way, as I have pointed out to D-Link repeatedly, is to query a
D-Link controlled DNS entry like “ntp.dlink.com” and populate this DNS entry
with the list of NTP servers to be queried. That would allow D-Link to add or
remove servers from the list by changing the DNS server files and all deployed
devices would automatically see the update next time.

Poor Poul-Henning (A FreeBSD developer). This incident has been costing
him quite a bit of time and expenses just to sort out something that D-Link
screwed up in the first place. If any D-Link engineers read this blog
entry by chance, please try to get your management to fix this.

Read Mr Kamp’s Open Letter to D-Link

D-Link is not alone in doing this

Try a lighter desktop on your Ubuntu install

Filed under: tagme — @ 1:20 am

How to get Fluxbox
on your Ubuntu install

Summary:

  • Current Ubuntu has an ‘ancient’ (Read: I MUST HAVE LATEST AND GREATEST) version of fluxbox
  • You need to install some extra tools (build-essential checkinstall xlibs-dev) for this howto. Checkinstall looks very useful for people who install
    from source then realize they need to erase it.
  • Do the ./configure; make dance from source but use checkinstall so
    you can erase it

April 6, 2006

Linux aggravation #22351213123. Fake ext3 corruption?

Filed under: tagme — @ 3:23 am

Try dealing with a problem like

this
. And if you’re wondering. Yes it IS happening to me. And it really
is frustrating trying to do anything when you’re drive goes bonkers.

April 1, 2006

Migrating a Thunderbird Profile from Windows XP to Linux

Filed under: tagme — @ 7:41 pm

I decided to move my emailing activities from XP to Linux for *mumble mumble*
reasons. I thought it would be a rather simple operation of dump the data
files in the right place and be done with it but there are some small
things to keep in mind when doing the move. Here’s my diary entry on how
I got it to work properly. I’m not going to cover how you view your
Windows data. I imagine you have a Windows partition, a backup, or zipped
up the relevant data and now can easily access it somehow. If so, you can
adapt the directory paths for your situation.

  1. Thunderbird on XP stores the relevant data usually around C:\Documents And Settings\[Username]\Application Data\Thunderbird\
    I’ll call that
    $XP_TBIRD_HOME for the rest of this article. So first find
    that directory.
  2. Linux stores the profile data in $HOME/.thunderbird

    For the rest of this article I’ll call it $LINUX_TBIRD_HOME.
    Look for this directory as well or if not go to next step.
  3. If it doesn’t exist create $LINUX_TBIRD_HOME
    mkdir $LINUX_TBIRD_HOME
  4. Copy the profile directory from
    $XP_TBIRD_HOME/Profiles/[blah blah].default
    into $LINUX_TBIRD_HOME

    cp -Rp $XP_TBIRD_HOME/Profiles/[something] $LINUX_TBIRD_HOME
  5. Copy the profiles.ini and registry.dat from $XP_TBIRD_HOME into
    $LINUX_TBIRD_HOME

    cp $XP_TBIRD_HOME/profiles.ini $LINUX_TBIRD_HOME
    cp $XP_TBIRD_HOME/profiles.ini $LINUX_TBIRD_HOME
  6. Fix permissions and owners if you copied straight from a NTFS or
    FAT32 partition as root using chown and chmod stuff. I’m not sure
    my chmod-fu is 100% correct but I’d rather keep my mail stuff read only
    to me not the world.

    chown -R me:me $LINUX_TBIRD_HOME
    chmod -R 700 $LINUX_TBIRD_HOME
  7. Edit $LINUX_TBIRD_HOME/profiles.ini and change the Path
    variable from Path=Profiles/[blah] to Path=[blah].
  8. Fire up Thunderbird on Linux. If it doesn’t bug you to create a
    profile and all that garbage you’re done! If not, then maybe you missed
    something in the steps above. You can always blow away
    $LINUX_TBIRD_HOME and start from step 1 again until it works
    correctly.

Just the commands version:
mkdir $LINUX_TBIRD_HOME
cp -Rp $XP_TBIRD_HOME/Profiles/[something] $LINUX_TBIRD_HOME
cp $XP_TBIRD_HOME/profiles.ini $LINUX_TBIRD_HOME
cp $XP_TBIRD_HOME/profiles.ini $LINUX_TBIRD_HOME
chown -R me:me $LINUX_TBIRD_HOME
chmod -R 700 $LINUX_TBIRD_HOME
vi $LINUX_TBIRD_HOME/profiles.ini
thunderbird &

There’s a chance these instructions don’t cover all situations
But after goofing it up a few times and stumbling on this. I’m pretty sure
this way will guarantee you get your Thunderbird settings just right.
That should migrate everything over including all your settings including
which servers to connect to, spam settings, and even extensions you might
have installed.

I’ve not tried moving all this data to a different
machine architecture so I’m not sure if the binary data will hold but
I’m going to guess ‘yes’. I imagine if you reverse the process a little
bit it should be rather trivial to migrate from a Linux Thunderbird to
a Windows Thunderbird. I imagine with some permutations it should be
simple to adapt this to get your Thunderbird moved to OS X.

Links:
Sharing Thunderbird
between Linux and Windows
(Might be useful for dual-booters but I wanted
a full migration not sharing).

Powered by WordPress

Protected by AkismetBlog with WordPress