Changes between Version 38 and Version 39 of Internal/OpenFlow/HostSetup


Ignore:
Timestamp:
Jun 2, 2010, 8:35:14 PM (14 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/HostSetup

    v38 v39  
    22222. If desktop edition, boot as a live CD and install from there. Trying direct install just results in the system proceeding to live CD Mode (10.04). Server edition can be installed directly w/out issues.   
    2323
    24 === Setup: NetFPGA drivers. ===
     24=== I: Setup - NetFPGA drivers. ===
    2525==== 1. dependencies. ====
    2626There is an updated dependency list:
     
    6262}}}
    6363
     64also check for /sbin/setpci. If it doesn't exist, create another link from /usr/bin/setpci:
     65{{{
     66ln -s /usr/bin/setpci /sbin/setpci
     67}}}
     68
    6469==== 4. Edit files. ====
    6570 * edit "usleep 250" to "sleep 0.00025" in /test_loopback_drop/run.pl
     
    6974Scripts seemed broken, so manually export'd all of them. Specifics of variables pulled from README in base package root directory. 
    7075{{{
    71 export NF_ROOT=/home/test/netfpga (wherever your netfpga base files are)
    72 export NF_DESIGN_DIR="${NF_ROOT}/projects/reference_router" (whatever directory project is in)
    73 export PERL5LIB="${NF_DESIGN_DIR}/lib/Perl5:${NF_ROOT}/lib/Perl5:${PERL5LIB}" (from ${NF_ROOT}/bin/nf_profile)
     76export NF_ROOT=/home/test/netfpga  #(wherever your netfpga base files are)
     77export NF_DESIGN_DIR="${NF_ROOT}/projects/reference_router"  #(whatever directory project is in)
     78export PERL5LIB="${NF_DESIGN_DIR}/lib/Perl5:${NF_ROOT}/lib/Perl5:${PERL5LIB}"  #(from ${NF_ROOT}/bin/nf_profile)
    7479}}}
    7580
     
    114119          Interrupt:16
    115120}}}
     121
     122==== 7. modifications for the cpci reprogrammer ====
     123In Debian, the command `lspci` is located under /usr/bin/, and `ifconfig` under /sbin/. cpci_reprogram.pl must reflect these differences. Edit lines 24 and 25 in the file (under /usr/local/sbin, and ./netfpga/lib/scripts/cpci_reprogram/) as such:
     124{{{
     125# System binaries
     126my $lspci = '/usr/bin/lspci';
     127my $ifconfig = '/sbin/ifconfig';
     128}}}   
     129
     130Then add cpci_reprogram.pl to the startup routine. Add the following to /etc/rc.local:
     131{{{
     132/home/test/netfpga/lib/scripts/cpci_reprogram/cpci_reprogram.pl --all
     133}}}
     134
     135The selftest ''does not'' work in Ubuntu. so don't try it.
     136
     137=== II: Setup - !OpenFlow components. ===
     138The !OpenFlow wiki on CentOS NetFPGA setup were followed in conjunction with the netfpga site wiki for the Tunneling OpenFlow NetFPGA. Stes are reiterated here since nothing is permanent.
     139
     140==== 1. dependencies. ====
     141 * autoconf
     142 * libtool
     143 * pkg-config
     144 * linux-source-2.6.32
     145 * git-core
     146 * automake
     147 * m4
     148
     149
     150 
     151 
    116152[[BR]]
    117153[[BR]]