At 21:53 8.10.2001, you wrote:
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
I don't think you need more than network(in this case 192.168.0.0)
and define gateway to DSL router. I'm not sure what 'auto eth0' does,
I atleast don't have it with my DSL connection.
An example:
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.254
network 192.168.0.0
gateway 192.168.0.122
DNS entries you put to /etc/resolv.conf
if they aren't put there already during
installation.
On the otherhand, if that DSL router has DHCP server,
you can just install dhcp client and get addresseses from
there too. Provided of course router has such functionality
and it is configured right. And dhcp client is too.
I hope this helps.
Antti
----- Original Message -----
From: "Jean-Paul Smets" <[EMAIL PROTECTED]>
To: "Marcel Figuerola Estrada" <[EMAIL PROTECTED]>;
<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.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Antti
My PGP public key:
http://linux.tola.org/~chicken/antti_pgp.txt
--------------------------
Sex, rags and rock'n roll!
--------------------------