Re: setting up network
Hi,
I've just installed debian and I don't think any of my peripherals works properly. The first thing I want to do is to get my ethernet card up and running to gain acces to internet. Hope you can help me.
I have a PCI ethernet card (192.168.0.2) connected to a 3com router (192.168.0.122) which gives me DSL acces to internet. They work fine in windows.
>From the answers I've recived so far, I think the trick is the file /etc/network/devices. Here is a listing of it:
#/etc/network/interfaces -- configuration file for ifup (8), ifdown (8)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
I think mine is too simple too work as doesn't contain fundamental data like the dns from my provider. Anyone can correct it or send me a correct one? Thank you.
Marcel
----- Original Message -----
From: "Jean-Paul Smets" <jp@smets.com>
To: "Marcel Figuerola Estrada" <marcel3@tinet.org>; <debian-user@lists.debian.org>
Sent: Monday, October 08, 2001 2:19 PM
Subject: Re: setting up network
> Le Lundi 8 Octobre 2001 14:08, Marcel Figuerola Estrada a écrit :
> > Hello,
> >
> > I've just installed debian, and my question is very simple: just, what I
> > have to configure my network card. This is, set my computer private ip, the
> > gateway, the router ip address and the dns my provider gave me.
> >
> > Thank you!
> >
> > Marcel
>
> You just need to set up the file
>
> /etc/network/interfaces
> ( see man interfaces )
>
> Here is one example (dhcp)
>
> # automatically added when upgrading
> auto lo
> iface lo inet static
> address 127.0.0.1
> netmask 255.0.0.0
> # automatically added when upgrading
> auto eth0
> iface eth0 inet dhcp
>
> The same with static
>
> # automatically added when upgrading
> auto lo
> iface lo inet static
> address 127.0.0.1
> netmask 255.0.0.0
> # automatically added when upgrading
> auto eth0
> iface eth0 inet static
> address 192.168.0.10
> netmask 255.255.255.0
>
> It is also possible to use debconf (forgot how...)
>
> JPS.
Reply to: