| | 103 | |
| | 104 | == NetFPGA on Ubuntu (11/7) == |
| | 105 | |
| | 106 | Ultimately, the second NetFPGA host was built using Ubuntu 8.04 (kernel 2.6.24-16). To make things neat, user 'netfpga' was created for this process. Make sure the user is added to the sudoers list. |
| | 107 | |
| | 108 | First off, you need an account at netfpga.org to download the .tar files needed to install the netfpga drivers. The files needed are netfpga_base_beta_x_x.tar.gz and netfpga_lib.tar.gz. With an account, they can be downloaded from here: http://netfpga.org/beta/distributions/ |
| | 109 | |
| | 110 | Untar and the files with `tar -xvf <filename>`. They will untar into one directory called ''NF2''. Do not make and install yet - At this point, follow the directions on the [ http://www.netfpga.org/netfpgawiki/index.php/Ubuntu_Compatibility Ubuntu compatibility] page. They ask you to make a few changes on the files located in NF2. A few things to note regarding the directions: |
| | 111 | |
| | 112 | * to edit /boot/grub/menu.lst as per the instructions, use the directions for modifying grub.conf for CentOS, found here: http://www.netfpga.org/netfpgawiki/index.php/Install_Software_1.0#CentOS_Installation_Instructions |
| | 113 | |
| | 114 | * Environmental variables can be added by the command |
| | 115 | {{{ |
| | 116 | /usr/local/NF2/lib/scripts/user_account_setup/user_account_setup.pl |
| | 117 | }}} |
| | 118 | as per the [http://netfpga.org/netfpgawiki/index.php/Guide#Verify_the_software_and_hardware Guide], however you might need to edit the last line of ser_account_setup.pl to point to the exact location of bashrc_addon : |
| | 119 | {{{ |
| | 120 | print "Adding the NetFPGA Enviornment Variables to your .bashrc\n"; |
| | 121 | `cat /home/netfpga/test/NF2/bashrc_addon >> ~/.bashrc\n`; |
| | 122 | }}} |
| | 123 | |
| | 124 | Then you can make and install the drivers. Note, the selftest can't be run in Ubuntu. |
| | 125 | |
| | 126 | |