public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pretending a network interface
@ 2001-01-10  9:33 Gábor Lénárt
  2001-01-10 10:38 ` Joseph Bueno
  0 siblings, 1 reply; 2+ messages in thread
From: Gábor Lénárt @ 2001-01-10  9:33 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pretending a network interface
  2001-01-10  9:33 pretending a network interface Gábor Lénárt
@ 2001-01-10 10:38 ` Joseph Bueno
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Bueno @ 2001-01-10 10:38 UTC (permalink / raw)
  To: Gábor Lénárt; +Cc: linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-10 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10  9:33 pretending a network interface Gábor Lénárt
2001-01-10 10:38 ` Joseph Bueno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox