Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 1998 12:43:24 +0100
From:      Marc van Kempen <marc@bowtie.nl>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan Sm rgrav)
Cc:        marc@bowtie.nl, hackers@FreeBSD.ORG
Subject:   Re: Is it possible to .. 
Message-ID:  <199801261143.MAA28747@bowtie.nl>
In-Reply-To: dag-erli's message of 26 Jan 1998 11:04:59 %2B0100. <xzpg1mbft4k.fsf@gjallarhorn.ifi.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
[snip]

> If what you really meant to ask is "how do I use a network interface
> before it's configured", you can always ifconfig with a bogus address
> (0.0.0.0), enable promiscuous mode, and then use bpf to bypass the
> TCP/IP stack and "roll your own packets". Again, this requires
> knowledge of the underlying hardware protocol. Ethernet should be
> simple enough; read /sys/net/ethernet.h and /sys/net/if_ethersubr.c.
> =

Thank you, that is exactly what I meant.
Ethernet support is all I need.

BTW, how do I enable promiscuous mode?

Marc.


----------------------------------------------------
Marc van Kempen                 BowTie Technology     =

Email: marc@bowtie.nl            WWW & Databases
tel. +31 40 2 43 20 65         =

fax. +31 40 2 44 21 86         http://www.bowtie.nl
----------------------------------------------------






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801261143.MAA28747>