change the BIOS setting to boot from card reader.
connect external DVD reader with DVD burned with Fedora 9 i386 image
select the atl2 network driver
deselect the internal SSD harddisks and let Fedora 9 install only to the SD card
after 1+ hour install. It boots successfully
The built in wired connection work so I can connect to internet and post this message.
Change the display to 1024x768 under the menu (System/Display)
logout and login again then change the resolution to 1024x600 using System/Preference/Hardware/Screen Resolution
Problems noted:
Battery life checking not work quite well
Wireless lan not configured after first boot - This is now solved by yum --enablerepo=livna-testing install kmod-madwifi. Thanks http://kernelreloaded.blog385.com/index.php/archives/madwifi-wireless-for-asus-eee-pc-on-fedora-9-howto/
....
Next steps:
updating new packages and refresh the systems
Finding way to enable wireless
Need to check if the built in web cam work - it works nows but can I disable in BIOS but still work? Default BIOS setup is to disable WebCam
Another nice documents http://fedoraproject.org/wiki/EeePc#ACPI_State_of_play
Sunday, June 29, 2008
Sunday, June 22, 2008
compile open-vm-tools-2008.06.03-96374 in Fedora 9
Based on http://alanlam.blogspot.com/2008/06/compile-virtualbox-from-source-with.html, to install the additional packages
use the command
su root -c 'yum install libdnet-devel'
su root -c 'yum install libicu-devel.i386'
Install further
libicu-devel-3.8.1-7.fc9 Sun 22 Jun 2008 02:24:32 PM HKT
libicu-3.8.1-7.fc9 Sun 22 Jun 2008 02:24:18 PM HKT
libdnet-devel-1.12-3.fc9 Sun 22 Jun 2008 02:23:04 PM HKT
libdnet-1.12-3.fc9 Sun 22 Jun 2008 02:23:03 PM HKT
procps-devel-3.2.7-20.fc9 Sun 22 Jun 2008 02:21:10 PM HKT
ncurses-devel-5.6-16.20080301.fc9 Sun 22 Jun 2008 01:37:30 PM HKT
elfutils-0.133-3.fc9 Sun 22 Jun 2008 01:30:16 PM HKT
elfutils-libs-0.133-3.fc9 Sun 22 Jun 2008 01:30:15 PM HKT
gtk2-devel-2.12.10-2.fc9 Sun 22 Jun 2008 12:08:48 PM HKT
atk-devel-1.22.0-1.fc9 Sun 22 Jun 2008 12:08:43 PM HKT
gtk-doc-1.9-4.fc9 Sun 22 Jun 2008 12:08:42 PM HKT
docbook-utils-0.6.14-13.fc9 Sun 22 Jun 2008 12:08:41 PM HKT
pango-devel-1.20.1-1.fc9 Sun 22 Jun 2008 12:08:39 PM HKT
docbook-style-dsssl-1.79-5.fc9 Sun 22 Jun 2008 12:08:36 PM HKT
cairo-devel-1.6.4-1.fc9 Sun 22 Jun 2008 12:08:35 PM HKT
pixman-devel-0.10.0-1.fc9 Sun 22 Jun 2008 12:08:34 PM HKT
perl-SGMLSpm-1.03ii-18.fc9 Sun 22 Jun 2008 12:08:33 PM HKT
libXcomposite-devel-0.4.0-4.fc9 Sun 22 Jun 2008 12:08:33 PM HKT
docbook-style-xsl-1.73.2-9.fc9 Sun 22 Jun 2008 12:08:29 PM HKT
libXtst-devel-1.0.3-3.fc9 Sun 22 Jun 2008 12:03:36 PM HKT
Download procps-3.2.7-20.fc9.src.rpm
Patch the procps.spec
svn diff -r 29:28 https://osstools.svn.sourceforge.net/svnroot/osstools/trunk/rpmbuild/SPEC/procps.spec
Apply the patch available at
svn co https://osstools.svn.sourceforge.net/svnroot/osstools/trunk/patch/open-vm-tools-2008.06.03-96374.patch -r 30
use the command
su root -c 'yum install libdnet-devel'
su root -c 'yum install libicu-devel.i386'
Install further
libicu-devel-3.8.1-7.fc9 Sun 22 Jun 2008 02:24:32 PM HKT
libicu-3.8.1-7.fc9 Sun 22 Jun 2008 02:24:18 PM HKT
libdnet-devel-1.12-3.fc9 Sun 22 Jun 2008 02:23:04 PM HKT
libdnet-1.12-3.fc9 Sun 22 Jun 2008 02:23:03 PM HKT
procps-devel-3.2.7-20.fc9 Sun 22 Jun 2008 02:21:10 PM HKT
ncurses-devel-5.6-16.20080301.fc9 Sun 22 Jun 2008 01:37:30 PM HKT
elfutils-0.133-3.fc9 Sun 22 Jun 2008 01:30:16 PM HKT
elfutils-libs-0.133-3.fc9 Sun 22 Jun 2008 01:30:15 PM HKT
gtk2-devel-2.12.10-2.fc9 Sun 22 Jun 2008 12:08:48 PM HKT
atk-devel-1.22.0-1.fc9 Sun 22 Jun 2008 12:08:43 PM HKT
gtk-doc-1.9-4.fc9 Sun 22 Jun 2008 12:08:42 PM HKT
docbook-utils-0.6.14-13.fc9 Sun 22 Jun 2008 12:08:41 PM HKT
pango-devel-1.20.1-1.fc9 Sun 22 Jun 2008 12:08:39 PM HKT
docbook-style-dsssl-1.79-5.fc9 Sun 22 Jun 2008 12:08:36 PM HKT
cairo-devel-1.6.4-1.fc9 Sun 22 Jun 2008 12:08:35 PM HKT
pixman-devel-0.10.0-1.fc9 Sun 22 Jun 2008 12:08:34 PM HKT
perl-SGMLSpm-1.03ii-18.fc9 Sun 22 Jun 2008 12:08:33 PM HKT
libXcomposite-devel-0.4.0-4.fc9 Sun 22 Jun 2008 12:08:33 PM HKT
docbook-style-xsl-1.73.2-9.fc9 Sun 22 Jun 2008 12:08:29 PM HKT
libXtst-devel-1.0.3-3.fc9 Sun 22 Jun 2008 12:03:36 PM HKT
Download procps-3.2.7-20.fc9.src.rpm
Patch the procps.spec
svn diff -r 29:28 https://osstools.svn.sourceforge.net/svnroot/osstools/trunk/rpmbuild/SPEC/procps.spec
Apply the patch available at
svn co https://osstools.svn.sourceforge.net/svnroot/osstools/trunk/patch/open-vm-tools-2008.06.03-96374.patch -r 30
Compile VirtualBox from source with Fedora 9
Follow build instructions http://www.virtualbox.org/wiki/Linux%20build%20instructions
use the following commands:
svn co http://virtualbox.org/svn/vbox/trunk vbox
cd vbox/
su root -c 'yum install compat-gcc-34-c++'
su root -c 'yum install libxml2-devel.i386'
su root -c 'yum install libxslt-devel.i386'
su root -c 'yum install libIDL-devel'
su root -c 'yum install libpng-devel'
su root -c 'yum install SDL-devel'
su root -c 'yum install libXcursor-devel'
su root -c 'yum install qt3-devel'
su root -c 'yum install qt4-devel'
su root -c 'yum install kernel-devel'
su root -c 'yum install pulseaudio-libs-devel'
./configure --with-gcc-compat=gcc34
source env.sh
kmk all
install the following packages in Fedora 9 i386
pulseaudio-libs-devel-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:42 AM HKT
pulseaudio-libs-zeroconf-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:34 AM HKT
kernel-devel-2.6.25.6-55.fc9 Sun 22 Jun 2008 10:35:38 AM HKT
qt-devel-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:37 AM HKT
qt-x11-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:29 AM HKT
qt-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:25 AM HKT
nas-libs-1.9.1-4.fc9 Sun 22 Jun 2008 10:34:24 AM HKT
redhat-rpm-config-9.0.2-1.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXfixes-devel-4.0.3-3.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXi-devel-1.1.3-4.fc9 Sun 22 Jun 2008 10:34:22 AM HKT
qt3-devel-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:47 AM HKT
qt3-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:38 AM HKT
libXt-devel-1.0.4-5.fc9 Sun 22 Jun 2008 10:33:35 AM HKT
libXinerama-devel-1.0.3-1.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libXft-devel-2.1.12-5.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libSM-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-devel-1.0.9-6.1 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-1.0.9-6.1 Sun 22 Jun 2008 10:33:32 AM HKT
libICE-devel-1.0.4-3.fc9 Sun 22 Jun 2008 10:33:32 AM HKT
libjpeg-devel-6b-41.fc9 Sun 22 Jun 2008 10:33:31 AM HKT
fontconfig-devel-2.5.0-2.fc9 Sun 22 Jun 2008 10:33:28 AM HKT
freetype-devel-2.3.5-6.fc9 Sun 22 Jun 2008 10:33:26 AM HKT
libXcursor-devel-1.1.9-2.fc9 Sun 22 Jun 2008 10:32:54 AM HKT
SDL-devel-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:18 AM HKT
mesa-libGLU-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXrender-devel-0.9.4-3.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXext-devel-1.0.4-1.fc9 Sun 22 Jun 2008 10:32:15 AM HKT
libX11-devel-1.1.4-1.fc9 Sun 22 Jun 2008 10:32:12 AM HKT
libXdmcp-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:32:10 AM HKT
libXrandr-devel-1.2.2-3.fc9 Sun 22 Jun 2008 10:32:09 AM HKT
xorg-x11-proto-devel-7.3-12.fc9 Sun 22 Jun 2008 10:32:08 AM HKT
libXau-devel-1.0.3-5.fc9 Sun 22 Jun 2008 10:32:07 AM HKT
mesa-libGL-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:04 AM HKT
SDL-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:01 AM HKT
alsa-lib-devel-1.0.16-3.fc9 Sun 22 Jun 2008 10:31:58 AM HKT
libxcb-devel-1.1-4.fc9 Sun 22 Jun 2008 10:31:56 AM HKT
automake-1.10.1-2 Sun 22 Jun 2008 10:31:53 AM HKT
libpng-devel-1.2.29-1.fc9 Sun 22 Jun 2008 10:31:09 AM HKT
libIDL-devel-0.8.10-2.fc9 Sun 22 Jun 2008 10:30:40 AM HKT
glib2-devel-2.16.3-5.fc9 Sun 22 Jun 2008 10:30:37 AM HKT
libxslt-devel-1.1.24-1.fc9 Sun 22 Jun 2008 10:30:09 AM HKT
libgpg-error-devel-1.6-2 Sun 22 Jun 2008 10:30:08 AM HKT
libgcrypt-devel-1.4.0-3 Sun 22 Jun 2008 10:30:08 AM HKT
libxml2-devel-2.6.32-2.fc9 Sun 22 Jun 2008 10:29:39 AM HKT
zlib-devel-1.2.3-18.fc9 Sun 22 Jun 2008 10:29:37 AM HKT
compat-gcc-34-c++-3.4.6-9 Sun 22 Jun 2008 10:27:16 AM HKT
compat-gcc-34-3.4.6-9 Sun 22 Jun 2008 10:27:02 AM HKT
iasl-20061109-4.fc9 Sun 22 Jun 2008 09:17:32 AM HKT
dev86-0.16.17-9.fc9 Sun 22 Jun 2008 09:16:24 AM HKT
gcc-c++-4.3.0-8 Sun 22 Jun 2008 09:14:15 AM HKT
libstdc++-devel-4.3.0-8 Sun 22 Jun 2008 09:14:08 AM HKT
But get the following errors:
vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp:188: error: ‘XmuClientWindow’ was not declared in this scope
kmk[3]: *** [vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o] Error 1
The failing command:
@g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -m32 -Ivbox/include -Ivbox/out/linux.x86/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DIN_GUEST -DIN_GUEST_R3 -DIN_RT_R3 -DVBOX_X11_CLIPBOARD -DVBOX_HGCM -DSEAMLESS_GUEST -DDYNAMIC_RESIZE -D_GNU_SOURCE -Wp,-MD,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o.dep -Wp,-MT,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o -Wp,-MP -o vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp
kmk[3]: Leaving directory `vbox/src/VBox/Additions'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `vbox/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `vbox/src'
kmk: *** [pass_binaries_before] Error 2
During the configure, it won't check for dependence of libXmu-devel
su root -c 'yum install libXmu-devel'
and it works!
use the following commands:
svn co http://virtualbox.org/svn/vbox/trunk vbox
cd vbox/
su root -c 'yum install compat-gcc-34-c++'
su root -c 'yum install libxml2-devel.i386'
su root -c 'yum install libxslt-devel.i386'
su root -c 'yum install libIDL-devel'
su root -c 'yum install libpng-devel'
su root -c 'yum install SDL-devel'
su root -c 'yum install libXcursor-devel'
su root -c 'yum install qt3-devel'
su root -c 'yum install qt4-devel'
su root -c 'yum install kernel-devel'
su root -c 'yum install pulseaudio-libs-devel'
./configure --with-gcc-compat=gcc34
source env.sh
kmk all
install the following packages in Fedora 9 i386
pulseaudio-libs-devel-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:42 AM HKT
pulseaudio-libs-zeroconf-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:34 AM HKT
kernel-devel-2.6.25.6-55.fc9 Sun 22 Jun 2008 10:35:38 AM HKT
qt-devel-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:37 AM HKT
qt-x11-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:29 AM HKT
qt-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:25 AM HKT
nas-libs-1.9.1-4.fc9 Sun 22 Jun 2008 10:34:24 AM HKT
redhat-rpm-config-9.0.2-1.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXfixes-devel-4.0.3-3.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXi-devel-1.1.3-4.fc9 Sun 22 Jun 2008 10:34:22 AM HKT
qt3-devel-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:47 AM HKT
qt3-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:38 AM HKT
libXt-devel-1.0.4-5.fc9 Sun 22 Jun 2008 10:33:35 AM HKT
libXinerama-devel-1.0.3-1.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libXft-devel-2.1.12-5.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libSM-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-devel-1.0.9-6.1 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-1.0.9-6.1 Sun 22 Jun 2008 10:33:32 AM HKT
libICE-devel-1.0.4-3.fc9 Sun 22 Jun 2008 10:33:32 AM HKT
libjpeg-devel-6b-41.fc9 Sun 22 Jun 2008 10:33:31 AM HKT
fontconfig-devel-2.5.0-2.fc9 Sun 22 Jun 2008 10:33:28 AM HKT
freetype-devel-2.3.5-6.fc9 Sun 22 Jun 2008 10:33:26 AM HKT
libXcursor-devel-1.1.9-2.fc9 Sun 22 Jun 2008 10:32:54 AM HKT
SDL-devel-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:18 AM HKT
mesa-libGLU-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXrender-devel-0.9.4-3.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXext-devel-1.0.4-1.fc9 Sun 22 Jun 2008 10:32:15 AM HKT
libX11-devel-1.1.4-1.fc9 Sun 22 Jun 2008 10:32:12 AM HKT
libXdmcp-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:32:10 AM HKT
libXrandr-devel-1.2.2-3.fc9 Sun 22 Jun 2008 10:32:09 AM HKT
xorg-x11-proto-devel-7.3-12.fc9 Sun 22 Jun 2008 10:32:08 AM HKT
libXau-devel-1.0.3-5.fc9 Sun 22 Jun 2008 10:32:07 AM HKT
mesa-libGL-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:04 AM HKT
SDL-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:01 AM HKT
alsa-lib-devel-1.0.16-3.fc9 Sun 22 Jun 2008 10:31:58 AM HKT
libxcb-devel-1.1-4.fc9 Sun 22 Jun 2008 10:31:56 AM HKT
automake-1.10.1-2 Sun 22 Jun 2008 10:31:53 AM HKT
libpng-devel-1.2.29-1.fc9 Sun 22 Jun 2008 10:31:09 AM HKT
libIDL-devel-0.8.10-2.fc9 Sun 22 Jun 2008 10:30:40 AM HKT
glib2-devel-2.16.3-5.fc9 Sun 22 Jun 2008 10:30:37 AM HKT
libxslt-devel-1.1.24-1.fc9 Sun 22 Jun 2008 10:30:09 AM HKT
libgpg-error-devel-1.6-2 Sun 22 Jun 2008 10:30:08 AM HKT
libgcrypt-devel-1.4.0-3 Sun 22 Jun 2008 10:30:08 AM HKT
libxml2-devel-2.6.32-2.fc9 Sun 22 Jun 2008 10:29:39 AM HKT
zlib-devel-1.2.3-18.fc9 Sun 22 Jun 2008 10:29:37 AM HKT
compat-gcc-34-c++-3.4.6-9 Sun 22 Jun 2008 10:27:16 AM HKT
compat-gcc-34-3.4.6-9 Sun 22 Jun 2008 10:27:02 AM HKT
iasl-20061109-4.fc9 Sun 22 Jun 2008 09:17:32 AM HKT
dev86-0.16.17-9.fc9 Sun 22 Jun 2008 09:16:24 AM HKT
gcc-c++-4.3.0-8 Sun 22 Jun 2008 09:14:15 AM HKT
libstdc++-devel-4.3.0-8 Sun 22 Jun 2008 09:14:08 AM HKT
But get the following errors:
vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp:188: error: ‘XmuClientWindow’ was not declared in this scope
kmk[3]: *** [vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o] Error 1
The failing command:
@g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -m32 -Ivbox/include -Ivbox/out/linux.x86/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DIN_GUEST -DIN_GUEST_R3 -DIN_RT_R3 -DVBOX_X11_CLIPBOARD -DVBOX_HGCM -DSEAMLESS_GUEST -DDYNAMIC_RESIZE -D_GNU_SOURCE -Wp,-MD,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o.dep -Wp,-MT,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o -Wp,-MP -o vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp
kmk[3]: Leaving directory `vbox/src/VBox/Additions'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `vbox/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `vbox/src'
kmk: *** [pass_binaries_before] Error 2
During the configure, it won't check for dependence of libXmu-devel
su root -c 'yum install libXmu-devel'
and it works!
Saturday, June 14, 2008
How to enable Time Machine on unsupported volumes
http://www.engadget.com/2007/11/10/how-to-enable-time-machine-on-unsupported-volumes
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
use control-click of TimeMachine preference to select the hidden mounted point
use control-click of TimeMachine preference to select the hidden mounted point
Configuring an AppleTalk Server in Linux
http://book.chinaunix.net/special/ebook/RedHat_Linux_Bible/8140final/LiB0228.html
Note | In general, AppleTalk should be used on trusted networks. If you are running a firewall on your netatalk server, however, you must open access to several ports for netatalk to work. In particular, you may need to open ports 548 (AFP over TCP/IP), 201 (AppleTalk routing), 202 (AppleTalk name binding), 204 (AppleTalk echo), and 206 (AppleTalk zones). |
restart autofs in leopard without reboot
As of 10.5.2:
sudo service com.apple.autofsd stop
sudo service com.apple.autofsd start
sudo service com.apple.autofsd stop
sudo service com.apple.autofsd start
Sunday, June 01, 2008
fedora 9 now work with sil 3124/3132 and multiple port 3726
My mac pro early 2008 keep on crashing with sil 3132 and sil 3726 multiple port. Also don't like the proprietary silicon image drivers.
Like the software raid that come with linux.
Saturday, May 24, 2008
Stardom NAS - gentoo
don't like the Gemini Linux 2.6.15 that come with STARDOM-NAS. enable the telnet by using the non-documented telnet.cgi
http://ip/cgi/telnet/telnet.cgi
http://ip/cgi/telnet/telnet.cgi
Now can telnet into the box. Then find the good documents http://nas-2000.org/mwiki/index.php?title=HowTo_Compile_Programs_on_the_NAS
The document need some update basically the below won't work. Just ignore it.
ln -s usr/portage/profiles/default-linux/arm/ etc/make.profile
Also need to create etc/resolv.conf. Also the tar -xjvpf ../stage3-armv4l-2005.1.tar.bz2 inside the NAS not working quite well. So using the NFS mount to the NAS and bzip2 -dc stage3-armv4l-2005.1.tar.bz2 | tar xvf - from the nfs client that come with Linux/MacOS.
There are still some error regarding /dev/??? during tar bunzip2 which can be ignored.
Still running gentoo
emerge --sync
If result is good, will check in to http://osstools.svn.sourceforge.net
Wednesday, April 30, 2008
enable subversion server come with Leopard
Mac Leopard actually come with subversion server and client that integrated with its own apache2.
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
Steps to enable it:
- create self-signed certificate http://www.tc.umn.edu/~brams006/selfsign.html or http://developer.apple.com/internet/serverside/modssl.html
- modify the /etc/apache2/httpd.conf to add the below:
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
- enable httpd-ssl.conf by removing the comment from the following line in /etc/apache2/httpd.conf:
- Add the following line at the end of file /etc/apache2/extra/httpd-ssl.conf but before the </VirtualHost>
DAV svn
SVNPath /opt/repos
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /etc/svn-auth-file
Require valid-user
- create the /etc/svn-auth-file using the following command to create user id. It will prompt for password twice
- restart apache by
- mkdir the subversion repository, generate the first repository and change ownership of the folder to match with apache user
svnadmin create /opt/repos
chown -R www:www /opt/repos
- test the access to subversion server using the https://127.0.0.1/svn/
- try with svn co https://127.0.0.1/svn/trunk --username
Wednesday, March 26, 2008
Concate VCDs to mp4 using VLC
#!/bin/bash
/bin/cat $* | /Users/xxx/Applications/VLC.app/Contents/MacOS/VLC - \
--sout "#transcode{vcodec=h264,vb=1024,acodec=mp4a,ab=192,scale=1}:\
standard{access=file,mux=mp4,dst=\"/Users/xxx/Movies/vcd.mp4\"}" \
vlc:quit -I dummy
Sunday, February 17, 2008
My Mac Pro - use 2 extra sata as as esata

The left is my Mac Pro bought in Feb 2008.
I read http://www.anandtech.com/mac/showdoc.aspx?i=2832&p=3. This is a little bit outdate as it is for 2006 Mac Pro.
This is much easy now for 2008's Mac Pro. The heatsink cover can be easy removed as it is now put in place like Macbook MagSafe Connector. There is no need to pull the memory cage back towards the rear of the case nor pushing the heat sink cover in the opposite direction to unlatch it as explained in the above url
The fan assembly can be removed by just two screws. One attached it to the motherboard at the top right. The other is hidden between plastic fan assembly and the heat sink (bottom right of the fan assembly after removing the heat sink cover). The the picture below showing the hidden screw to loose the fan assembly and on of the magnet to attach the heat sink cover
Wednesday, December 19, 2007
Export NFS through Firewall
rpcinfo -p will list nfs ports used
copy the following from http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-07/msg02399.html
1) You must have ports 2049 tcp+udp and 111 tcp+udp open in the nfs
server firewall to allow clients to talk to nfs and portmap, respectively.
2) There are a number of other daemons on the server, associated with
nfs, namely rpc.statd, rpc.lockd, rpc.mountd and rpc.quotad. These must
also be accessible to the clients. By default these start on random
ports, which the firewall couldn't care less about. So to allow clients
to get to the rpc services you must
2a) force the rpc services to start on pre-assigned ports of your
choice, like 4000 to 4003.
2b) open ports 4000-4003 tcp+udp in the firewall (or whatever
ports you used at (2a).
Now, here is how you do all this. You implement 2a by creating a file
/etc/sysconfig/nfs with the following contents:
STATD_PORT=4000
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001
MOUNTD_PORT=4002
RQUOTAD_PORT=4003
Restart nfs.
The rest is opening ports into the server firewall, which is a separate
matter. On the server, something like
/sbin/iptables -I RH-Firewall-1-INPUT 10 -s 192.168.1.0/255.255.255.0 -p
tcp -m state --state NEW -m tcp --dport 4000:4003 -j ACCEPT
will insert a rule at position 10 (if 10 is the position you want) in the
RH firewall that opens the range 4000-4003 for incoming tcp connections
from the local network. Run then the above command again with udp instead
of tcp. Do the same (tcp+udp) for ports 111 and 2049. Finally, save the
new firewall configuration
/sbin/iptables-save > /etc/sysconfig/iptables # after backing up old
iptables first.
and restart iptables
/etc/rc.d/init.d/iptables restart
copy the following from http://linux.derkeiler.com/Mailing-Lists/Fedora/2007-07/msg02399.html
1) You must have ports 2049 tcp+udp and 111 tcp+udp open in the nfs
server firewall to allow clients to talk to nfs and portmap, respectively.
2) There are a number of other daemons on the server, associated with
nfs, namely rpc.statd, rpc.lockd, rpc.mountd and rpc.quotad. These must
also be accessible to the clients. By default these start on random
ports, which the firewall couldn't care less about. So to allow clients
to get to the rpc services you must
2a) force the rpc services to start on pre-assigned ports of your
choice, like 4000 to 4003.
2b) open ports 4000-4003 tcp+udp in the firewall (or whatever
ports you used at (2a).
Now, here is how you do all this. You implement 2a by creating a file
/etc/sysconfig/nfs with the following contents:
STATD_PORT=4000
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001
MOUNTD_PORT=4002
RQUOTAD_PORT=4003
Restart nfs.
The rest is opening ports into the server firewall, which is a separate
matter. On the server, something like
/sbin/iptables -I RH-Firewall-1-INPUT 10 -s 192.168.1.0/255.255.255.0 -p
tcp -m state --state NEW -m tcp --dport 4000:4003 -j ACCEPT
will insert a rule at position 10 (if 10 is the position you want) in the
RH firewall that opens the range 4000-4003 for incoming tcp connections
from the local network. Run then the above command again with udp instead
of tcp. Do the same (tcp+udp) for ports 111 and 2049. Finally, save the
new firewall configuration
/sbin/iptables-save > /etc/sysconfig/iptables # after backing up old
iptables first.
and restart iptables
/etc/rc.d/init.d/iptables restart
Wednesday, November 14, 2007
Fedora-install-media.repo
use autofs to mount the image
have the belowin /etc/yum.repos.d/Fedora-install-media.repo
[InstallMedia]
name = Fedora 8
mediaid=1194015916.783841
metadata_expire=-1
gpgcheck = 0
cost=500
baseurl = file:///mnt/disk/3/ (this line is required to autofs mount the device with the iso image)
file:///misc/Fedora8/ (use autofs to mount the iso for actual use)
failovermethod=priority
have the belowin /etc/yum.repos.d/Fedora-install-media.repo
[InstallMedia]
name = Fedora 8
mediaid=1194015916.783841
metadata_expire=-1
gpgcheck = 0
cost=500
baseurl = file:///mnt/disk/3/ (this line is required to autofs mount the device with the iso image)
file:///misc/Fedora8/ (use autofs to mount the iso for actual use)
failovermethod=priority
Tuesday, November 06, 2007
Build my Linux Software RAID5 at home
It is great.
I create raid5 with 3 disk
then add one more disk by
mdadm --manage /dev/mdX --add /dev/sd?1
mdadm --grow /dev/mdX --raid-devices=4 (original is 3)
This will reshape at the back. Very slow but find the below to speed up
In Fedora 7, original value
cat /proc/sys/dev/raid/speed_limit_min ==> 1000
echo 100000 > /proc/sys/dev/raid/speed_limit_min
I create raid5 with 3 disk
then add one more disk by
mdadm --manage /dev/mdX --add /dev/sd?1
mdadm --grow /dev/mdX --raid-devices=4 (original is 3)
This will reshape at the back. Very slow but find the below to speed up
In Fedora 7, original value
cat /proc/sys/dev/raid/speed_limit_min ==> 1000
echo 100000 > /proc/sys/dev/raid/speed_limit_min
Monday, November 05, 2007
Sunday, October 21, 2007
Saturday, October 20, 2007
SATA Port Multiplier
Bought a eSATA Terabox + Port-multiplier
It use Sil 3726 SATA II Port-Multiplier
Intel mac mini - Intel SATA has port multiplier? - Mac Forums
It use Sil 3726 SATA II Port-Multiplier
Intel mac mini - Intel SATA has port multiplier? - Mac Forums
Thursday, August 02, 2007
NAS
Bought a Stardom SL3620-2S-SB2 on 31 Jul 2007
It had firmware upgrade in http://www.shooting.com.hk/download.php?pr_id=50
After downloading the firmware, unzip, get the following information from of the inside file. Search SL3516 from Google and realize it uses Gemini SL3516 Network Processor which is a Single 32-bit 400MIPS ARM9 RISC processor. It use MontaVista Linux 2.6 as its operating system
UpgradeImages="zImage rd.gz hddapp.tgz"
productName="SL3620-2S-LB2"
hardwareName="SL3516 Verification Board"
productVendor="RAIDON Technology INC.."
manufacturerURL="http://www.stardom.com.tw"
Description="STARDOMNAS"
hostname="STARDOM-NAS"
softwareVersion="2.6.0-n"
TSS="enabled"
DIRECT_MODE="disabled"
Raid_Support="raid0_raid1"
RaidTestDiskSize="0"
DEFAULT_LAN_IPADDR="192.168.1.1"
DEFAULT_LAN_NETMASK="255.255.255.0"
DEFAULT_LAN_BOOTPROTO="dhcp"
DEFAULT_WAN_BOOTPROTO="none"
DEFAULT_WAN_ENABLED="no"
DEFAULT_WLAN_DEVICENAME="ra0"
DEFAULT_LAN_DEVICENAME="eth0"
DEFAULT_HW_LAN_DEVICENAME="eth0"
DEFAULT_WAN_DEVICENAME="eth1"
DEFAULT_HW_WAN_DEVICENAME="eth1"
SUPPORT_FILESYSTEM="ext2_ext3_fat32"
SUPPORT_ENCRYPT_FILESYSTEM="ext2"
DEFAULT_DHCP_ENABLED="0"
SUPPORT_CODEPAGE="CP437_CP950_CP936_CP1145_CP1250_CP1252_CP932_CP949"
DEFAULT_SERVER_CODEPAGE="CP950"
FACTORY_RESET_ADMIN="0"
It had firmware upgrade in http://www.shooting.com.hk/download.php?pr_id=50
After downloading the firmware, unzip, get the following information from of the inside file. Search SL3516 from Google and realize it uses Gemini SL3516 Network Processor which is a Single 32-bit 400MIPS ARM9 RISC processor. It use MontaVista Linux 2.6 as its operating system
UpgradeImages="zImage rd.gz hddapp.tgz"
productName="SL3620-2S-LB2"
hardwareName="SL3516 Verification Board"
productVendor="RAIDON Technology INC.."
manufacturerURL="http://www.stardom.com.tw"
Description="STARDOMNAS"
hostname="STARDOM-NAS"
softwareVersion="2.6.0-n"
TSS="enabled"
DIRECT_MODE="disabled"
Raid_Support="raid0_raid1"
RaidTestDiskSize="0"
DEFAULT_LAN_IPADDR="192.168.1.1"
DEFAULT_LAN_NETMASK="255.255.255.0"
DEFAULT_LAN_BOOTPROTO="dhcp"
DEFAULT_WAN_BOOTPROTO="none"
DEFAULT_WAN_ENABLED="no"
DEFAULT_WLAN_DEVICENAME="ra0"
DEFAULT_LAN_DEVICENAME="eth0"
DEFAULT_HW_LAN_DEVICENAME="eth0"
DEFAULT_WAN_DEVICENAME="eth1"
DEFAULT_HW_WAN_DEVICENAME="eth1"
SUPPORT_FILESYSTEM="ext2_ext3_fat32"
SUPPORT_ENCRYPT_FILESYSTEM="ext2"
DEFAULT_DHCP_ENABLED="0"
SUPPORT_CODEPAGE="CP437_CP950_CP936_CP1145_CP1250_CP1252_CP932_CP949"
DEFAULT_SERVER_CODEPAGE="CP950"
FACTORY_RESET_ADMIN="0"
Subscribe to:
Posts (Atom)