Problem in Netgraph ( TESTING OF MY NODE )

2004-03-21 Thread manish gautam
Ist problem
=

i hav created my own node named m .and using
commands

kldload netgraph
kldload ng_ether
kldload ng_m

i also create an ether node and then i attach my m
node to ether node using 

ngctl mkpeer ed0: m upper right

 after that on command ::--

ngctl msg my_m: getstats  ( my_m is name of peer to
ether i.e my node )

result is as foolows ::--

Rec'd response getstats (1) from my_m::
Args:  { right={inOctets=3508 inFrames=54 }
left={outOctets=3508 outFrames=54 } }

Does that mean my node is working... YES or  NO?
If yes , is every packet coming through ethernet card
pass through my node.
If no, how do I check it and made every packet pass
through my own node.

IInd problem


Its a silly problem , i hav downloaded ethereal
packages named

tethereal.tar.gz
tethereal-0.9.10.tar

How can I install ethereal on my machine using above
said packages,? do i need more packages ?

Reply as soon as possible

Rgds
Manish Gautam 



Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with netgraph

2004-02-04 Thread niraj kumar

1. when i use printf statement to print my own string with the message in  nge_rcvdata 
function in ng_echo.c i face the problem thatobject code has not changed. and when i 
use ngctl write command with the -f filename option it just print the file contents . 
what is the proper procedure to add your own message which is written in the ng_echo.c 
file when i use ngctl write command and where the data is stored. 2. where i can find 
more about the netgraph  the man page help is not enough for the beginner  
 niraj


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem in netgraph

2004-02-03 Thread niraj kumar

1. when i use printf statement to print my own string with the message in  nge_rcvdata 
function in ng_echo.c i face the problem thatobject code has not changed. and when i 
use ngctl write command with the -f filename option it just print the file contents . 
what is the proper procedure to add your own message which is written in the ng_echo.c 
file when i use ngctl write command and where the data is stored. 2. where i can find 
more about the netgraph  the man page help is not enough for the beginner
thanks for ur help   

   niraj


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with netgraph

2004-02-01 Thread niraj kumar
1. when in compile the kernel with options NETGRAPH and after that when i see the 
nodes withngctl  list  it doesn't show the ethernet interface in the node list . i 
am the beginner in this field  
 
2. i want to insert a module between the ng_ether lower node and the upper node . 
where i can more on this .

Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]