August 31, 2010

configuration of the testbed

# all the machines should be upgraded to ubuntu 10.04 #

PRE INSTALLATION
----------------
- note down the ip address of the eth0 interface

INSTALLING UBUNTU
-----------------
- use the 10.04 ISO image from the CD
- make sure the Fedora 4 partition is formatted and wiped out
- use the username: lili, password: interference-
    - for instance, if m/c name: ut-mesh-d-14.csres.utexas.edu; then password: interference-d14
                    if m/c name: ut-mesh-14.csres.utexas.edu; then password: interference-14


POST INSTALLATION
-----------------
A. Configuring the network interfaces
- /etc/resolv.conf: create this file if it doesn't exist and use the following entries
search public.utexas.edu
nameserver 128.83.139.9

- /etc/network/interfaces: add the entry

auto eth0
iface eth0 inet static
address
gateway 128.83.141.1
netmask 255.255.255.0
network 128.83.141.0
broadcast 128.83.141.255

- sudo service network-manager stop (kills the network manager service, we don't need it)

- sudo /etc/init.d/networking restart
  - try connecting to the internet, should work!

INSTALLING VIM, SSH and WIRESHARK
---------------------------------
- open the Administration->Synaptic Packet Manager. Click Reload. (updates the package manager). Close the package manager.
- sudo apt-get install ssh
- sudo apt-get install vim
- sudo apt-get install wireshark

ADD RSA key of the host machine to this remote machine
------------------------------------------------------
- generate rsa key on the host machine using
    ssh-keygen -t rsa1
- cat ~/.ssh/ >> ~/.ssh/authorized_keys@remote_machine
- chmod 600 ~/.ssh/authorized_keys@remote_machine

Update the SUDOERS file
-----------------------
- sudo visudo
-
User_Alias FULLTIMERS=lili
lili    ALL=NOPASSWD:ALL
FULLTIMERS ALL = NOPASSWD: ALL
 

Remove ath5k and install madwifi
-------------------------------
http://art.ubuntuforums.org/showthread.php?t=1163380

IMPORTANT
--------
Driver Bug: Do not try to perform channel switch in the master mode; causes a hard freeze (Ref: http://madwifi-project.org/ticket/1903)

No comments:

Post a Comment

Days of our lives

Daisypath Anniversary tickers