[etherlab-users] Virtual network interface

Claudio Zunino claudio.zunino at polito.it
Mon Apr 21 10:41:23 CEST 2008


Hi Florian,
thank you very much for your prompt answer. Indeed I'm using an
RTAI modified linux kernel, but I want to try also without the real time
extensions, then your help will be useful.

Thanks again

Claudio

Florian Pose wrote:
> 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.
>
>   

-- 
Claudio Zunino
CNR / IEIIT - Istituto di Elettronica e di Ingegneria
            dell'Informazione e delle Telecomunicazioni
c/o Politecnico di Torino
C.so Duca degli Abruzzi 24
I-10129 Torino (ITALY)
Tel: +39 011 0905421
Fax: +39 011 0905429
mail: claudio.zunino at polito.it




More information about the Etherlab-users mailing list