ICE 1332 – Mobile Computing Class

Summer 2008, Information and Communications University, Korea

Week 7 (Lab #1): How to make change in ns-2

Posted by mobicomclass on July 24, 2008

1. Lab guide: 08s_week07_1_lab_tcp11

2. Files:

Posted in 2. NS2 Lab Guide | Leave a Comment »

Week 7 (Class 1 & 2): TCP in Mobile Networks

Posted by mobicomclass on July 24, 2008

Lecture notes: 08s_week07_1_tcp-mobile1

Posted in 1. Lecture Notes | Tagged: | 1 Comment »

Week 6 (Extra Lab Guide #8): GNU Radio & USRP – A Quick Tutorial

Posted by mobicomclass on July 22, 2008

1. Lab guide:

2. References:

Posted in 2. NS2 Lab Guide, 3. Class Projects | Leave a Comment »

Week 6 (Lab #8): MANET Simulation

Posted by mobicomclass on July 22, 2008

1. Lab guide: 08s_week06_2_lab_manet1

2. Files:

2. References:

Posted in Uncategorized | Leave a Comment »

Week 6 (Class 2): TCP in Fixed Networks

Posted by mobicomclass on July 22, 2008

1. Lecture note: 08s_week06_2_tcp-fixed

2. References:

Posted in Uncategorized | Leave a Comment »

Building GNU Radio (Fedora)

Posted by mobicomclass on July 21, 2008

[Modified from the article: http://gnuradio.org/trac/wiki/BuildGuide]

1. Prerequisites:

Run the flowing comments to install necessary packages for building GNU Radio:

$ yum groupinstall "Engineering and Scientific" "Development Tools"
$ yum install fftw-devel cppunit-devel wxPython-devel libusb-devel guile boost-devel alsa-lib-devel numpy

2. Build and install GNU Radio:

Checkout and download the latest stable release code:

$ svn co http://gnuradio.org/svn/gnuradio/branches/releases/3.1 gnuradio

or checkout the latest code from the development trunk, enter this on the command line:

$ svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio

In general, if you are developing GNU Radio applications which need to depend on the stability of the features and API of GNU Radio components, it is recommended that you use the 3.1 stable release series.

This page assumes that you are building from code checked out from our subversion repository. If you’re building from a release tarball, do not perform the ./bootstrap step.

First, ensure that you’ve fulfilled the dependencies specified in the top-level README. Most GNU/Linux systems come with our dependencies already packaged. You may need to install them off of your install CD/DVD or over the net. See below for Operating System specific notes.

To compile, there are 5 steps. Start by cd’ing to the gnuradio directory, then complete the following commands:

$ ./bootstrap         # Do NOT perform this step if you are building from a tarball.
$ ./configure
$ make
$ make check
$ sudo make install

This will perform all configuration checks and select for build, test, and installation all components that pass.

3. USRP

To build the firmware for the microcontroller on the USRP, you also need the Small Device C Compiler. On Fedora Core 6 and later sdcc is available from the repository, and can therefore be installed by running:

$ yum install sdcc

Some of the names of the binaries in sdcc are very generic, and they have therefore been moved to /usr/libexec/sdcc on Fedora, and symlinks prefixed with sdcc- have been created in /usr/bin. This might be a problem for existing programs, but the solution is simply to add /usr/libexec/sdcc to your PATH before building GNU Radio:

$ export PATH=/usr/libexec/sdcc:$PATH

On earlier versions of Fedora you have to download the Small Device C Compiler, build and install yourself.

4. Python

The default install path for GNU Radio is /usr/local, but this is not part of the default Python module search path. The easiest way to that is to add this to ~/.bashrc or in the personal initialization file for your favourite shell.

Example: (*Note: you have to check your own python version)

export PYTHONPATH=/usr/local/lib/python2.4/site-packages

5. Test USRP application

Turn on the power and connect USRP board to PC by using USB cable.

Run one of USRP application to check whether it works properly or not.

Usually the examples are located at: ~/gnuradio-examples/python/usrp

For example, if you run ./usrp_wfm_rcv.py -f 96.3 then you should see the following screen and hear the sound from radio FM station.

Posted in 3. Class Projects | Leave a Comment »

Week 6 (Lab #7): Mobile IP in ns-2

Posted by mobicomclass on July 18, 2008

1. Lab guide:

2. Files:

3. References:

  • ns-2 manual: Chap. 16 for Mobile IP and MANET routing

Posted in 2. NS2 Lab Guide | Tagged: , | Leave a Comment »

Week 6 (Class 1): Mobile Ad-Hoc Networks (MANET)

Posted by mobicomclass on July 18, 2008

1. Lecture note: 08s_week06_1_manet

2. References:

  • Textbook: J. Schiller, Section 7.3 for 802.11 management and Chapter 8 for Mobile IP and MANET routing
  • Paper: D. B. Johnson and D. A. Maltz, “Dynamic Source Routing in Ad Hoc Wireless Networks,” Mobile Computing, edited by T. Imielinski and H. F. Korth, Kluwer Academic Publishers, 1996

Posted in Uncategorized | Tagged: , , | Leave a Comment »

Week 5 (Lab #6): Understanding ns-2 implementation

Posted by mobicomclass on July 15, 2008

1. Lab guide: 08s_week05_2_lab_ns2

2. Files: rate.tcl

Posted in 2. NS2 Lab Guide | 1 Comment »

Week 5 (Class 1 & 2): Mobile IP

Posted by mobicomclass on July 12, 2008

1. Lecture note: 08s_week05_mip

2. References

  • Reading: J. Schiller, “Mobile network layer,” Chapter 8.1~8.2

Posted in 1. Lecture Notes | Tagged: | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.