In the relatively safe environment of my own LAN a nice command to keep some directories in sync with babosa as a backup is:
rsync -av --delete ~/Documents babosa:/home/kompoza/membrillo
Substitute Documents for any folder you want to sync.
This uses the unsafe but fast rsh protocol and I get around 1 MB/s transfer rate.
Tuesday, February 17, 2009
Saturday, January 10, 2009
CXXFLAGS for LinuxSampler
Fooled around a bit with linuxsampler/benchmark and got the following procedure to build an optimized rpm for my machine from LS CVS:
cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co linuxsampler
or
cvs update -d -P
Then
make -f Makefile.cvs
./configure --prefix=/usr
make dist
cp linuxsampler-0.5.1.8cvs.tar.bz2 ~/rpmbuild/SOURCES/
CXXFLAGS="-O2 -march=pentium-m -ffast-math -mmmx -msse -funroll-loops -fomit-frame-pointer" rpmbuild -ba --clean --target i686 linuxsampler.spec
cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co linuxsampler
or
cvs update -d -P
Then
make -f Makefile.cvs
./configure --prefix=/usr
make dist
cp linuxsampler-0.5.1.8cvs.tar.bz2 ~/rpmbuild/SOURCES/
CXXFLAGS="-O2 -march=pentium-m -ffast-math -mmmx -msse -funroll-loops -fomit-frame-pointer" rpmbuild -ba --clean --target i686 linuxsampler.spec
Tuesday, August 5, 2008
Problems with C54RU in Windows XP.
Taken from Conceptronic's FAQ about C54RU:
The problem of disconnection due to limited or no connectivity occurs when the unit does not have a correct IP address assigned.
Be sure that the option “Use Windows to manage my wireless network configuration” is disabled.
This can be found in the 'Wireless tab' of the wireless network card properties of the wireless card.
If this box is not disabled, Windows will manage the wireless connection.
You are not able to use the wireless utility of the Conceptronic product.
Additional:
Be sure that the option “Enable IP setting and Proxy setting in profile” in the 'Option tab' of the wireless utility is enabled.
Be sure that there is a working DHCP server or other device is acting as an DCHP server available in your network.
Friday, March 28, 2008
Booting a linux kernel in vesa framebuffer mode
Useful when you want to run graphic apps using FB instead of X (like qemu.)
Add vga=0xnnn to the kernel boot options. The valid modes are listed in linux/Documentation/fb/vesafb.txt.
Add vga=0xnnn to the kernel boot options. The valid modes are listed in linux/Documentation/fb/vesafb.txt.
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B
Monday, March 24, 2008
Linux filesystem cloning
Using rsync. The resulting filesystem booted but didn't allow logging in, probably some permissions or ownership info got lost in translation:
http://www.seismo.ethz.ch/linux/rsync.html
Using nc and tar, didn't work out too well (it was interrupted by 'unexpected EOF' messages):
http://wiki.clug.org.za/wiki/How_do_I_clone_my_disks_with_Linux%3F
Using dump and ssh. This one does the trick:
http://tldp.org/linuxfocus/English/Archives/lf-2005_03-0370.pdf
Summarizing:
mount /dev/xxx /mnt
cd /mnt
ssh sourcePC 'dump −0 −f − /' | restore −r −f −
http://www.seismo.ethz.ch/linux/rsync.html
Using nc and tar, didn't work out too well (it was interrupted by 'unexpected EOF' messages):
http://wiki.clug.org.za/wiki/How_do_I_clone_my_disks_with_Linux%3F
Using dump and ssh. This one does the trick:
http://tldp.org/linuxfocus/English/Archives/lf-2005_03-0370.pdf
Summarizing:
mount /dev/xxx /mnt
cd /mnt
ssh sourcePC 'dump −0 −f − /' | restore −r −f −
Thursday, February 21, 2008
jEdit and LC_TYPE
I am using jEdit to edit lilypond files. If I try to enter non-English characters I get strange results unless I start jedit the following way:
LC_CTYPE=en_US.UTF-8 jedit
Monday, November 12, 2007
Brightness support in hardware for mplayer
In my system mplayer uses by default a xv port that doesn't support hw control for things like brightness. As a result, the 3 & 4 keys don't work.
It is resolved by using the option -vo xv:port=89
It is resolved by using the option -vo xv:port=89
Subscribe to:
Posts (Atom)