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.

    | 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 −


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