Sabtu, 17 April 2010

how to install tar.gz file in linux

as root

Code:

tar -zxvf nameof.tar.gz

this command above is the equivalent of unzip in windows (it uncompresses an archive)

then usually (but always read INSTALL file or README etc)

Code:

./configure
make
make install

you usually can do configure and make as a regular user and make install as root. But these are very generic questions and the INSTALL file or whatever it is called in each particular case will give detailed instructions and if you still don't know then ask.

Rabu, 31 Maret 2010

How do I install a .bin file?

Go into a terminal and issue the following command in the directory where the bin file is:

Code:
chmod a+x name_of_file.bin
Then run it by writing:

Code:
sudo ./name_of_file.bin

Kamis, 11 Maret 2010

Setting modem smart evdo di ubuntu 9.10 dengan pon

1. cek USB ID

$ lsusb
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 1058:1003 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 009: ID 19d2:fff1
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

catatan : 19d2:fff1 itu berati modemnya sudah terdeteksi, klo yang keluar itu id 19d2:fff5 artinya usb storage yang terdeteksi, ini perlu diubah dengan menggunakan bantuan "USB_ModeSwitch".

2. USB_ModeSwitch
Edit config /etc/usb_modeswitch.conf:

########################################################
# /etc/usb_modeswitch.conf
#
# Smart ZTE AC2726 (EVDO)
#
DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= 0xfff1
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"

4. Bikin berkas baru etc/udev/rules.d/99-zte-ac2726.rules untuk udev:

########################################################
# /etc/udev/rules.d/99-zte-ac2726.rules
#
# Smart ZTE AC2726 (EVDO)
#
SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="fff1", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x19d2 --default-product 0xfff1 --message-content 5553424312345678c00000008000069f030000000000000000000000000000"

5. Cabut dan colok ulang usb modemnya lalu jalankan lsusb, harus dapat 19d2:fff1, lalu jalankan modprobe:

$ sudo modprobe usbserial vendor=0x15eb product=0x0001

6. Bikin berkas baru /etc/ppp/peers/evdo untuk koneksi menggunakan pon:

#
# /etc/ppp/peers/evdo
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/evdo"
debug
ttyUSB0
921600
defaultroute
noipdefault
user "smart"
remotename smart
ipparam smart
crtscts
lock
usepeerdns

7. Tambah password:

#
# /etc/ppp/chap-secrets
#
smart * smart

8. Bikin berkas baru /etc/chatscripts/evdo:

#
# /etc/chatscripts/evdo
#
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
'' "AT"
'OK' "ATQ0V1E0"
'OK' "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
OK-AT-OK "ATDT#777"
CONNECT \d\c

9. Konek:

$ sudo pon evdo

10. Diskonek:

$ sudo poff -a

Sabtu, 23 Januari 2010

"software can't be authenticated" shows when u try to update your ubuntu...

When it's appear when you are about to install the updates on ubuntu...
just simply go to terminal and type sudo apt-get update... it would not appear i think.. i've try it before.. and it's works.

installing ms office font (such: aerial, courier new, times new roman,.....) in ubuntu 9.10

Want to have ms office font in your linux application such as open office?? this is what u should install..
1. get to the terminal by accessing Applications > Accessoris > Terminal
2. Type : sudo apt-get install msttcorefonts
3. Fill your root password when the system ask to...
4. Done!!
5. Check it out by open your open office application. The fonts should be there... i've try it....

Jumat, 22 Januari 2010

cannot load ubuntu 9.10 and it shows "could not update ICEauthority"

if you found this error appear "could not update ICEauthority" on ubuntu 9.10 here is what you do....

1. boot into recovery mode (read previously entry "how to boot to ubuntu recovery mode")
2. select option root -- drop to root shell prompt and press enter
3. type >> login
4. you will get this prompt:
-desktop login: enter you user account name
password: enter your password (NOTE: you will not see the characters that you type here)
5. at the next prompt type:
startx
6. This will log you into your normal user account. The Login Screen menu item will be accessable at this point but, it will not work.

7. in a terminal window enter this command:
sudo gedit

8. enter your password when prompted. This will open gedit with root permissions.

9. in gedit click open then under file system browse to /ect/gdm/custom.conf

10. you should see a file that looks like this:
[daemon]
TimedLoginEnable=false
AutomaticLoginEnable=true
TimedLogin=craig
AutomaticLogin=craig
TimedLoginDelay=30

11. simply change AutomaticLoginEnable=true to =false

12. shutdown as normal. this will drop you back into the recovery mode. Close out from that and restart. From there everything should be good.

credit to : Craig Bakkala from http://swiss.ubuntuforums.org

Entering Ubuntu recovery mode...

If you want to enter ubuntu recovery mode
just simply by holding esc if it is unbuntu 9.04 or holding shift if it is ubuntu 9.10