[etherlab-users] Virtual network interface

Florian Pose fp at igh-essen.com
Fri Apr 18 14:13:01 CEST 2008


Hi Claudio,

On Fri, Apr 18, 2008 at 09:53:05AM +0200, Claudio Zunino wrote:
> I'm starting using etherlab 1.3.2 on a linux kernel 2.6.22. No
> problems on building, configuring and running. But I haven't yet
> obtained the virtual network interface that make possible to sniff
> packets using Wireshark. I have specified the two options
> --enable-debug-if and --enable-debug-ring, but I haven't see any
> interface using netstat -i. What steps I have to follow?

Due to the interface not being 'up' by default, 'netstat -i' won't show
it. Try 'netstat -ia' or 'ip link'.

You have to activate the interface with 'ip link set dev ecdbg0m up',
for example.

Please keep in mind that the debug interface won't (yet) work in
realtime context (f. e. RTAI), because the socket buffers are allocated
dynamically). If you want to sniff those packets, you'll have to use a
switch and a second machine, as usual.

BTW the --enable-debug-ring is not needed for the sniffing interface.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list