Thursday, June 10, 2010

How to measure packet loss rate, jitter and end-to-end delay ?

Here is the nice script for measuring packet loss rate, jitter and end-to-end delay in the prof. Chih-Heng Ke's website. 

http://140.116.72.80/~smallko/ns2/tool_en.htm

How to measure the throughput, packet drop rate, and end-to-end delay for UDP-based application over wireless networks is given here

http://hpds.ee.ncku.edu.tw/~smallko/ns2/wireless-udp-1.htm

This fellow has a good collection here:

http://lovefei.com/?p=19

BSS vs. IBSS

There are two service sets in IEEE 802.11 standard. The basic service set (BSS) for the infrastructure mode and the Independent Basic Service Set (IBSS) for the ad-hoc mode. 

The BSS is a single access point (AP)  together with all associated stations with the AP. In the infrastructure WLAN , communications can only take place between the AP and the other members of the BSS. 

In the ad hoc networks, all of the stations those are within each other's transmission range is called an IBSS.

Wednesday, June 9, 2010

NS2.31 NAM problem - "[code omitted because of length]"

Problem: While executing NAM in NS2 following error appears. 

nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."

Solution: 

  1. Download  "tk-8.4-lastevent.patch" patch file from http://bugs.gentoo.org/show_bug.cgi?id=225999
  2. Save the file in tk8.4.x floder (remember that there could be tk8.4.14 or tk8.4.18)
  3. Patch the file with this command

                         patch -p1 < ./tk-8.4-lastevent.patch

    4.  install again (with ./install command)

Now it works perfectly. 

(If there is a problem on patching, change -p1 to -p0. )

Installation of Cygwin and NS2 on Windows

The best open source tool for network simulation is NS2. The first step to learn NS2 is to it. Cygwin gives linux like environment on Windows. Here is the step by step procedure how to install NS2:
 
                  http://personals.ac.upc.edu/rzilan/ns/2_NS2InstalCYGWIN.pdf

Some other useful links for NS2.

  1. The Network Simulator: Building Ns, http://www.isi.edu/nsnam/ns/ns-build.html
  2. How to Compile Ns2 on Windows Platform, http://www.isi.edu/nsnam/ns/ns-win32-build.html
  3. Ns Manual, http://www.isi.edu/nsnam/ns/ns-documentation.html
  4. Tutorial for the Network Simulator “ns”, www.isi.edu/nsnam/ns/tutorial/index.html
  5. Tracegraph Program Download Page, http://www.geocities.com/tracegraph/
  6. NS by Example, http://nile.wpi.edu/NS/

Tuesday, June 8, 2010

List of the winners of the FIFA World Cup (2030~now)

1930 Uruguay

1934 Italy

1938 Italy

1950 Uruguay

1954 Germany

1958 Brazil

1962 Brazil

1966 England

1970 Brazil

1974 Germany 

1978 Argentina

1982 Italy

1986 Argentina

1990 Germany 

1994 Brazil

1998 France

2002 Brazil

2006 Italy

Monday, June 7, 2010

EuroSports' Power Rankings of the FIFA World Cup 2010

EuroSports ranked 32 participating countries in the FIFA World Cup 2010
1 (1) - Spain
2 (2) - Netherlands
3 (3) - Brazil
4 (6) - Germany
5 (4) - England
6 (5) - Italy
7 (7) - Argentina
8 (8) - USA
9 (9) - Portugal
10 (10) - Mexico
11 (12) - Ivory Coast
12 (11) - France
13 (13) - Ghana
14 (14) - Chile
15 (15) - Uruguay
16 (16) - Serbia
17 (18) - Paraguay
18 (17) - Australia
19 (19) - South Africa
20 (21) - South Korea
21 (20) - Cameroon
22 (22) - Slovenia
23 (23) - Denmark
24 (24) - Slovakia
25 (25) - Nigeria
26 (26) - Greece
27 (27) - Switzerland
28 (28) - Japan
29 (30) - Honduras
30 (29) - New Zealand
31 (31) - Algeria
32 (32) - North Korea

Saturday, June 5, 2010

Rednex - Cotton Eye Joe (original)




If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

He brought disaster wherever he went
The hearts of the girls was to hell broken sent
They all ran away so nobody would know
And left only men cause of cotton-eye joe

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

(solo)

He brought disaster wherever he went
The hearts of the girls was to hell broken sent
They all ran away so nobody would know
And left only men cause of cotton-eye joe

(solo)

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

(solo)

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?

(solo)

If it hadn't been for cotton-eye joe
I'd been married long time ago
Where did you come from. Where did you go?
Where did you come from cotton-eye joe?


The remix version is here: