That's /etc/network/interfaces. The manpage gives a pretty clear
explanation, and once it's set up correctly in there, debian manages
the rest beautifully =)
probably you'll want something like either of the following:
auto eth0
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
gateway 192.168.1.1
-OR-
auto eth0
iface eth0 inet dhcp
depending on whether you're configuring a static address or with a
dhcp server. (Obviously, you'll have to replace my numbers with your
own address and gateway in case you're using static)
HTH,
Vineet
D-Man (dsh8290@rit.edu) [010628 12:24]:
> On Thu, Jun 28, 2001 at 03:04:55PM -0400, Jenner Almanzar wrote:
> | You're right, what i'm trying to ping out if the default gateway. How can i
> | configure the eth0?
>
> use ifconfig and 'man route' :-).
>
> You need to specify the default gateway for the interface. This can
> be done in the /etc/interfaces file (then 'ifdown eth0 && ifup eth0').
>
> See also 'man interfaces'.
>
> HTH,
> -D
>
> PS. "Unidentified subject" is not a good way to get people's
> attention. "NIC configuration" (or something) would have been
> better.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Attachment:
pgpgK95Ff1Ed4.pgp
Description: PGP signature