Feeds:
Posts
Comments

Archive for November, 2007

What is Pidgin?

It’s a instant messenger, same like yahoo messenger, skype, irc, msn etc. It also has many common features that found in other messenger clients.

There 2 things that I like from Pidgin:

  • You can chat with AIM, MSN, Yahoo!, XMPP, ICQ, IRC, SILC, Novell GroupWise, Lotus Sametime, Zephyr, Gadu-Gadu, and QQ, all, in the same time.

  • Use less data transfer when we chat. May be you don’t recognize it when you use phone line, internet connection from LAN, broadband, cable modem etc. But, when you use pre paid Mobile and it charges you per kb, same like me, then you will know that you save a lot.

 

Step 1. Install the library

There are few modules that you have to install. Just open your console (Applications > Accessories > Terminal or Alt-F2 and type xterm).

taufanlubis@zyrex:~$ sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev

Password:

Reading package lists… Done

Building dependency tree

Reading state information… Done

gettext is already the newest version.

gettext set to manual installed.

The following extra packages will be installed:

libatk1.0-dev libcairo2-dev libexpat1-dev libfontconfig1-dev

libfreetype6-dev libglib2.0-dev libice-dev libpango1.0-dev libpng12-dev

libsm-dev libx11-dev libxau-dev libxcursor-dev libxdmcp-dev libxext-dev

libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev

libxrender-dev x11proto-core-dev x11proto-fixes-dev x11proto-input-dev

x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev

x11proto-xinerama-dev xtrans-dev zlib1g-dev

Suggested packages:

libcairo2-doc libglib2.0-doc libgtk2.0-doc libpango1.0-doc

The following NEW packages will be installed:

libatk1.0-dev libcairo2-dev libexpat1-dev libfontconfig1-dev

libfreetype6-dev libglib2.0-dev libgtk2.0-dev libice-dev libnspr-dev

libnss-dev libpango1.0-dev libpng12-dev libsm-dev libx11-dev libxau-dev

libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev

libxinerama-dev libxml2-dev libxrandr-dev libxrender-dev x11proto-core-dev

x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev

x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev

zlib1g-dev

0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded.

Need to get 16.3MB of archives.

After unpacking 49.8MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://archive.ubuntu.com feisty/main x11proto-core-dev 7.0.10-1 [86.3kB]

Get:2 http://security.ubuntu.com feisty-security/main libfreetype6-dev 2.2.1-5ubuntu1.1 [640kB]

Get:3 http://archive.ubuntu.com feisty/main libice-dev 2:1.0.3-1build1 [55.9kB]

Get:4 http://archive.ubuntu.com feisty/main libsm-dev 2:1.0.2-1build1 [25.6kB]

….

….

Setting up libpango1.0-dev (1.16.2-0ubuntu1) …

Setting up libgtk2.0-dev (2.10.11-0ubuntu3) …

Setting up libnspr-dev (1.firefox2.0.0.6+1-0ubuntu1) …

Setting up libnss-dev (1.firefox2.0.0.6+1-0ubuntu1) …

Setting up libxml2-dev (2.6.27.dfsg-1ubuntu3) …

taufanlubis@zyrex:~$

 

Step 2. Download and Install the package

Extract the package

taufanlubis@zyrex:~$ sudo tar jxvf pidgin-2.2.0.tar.bz2

…..

….

pidgin-2.2.0/share/ca-certs/

pidgin-2.2.0/share/ca-certs/Makefile.am

pidgin-2.2.0/share/ca-certs/Makefile.in

pidgin-2.2.0/share/ca-certs/Makefile.mingw

pidgin-2.2.0/share/ca-certs/Equifax_Secure_CA.pem

pidgin-2.2.0/share/ca-certs/GTE_CyberTrust_Global_Root.pem

pidgin-2.2.0/share/ca-certs/Verisign_RSA_Secure_Server_CA.pem

pidgin-2.2.0/share/ca-certs/Verisign_Class3_Primary_CA.pem

pidgin-2.2.0/pidgin.spec

taufanlubis@zyrex:~$

 

Configure

taufanlubis@zyrex:~$ cd pidgin-2.2.0/

taufanlubis@zyrex:~/pidgin-2.2.0$./configure

………

………

pidgin 2.2.0

 

Build GTK+ 2.x UI…………. : yes

Build console UI………….. : no

Build for X11…………….. : yes

 

Enable Gestures…………… : yes

Protocols to build dynamically : gg irc jabber msn myspace novell oscar qq simple yahoo zephyr

Protocols to link statically.. :

 

Build with GStreamer support.. : no

Build with D-Bus support…… : no

Build with NetworkManager….. : no

SSL Library/Libraries……… : Mozilla NSS

Build with Cyrus SASL support. : no

Use kerberos 4 with zephyr…. : no

Use external libzephyr…….. : no

Has you………………….. : yes

 

Use XScreenSaver Extension…. : no

Use X Session Management…… : yes

Use startup notification…… : no

Build with GtkSpell support… : no

 

Build with plugin support….. : yes

Build with Mono support……. : no

Build with Perl support……. : no

Build with Tcl support…….. : no

Build with Tk support……… : no

 

Print debugging messages…… : no

 

Pidgin will be installed in /usr/local/bin.

 

configure complete, now type ‘make’

taufanlubis@zyrex:~/pidgin-2.2.0$

 

Build the application

taufanlubis@zyrex:~/pidgin-2.2.0$ sudo make

…..

…..

make[3]: Entering directory `/home/taufanlubis/pidgin-2.2.0/share/ca-certs’

make[3]: Nothing to be done for `all’.

make[3]: Leaving directory `/home/taufanlubis/pidgin-2.2.0/share/ca-certs’

make[3]: Entering directory `/home/taufanlubis/pidgin-2.2.0/share’

make[3]: Nothing to be done for `all-am’.

make[3]: Leaving directory `/home/taufanlubis/pidgin-2.2.0/share’

make[2]: Leaving directory `/home/taufanlubis/pidgin-2.2.0/share’

make[2]: Entering directory `/home/taufanlubis/pidgin-2.2.0′

LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po pidgin.desktop.in pidgin.desktop

Found cached translation database

…..

make[2]: Nothing to be done for `install-exec-am’.

test -z “/usr/local/share/applications” || mkdir -p — “/usr/local/share/applications”

/usr/bin/install -c -m 644 ‘pidgin.desktop’ ‘/usr/local/share/applications/pidgin.desktop’

make[2]: Leaving directory `/home/taufanlubis/pidgin-2.2.0′

make[1]: Leaving directory `/home/taufanlubis/pidgin-2.2.0′

taufanlubis@zyrex:~/pidgin-2.2.0$

 

Step 3. Run the application

Open Applications > Internet > Pidgin Internet Messenger.

pidgin.png

 

 

 

 

 

Read Full Post »

I bought this wireless lan card when I used XP before. There is no website or company name displayed on the box. The only information that I have is only ‘Made in Taiwan‘ and ‘MAC ID; 000B6B00C4B8‘. That’s it.

Actually, you can use MAC ID to get information about the company that build the product.

After googling, I found a good website to find information about MAC address.

http://www.coffer.com/mac_find/

Just put your MAC ID and see the result. When I put my MAC ID, the information that I have is:
Vendor/Ethernet MAC Address Lookup and Search
MAC Address or Vendor to look for:
Search by vendor. For Example: “apple” or “allied”
Search by MAC Address. For Example: “00:13:A9″ or “00-80-C7″ or “000420”
To lookup MAC address “08:00:69:02:01:FC”:
enter first 6 characters “08:00:69″
or full MAC address “08:00:69:02:01:FC”.
Database last updated: Sep 9, 2007
Search results for “000b6b00c4b8
MAC Address
Prefix Vendor

000B6B Wistron Neweb Corp.

Now, I know that the vendor is Wistron Neweb Corp. Then, I dig more information about WLAN from Wiston Neweb Corp. Finally, I got a good information mentioned that WLAN card bus is the same product like Realtek. We know that Realtek works very well in Ubuntu. Mean, that I can use this WLAN in Ubuntu.

 

How can it work with no driver for linux?

If we know that Realtek works in Linux, that’s a good start. If we don’t have the driver for linux then just use the windows one. You need a module named ndiswrapper to make it run.

There are 2 main files for ndiswrapper, ndiswrapper-common and ndiswrapper-utils-1.9. So, you have to download both of it.

 

Step 1. Install ndiswrapper-common and ndiswrapper-utils-1.9

taufanlubis@zyrex:~$ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

Reading package lists… Done

Building dependency tree

Reading state information… Done

ndiswrapper-common is already the newest version.

Suggested packages:

ndiswrapper-source

The following NEW packages will be installed:

ndiswrapper-utils-1.9

0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.

Need to get 32.1kB of archives.

After unpacking 123kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com feisty/main ndiswrapper-utils-1.9 1.38-1ubuntu1 [32.1kB]

Fetched 32.1kB in 1s (19.7kB/s)

Selecting previously deselected package ndiswrapper-utils-1.9.

(Reading database … 154966 files and directories currently installed.)

Unpacking ndiswrapper-utils-1.9 (from …/ndiswrapper-utils-1.9_1.38-1ubuntu1_i386.deb) …

Setting up ndiswrapper-utils-1.9 (1.38-1ubuntu1) …

taufanlubis@zyrex:~$

 

Step 2. Disable native (free) Prism54 drivers.

Ubuntu provides wireless driver also as default. You have to disable it, otherwise it will create a conflict with windows driver.

taufanlubis@PC:~$ sudo gedit /etc/modprobe.d/blacklist

……..

……..

# disable native (free) Prism54 drivers

blacklist prism54pci

blacklist prism54common

 

Step 3. Copy your windows driver to home directory.

The location of your driver will be depend on your WLAN card installer. Just browse your windows and search for the location.

For example, my WLAN windows drivers are located in:

C:\Program Files\IEEE 802.11b WLAN Cardbus Utility and Driver\XP_Driver

You will need 2 files from windows drivers.

  • File setup information: NETR8180.inf

  • File system: rtl8180.sys

 

Step 4. Install your windows driver in Ubuntu with Ndiswrapper.

taufanlubis@zyrex:~$ sudo ndiswrapper-1.9 -i netr8180.inf

installing netr8180 …

taufanlubis@zyrex:~$

 

Check ndiswrapper driver list

taufanlubis@zyrex:~$ ndiswrapper -l

netr8180 : driver installed

 

Check Wireless network interface configuration

taufanlubis@zyrex:~$ iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:off/any

Mode:Auto Frequency:2.412 GHz Access Point: Not-Associated

Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=0/3

RTS thr=2432 B Fragment thr=2432 B

Power Management:off

Link Quality:0 Signal level:0 Noise level:0

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0

taufanlubis@zyrex:~$

 

Step 5. Edit /etc/network/interafaces, add:

auto wlan0

iface wlan0 inet dhcp

 

taufanlubis@zyrex:~$ sudo gedit /etc/network/interfaces

auto lo

iface lo inet loopback

 

iface eth0 inet dhcp

 

auto eth1

iface eth1 inet dhcp

 

auto eth2

iface eth2 inet dhcp

 

auto ath0

iface ath0 inet dhcp

 

auto wlan0

iface wlan0 inet dhcp

 

auto eth0

 

Step 6. Put your PCMCIA WLAN card in, and load ndiswrapper module

taufanlubis@zyrex:~$ sudo modprobe ndiswrapper

You will see, your card’s lamp will start blinking.

 

Step 7. Restart network

taufanlubis@zyrex:~$ sudo /etc/init.d/networking restart

 

Step 8. Configure Networking

Open System > Administration > Network, choose the available Hot Spot and set the ip to automatic configuration (DCHP).

wifi.png
Step 9. Check your network configuration status

taufanlubis@zyrex:~$ ifconfig

eth0 Link encap:Ethernet HWaddr 00:90:F5:36:9A:EB

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:11 Base address:0xe000

 

eth0:avah Link encap:Ethernet HWaddr 00:90:F5:36:9A:EB

inet addr:169.254.10.28 Bcast:169.254.255.255 Mask:255.255.0.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

Interrupt:11 Base address:0xe000

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:8 errors:0 dropped:0 overruns:0 frame:0

TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

 

vbox0 Link encap:Ethernet HWaddr 00:FF:EB:24:6D:F4

inet6 addr: fe80::2ff:ebff:fe24:6df4/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:6 overruns:0 carrier:0

collisions:0 txqueuelen:500

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

wlan0 Link encap:Ethernet HWaddr 00:0B:6B:00:C4:B8

inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::20b:6bff:fe00:c4b8/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:32 errors:0 dropped:4 overruns:0 frame:0

TX packets:94 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4956 (4.8 KB) TX bytes:9765 (9.5 KB)

Interrupt:5 Memory:dea1c000-dea1c100

 

taufanlubis@zyrex:~$

 

Step 10. Test connection

taufanlubis@zyrex:~$ ping http://www.google.com

PING http://www.l.google.com (64.233.189.104) 56(84) bytes of data.

64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=1 ttl=241 time=3054 ms

64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=2 ttl=241 time=3276 ms

64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=3 ttl=241 time=3484 ms

 

http://www.l.google.com ping statistics —

7 packets transmitted, 3 received, 57% packet loss, time 5999ms

rtt min/avg/max/mdev = 3054.540/3271.901/3484.766/175.674 ms, pipe 4

taufanlubis@zyrex:~$

Now, you are ready to access the internet.

Read Full Post »

« Newer Posts

Follow

Get every new post delivered to your Inbox.

Join 73 other followers