Archive for July, 2007|Monthly archive page

OpenWRT on Asus WL-500W

UPDATE: 802.11n now works

OpenWRT does not yet support the Asus WL-500W although there is some info in the developers blogs about how people got it working. Being a fan of this great project, I gave it a shot and updated the documentation with my efforts. I’ve been using it for about 2 weeks now and it works like a charm.

The 802.11n networking does not yet work. There is a new version of the proprietary broadcom driver in the Asus firmware. It hasn’t been included in the Openwrt CVS but I think this could be the ticket. I’ll give it a shot if I have some spare time in the future.

If you would simply like me to send you the version I complied, give me a quick email at
guarddogit-wordpress (at) yahoo (dot) ca

Update:
I updated the docs to include building of the Webif² package. Works pretty well but not perfectly. I still couldn’t get the wireless working with anything other than the wl_mimo driver which means only 802.11g works.

J2ME Polish Setup on OS X

So I just spent the night fighting with setting up a J2ME environment on Mac OS X. It turns out it’s actually pretty easy once you know. So here is what I did.

1. Download and install Eclipse. I used version 3.3 but I think anything above and including 3.2 should work.

2. Install MPowerPlayer. It is a pure java emulator so it runs on OS X. Version 1185 can be downloaded here.

3. Follow the instructions to install Mepose. The instructions are pretty good except don’t mention to also set the MPP (MPowerPlayer) directory. I installed it at /opt/mpp-sdk

4. Setup one of their sample applications using the provided instructions. Contrary to the instructions, they now have many sample projects. I chose to import (not install and copy like the instructions say) the project called ‘chartitem’.

  • Select ‘import’ and ‘Existing Projects into Workspace’
  • Select ‘chartitem’ from the samples directory
  • Click the checkbox called ‘Copy project into workspace’

5. Now create a new ‘J2ME Polish Project’ with the exact same name as the project your just imported. See these instructions here. This will update the imported project to be a Mepose project.

When you get to ‘Select Target Devices’ section, select ‘Devices > Virtual > Generic/MppPhone’

6. Now run your new app. Ctrl click on your MidLet file (Should be called ChartMidlet.java) and select ‘Run As > J2ME Polish MIDLet’

7. If you’re just like me, you got an error. My env was looking for the preverify executable at /opt/j2me/bin/preverify. Rename the previous previous bin to preverify.old and make a symbolic link to the preverify for mmp-sdk: ln -s {mpp-sdk home}/osx/preverify/preverify preverify.

Now build again and you should be golden. Enjoy.

It might be necessary to install the linux version of J2ME Wireless Toolkit in order to use JSR75. I’ll look into it and update this post when I know more. Related links:
http://www.markus.brosch.net/?p=107
http://blog.litux.org/2007/02/06/j2me-development-in-mac-os-x