Friday, December 4, 2009

Google Public DNS


This is good. Google has just launched Google Public DNS, a free public DNS resolver hosted & maintained by Google! I am sure previously you may have heard of OpenDNS – which is another popular public domain name resolver trusted by many individuals, corporations & even big ISPs. But it looks like Google will eventually end up taking the DNS market as well!I have just inserted this here in my home pc. Now, it`s your turn to check this. :)

But, why? why anyone need this Google DNS? Well, Google Public DNS primarily aims to make your web browsing experience even faster. Every time you type in a web address in your browser (e.g. google.com), a request is sent to your ISP’s DNS server that resolves that “domain” to an IP address. (e.g. 72.11.33.23). So if your ISP takes 3 sec to resolve a domain to its IP address and Google’s New Public DNS server takes 1 sec, you will be saving 2 sec on every request you make on the web. Thus a much faster Internet Speed!

How to setup Google DNS:

Setting up Google DNS is relatively simple. Just open up the properties of your network card and change the DNS to:

Primary DNS: 8.8.8.8
Secondary DNS: 8.8.4.4

Saturday, November 28, 2009

What is it actually?

I am trying Windows Live Writer! What is it actually!!! Not so much clear. Seems that… it just imported my blogspot blogs….

 

let`s see how it can help me…

Wednesday, November 18, 2009

apt-get behind proxy

Some of my friends are facing this problem all the time in campus. For them!

If you’re using Synaptic

Open up your Synaptic package manager (usually as root), go to Settings-> Preference -> Network. Enter your proxy server details like : username:password@proxyserver.net, and put the proxy server port (usually 8080).

If you’re using command-line apt-get

Edit your /etc/bash.bashrc file as root.

Put these line at the end of your /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

[note: my example: ]

export http_proxy=http://proxy.bracu.ac.bd:8080/

export ftp_proxy=http://proxy.bracu.ac.bd:8080/

You can omit the username:password, if your proxy server has no password. That’s all for today! Happy apt-get-ing!

Monday, September 21, 2009

mac address changing in Mac OS X 10.5.7

I have just got a macbook. But, couldn`t configure it to use broadband internet connection. Anyway, it is really easy. Just the ifconfig command. Here is how i changed my physical mac address in macbook ( Mac OSX 10.5.7 ):


sudo ifconfig en0 ether 00:e3:e4:e5:e6:e7 [ note: change your ethernet number , en0/en1 according to your need ]

Happy Hacking!

Monday, August 31, 2009

Install PostgreSql in Fedora

I faced a little bit problem for this in Fedora Core. Why? Cause, i am a "Debian-Aha" user! And, though, the file system architecture of Fedora is little bit different than Debian based system, so, it may results you some problem too.

That`s why i am archiving this procedure here.

1. Install PostgreSQL and the component that allows php to talk to PostgreSQL.
   yum -y install postgresql postgresql-server php-pgsql 


2. Configure the new service to start automatically

/sbin/chkconfig postgresql on
/sbin/service postgresql start

Here, you may face a little bit problem of starting this "postgresql" service!
If you face this problem, you have to initialize the cluster first. You can
do it by the command:

service postgresql initdb

After that, re-run the start process.

Postgresql is set in your Fedora system!


Sunday, August 23, 2009

GPinternet in Ubuntu using usb connector

This is a compiled tutorial. Some of this had been taken from various sections of various tutorials... some parts had been hacked by myself. So, thanks to those hackers from whom i took help ( i cannot remember their name and address... ) .

You have to follow each and ever step just like this. I tried to make this document as simple as possible. So, if you need any more change please feel free to comment.


1. plug in your handset:

2. type: dmesg | grep tty

the output will be something like this:

[22.338771] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[22.339342] 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[22.339938] 0000:01:09.0: ttyS1 at I/O 0xc828 (irq = 21) is a 8250
[22.340199] 0000:01:09.0: ttyS2 at I/O 0xc840 (irq = 21) is a 8250
[22.340377] 0000:01:09.0: ttyS3 at I/O 0xc850 (irq = 21) is a 8250
[38.551796] usb 1-1: pl2303 converter now attached to ttyUSB0

here “ttyUSB0″ is my Modem,in some cases,it can be ttyACM0.

3. sudo wvdialconf /etc/wvdial.conf


it will create a configuration file template based on the USB Device/Handset

4. Type: sudo gedit /etc/wvdial.conf


5. this will come:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","gpinternet"
Modem Type = USB Modem
Baud = 230400
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Phone = *99***1#
Username =xyz
Password =xyz


Here,you should not change username,password and phone number.
Replace "gpinternet" with your APN Replace,apn for teletalk is "wap" on normal connection and gprsunl on unlimited,for AKTEL,its "internet" and I dont know about Banglalink or Warid.For citycell,I'm not sure also,but I think the Init3 = AT+CGDCONT=1,"IP","gpinternet" line should be deleted.
Replace “/dev/ttyUSB0″ with your deivce location that you found in step 2.
Change the Baud to reflect your modem speed,my modem speed here in this file is 215 kbps.For 115 kbps or 430 kbps,it will be 115200 or 460800. Then Save it.

6. type: ifdown eth0

7. finally type in terminal: wvdial

8. now you will get lot of output on console… and hopefully,you'll connect.

Friday, August 21, 2009

Hard drive partition in Deb based distributions

The main challenge for newbie linux user is hard drive partition during installation. Among all linux distribution Debian based distros are famous, specially the Ubuntu one. So, let`s focus our tutorial in Ubuntu.

OS: Ubuntu ( any )
Architecture: x86, AMD [ both 32 and 64 bit ]


Let`s assume that, your hard drive is 200 giga. Now, let`s break it into pieces.

1. You need three ( 3 ) partition at least.
i) root ( / ) partition ii) home ( /home ) partition iii) swap partition

2. Now, insert your ubuntu cd into drive, load your machine with cd

3. Select "Install ubuntu" from grub menu. You will see a menu at the time of loading. You may also select the "Install" option after loading the live cd.

4. Now.... your installation started. Remember, you have to stop when "the partition" section comes. YOU HAVE TO SELECT "MANUALLY PARTITION" FROM THE MENU.

5. Now, let`s break your hard drive.

5.1. Make the first partition. Say 50 giga. This is for "root" partition
Select:
Mount Point: /
Filesystem: ext3
Space: 50 giga
select "bootable"

5.2 Make the second partition: Say 100 giga. This is for "home" partition
Select:
Mount Point: /home
Filesystem: ext3
Space: 100 giga
DO NOT SELECT "bootable" now for this partition


5.3 Make the third partition: 2 giga. This is for your "swap" partition

Select:
Mount Point: swap
Space: 2 giga
DO NOT SELECT "bootable" now for this partition too.

That`s it. I think, you can go for the rest by yourself. Good luck with your new system. And don`t forget to put comments here. :)



About Me

My Photo
Zico
Computer Science student and GNU/Linux lover
View my complete profile