-
Notifications
You must be signed in to change notification settings - Fork 140
LiveDVDInstall
The LiveDVD provides an easier method for setting up a new system. It installs Fedora 13, the NetFPGA packages, and the necessary package dependencies. The LiveDVD does not install the CAD tools (eg. Xiliinx ISE, Modelsim) -- these must be done separately after installation of the LiveDVD.
The LiveDVD can be downloaded here: Fedora Core 13 with NetFPGA (A valid wiki account is required to download the DVD. Please register if you don't already have an account.)
- Boot from LiveDVD
- Wait for automatic login or click 'login'
- Click Desktop Icon "Install to Hard Drive"
- Click 'Next'
- Select Language
- Choose the storage devices ("Basic Storage Devices" is usually okay)
- Basic Storage Devices instructions:
- select the hard drive to use
- Enter a host name
- Select Time timezone/nearest city
- Enter root passwd
- Select installation type -- use all space for new installation
- Write changes to disk
- Click 'Close'
- Reboot
- Click 'Forward'
- Click 'Forward'
- Create user -- recommend creating an account 'tutorial'
- Date and time -- recommend sync date and time over network
- Click 'Forward' for NetFPGA Grub update
- Click 'Finish'
- Click 'OK' to reboot
The network interfaces are often ordered incorrectly after installation from the LiveDVD. For systems with a network interface on-board the motherboard and a dual-port PCI Express NIC, we recommend that the ports be ordered as follows:
- eth0: on-board interface
- eth1: PCI Express NIC
- eth2: PCI Express NIC
- Log in as 'tutorial' -- assuming you have an account named tutorial for the tutorial users
- Open terminal window
- Become root: su -
- Edit /etc/udev/rules.d/70-persistent-net.rules The file will look something like the example below -- of importance are the MAC address and name listed for each interface.
Steps to follow only if the names assigned to any of the interfaces is incorrect:
- Change the NAME section on each line to place the interfaces in the correct order.
- Save and exit the editor.
- Migrate to the network-scripts directory: cd /etc/sysconfig/network-scripts
- Edit each of the files corresponding to the interfaces in the 70-persistent-net.rules file above (in this case: ifcfg-eth0, ifcfg-eth1, ifcfg-eth2)
- Each file should contain a line that specifies the hardware address. eg.: HWADDR=00:1A:92:B8:DC:B9 Set the hardware address in each file to the MAC address of the of the network interface to be used.
- Reboot the system
- Download the ISE 10.1 install (http://www.xilinx.com/csi/dlc-tab-10_1.htm)
- Unzip or untar the files
- Obtain License from Xilinx (http://www.xilinx.com/getlicense)
- Run setup
- Make sure to install updates (SP3 and IP3) when asked
- Install PCI32 core license for simulations (http://www.xilinx.com/products/ipcenter/DO-DI-PCI32-SP.htm)
- (Assuming the install path is /cad/xilinx/ise10.1/) Add the following to /etc/profile
- Login as 'tutorial' -- assuming you have an account named tutorial for the tutorial users
- Open terminal window
- Become root: su -
- Disable sshd for root. (SSH logins for root may be a security risk. Enable it only at your own risk):
- Edit /etc/ssh/sshd_config
- Add the line: PermitRootLogin no
- Run visudo and perform the following edits:
- Add Defaults env_delete -= ="PERL5LIB PYTHONPATH"=
- Add Defaults env_keep += ="NF_ROOT NF_DESIGN_DIR"=
- Change Defaults requiretty to Defaults <literal>!</literal> requiretty
- Add tutorial user privileges (assuming the user name is 'tutorial'): tutorial ALL=NOPASSWD: /home/tutorial/netfpga/projects/tutorial_router/sw/tut_router_gui.pl, /home/tutorial/netfpga/projects/tutorial_router/sw/tut_adv_router_gui.pl, /usr/bin/iperf, /home/tutorial/netfpga/lib/scripts/tutorial_setup/tutorial_setup.pl
- Install sample videos into /var/www/html/video
- Exit out of root back to local user
- Run: /usr/local/netfpga/lib/scripts/user_account_setup/user_account_setup.pl
- Run: sudo /usr/local/netfpga/lib/scripts/tutorial_setup/tutorial_setup.pl
- cd into ~/netfpga and Run: make
- Reboot