Friday, September 28, 2012

Solving LAN wired connection of Lenovo G580 on Ubuntu Linux

Step-by-step:
  1. Download the alx driver from the following link: compat-wireless-2012-05-10-p.tar.bz2 
  2. Extract the driver file with the command,
    tar -xvf compat-wireless-2012-07-03-p.tar.bz2
  3. Change directory to extracted folder
    cd compat-wireless-2012-05-10-p
  4. Run the following command,
    scripts/driver-select alx 
  5. Run command
    sudo make 
  6. Run command
    sudo make install 
  7. Make the driver work, it's done!
    modeprobe alx 
It may works not only on Ubuntu OS, but also on other Linux distribution including Ubuntu derivative (Linux Mint, Blankon) and RPM-based OS. Just change the command in appropriate way.
 
Refference:
http://www.zyxware.com/articles/2680/solved-wired-connection-eth0-not-detected-in-ubuntu-12-04

Monday, September 24, 2012

Synchronize Firefox on Ubuntu

To make easier surfing on the internet, there is a simple way to keep what you browsed in another PC to other PCs or devices (tablet and phone). However, when I trying to sync my firefox using tool --> sync, nothing happens in my Ubuntu 32 bit, emachine laptop. On the other laptop, lenovo G580 running Ubuntu 12.04 64 bit, it works. The sync window appear but I can pair it. To solve the sync problem on firefox under Ubuntu, type the address below on firefox which cannot show sync window.

about:home
And click sync button in the bottom as show in the following screenshot.

Then, if you already have and account, just pair (connect) it to your another device.

Insert the nine digits code shown on three boxes to another three boxes on another PC. It finished, you copied your firefox data like password, bookmark and your other internet activities to you new PC.

Update:
Now, Firefox make sync more easily. The image above is revised as Firefox 52.0.2

Sunday, September 23, 2012

Unsolved Ubuntu Problem: /dev/sda* was not cleanly mounted + sulogin: cannot open pasword database!

Today I got error while entering my Ubuntu 12.04 OS. The error was caused bya "/dev/sda5 was not cleanly unmounted, check forced". The last program I used is ext2fs for Windows 7 when I am booting on Windows OS. That is may caused on my harddisk, or may be another reason resulting problem on my Ubuntu booting process. Another error keyword is Inode 4268653, i_size is 211656, should be 217088. As trial error solution I do fsck in drive which contain error i.e /dev/sda5 using the following,
sudo fsck /dev/sda5
Let's see it works or not, here is the screenshot of my terminal, I choose yes for all options.
fsck screenshot

 After that try,  I boot again and whoa, I still cannot enter to my Ubuntu OS, the error message said; sulogin: cannot open password database. By some googling, I found an article by geek in superuser.com to copy passwd, shadow and gshadow file from /etc/ in other Ubuntu or boot via CD or FDD, I tried those tricks and continued by booting process in my Ubuntu OS.

Sunday, September 16, 2012

File sharing and remote desktop Ubuntu laptops via SSH

Today, I realize that connecting two or more Ubuntu laptops is very easy. Just install openssh using command line:

sudo apt-get install openssh-server

Installed ssh on your PC you can make file sharing and remote desktop to your other PCs. To connecting your PCs, use the ssh command with the username@ipaddress. For example, now I am on my laptop namely bta@g580, I want to remote desktop to my other Ubuntu laptop, namely bta@d725 with ipaddress : 192.168.3.5. So, I do the following commands,

bta@g580:~$ ssh bagus@192.168.3.5
bagus@192.168.3.5's password: 
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic i686)
* Documentation:  https://help.ubuntu.com/
15 packages can be updated. 9 updates are security updates. *** /dev/sda7 will be checked for errors at next reboot ***

Last login: Sun Sep 16 14:23:28 2012 from bagus-lenovo-g580.local
bta@d725:~$
Now, I am log on to my bta@d725 from bta@g580. I can manage file, copying, merging, deleting and do other tasks in my D725 from G580 (it is model of my laptop). To copy file from my d725 to my g580, I just type the following command;

scp ~/* bagus@192.168.3.3:~/


which copy all my files in home directory in d725 to my home directory in g580. The last question maybe: how can I know my ipaddress? the answer is, check it using command: ifconfig. You can do this file sharing and remote desktop over wifi or wired connection.

Auto Mount Partition/Disk in Ubuntu/Linux

By default, it needs to mount any partitions and disks every single sign in to your, in this case, Ubuntu laptop. Without 'mount' the partition, you can't do such tasks like copying, making directory, deleting, moving and renaming files and or folders. Without mounting any partitions to the filesystem automatically, it make the system safe, but it also make a repeating job mounting the partition every you log in to your computer. The following is the 'how to' make your partition permanently mounted to your system.

First step, make directory to your /media/ where your partitions will be mounted. The number of directory depends on your partitions to be mounted. For example, I want to permanently moundted /dev/sda6 and /dev/sda7 to my system. So I make the following directory in the /media

sudo mkdir /media/bagustris
sudo mkdir /mdia/atmaja

In this case, I want to mount /dev/sda6 to /media/bagustris and /dev/sda7 to /media/atmaja. How can I know the disk name (sda6/sda7), please check it using sudo fdisk -l which will show the list of your partition.

The next is to edit /etc/fstab (using sudo nano /etc/fstab). I add the last two lines to the /etc/fstab to make my two partitions permanently mounted in Ubuntu system.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#              
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=d80dc7fe-c637-4c3b-8010-7d0169e59285 /               ext2    errors=remoun$
/dev/sda6       /media/bagustris        ntfs    rw,defaults     0       0
/dev/sda7       /media/atmaja   ext2    rw,defaults     0       0

Some parameters you need are: filesystem, mount point, partition type (ntfs, ex2, ex4, xfs),  type (r:read,w:write and others), and passworded or not. After editing this file, your partition will be permanently mounted to your Ubuntu system. If you get error, please check again your /etc/fstab file. Another task to do after this, is to change partition name by adding label (make it the same partition name to make easy) to each partition using gparted. It is not difficult task.

Saturday, September 15, 2012

Shorten user name, host name and path in terminal

Sometimes, it is very annoying to have a long account name and path in the Linux terminal. It will make us difficult to work in terminal because the text is long and not shown clearly. One of the solution is to make it shorter both of account name and path name.
For example, here is account name in terminal:
bagus@lenovo-g580:/usr/include/lib/database/mysql/server/a1serv/
I want to make it shorter, so it will become:
bta@g580:a1serv/
To make that work, let's edit .bashrc in your home directory, and find the following,

    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
Then, change to
    PS1='${debian_chroot:+($debian_chroot)}bta@g580:\W\$ '
The parameter \u and \h will change the user name and host name shown in terminal, the changing of \w to \W will make the last current path instead of whole path shown in terminal. The other parameters are shown below,

Sunday, September 09, 2012

Budaya Ilmiah, Budaya Islam

Jika menilik kemajuan Eropa dalam bidang keilmuan dan teknologi di dunia moderen, hal ini tidak lepas dari munculnya budaya imiah mereka yang mengembangkan metode-metode ilmiah keilmuan dan inspirasi-inspirasi filsafat alam yang didapat dari alam pikiran budaya Yunani pada masa ‘pencerahan’ atau renaissance. Selama ini, jamak pendapat bahwa ilmuwan Eropa memperoleh dasar dari metode ilmiah dari filsuf-filsuf Yunani. Roger Bacon yang disebut-sebut sebagai advokat bagi metode ilmiah modern di Eropa dikatakan terinspirasi oleh Aristoteles dan Plato. Akan tetapi patut diketahui bahwa sifat dan semangat dari folosofi alam Yunani adalah bersifat spekulatif, lebih mengutamakan teori dan tidak mengindahkan kenyataan atau pengalaman konkret. Ilmu pengetahuan moderen amat mengedepankan aspek pengamatan langung dan bukan sekedar teori belaka yang bersifat spekulatif. Hal ini terutama terlihat dalam ilmu-ilmu alam fisik seperti fisika, dimana suatu teori harus mendapatkan konfirmasi melalui eksperimen untuk membuktikan kebenarannya. Kebudayaan Yunani tidak mengenal penyelidikan dan pengumpulan secara sabar terhadap pengetahuan, serta metode-metode keilmuan yang begitu cermat, dan observasi serta penyelidikan eksperimantal yang rinci dan panjang. Roger Bacon sendiri sebenarnya mempelajari metode ilmiah dari Universitas Islam Spanyol. Karyanya Opus Majus yang berisi penjelasan ilmiah tentang matematika, optik, kimia, dan mekanika sebenarnya berisi metode-metode yang berasal dari ilmuwan-ilmuwan muslim seperti Al-Kindi dan Ibn Al-Haytham. Antropolog Robert Briffault dalam bukunya ’The Making of Humanity’ menuliskan:

Baik Roger Bacon maupun kawan sejawatnya yang kemudian, tidak berhak disebut sebagai orang yang telah memperkenalkan metode eksperimen. Roger Bacon tak lebih hanya salah seorang utusan saja dari ilmu pengetahuan dan metode Islam kepada dunia Kristen di Eropa, dan dia pun tak kenal letih mengumumkan, bahwa pengetahuan bahasa dan ilmu pengetahuan Arab bagi mereka yang sezaman adalah satu-satunya jalan ke arah pengetahuan yang sebenarnya. Perdebatan-perdebatan seperti misalnya tentang siapa pencipta pertama metode eksperimen ialah sebagian dari penafsiran yang besar sekali tentang asal-usul peradaban Eropa. Metode eksperimen Islam itu pada masa Bacon secara luas dan bersungguh-sungguh disebarkan ke seluruh Eropa. (The Making of Humanity, page 202)
Budaya Islam melalui semangat Al-Qur’an yang mendasarkan sumber pengetahuan pada tiga sumber, yaitu pengalaman batin, alam, dan sejarah tentu bertentangan dengan semangat filsafat alam Yunani. Hal ini tidak lain karena budaya Islam yang berfokus pada pengalaman konkret (kenyataan) dan menuntut adanya observasi secara langsung terhadap alam guna memahami hakikat alam dan terutama demi memahami sifat ketuhanan.  Hal ini juga tidak lepas dari perintah yang ada dalam kitab Al-Qur’an agar memerhatikan pergantian siang-malam, peredaran bulan dan matahari serta peredaran planet karena Tuhan menampakkan tanda-tandanya melalui alam. Walaupun harus diakui bahwa ilmuwan-ilmuwan muslim banyak yang memperoleh wawasan ilmu dari alam pikir Yunani, akan tetapi ilmuwan-ilmuwan muslim menyadari bahwa apabila terus menyandarkan diri pada alam pikiran Yunani yang tida mendasarkan pemikirannya pada kenyataan maka akan terjadi kegagalan yang besar terhadap ilmu pengetahuan. Metode observasi dan eksperiman lahir dalam kebudayaan Islam bukan karena suatu kompromi dengan pemikiran Yunani, tetapi karena ada pergulatan yang lama sekali dengan pemikiran itu. Pengaruh Yunani yang pada umumnya menyukai teori, bukan kenyataan, malah lebih mengaburkan pandangan orang Islam terhadap Al-Qur’an. Maka dengan semangat Al-Qur’an sebagai pedoman, ilmuwan-ilmuwan muslim melakukan revolusi terhadap alam pikiran Yunani, sebuah revolusi ilmiah.

Menurut kebudayaan Islam, ilmu harus dinilai dengan yang sesuatu yang konkret dan terukur, hanya kekuatan intelektual yang menguasai yang konkret-lah yang akan memberi kemungkinan kecerdasan manusia untuk dapat melampaui yang konkret, seperti dalam Al-Qur’an;

يَا مَعْشَرَ الْجِنِّ وَالْإِنْسِ إِنِ اسْتَطَعْتُمْ أَنْ تَنْفُذُوا مِنْ أَقْطَارِ السَّمَاوَاتِ وَالْأَرْضِ فَانْفُذُوا لَا تَنْفُذُونَ إِلَّا بِسُلْطَانٍ

Wahai masyarakat jin dan manusia, kalau kalian dapat menembus perbatasan-perbatasan langit dan bumi, tembuslah. Tapi hanya dengan kekuasaan sajalah kalian dapat menembusnya. (QS. 55:33)

Referensi:
  1. Rekonstruksi Pemikiran Agama dalam Islam, Yogyakarta; Jalasutra, 2008.
  2. Dari Puncak Bagdad; Sejarah Dunia Versi Islam, Jakarta; Penerbit Zaman, 2009.  
  3. Metode ilmiah, orang eropa mempelajarinya dari budaya Islam

Friday, September 07, 2012

Solving Wifi Problem after update Eee Pad TF201 to ICS 4.0

Eee Pad Transformer Prime TF201 originally came with Android 3.2.1 Honeycomb. However, the company provide the official update to Icecream Sandwich 4.0.

A problem was occurred after I updated the honeycomb to Icecream on my Prime. I can connect to the network via browser but cannot via application such as Google play, Gmail, you tube and others.
I googling to find the solution, but no idea applied. I read the manual book from the internet, and there is a way to factory reset the device. I do that trick.
Setting >> Back up & Reset >> Factory Reset
After that, your prime will reboot and ask you to sign in your Google account. It still works on Icecream and the next you can install application via play, check email via gmail app, and watch video via you tube app.

That works for me! it' s a real solution.


Thursday, September 06, 2012

Solve Screen Flickering on Android ICS Transformer Prime

After updating android 2.3 ginger bread to 4.0 icecream sandwich, I got a problem on my transformer. I am not alone, but other prime users also experienced it. After trying some solution, I find the following cold booting can solve screen flickering on prime, at least for temporary.

First, to cold boot, shut down your tablet completely: with the tablet still on, press power and hold it for 2 or 3 seconds until you get the "Power down" prompt. Tap ok to shut down. Don't plug it into computer, or unplug it if it is connected to computer. Make sure to dock it on the keyboard if you have (TF101, TF201, TF300, TF 700). Once the tablet is off, hold on the "volume down" control, it is placed on the side furthest away from the power button. Without releasing it, press and hold the power button and please don't push or release either button. Do it in 10 seconds until you see two icons pop up in the middle of the screen i.e Wipe data and Android.

If there is no two icons, you did the wrong cold boot and it is not entering cold boot yet. Do it again until you see two icons appear and release the button after it. The screen flicker now is gone. However, if you still experience screen flicker, try to remove some application like opera, dropbox or others on which screen flicker was occurred when you run those application.

Based my experience on using Ubuntu linux on PC, this problem is related on Linux kernel as the core of Android OS.
Related Posts Plugin for WordPress, Blogger...