GoboLinux 016

This is my note while trying with new release GoboLinux 016 inside VirtualBox.

GoboLinux VM VirtualBox configured as below:

  • KVM
sudo su -

Xorg -configure
 cp xorg.conf.new /etc/xorg.conf

vim /etc/xorg.conf
 Section "Device"
 # Driver "fbdev"
 Driver "vesa"

reboot

ip addr ls
 dhcpd enp0s1
updateRecipes
 cd /Data/Compile/Recipes
 find . | grep -i tmux

tmux
https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz

NewVersion Tmux 2.3 https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz
 Compile Tmux 2.3
vim /System/Settings/Compile/Compile.conf
 compileRecipeAuthor="Muhammad Najib Bin Ibrahim <mnajib@gmail.com>"

ContributeRecipe Tmux 2.3

#scp najib@tomato:~/.tmux.conf

If have broken links from previous installation attempt, try run this prior to Compile:

$ find /System/Index | RemoveBroken

 

 

Reka-bentuk Banglo Kecil v2

Masih belum berpuas hati dengan reka-bentuk banglo kecil yang sebelum ini, Cikgu cuba mereka-bentuk rumah banglo untuk mendapatkan yang lebih sesuai dengan citarasa.

Berikut antara ciri-ciri rumah yang Cikgu ambil perhatian:

  • Ruang tamu yang dapat melihat kawasan luar depan dan belakang rumah.
  • Saiz rumah yang kecil tetapi selesa.
  • Dapur bersaiz penuh.
  • Dua bilik mandi; dengan tandas duduk dan tandas cangkung.
  • Ruang untuk mesin basuh pakaian.
  • Ruang untuk simpan kasut.
  • Ruang untuk pejabat/komputer.
  • Ruang tamu boleh digunakan untuk solat jemaah, dan juga untuk majlis keramaian.
  • Dapur dan meja makan yang agak tersorok dari ruang tamu.
  • Pili air di luar pintu masuk depan dan belakang rumah.
  • Semua bilik tidur mempunyai tingkap yang sesuai.
  • 4 bilik tidur (1 bilik parent, 2 untuk anak lelaki dan anak perempuan, 1 untuk tetamu atau stor).
  • Kedudukan bilik-bilik dengan ruang keluarga berkumpul tidak terlalu jauh/terpencil, supaya mudah berinteraksi/bertemu muka dan dapat merapatkan hubungan kekeluargaan.

Ciri-ciri yang terpaksa diketepikan dalam reka-bentuk ini antaranya ialah seperti yang berikut:

  • Ruang khas untuk pentry.
  • Ruang stor. Untuk ruang stor ini, mungkin boleh diadakan sekalikan dengan garaj kereta. Kontena terpakai juga mungkin boleh diguna sebagai ruang stor.
  • Ruang jemuran pakaian selepas basuh untuk dikeringkan, kerana boleh diadakan di luar rumah.
  • Attached-garrage for two cars.

rumahpegoh-livingdiningtengah_dapurtepiblkg_4bedrooms_0garage_v1-6-photo009-edited

My OS Watch List

Berikut adalah senarai opensource OS yang menarik perhatian saya.

– FreeBSD
– LinuxMint
– Android-x86
– ReactOS
– GoboLinux

gobo-logo

GoboLinux (http://www.gobolinux.org/) adalah OS yang paling saya teruja. Ini adalah kerana saya sangat tertarik dengan idea kaedah filesystem dan package manager.

reactos_0

Dan yang keduanya ialah ReactOS (http://www.reactos.org/).

docker


docker search django
docker search centos
docker ps
docker ps -a
docker rm 6be0e1ca672d
docker attach 00499976bc4f
docker attach stoic_stallman
docker images
docker run -i -t centos:latest /bin/bash
docker pause 00499976bc4f
docker diff 00499976bc4f
docker commit 00499976bc4f najib/centos
docker unpause 00499976bc4f
docker stop 00499976bc4f
docker restart 00499976bc4f
docker run -d
docker logs 00499976bc4f

Sony-Ericsson Xperia X8

Tested on
Sony Xperia x8 (e15i)

[[Picture]]

*remove sim card from phone
*backup sd card

———————————–
Download & Install Required Software on PC
———————————–

  • fastboot driver for Windows?
  • adb driver for Windows?
  • sony pc companion.
  • superoneclick.
  • recoverx
  • need internet connection (wifi prefered).
  • need usb-.. cable.

———————————–
To reinstall to stock rom/…
———————————–

  1. recharge battery to more than 80% full
  2. use sony pc companion, repair
    support zone > start
    software update > start
    repair my phone/tablet
    select phone model: x8 (e15) > next
  3. turn phone off > remove battery
  4. disconnect usb cable (if connected)
  5. push an hold ‘start/power’ phone button for 4 seconds …
  6. wait 10 seconds …
  7. add battery
  8. while press and hold ‘back’ button, plug in usb cable from pc to phone.
    hold the ‘back’ button until green light appear at phone indicator.
    The installation now will continue.
  9. reboot the phone.
  10. configure date/time, timezone, time/date display format.

———————————–
To rooting & install superuser
———————————–

  1. start phone.
  2. setting > applications > development > enable/allow usb debuging.
  3. connect phone-usb-pc.
  4. at pc; you might need to turn-off ‘anti-virus’.
  5. at pc; superoneclick > general > root.
  6. click ‘yes’ to install busybox.
  7. reboot phone.
  8. superoneclick > general > sheel root.
  9. reboot phone.

———————————–
To install cwm recovery
———————————–

  1. on pc; start recoverx.
  2. select your phone brand: sony ericsson.
  3. select devie: xperia x8.
  4. select ‘cwm-based recovery 3.2.0.0’.
  5. do not select ‘developer mode’ (this function is for the recoveryx software
    developer).
  6. click ‘next’ button.
  7. when download complete, wait until it prompt to click ‘next/continue’;
    connect phone usb to pc, and then click ‘next/continue’.
  8. it will continue with installing cwm recovery to phone.
  9. click ‘exit’.
  10. reboot phone.

*You may need to apply all this steps again if you cannot go to cwm recovery mode.

  • On pc; you might need to re-enable / turn-on anti-virus.

———————————–
Configure standard keyboard (chinese keyboard, touchpal version)
———————————–

For ‘default input’ keyboard?:

  1. setting > language & keyboard > default input > quick text setting >
    spelling correction > off.
  2. setting > language & keyboard > default input > quick text setting >
    disable ‘quick fixes’.
  3. setting > language & keyboard > default input > disable ‘vibration on
    keypress’.

For ‘chinese keyboard’:

  1. setting > language & keyboard > chinese keyboard >
  2. portrait keyboard > full qwerty.
  3. disable ‘predict next word’.
  4. enable ‘slide-down symbols’.
  5. Do NOT select ‘Quick text’ in ‘English Input Method’.

For ‘TouchPal X’ keyboard:

To set default keyboard to ‘Chinese keyboard’:

  1. While on any text input box, do long press. And then choose ‘Input Method’ where you will see the ‘Select input method’ option.
  2. Choose the input method you want, in this example ‘Chinese keyboard’.
  3. Done.

———————————–
To enable wifi
———————————–

  1. Settings > Wireless & networks > Wi-Fi settings.
  2. password/key/…

To disable Wi-Fi auto-sleep:

  1. Settings > Wireless & networks > Wi-Fi settings.
  2. Press ‘option’ button.
  3. Select ‘Advanced’.
  4. Wi-Fi sleep policy > Never.

———————————–
To make backup (goto to CWM recovery mode) – partitioning scard and then creat
(full) nandroid backup
———————————–

  1. shutdown phone.
  2. remove battery.
  3. hold phone power button to make sure power drain.
  4. add battery.
  5. push start/power button.
  6. hit ‘back’ button multiple times (after first logo (sony ericsson) eppear, until CWM load).
  7. advance > partition sdcard > 256M > 32M. That will create two partition for sdcard.
  8. advance > partition sdcard > 1024M > 0M. That will re-create two partition for sdcard.
  9. create backup; backup & restore > backup.
  10. restart/reboot phone ‘reboot system now’.
  11. connect phone-usb-pc.
  12. on phone; turn on usb storage.
  13. from pc; copy nandroid backup at directory ‘clockworkmod/backup/*’ to laptop/pc.

———————————–
To also use sdcard for application
———————————–

  1. market; sign-in with google account.
  2. market: update ‘superuser’.
  3. market – install ‘link2SD’.
  4. open ‘link2sd’.
  5. allow.
  6. ext2.
  7. reboot device.

*”cannot create mount script? ext2… unupported by os?…”
If this happen, try do this steps in CWM Recovery mode:

  1. advance > partition sdcard > 256M > 32M.
    that will create two partition for sdcard.
  2. advance > partition sdcard > 1024M > 0M.
    that will create two partition for sdcard.

Basically we need the size for those two steps should be different, with the last step be the final/target size we want.

Then recreate mount script in link2sd.

???????????????????????????????????
?? market – install ‘busybox free’
?? busybox – install/update busybox
?? this will coz installed cwm broken
???????????????????????????????????

———————————–
Else
———————————–
– disk info
– wechat
– mysolat
– whatsapp
– private diary free
– battery doctor
– file explorer: root browser
– whatsapp

– js terminal emulator

– text editor:

– keyboard: touchpal x …
configure touchpal keyboard: …

? myteksi

To switch-off auto-change display orientation:

  1. Settings > Sound & display settings > Display settings > Orientation > Untick the box.

To change screen timeout:

  1. Settings > Sound & display settings > Display settings > Screen timeout > Select 1 minute.

———————————–
Before deliver
———————————–

  • —cwm;-delete-data-&-cache-/-factory-reset?—
  • – using link2sd?; market: delete cache & delete data

quickhowto: qemu networking using vde, tun/tap, and bridge

Not require to configure firewall/routing. Much more simple to setup. Do not need root privilege to run qemu. Easy to use. Tested and working.

qemu vde tun tap bridge

Diagram: qemu vde tun tap bridge

# brctl addbr br0
# brctl addif br0 eth0
# dhclient br0
# vde_tunctl -u testuser -t tap0
# ifconfig tap0 up
# brctl addif br0 tap0
# brctl setfd br0 0

$ vde_switch -d -s /tmp/vde0 -M /tmp/vde0mgmt
$ vde_plug2tap -d -s /tmp/vde0 tap0

$ vdeqemu -hda testdisk1.qcow2 ... -net nic,macaddr=... -net vde,sock=/tmp/vde0
$ vdeqemu -hda testdisk2.qcow2 ... -net nic,macaddr=... -net vde,sock=/tmp/vde0

Thanks to: julius, shammash, and eric