OVH Cloud OVH Cloud

eth0

10 réponses
Avatar
xtravaganza
G bo passer par webmin ou netconfig pour attribuée l'adresse 192.168.0.1
à ma carte réseau mais rien à faire au boot elle n'a plus cette
adresse, c'est à dire pas d'adresse du tout.

Merci pour votre aide

PS ma carte est une realtek

10 réponses

Avatar
chunter
Salut,

xtravaganza wrote:
G bo passer par webmin ou netconfig pour attribuée l'adresse 192.168.0.1
à ma carte réseau mais rien à faire au boot elle n'a plus cette
adresse, c'est à dire pas d'adresse du tout.


Edit le fichier/etc/sysconfig/network-scripts/ifcfg-eth0
Pour BOOTPROTO mettre static
Rajouter IPADDR2.168.0.1

Merci pour votre aide


De rien

PS ma carte est une realtek


Bye
Chunter

Avatar
olafkewl
On Tue, 09 Dec 2003 12:51:53 +0100, xtravaganza
wrote:

G bo passer par webmin ou netconfig pour attribuée l'adresse 192.168.0.1
à ma carte réseau mais rien à faire au boot elle n'a plus cette
adresse, c'est à dire pas d'adresse du tout.

Merci pour votre aide

PS ma carte est une realtek



et ta distrib ?

Avatar
xtravaganza
olafkewl wrote:
On Tue, 09 Dec 2003 12:51:53 +0100, xtravaganza
wrote:


G bo passer par webmin ou netconfig pour attribuée l'adresse 192.168.0.1
à ma carte réseau mais rien à faire au boot elle n'a plus cette
adresse, c'est à dire pas d'adresse du tout.

Merci pour votre aide

PS ma carte est une realtek




et ta distrib ?

mdk 9.2



Avatar
xtravaganza
chunter wrote:
Salut,

xtravaganza wrote:

G bo passer par webmin ou netconfig pour attribuée l'adresse
192.168.0.1 à ma carte réseau mais rien à faire au boot elle n'a plus
cette adresse, c'est à dire pas d'adresse du tout.



Edit le fichier/etc/sysconfig/network-scripts/ifcfg-eth0
Pour BOOTPROTO mettre static
Rajouter IPADDR2.168.0.1

Merci pour votre aide



De rien

PS ma carte est une realtek



Bye
Chunter

Malheureusement ca ne fonctionne toujours pas.



Avatar
Jean-Claude(06)
Edites a la main en root, le fichier
/etc/network/interface
Tiens je te donne le mien:
-----------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface OBLIGATOIRE
auto lo
iface lo inet loopback

# L'interface "eth0" connectée au reseau local (IP privée fixe)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

-------------------------------------
Un petit coup de
/etc/init.d/networking restart
pour que les modifs soient prises en compte.

J.C
Avatar
xtravaganza
Jean-Claude(06) wrote:
Edites a la main en root, le fichier
/etc/network/interface
Tiens je te donne le mien:
-----------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface OBLIGATOIRE
auto lo
iface lo inet loopback

# L'interface "eth0" connectée au reseau local (IP privée fixe)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

-------------------------------------
Un petit coup de
/etc/init.d/networking restart
pour que les modifs soient prises en compte.

J.C
Merci, j'essaie ca de suite.

Pour l'histoire, je surfe depuis un moment sans avoir trouvé ta
solution. Comment j'aurais pu savoir??
Merci.

Avatar
xtravaganza
Jean-Claude(06) wrote:
Edites a la main en root, le fichier
/etc/network/interface
Tiens je te donne le mien:
-----------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface OBLIGATOIRE
auto lo
iface lo inet loopback

# L'interface "eth0" connectée au reseau local (IP privée fixe)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

-------------------------------------
Un petit coup de
/etc/init.d/networking restart
pour que les modifs soient prises en compte.

J.C
en fait g bien un fichier network mais qui se trouve

/etc/sysconfig/network mais pas de fichier interface.
Dc j'essaie

Avatar
xtravaganza
Jean-Claude(06) wrote:
Edites a la main en root, le fichier
/etc/network/interface
Tiens je te donne le mien:
-----------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface OBLIGATOIRE
auto lo
iface lo inet loopback

# L'interface "eth0" connectée au reseau local (IP privée fixe)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

-------------------------------------
Un petit coup de
/etc/init.d/networking restart
pour que les modifs soient prises en compte.

J.C
voila le ptit message que je reçois!



etc/init.d/network: line 7: auto: command not found
/etc/init.d/network: line 8: iface: command not found
/etc/init.d/network: line 11: auto: command not found
/etc/init.d/network: line 12: iface: command not found
/etc/init.d/network: line 13: address: command not found
/etc/init.d/network: line 14: netmask: command not found
/etc/init.d/network: line 15: broadcast: command not found
/etc/init.d/network: line 16: gateway: command not found
/etc/init.d/network: line 7: auto: command not found
/etc/init.d/network: line 8: iface: command not found
/etc/init.d/network: line 11: auto: command not found
/etc/init.d/network: line 12: iface: command not found
/etc/init.d/network: line 13: address: command not found
/etc/init.d/network: line 14: netmask: command not found
/etc/init.d/network: line 15: broadcast: command not found
/etc/init.d/network: line 16: gateway: command not found
Arrêt de l'interface eth0 : [ OK ]
Arrêt de l'interface loopback : [ OK ]
/etc/init.d/network: line 7: auto: command not found
/etc/init.d/network: line 8: iface: command not found
/etc/init.d/network: line 11: auto: command not found
/etc/init.d/network: line 12: iface: command not found
/etc/init.d/network: line 13: address: command not found
/etc/init.d/network: line 14: netmask: command not found
/etc/init.d/network: line 15: broadcast: command not found
/etc/init.d/network: line 16: gateway: command not found
Application des paramètres réseau [ OK ]
Démarrage de l'interface loopback : [ OK ]
Activation de l'interface eth0 : [ECHEC ]

Avatar
olafkewl
On Tue, 9 Dec 2003 16:11:39 +0100, Jean-Claude(06)
wrote:


Edites a la main en root, le fichier
/etc/network/interface
Tiens je te donne le mien:
-----------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface OBLIGATOIRE
auto lo
iface lo inet loopback

# L'interface "eth0" connectée au reseau local (IP privée fixe)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

-------------------------------------
Un petit coup de
/etc/init.d/networking restart
pour que les modifs soient prises en compte.

J.C



ce n'est pas uniquement sous Debian ce fichier ?

ne connaissant pas du tout MDK, je ne peux pas plus aider

Avatar
Jean-Claude(06)
Pardon j'avais pas vu Mandrake.
Mille excuses.

Peut etre revenir a ifconfig alors ??
$ man ifconfig et
essayer un truc du genre:

# ifconfig interface eth0 192.168.0.2 netmask 255.255.255.0

J.C