#!/bin/sh
sh /scratchbox/users/rlinfati/home/rlinfati/maemo-sdk-nokia-binaries_4.1.2.sh
newgrp sbox < /bin/cat <<'END'
sb-conf st maemo5 -c cs2007q3-glibc2.5-i486 -d debian-etch:doctools:git:perl:svn -t none -f
sb-conf re maemo5 -f
sb-conf rs maemo5 /scratchbox/users/rlinfati/home/rlinfati/maemo-sdk-rootstrap_5.0_i386.tgz
sb-conf install maemo5 -L --etc --devkits --fakeroot
echo "# maemo5
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free non-free
deb http://repository.maemo.org/ fremantle/12345678901234567890 nokia-binaries
# deb http://repository.maemo.org/extras fremantle free non-free
# deb-src http://repository.maemo.org/extras fremantle free non-free
# deb http://repository.maemo.org/extras-testing fremantle free non-free
# deb-src http://repository.maemo.org/extras-testing fremantle free non-free
# deb http://repository.maemo.org/extras-devel fremantle free non-free
# deb-src http://repository.maemo.org/extras-devel fremantle free non-free" > /scratchbox/users/rlinfati/targets/maemo5/etc/apt/sources.list
rm /scratchbox/users/rlinfati/targets/maemo5/opt
mkdir /scratchbox/users/rlinfati/targets/maemo5/opt
sb-conf st n900 -c cs2007q3-glibc2.5-arm7 -d debian-etch:doctools:git:perl:svn:qemu -t qemu-arm-sb -f
sb-conf re n900 -f
sb-conf rs n900 /scratchbox/users/rlinfati/home/rlinfati/maemo-sdk-rootstrap_5.0_armel.tgz
sb-conf install n900 -L --etc --devkits --fakeroot
echo "export DEB_BUILD_OPTIONS=maemo-launcher,thumb,vfp" > /scratchbox/users/rlinfati/targets/n900.environment
echo "# maemo5
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free non-free
deb http://repository.maemo.org/ fremantle/4bc37c7c77ebe90177c050b805a8dc79 nokia-binaries
# deb http://repository.maemo.org/extras fremantle free non-free
# deb-src http://repository.maemo.org/extras fremantle free non-free
# deb http://repository.maemo.org/extras-testing fremantle free non-free
# deb-src http://repository.maemo.org/extras-testing fremantle free non-free
# deb http://repository.maemo.org/extras-devel fremantle free non-free
# deb-src http://repository.maemo.org/extras-devel fremantle free non-free" > /scratchbox/users/rlinfati/targets/n900/etc/apt/sources.list
rm /scratchbox/users/rlinfati/targets/n900/opt
mkdir /scratchbox/users/rlinfati/targets/n900/opt
sb-conf st maemo4 -c cs2007q3-glibc2.5-i486 -d debian-etch:doctools:git:perl:svn -t none -f
sb-conf re maemo4 -f
sb-conf rs maemo4 /scratchbox/users/rlinfati/home/rlinfati/maemo-sdk-rootstrap_4.1.2_i386.tgz
sb-conf install maemo4 -L --etc --devkits --fakeroot
echo "# maemo4
deb http://repository.maemo.org/ diablo/sdk free non-free
deb-src http://repository.maemo.org/ diablo/sdk free
deb http://repository.maemo.org/ diablo/tools free non-free
deb-src http://repository.maemo.org/ diablo/tools free
deb file:/home/rlinfati/maemo-sdk-nokia-binaries_4.1.2 diablo explicit
# deb http://repository.maemo.org/extras diablo free non-free
# deb-src http://repository.maemo.org/extras diablo free non-free
# deb http://repository.maemo.org/extras-devel diablo free non-free
# deb-src http://repository.maemo.org/extras-devel diablo free non-free" > /scratchbox/users/rlinfati/targets/maemo4/etc/apt/sources.list
sb-conf st n8x0 -c cs2007q3-glibc2.5-arm6 -d debian-etch:doctools:git:perl:svn:qemu -t qemu-arm-sb -f
sb-conf re n8x0 -f
sb-conf rs n8x0 /scratchbox/users/rlinfati/home/rlinfati/maemo-sdk-rootstrap_4.1.2_armel.tgz
sb-conf install n8x0 -L --etc --devkits --fakeroot
echo "export DEB_BUILD_OPTIONS=maemo-launcher,thumb,vfp" > /scratchbox/users/rlinfati/targets/n8x0.environment
echo "# maemo4
deb http://repository.maemo.org/ diablo/sdk free non-free
deb-src http://repository.maemo.org/ diablo/sdk free
deb http://repository.maemo.org/ diablo/tools free non-free
deb-src http://repository.maemo.org/ diablo/tools free
deb file:/home/rlinfati/maemo-sdk-nokia-binaries_4.1.2 diablo explicit
# deb http://repository.maemo.org/extras diablo free non-free
# deb-src http://repository.maemo.org/extras diablo free non-free
# deb http://repository.maemo.org/extras-devel diablo free non-free
# deb-src http://repository.maemo.org/extras-devel diablo free non-free" > /scratchbox/users/rlinfati/targets/n8x0/etc/apt/sources.list
echo export DISPLAY=:2 > /scratchbox/users/rlinfati/home/rlinfati/.bashrc
END
Create a directory for the boot image and copy memdisk to /boot
mkdir /boot/images/
aptitude install syslinux
cp /usr/lib/syslinux/memdisk /boot
Create a script /etc/grub.d/40_custom to auto-detect the floppy image at the directory
#!/bin/sh
set -e
IMAGES=/boot/images
. /usr/lib/grub/grub-mkconfig_lib
if test -e /boot/memdisk ; then
MEMDISKPATH=$( make_system_path_relative_to_its_root "/boot/memdisk" )
echo "Found memdisk: $MEMDISKPATH" >&2
find $IMAGES -name "*.img" | sort |
while read image ; do
IMAGEPATH=$( make_system_path_relative_to_its_root "$image" )
echo "Found floppy image: $IMAGEPATH" >&2
cat << EOF
menuentry "Bootable floppy: $(basename $IMAGEPATH | sed s/.img//)" {
EOF
prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
cat << EOF
linux16 $MEMDISKPATH bigraw
initrd16 $IMAGEPATH
}
EOF
done
fi
# exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
and call update-grub2
Build a Chroot with debootstrap, example a Ubuntu lucid
sudo debootstrap lucid /opt/chroots/lucid.linfati.cl/
now, create a /usr/local/bin/go-chroot file with
#/bin/sh
case "$1" in
sethost)
echo virtu-$2 | sudo tee /opt/chroots/$2.linfati.cl/etc/debian_chroot
;;
run)
sudo pbuilder --execute \
--aptcache "" \
--no-targz \
--buildplace /opt/chroots/$2.linfati.cl \
-- /bin/su -
;;
*)
$0 sethost $1
$0 run $1
;;
esac
exit 0
and run
go-chroot lucid
Por fin salio el BIG update… la lista de nuevas caracteristicas esta en el wiki y la discucion en tmo
La actualizacion se transmite via OTA (via aire) o pueden usar el NokiaSoftwareUpdater o las imagenes FIASCO
La version PR 1.0.1 es la 2009.44-1, la cual es solo un minor bugfix para poder actualizar a la version PR 1.1 ( aka 2009.51-1 ) que saldra a fin de mes.
Los cambios segun comento konttori_nokia en #maemo son:
- Nuevo kernel que aumenta el nivel de compresion para hacer espacio para el siguiente version
- Eliminado el soporte para icon cache que nos comia espacio en cada nuevo programa que se instalaba
- Muchos fix (37) en el Administrador de Aplicaciones (h-a-m), nueva interface, soporte para la ovi store
Lo mas importante de esta actualizacion es la posibilidad de actualizar ( en un futuro muy cercano ) a la version PR1.1 ( aka 2009.51-1 ) que traera muchas novedades.
Onformacion original :
konttori_nokia: kernel contains one fix, which is allowing HAM to trigger ubifs to higher compression level for the SSU update.
konttori_nokia: browser contains one fix, which is browser UA string to say that it’s pr1.0.1 device.
konttori_nokia: GTK contains one fix, which is dropping the icon cache support.
konttori_nokia: application manager contains 37 fixes, mostly related to SSU stability
konttori_nokia: And a bit related to the new look of the app grid.
Despues de ver varios sitios web DESinformando sobre las bandas, frecuencias, etc en que opera el 3g y anunciando incorrectamente que algunos celulares funcionaran en chile en modo 3g, hare un resumen.
Principales Bandas 3g
Banda I (W-CDMA 2100) usada en Europa, Africa, Asia y Oceania
Banda II (W-CDMA 1900) usada en NorteAmerica (At&t) y SurAmerica (Entel-PCS)
Banda IV (W-CDMA 1700 o AWS) usada en NorteAmerica (T-Mobile) y SurAmerica (VTR y NEXTEL)
Banda V (W-CDMA 850) usada en Oceania, NorteAmerica y SurAmerica (Movistar y Claro)
Band VIII (W-CDMA 900) usada en Europa, Asia, Oceania
Asi los celulares que nos sirven en Chile actualmente son los norteamericanos, principalmente de la At&t que usan banda II (los de T-Mobile NO funcionan, ya que usan banda IV). Notar ademas que en Norteamerica se usa CDMA, los “celulares sin chip” en el caso de las compañia Verizon, Sprint, Cellular, etc.
Bandas 3g en Celulares
IPhone 3G y 3GS: I, II, V <- Funciona en Chile
Nokia N900: I, IV, VII <- NO Funciona en Chile en modo 3G, solo edge
HTC Dream: I, IV <- NO Funciona en Chile en modo 3G, solo edge
HTC Hero europa: I, VIII <- NO Funciona en Chile en modo 3G, solo edge
HTC Hero usa: II, V <- Funciona en Chile
HTC Nexus_One: I, IV, VII <- NO Funciona en Chile en modo 3G, solo edge
Tags:
if you have a ssh keys configured to root user in a ssh-server, you can do a vpn over ssh using a tun interface
copy the text to /etc/init/vpn2ssh.conf, change 1.2.3.4 for the ip of the vpn server and do “start vpn2ssh”
# vpn2ssh - vpn over ssh to ssh server manager
#
# vpn over ssh to ssh server manager
description "vpn over ssh to va.linfati.cl manager"
author "Rodrigo Linfati <rodrigo@linfati.cl>"
version "0.1"
start on started gdm
stop on stopping gdm
respawn
expect fork
env vpnserver=1.2.3.4
env idtun=309
env iplocal=172.30.9.2
env ipremote=172.30.9.1
pre-start exec sleep 60
exec ssh -C -f -w $idtun:$idtun $vpnserver ifconfig tun$idtun $ipremote pointopoint $iplocal up
post-start exec ifconfig tun$idtun $iplocal pointopoint $ipremote up
Note: on ssh server need “PermitTunnel=yes” on sshd_config
Me compre mi nokia N900 en un tiempo record… ordenado un dia 20 de Noviembre, despachado el lunes 23 y recibido el dia 24 en la mañana! Genial! ( en el primer lote de entrega ) con un descuento de un 25%… lo cual lo hizo mas genial aun ( precio de mercado 600€ )
Solo dos cosas hecho de menos de mi BlackBerry 8100
1.- Poder usarla con una sola mana para chat, sms, navegar, al ser horizontal para esas tareas, llamar se puede verticalmente
2.- La tecnologia Push, que los mensajes los envia el servidor a mi celular a penas estan disponibles ( sms, email, chat ) y no debe estar cada x minutos revisando si existe algo nuevo… lo que se refleja en la duracion de la bateria.





Bonus: bicicleta dali….

Tags: año nuevo, blackberry, bologna, erasmus, europa, gps, italia, laptop, linux, maemo, navidad, tecnologia
Recent Comments