Tuesday, May 25, 2010

Wireless problem

There are several problem with the wireless right now.

1. When system boots up, it does not sync the time yet. Once an IP address is oabtained, shortly after, the server would find the local time is way off. Then the IP will be lost. No more connection thereafter.

2. The http_sync_time.py entry in the /etc/init/rc script does not work at this moment.
solved by adding /usr/sbin/http_sync_time.py in the first line of /etc/init/rc.local

Thursday, May 20, 2010

Start sleep mode

http://ubuntuforums.org/showthread.php?t=1428387

Add sudoer

You can add an entry in /etc/sudoers to enable yourself as sudo uers.

==================
setup ALL=NOPASSWD: ALL
==================


You have to add the entry to the last line.

ERROR: XXXX in conf/checksums.ini, not checking URI

NOTE: Missing checksum
ERROR: XXXX in conf/checksums.ini, not checking URI


In your build directory you have tmp/checksums.ini, you can copy the entry for
rt... to conf/checksums.ini in the OE metadata... and obviously send a patch
if that makes sense.

mingetty.bb for autologin

DESCRIPTION = "small Linux console gett"
HOMEPAGE = "http://sourceforge.net/projects/mingetty"
LICENSE = "GPL"
PR = "r0"

inherit base
SRC_URI = "file://mingetty-1.08.tar.gz"
FILES_${PN} = "${base_sbindir}/mingetty"
PACKAGES = "${PN} ${PN}-doc"
CFLAGS += "-D_GNU_SOURCE"
do_install() {
install -d ${D}${base_sbindir}
install -m 0755 ${S}/mingetty ${D}${base_sbindir}/
install -d ${D}${mandir}/man8
install -m 0644 ${S}/mingetty.8 ${D}${mandir}/man8/
}

Tuesday, May 18, 2010

Latest backup

The latest backups are in

~/kernel/good_backup/

The demo_April is for Jonathan with early development V19.

The demo_May is the latest backup with development V26

To backup a rootfs:

=================
cd /media/root
sudo tar fcpv Backup.tgz --exclude Backup.tgz *
=================

To restore a rootfs:
=================
sudo tar xpfv Backup.tgz -C /media/root/
=================

Wednesday, May 12, 2010

Install wxpython

Since the python code is based on the wx, you need install wxpython on the root file system.

-------
sudo apt-get install python-wxversion
-------