lkml.org 
[lkml]   [2001]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pretending a network interface
Gábor Lénárt a écrit :
>
> Hi,
>
> Is it possible somehow for a process to pretending a functional network
> interface? I mean some emulator I develope requires to have network
> capability. On the real machine it will run it has got serial interface
> to connect to PC. But I develope it under Linux first, and I try to
> test it. It would be cool to have something which can be fed by data and
> trasmit it as it come from a network interface. According for example vice,
> it is possible to use a serial port, which is linked to another serial port
> of the same machine. But this is ugly and I haven't got two free serial
> port either.
>
> - Gabor
>
> --
> --[ Gábor Lénárt ]---[ Vivendi Telecom Hungary ]--[ lgb@supervisor.hu ]--
> U have 8 bit comp or chip of them and it's unused or to be sold? Call me!
> -------[ +36 30 2270823 ]------> LGB <-----[ Linux/UNIX/8bit 4ever ]-----
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/

Hi,

I don't really understand what you mean with "a process to pretending a
functional network interface". If you are looking for a way to have
something
that looks like a network interface without real hardware, you should
look at "dummy" module.

On ma machine, I use:

ifconfig dummy0 192.168.1.1 up

to set up such an interface.

Hope this helps
--
Joseph Bueno
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.040 / U:4.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site