I have two computers at home connected to my WRT54GL (a variant of WRT54G) through cables. Using SSH i can easily shut down my computer, and using Wake On Lan, I can wake them up again when I need them. Here are some of my notes after setting up the wake on LAN:
- You need to activate wake on LAN feature in the BIOS.
- You need to set your network card to wake on LAN using ethtool. This command needs to be inserted to your startup/network script, because in each restart you will need to set it again.
- Some network card will wake using the program wol, but some must use etherwake.
- Wake on LAN only works in cable/wired connection (wireless connection will not work).
Any geek having the LinkSys WRT54GL will definitely install Linux on it. I bought this device on September 2007, and a week after using it, I started to hack it. First it was just installing DD-WRT, then I tried to add an SD card to it. The DD-WRT mmc driver has the limitation of only supporting SD card up to 1 GB (My 2GB kingston can not be detected), so I reflash using OpenWRT.
DD-WRT is very easy to use. The web interface is great, but as a former Linux administrator, I’d rather handle things trough command line. If you are a command line lover like me, then OpenWRT is better. With OpenWRT driver, I can use my 2GB SD card with higher speed. Now I can use my router for downloading some stuff that takes a long time to download (such as things that are in the Torrent with few seeders).
I connect this router to 2 of my PCs. One of the PC is used for my everyday task, and the other one is my media center. I can wake one or both of my computer through this router (very useful and convenient for me).
Fedora is good, and gets updated every 6 months, but sometimes I think it is too fast for me. In every new version, they will change some daemon that breaks a lot of things that I have painfully set up in the previous version. After thinking about it, I try to use Debian. After few weeks using it, I already felt comfortable with it. I am also happy because I found a nearby Debian mirror in Thailand (http://www.debianclub.org) which is very fast to access from my home. Here are some things that you may need to know about debian:
Network configuration is at /etc/network/interfaces
Some useful apt-get commands are:
apt-get install packagename
apt-get remove packagename
apt-get clean (otherwise you will use a large disk space for package cache)
some useful dpkg commands:
dpkg -l to list all installed packages
dpkg -L packagename to list files in that package
dpkg -S /path/to/file to check to which package that file belongs
Another useful command is
update-alternatives to update alternatives for a program (use this after installing java, etc)
I found a link about someone asking for Debian tips (he is a FreeBSD guy), and the answers he gets is quite good, I think the answers are applicable to anyone switching from another Unix or another Linux distro to debian): http://www.debian-administration.org/articles/234.
My friend installed the exact same DMG image to install the beta version of Adobe Flex Builder 3 beta 2, but when tried to use it, it says that the Beta has expired. We have the exact same hardware, and same software (Mac OS X, 10.4/Tiger). The Flex Builder does not show when it expired in the message (only: Beta Expired). It took me quite a long time to realize that the SDK says:
computer:~ tc3$ /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.0.0/bin/mxmlc thinkcubic.mxml
Loading configuration file /Applications/Adobe Flex Builder 3/sdks/3.0.0/frameworks/flex-config.xml
This beta will expire on Thu Jan 31 00:00:00 ICT 1465.
Error: Beta expired.
While it should be
Loading configuration file /Users/tc4/flex/frameworks/flex-config.xml
This beta will expire on Thu Jan 31 00:00:00 ICT 2008.
It expires 543 years ago!. So why does this happen?. One hint: he is Thai. He prefers to use the Thai language on his computer. Thai people use Buddhist calendar, which differs 543 years from the Gregorian calendar.
Continue reading “Adobe Flex Builder 3 Expiring too Fast”
I just moved to Chiang Mai Thailand last month, and I really need a lot of information about this city, but the problem is that most stuff are written in Thai. Here are some English Language sites that I find useful (especially Chiang Mai related):
Don’t forget, Nokia Maps has a map of Chiang Mai for free. You can read more about it here
I have found many websites claiming that they can give you a lot of income using Google Adsense. It is all just a scam, and I have compiled informations about this stuff at tinyhack.com/adsense. Hopefully, this will be useful for many people. I will try to update the information presented there frequently.
I have a small open source project, Symbianbible, a bible reader for the Symbian Platform. This is a small project, with many users, and I am the only developer. Currently, I have ported this application to every Symbian version that Nokia has (Series 60, 1st, 2nd, 3rd, Series 80, Series 90). In this post, I am going to tell the story of how I got the funding to port this program for multiple Symbian platforms.
Since the first release, many people asked, “can you port it to device X?”. Buying every phone models (at least one for each platform) and their accessories (such as memory card, card reader, Bluetooth adapter, etc) is expensive, so I wrote in my FAQ, that I would only port if there are some people that donate or lend me their phone.
Continue reading “Funding Small Open Source Project”
As an Indonesian person, I have to admit that this is my first time going to Bali. I have gone to some other island in Indonesia, and even abroad, but this is my first time to Bali. Everybody knows that Bali is beautiful, and everything is quite cheap, so I won’t talk about it.
Instead, I will talk about information technology (IT) in Bali, specifically about Internet access and mobile stuff. Internet Access is quite easy to get, four stars and five stars hotels provide Internet access over WIFI, and sometimes I can find it at dining places. You can also access the Internet through GPRS or through 3G data connection with your cell phone. Starter pack for GSM is very cheap, but the internet access cost is quite expensive (25 rupiahs/kb, or about 2.8 USD/megabyte, at current rate).
Continue reading “Internet Connection in Bali”
Well behaved mac applications stores their localization info on the Resources folder inside their application bundle. This localization can be deleted using finder (or you can add one too if you like). I have noticed that almost all applications from Apple (such as iTunes, iMovieHD, etc), comes with many languages, and when I delete these uneeded languages, I got about 1,3 Gigabytes free space. That may not seem much, but since I am running out of disk space, it helps me a lot.
Continue reading “Deleting Localization from Mac OS X Applications”
I Just moved my web hosting to hostmonster, and I use my cell phone (Nokia E61) to try out the speed because I am planning to create a mobile version for my other site (http://www.compactbyte.com), and to my surprise, I see My Phone Number when checking the site configuration using
The phone number (complete with the country code) is included on the request HTTP_USER_IDENTITY_FORWARD_MSISDN. it seems that my mobile carrier (XL) uses Huawei Technologies Gateway. I know the gateway from the value of HTTP_VIA Which says:
"(InfoX WAP Gateway), HTTP/1.1, Huawei Technologies", and the existence of HTTP_X_HUAWEI_NASIP that says my private (internal) IP address.
Continue reading “Your Phone Number Might Get Leaked While Browsing With Your Cellphone”