Network Diagnostic Tool (NDT) On Ubuntu 7.10 Server - Page 2
Download NDT, the web100 patch, userland and new kernel sourcesIssue the following commands to obtain everything that you will need for a successful build. cd /usr/src
Patch and compile the kernel with the web100 patchThere is an excellent guide here in regards to compiling the kernel. I have a quick walkthrough below though that should suffice. The first step is to extract your new kernel. Issue the following command: tar xjf linux-2.6.23.tar.bz2 Now we are going to create a symliynk for the newly extracted kernel. ln -s linux-2.6.23 linux Move into the kernel directory with this command. cd /usr/src/linux Now it is time to extract the patch. This method is probably not as clean as it could be, since you will be extracting it and re-compressing it into the BZ2 format. It was the only way I could get the patching process to run cleanly. Issue the following commands to extract and re-compress the patch file. tar -xvzf /usr/src/web100-2.5.18-200711151130.tar.gz Before you jump right in and run a patch, it is always a good idea to perform a dry run to make sure that everything appears okay. The following command should return a successful output. bzip2 -dc /usr/src/linux/web100/web100-2.6.23-2.5.18-200711151130.patch.bz2 | patch -p1 --dry-run The output should be similar to what is shown below: patching file Makefile If there are no errors, then it is safe to proceed. Patch the kernel with the following command: bzip2 -dc /usr/src/linux/web100/web100-2.6.23-2.5.18-200711151130.patch.bz2 | patch -p1 Now copy your existing configuration with this command: cp /boot/config-`uname -r` ./.config Now you need to activate the web100 patch before recompiling the kernel. make menuconfig You are looking for a section titled "IP: Web100 networking enhancements (NEW) --->" in the menu configuration. It can be found under: networking networking options Follow the screen shots below if you are having problems. ![]() ![]()
![]() Now if you chose "exit" four times, you should be prompted to save your new kernel - Do so. ![]() Issue the following command to not only compile your new kernel, but to also create .deb packages that you can use to install the web100 patched kernel on other Ubuntu systems (or keep as backups), so you can skip this step the next time. make-kpkg clean This process will take a long time (it could and probably will take several hours), so now is a good time to go get a cup of coffee, read a book or to walk the dog. Okay, so the wait is over... Let's make sure that our files are there. Run the following two commands: cd /usr/src You should see two files named: linux-headers-2.6.23-web100-web100_2.6.23-web100-web100-10.00.Custom_i386.deb linux-image-2.6.23-web100-web100_2.6.23-web100-web100-10.00.Custom_i386.deb If you see them, then it is time to go ahead and install them. Issue the following commands: dpkg -i linux-image-2.6.23-web100-web100_2.6.23-web100-web100-10.00.Custom_i386.deb Once the process has completed, you need to reboot your server to make the new kernel active. shutdown -r now Once the system has rebooted, make sure that your new kernel is operational. uname -r That should return output such as this: 2.6.23-web100-web100
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com









print: 
Recent comments
20 hours 6 min ago
21 hours 34 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 10 hours ago