Changes between Version 38 and Version 39 of Internal/OpenFlow/HostSetup
- Timestamp:
- Jun 2, 2010, 8:35:14 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/HostSetup
v38 v39 22 22 2. 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. 23 23 24 === Setup:NetFPGA drivers. ===24 === I: Setup - NetFPGA drivers. === 25 25 ==== 1. dependencies. ==== 26 26 There is an updated dependency list: … … 62 62 }}} 63 63 64 also check for /sbin/setpci. If it doesn't exist, create another link from /usr/bin/setpci: 65 {{{ 66 ln -s /usr/bin/setpci /sbin/setpci 67 }}} 68 64 69 ==== 4. Edit files. ==== 65 70 * edit "usleep 250" to "sleep 0.00025" in /test_loopback_drop/run.pl … … 69 74 Scripts seemed broken, so manually export'd all of them. Specifics of variables pulled from README in base package root directory. 70 75 {{{ 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)76 export NF_ROOT=/home/test/netfpga #(wherever your netfpga base files are) 77 export NF_DESIGN_DIR="${NF_ROOT}/projects/reference_router" #(whatever directory project is in) 78 export PERL5LIB="${NF_DESIGN_DIR}/lib/Perl5:${NF_ROOT}/lib/Perl5:${PERL5LIB}" #(from ${NF_ROOT}/bin/nf_profile) 74 79 }}} 75 80 … … 114 119 Interrupt:16 115 120 }}} 121 122 ==== 7. modifications for the cpci reprogrammer ==== 123 In 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 126 my $lspci = '/usr/bin/lspci'; 127 my $ifconfig = '/sbin/ifconfig'; 128 }}} 129 130 Then 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 135 The selftest ''does not'' work in Ubuntu. so don't try it. 136 137 === II: Setup - !OpenFlow components. === 138 The !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 116 152 [[BR]] 117 153 [[BR]]