Sunday, 23 October 2011

Flashdisk 16 GB nggak bisa ditulisi

Saya nggak bisa nulis di flashdisk.
Dari list, sudah benar bahwa saya bisa nulis (rwx)

$ ls -l /media/
total 48
drwx------ 24 budi budi 32768 1970-01-01 07:00 BUDI
lrwxrwxrwx 1 root root 6 2011-05-03 19:52 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2009-07-17 22:07 cdrom0
drwxrwxr-x 2 root root 4096 2010-04-01 17:26 DATA
lrwxrwxrwx 1 root root 7 2011-05-03 19:52 floppy -> floppy0
drwxr-xr-x 2 root root 4096 2009-07-17 22:07 floppy0
drwxr-xr-x 2 root root 4096 2010-04-13 14:17 windows

Kalau mbikin file baru, ternyata Read Only file system:
$ touch /media/BUDI/testingz
touch: cannot touch `/media/BUDI 16GB K/testingz': Read-only file system

Solusinya adalah (kecuali hardwarenya nggak stabil karena 16GB) adalah dengan format ulang:

$ sudo umount /media/BUDI
budi@pucung:~$ sudo fdisk -l
Disk /dev/sdb: 16.0 GB, 16047407104 bytes
94 heads, 30 sectors/track, 11114 cylinders
Units = cylinders of 2820 * 512 = 1443840 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sdb1 3 11115 15667264 c W95 FAT32 (LBA)

budi@pucung:~$ sudo fdisk /dev/sdb

hapus partisi 1, keluar setelah write, masuk fdisk lagi (sekedar biar yakin), bikin partisi 1 sebagai vfat (kodenya 0B). Kalau mau gampang, gunakan cfdisk atau gparted (?)

Format partisi 1 sebagai vfat:
$ sudo mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.7 (24 Dec 2009)

Copot flashdisk dan pasang lagi.

Thursday, 13 October 2011

Jigdo Aaargh

Kalau menggunakan jigdo untuk download iso Debian atau Ubuntu (atau distro lain) dan berakhir dengan:
Aaargh - 1 files could not be downloaded
pasti menyebalkan. Contoh terakhir adalah di file mplayerthumbs_4.4.5-1_i386.deb untuk Debian 6.0.3. Di case kantor sepertinya karena kdemultimedia masuk Squid.
Solusinya:
$ wget https://students.cs.unipi.gr/pub/linux/debian/pool/main/k/kdemultimedia/
$ sudo mv mplayerthumbs_4.4.5-1_i386.deb /var/cache/apt/archives/
$ jigdo-lite
Lalu suruh jigdo scan lagi /var/cache/apt/archives.
Beres, deh.

Wednesday, 12 October 2011

LibreOffice

Kolbi will also be proud to announce its support to LibreOffice the Document Foundation.
Here're good link for assessment:
Sok banget, nggak sih?

Wednesday, 21 September 2011

DVD Encoder for Debian GNU/Linux

For KDE users, k3b is kinda one stop for multimedia needs. However, k3b requires "transcode" that is not native in Debian's mainstream (main contrib non-free). Luckily, debian-multimedia repository provide everything.

So safe time, add this line
    deb http://ftp.nl.debian.org/debian/ squeeze main contrib non-free
into
    ($ sudo nano) /etc/apt/sources.list
then, do
    $ sudo apt-get update
    $ sudo apt-get install transcode
and re-run k3b.


Happy encoding!

Penguat sinyal GSM/Wifi/CDMA

Aku mikir arep tuku antena yagi (antena tivi biasa) sing regane kira2 200k. ning bareng tak elang-eling tutorial ning internet tmsk video ben gampang, ketoke mending eksperimen dhewe. teori nggo itung2an ana, ning sing paling asoy yo eksperimen ra sah kakehan itungan.

iki ana link nggo muk biskuit http://www.dxzone.com/cgi-bin/dir/jump2.cgi?ID=12595. metodene dudu yagi, ning wave driven utawa ember-bolic. isa uga, ember (kaleng, dudu plastik) diganti wajan utawa tutup panci. Om arifin wis njajal, ta. sing penting, modeme dilebokke muk, digeser maju mundur nganti sinyale apik. mengko yen wis manteb-teb, dilem utawa tialirke nganggo kabel ning modem.

Yen aku, arep njajal nggo aluminium foil dibentuk 1/2 kaleng, dicedakke laptop. Kari ngecek sinyal ning laptop ana pira.

Yen arep luwih detil, apt-get search antenna. Ana akeh aplikasi sing kena nggo ngetung rumus antena karo ngetes sinyal. Ning yen aku, balik maneh, sing penting eksperimen. Ra kakehan mumet!

Sugeng experimen.

Monday, 22 August 2011

OpenOffice error recovery

Delete 3 files (easier cut and paste these into terminal):


$ rm ~/.openoffice.org/3/user/registry/cache/org.openoffice.Office.Recovery.dat
$ rm ~/.openoffice.org/3/user/registry/data/org/openoffice/Office/Recovery.xcu
$ rm ~/.openoffice.org/3/user/backup/*


And these are the detail:


Under Windows (English), you could delete the files

C:\Documents and Settings\\Application Data\OpenOffice.org2\user\registry\data\org\openoffice\Office\Recovery.xcu

and

C:\Documents and Settings\\Application Data\OpenOffice.org2\user\registry\cache\org.openoffice.Office.Recovery.dat

along with the entire contents of

C:\Documents and Settings\\Application Data\OpenOffice.org2\user\backup\

The path names may be different under a non-English version of Windows, and under Linux, these files will be located in a subdirectory called .openoffice.org in your home directory.

EDIT: Deleting Recovery.xcu will reset the autosave interval back to its default value of 15 minutes. This can be changed under Tools | Options | Load/Save | General.

Thursday, 18 August 2011

Googleearth 6 in Debian Squeeze

  1. $ sudo apt-get update
  2. $ sudo apt-get dist-upgrade
  3. Download deb package from http://earth.google.com
  4. $ sudo dpkg -i go*.deb
  5. If many dependency failures, this is the last working try: $ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1 rpm-common
Hint: I did block (double click in the package) and middle click (anywhere in terminal) to get the dependency transferred at the cursor position.


Below is detail notes:


$ sudo dpkg -i google-earth-stable_current_i386.deb
(Reading database ... 182343 files and directories currently installed.)
Preparing to replace google-earth-stable 6.0.1.2032-r0 (using google-earth-stable_current_i386.deb) ...
Unpacking replacement google-earth-stable ...
dpkg: dependency problems prevent configuration of google-earth-stable:
google-earth-stable depends on lsb-core (>= 3.2); however:
Package lsb-core is not installed.
dpkg: error processing google-earth-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Processing triggers for menu ...
Errors were encountered while processing:
google-earth-stable


$ sudo apt-get install lsb-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
lsb-core : Depends: lsb-release but it is not going to be installed
Depends: pax but it is not going to be installed
Depends: alien (>= 8.36) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


$ sudo apt-get install lsb-core lsb-release pax alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alien : Depends: rpm (>= 2.4.4-2) but it is not going to be installed
Depends: rpm2cpio but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
rpm : Depends: libelf1 (>= 0.131) but it is not going to be installed
Depends: librpm1 (>= 4.8.0) but it is not going to be installed
Depends: librpmbuild1 (>= 4.8.0) but it is not going to be installed
Depends: librpmio1 (>= 4.8.0) but it is not going to be installed
Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
rpm2cpio : Depends: libelf1 (>= 0.131) but it is not going to be installed
Depends: librpm1 (>= 4.8.0) but it is not going to be installed
Depends: librpmio1 (>= 4.8.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
librpm1 : Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
rpm : Depends: rpm-common (= 4.8.1-6) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


$ sudo apt-get install lsb-core lsb-release pax alien rpm rpm2cpio libelf1 librpm1 librpmbuild1 librpmio1 libelf1 librpm1 librpmio1 rpm-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
lsb-rpm lintian lzma lsb elfutils rpm-i18n
The following NEW packages will be installed:
alien libelf1 librpm1 librpmbuild1 librpmio1 lsb-core lsb-release pax rpm rpm-common rpm2cpio
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/5,155 kB of archives.
After this operation, 7,500 kB of additional disk space will be used.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Selecting previously deselected package lsb-release.
(Reading database ... 182344 files and directories currently installed.)
Unpacking lsb-release (from .../lsb-release_3.2-23.2squeeze1_all.deb) ...
Selecting previously deselected package pax.
Unpacking pax (from .../p/pax/pax_20090728-1_i386.deb) ...
Selecting previously deselected package libelf1.
Unpacking libelf1 (from .../libelf1_0.148-1_i386.deb) ...
Selecting previously deselected package librpmio1.
Unpacking librpmio1 (from .../rpm/librpmio1_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm-common.
Unpacking rpm-common (from .../rpm-common_4.8.1-6_i386.deb) ...
Selecting previously deselected package librpm1.
Unpacking librpm1 (from .../r/rpm/librpm1_4.8.1-6_i386.deb) ...
Selecting previously deselected package librpmbuild1.
Unpacking librpmbuild1 (from .../librpmbuild1_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm2cpio.
Unpacking rpm2cpio (from .../rpm/rpm2cpio_4.8.1-6_i386.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../r/rpm/rpm_4.8.1-6_i386.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../a/alien/alien_8.81_all.deb) ...
Selecting previously deselected package lsb-core.
Unpacking lsb-core (from .../lsb-core_3.2-23.2squeeze1_i386.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Setting up lsb-release (3.2-23.2squeeze1) ...
Setting up pax (1:20090728-1) ...
Setting up libelf1 (0.148-1) ...
Setting up librpmio1 (4.8.1-6) ...
Setting up rpm-common (4.8.1-6) ...
Setting up librpm1 (4.8.1-6) ...
Setting up librpmbuild1 (4.8.1-6) ...
Setting up rpm2cpio (4.8.1-6) ...
Setting up rpm (4.8.1-6) ...
Setting up alien (8.81) ...
Setting up lsb-core (3.2-23.2squeeze1) ...
debconf: unable to initialize frontend: Dialog


debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
Setting up google-earth-stable (6.0.3.2197-r0) ...
Processing triggers for python-support ...
Processing triggers for menu ...


$ google-earth