Sponsored Content
Top Forums UNIX for Dummies Questions & Answers help me how to run the linux packet generator Post 302490548 by citaylor on Tuesday 25th of January 2011 04:49:39 AM
Old 01-25-2011
These are kernel compilation options. I would check to see if your kernel has this module already compiled up first. Try:
Code:
cd /lib/modules/`uname -r`
find . -name "pktgen.*o" -print

If this finds the compiled module, then you have it already and can move onto the next step, ie installing the module into running memory and configuring and using it.
If it doesn't find this object file, then you will need to download your kernel sources (this is different on different distro's so if you can detail what distro you have, we can help you with this), and recompile the kernel with the necessary options...probably
best to read something like this to get you started.

I hope this helps...
This User Gave Thanks to citaylor For This Post:
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Run Linux from CD

Does anyone know of any good links, or have any knowledge of how to run Linux from a CD. If at all possible I would like to install Mandrake 8.1 onto a CD and run it strickly from the CD. If anyone can help I would greatly appreciate it. Thanks Gregg (3 Replies)
Discussion started by: gdboling
3 Replies

2. Linux

Games that run on Linux too.. list.

I am interested in creating a list that consists of the popular games that run on Linux with atleast moderate performance ;) Please post the list of games that you know. Tips/Links on tweaking some games to run, may also be shared :) Here is a list ripped from http://www.frankscorner.org :D... (2 Replies)
Discussion started by: RipClaw
2 Replies

3. Linux

run MySQL on linux

Hi all, I want to know that how can we Install and Configure MySQL Server on LINUX.And how can we Use it after installation.As MySQL is also came with the Linux installer but i don't know how to Configure it and Use it.Thanks in advance Regards, Amanpreet Singh (1 Reply)
Discussion started by: aman_mlt
1 Replies

4. UNIX and Linux Applications

how to run autocad in linux

i have open suse 10.3 and i want to run autocad and 3dsmax in it (1 Reply)
Discussion started by: abu_malek
1 Replies

5. UNIX for Dummies Questions & Answers

[Linux] How Do I Run Until Segfault

Hello, sorry if this has been posted before but i was wondering if there is a way to run a program until a segmentation fault is found. Currently i'm using a simple shell script which runs my program 100 times, sleeps 1 second because srand(time(0)) is dependent on seconds. Is there a possible... (1 Reply)
Discussion started by: aslambilal
1 Replies

6. Cybersecurity

Linux Universal Packet/Ham Radio Backdoor - root!

Tails (LiveCD) is crap, and I'm being nice here. Bloated, contains HAMRADIO and PACKET RADIO modules which no one in their right mind would use on a distro aimed at Tor use, I don't even believe 1% of Linux users use them, yet they're generated right there in the directories. Google about ham radio... (0 Replies)
Discussion started by: chipinmybrain
0 Replies

7. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies

8. Windows & DOS: Issues & Discussions

Run Linux command from windows

hi i downloaded nic demo application from nic.comuf.com. working fine ,but when i run batch script ,always display splash screen maybe 10 sec. how can i remove splash screen when run batch script.? thanks z (2 Replies)
Discussion started by: zoldkovacs
2 Replies

9. Debian

Linux Changing Run Levels

Hi this is my first thread. I use KDE and Gnome on Debian. I configured inittab like what it should be. But when i have an inittab file i can't see anything when i run who -r command. This is the result of who -r without /etc/inittab hwpplayer1@build3:~$ who -r açılış-seviyesi 5... (4 Replies)
Discussion started by: hwpplayer1
4 Replies
KLD(4)                                                     BSD Kernel Interfaces Manual                                                     KLD(4)

NAME
kld -- dynamic kernel linker facility DESCRIPTION
The LKM (Loadable Kernel Modules) facility has been deprecated in FreeBSD 3.0 and above in favor of the kld interface. This interface, like its predecessor, allows the system administrator to dynamically add and remove functionality from a running system. This ability also helps software developers to develop new parts of the kernel without constantly rebooting to test their changes. Various types of modules can be loaded into the system. There are several defined module types, listed below, which can be added to the sys- tem in a predefined way. In addition, there is a generic type, for which the module itself handles loading and unloading. The FreeBSD system makes extensive use of loadable kernel modules, and provides loadable versions of most file systems, the NFS client and server, all the screen-savers, and the iBCS2 and Linux emulators. kld modules are placed by default in the /boot/kernel directory along with their matching kernel. The kld interface is used through the kldload(8), kldunload(8) and kldstat(8) programs. The kldload(8) program can load either a.out(5) or ELF formatted loadable modules. The kldunload(8) program unloads any given loaded module, if no other module is dependent upon the given module. The kldstat(8) program is used to check the status of the modules currently loaded into the system. Kernel modules may only be loaded or unloaded if the system security level kern.securelevel is less than one. MODULE TYPES
Device Driver modules New block and character device drivers may be loaded into the system with kld. Device nodes for the loaded drivers are automatically created when a module is loaded and destroyed when it is unloaded by devfs(5). You can specify userland programs that will run when new devices become available as a result of loading modules, or existing devices go away when modules are unloaded, by configuring devd(8). FILES
/boot/kernel directory containing module binaries built for the kernel also residing in the directory. /usr/include/sys/module.h file containing definitions required to compile a kld module /usr/share/examples/kld example source code implementing a sample kld module SEE ALSO
kldfind(2), kldfirstmod(2), kldload(2), kldnext(2), kldstat(2), kldunload(2), devfs(5), devd(8), kldload(8), kldstat(8), kldunload(8), sysctl(8) HISTORY
The kld facility appeared in FreeBSD 3.0 and was designed as a replacement for the lkm facility, which was similar in functionality to the loadable kernel modules facility provided by SunOS 4.1.3. AUTHORS
The kld facility was originally implemented by Doug Rabson <dfr@FreeBSD.org>. BUGS
If a module B, is dependent on another module A, but is not compiled with module A as a dependency, then kldload(8) fails to load module B, even if module A is already present in the system. If multiple modules are dependent on module A, and are compiled with module A as a dependency, then kldload(8) loads an instance of module A when any of the modules are loaded. If a custom entry point is used for a module, and the module is compiled as an 'ELF' binary, then kldload(8) fails to execute the entry point. kldload(8) returns the cryptic message 'ENOEXEC (Exec format error)' for any error encountered while loading a module. When system internal interfaces change, old modules often cannot detect this, and such modules when loaded will often cause crashes or myste- rious failures. BSD November 8, 1998 BSD
All times are GMT -4. The time now is 07:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy