Cyber memos for my personal knowledge.

2010-02-13

Android Git server always fatel error?

WTF..Android repo init -u always return the error:

fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)

Someone said that this may be caused by the DNS resolving issue.
So I did some work on my /etc/hosts as adding a line:

149.20.20.141 android.git.kernel.org

It depends on your network environment and ISP...

OK, now repo tool finally works!! What an idiot script it is!!
...Orz

2010-01-14

Chromium OS on TOSHIBA NB300

Recently I am working on the Google Chromium OS for my TOSHIBA netbook.
I've successfully build the OS image and create a live USB pen drive.
For convenience, I install it into HDD...;-)

But, Chromium OS is useless if you don't have an internet connection........

Some notes here:
1. root file system is read only, so need to remount to read-write mode.
$ sudo mount -o remount,rw /

2. My Chromium OS kernel is 2.6.30-chromeos-intel-menlow.
In this archived version of Chromium OS, I setup some Chrome browser default settings in this file: /usr/bin/chromeos-chrome (This is a shell script text executable).

You can setup your own start-up pages and tabs here within this script.
Or you setup additional property values to Chrome browser.

Here I set my favorite proxy server (maybe you know Chromium OS got some problems for internet proxy setting........).

Use vi to edit it (remount root fs to rw first), find the last while-do section that including a variable called "$CHROME".

Add one string to the top of this variable such as:
"$CHROME" --proxy-server=aaa.bbb.ccc.ddd:8080 \
...
[...rest of the code..]
...

Else, you can just read the script for fun, it's interesting...;-)

My next step is connecting my Chromium OS with wifi.
And maybe I will tune the ACPI subsystem by some extra programming (If I got free time to do this..).

Ethernet controller performance is perfect (Realtek 8101E/8102E, PCI-E)
My Atheros wifi card is well detected (AR9285, PCI-E) and kernel module works fine (ath9k, mac80211 and cfg80211).

NPNT...X-D
For fun, I also change the login screen background image..