how to compile kernel with options NETGRAPH ?

Julian Elischer julian at elischer.org
Sat Mar 20 00:17:02 PST 2004


On Sat, 20 Mar 2004, [iso-8859-1] manish gautam wrote:

> how can i compile my kernel with netgraph 
> 
> Actually i want to attach my own created node to the
> existed ether node. so for that i need ether node.
> 
> For that i need to compile my kernel with optins
> NETGRAPH.
> 
> plz explain elaborately. Reply asap

Add some of the following options to your kernel config file:
julian at jules:grep NETG /sys/conf/options
# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
NETGRAPH
NETGRAPH_ASYNC          opt_netgraph.h
NETGRAPH_ATMLLC         opt_netgraph.h
NETGRAPH_BPF            opt_netgraph.h
NETGRAPH_BRIDGE         opt_netgraph.h
NETGRAPH_CISCO          opt_netgraph.h
NETGRAPH_ECHO           opt_netgraph.h
NETGRAPH_ETHER          opt_netgraph.h
NETGRAPH_FRAME_RELAY    opt_netgraph.h
NETGRAPH_GIF            opt_netgraph.h
NETGRAPH_GIF_DEMUX      opt_netgraph.h
NETGRAPH_HOLE           opt_netgraph.h
NETGRAPH_IFACE          opt_netgraph.h
NETGRAPH_IP_INPUT       opt_netgraph.h
NETGRAPH_KSOCKET        opt_netgraph.h
NETGRAPH_L2TP           opt_netgraph.h
NETGRAPH_LMI            opt_netgraph.h
NETGRAPH_MPPC_COMPRESSION       opt_netgraph.h
NETGRAPH_MPPC_ENCRYPTION        opt_netgraph.h
NETGRAPH_ONE2MANY       opt_netgraph.h
NETGRAPH_PPP            opt_netgraph.h
NETGRAPH_PPPOE          opt_netgraph.h
NETGRAPH_PPTPGRE        opt_netgraph.h
NETGRAPH_RFC1490        opt_netgraph.h
NETGRAPH_SOCKET         opt_netgraph.h
NETGRAPH_SPLIT          opt_netgraph.h
NETGRAPH_TEE            opt_netgraph.h
NETGRAPH_TTY            opt_netgraph.h
NETGRAPH_UI             opt_netgraph.h
NETGRAPH_VJC            opt_netgraph.h
NETGRAPH_ATM_ATMPIF     opt_netgraph.h

or  
kldload netgraph
kldload ng_ether
kldload "mymodule"


> 
> Best regards
> 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
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 



More information about the freebsd-net mailing list