Login or Register to Ask a Question and Join Our Community


help me how to run the linux packet generator


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help me how to run the linux packet generator
# 1  
Old 01-25-2011
help me how to run the linux packet generator

goto google -> search for 'pktgen' -> click on the first link, you will get the setup information from linux foundation site..

i am new to the linux environment. so can anyone help me how to run the pktgen?

the first few lines in these documentation are as follows,
"Enable CONFIG_NET_PKTGEN to compile and build pktgen.o either in kernel
or as module"

can anyone say how to enable CONFIG_NET_PKTGEN ? and how to build pktgen.o ?
# 2  
Old 01-25-2011
Install the kernel sources from your distribution repository, cd /usr/src/linux, and change the .config file accordingly. Then make modules_install.
This User Gave Thanks to pludi For This Post:
# 3  
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:
# 4  
Old 01-25-2011
@pludi,
thanks for your response!

@citaylor,
your explanation was very much useful to me. i have found the object file. it was already present. and i'm goin ahead now.. thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question

Featured Tech Videos