Rechercher : dans
Par :

Pas de ifcfg-eth0

Dernière réponse le 27 oct 2008 à 15:42:20 amamam, le 25 oct 2008 à 13:03:16 
 Signaler ce message aux modérateurs

Bonjour,
pas de fichier ifcfg-eth0 sous
/etc/sysconfig/network-scripts/
ça depend de quoi ?
je veux configurer mon serveur dhcp

Configuration: Windows XP
Internet Explorer 6.0

Meilleures réponses pour « pas de ifcfg eth0 » dans :
Adresse IP statique sous Ubuntu 8.10 VoirUbuntu 8.10 est fourni avec NetworkManager, un gestionnaire de réseau assez agressif qui essaie à tout prix trouver et maintenir une connexion internet. Le but de NetworkManager est de fournir une connexion internet simplifiée. Le problème c'est...
MySQL - Linux - Monitorer le port 3306 VoirPour faire le monitoring du port 3306 sous Linux il suffit d'utiliser la commande : tcpdump -i eth0 -nN -vvv -xX -s 1500 port 3306 Où s représente la longueur du paquet.
Configuration d'un serveur d'un réseau TCP/IP sous Linux VoirIntroduction Dans cette partie , nous allons décrire toutes les étapes nécessaires pour configurer votre réseau TCP/IP sur votre serveur. Tout d'abord, nous verrons les types d'adressage IP, ensuite, nous configurerons vos interfaces réseaux et...

1

jipicy, le 25 oct 2008 à 13:14:04

Salut,

Sous quelle distribution ?
$ man woman
Il n'y a pas de page de manuel pour woman.

Répondre à jipicy

2

amamama, le 25 oct 2008 à 13:14:47

Fedora core 5
Merci !

Répondre à amamama

3

jipicy, le 25 oct 2008 à 13:37:54

Bizarre en effet tu devrais avoir un tel fichier à cet endroit ;-\
Encore faut-il qu'une interface réseau soit activée, est-ce le cas ?

Mais en fait le fichier ifcfg-eth0 c'est pour configurer son adresse IP, pour configurer un serveur DHCP c'est dans /etc/dhcpd.conf. que ça se passe.
$ man woman
Il n'y a pas de page de manuel pour woman.

Répondre à jipicy

4

amamama, le 26 oct 2008 à 20:34:09

Slt,
je ne viens pas à interpreter cet erreur !

#service dhcpd start
[ok]
#service dhcpd status
arrété
#service dhcpd stop
échoué

Répondre à amamama

5

lami20j, le 26 oct 2008 à 20:35:37

Salut,

affiche le résultat de la commande

/sbin/ifconfig -a
106485010510997108

Répondre à lami20j

6

amamama, le 26 oct 2008 à 22:19:09

[root@mon_serveur ~]# /sbin/ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7494 (7.3 KiB) TX bytes:7494 (7.3 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@mon_serveur ~]#

Répondre à amamama

7

lami20j, le 26 oct 2008 à 22:37:03
  • +1

Salut,

Tu n'as pas de eth0 mais sit0
Tu dois chercher ifcfg-sit0 plutôt 106485010510997108

Répondre à lami20j

8

amamama, le 26 oct 2008 à 22:55:26
  • +1

Slt,
Comment je peux le faire ?
merci pour ton aide !

Répondre à amamama

9

lami20j, le 26 oct 2008 à 22:59:10
  • +1

Re,

affiche le résultat de

 ls -l /etc/sysconfig/network-scripts/ 
106485010510997108

Répondre à lami20j

10

amamama, le 26 oct 2008 à 23:25:46
  • +1

[root@mon_serveur ~]# /sbin/ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7494 (7.3 KiB) TX bytes:7494 (7.3 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@mon_serveur ~]#

Répondre à amamama

11

amamama, le 26 oct 2008 à 23:26:56
  • +1

[root@mon_serveur ~]# ls -l /etc/sysc
sysconfig/ sysctl.conf
[root@mon_serveur ~]# ls -l /etc/sysconfig/net
netdump netdump_id_dsa.pub networking/
netdump_id_dsa network network-scripts/
[root@mon_serveur ~]# ls -l /etc/sysconfig/network-scripts/
total 360
-rw-r--r-- 3 root root 302 Oct 16 12:08 ifcfg-etho
-rw-r--r-- 1 root root 254 Jun 20 2001 ifcfg-lo
lrwxrwxrwx 1 root root 20 Oct 13 11:37 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x 1 root root 1026 Jan 23 2001 ifdown-aliases
-rwxr-xr-x 1 root root 623 Jan 19 2005 ifdown-bnep
-rwxr-xr-x 1 root root 3860 May 10 2005 ifdown-eth
-rwxr-xr-x 1 root root 827 Apr 15 2005 ifdown-ippp
-rwxr-xr-x 1 root root 1769 Mar 28 2005 ifdown-ipsec
-rwxr-xr-x 1 root root 4352 Sep 10 2004 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Oct 13 11:37 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root 1235 Feb 1 2005 ifdown-post
-rwxr-xr-x 1 root root 1082 Sep 15 2003 ifdown-ppp
-rwxr-xr-x 1 root root 1568 Nov 12 2002 ifdown-sit
-rwxr-xr-x 1 root root 902 Jun 26 2002 ifdown-sl
lrwxrwxrwx 1 root root 18 Oct 13 11:37 ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 12872 Jun 7 2004 ifup-aliases
-rwxr-xr-x 1 root root 869 Feb 11 2005 ifup-bnep
-rwxr-xr-x 1 root root 9965 May 25 2005 ifup-eth
-rwxr-xr-x 1 root root 11466 Aug 19 2004 ifup-ippp
-rwxr-xr-x 1 root root 8077 Mar 30 2005 ifup-ipsec
-rwxr-xr-x 1 root root 10466 Oct 17 2004 ifup-ipv6
-rwxr-xr-x 1 root root 821 Jun 26 2002 ifup-ipx
lrwxrwxrwx 1 root root 9 Oct 13 11:37 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root 689 Jun 26 2002 ifup-plip
-rwxr-xr-x 1 root root 926 Jun 26 2002 ifup-plusb
-rwxr-xr-x 1 root root 2234 Apr 15 2005 ifup-post
-rwxr-xr-x 1 root root 4219 Apr 25 2005 ifup-ppp
-rwxr-xr-x 1 root root 1299 Apr 18 2005 ifup-routes
-rwxr-xr-x 1 root root 3546 Oct 17 2004 ifup-sit
-rwxr-xr-x 1 root root 1646 Jun 26 2002 ifup-sl
-rwxr-xr-x 1 root root 3307 Apr 15 2005 ifup-wireless
-rwxr-xr-x 1 root root 5432 Jan 12 2005 init.ipv6-global
-rw------- 3 root root 5 Oct 16 12:08 keys-etho
-rw-r--r-- 1 root root 9652 May 10 2005 network-functions
-rw-r--r-- 1 root root 38496 Apr 15 2005 network-functions-ipv6
[root@mon_serveur ~]#

Répondre à amamama

12

lami20j, le 26 oct 2008 à 23:34:20
  • +1

Re,

le fichier existe

-rw-r--r-- 3 root root 302 Oct 16 12:08 ifcfg-etho 

Il faut configurer ton interface
Il s'agit d'un wifi ou ethernet?
Affiche aussi
lspci
106485010510997108

Répondre à lami20j

13

amamama, le 26 oct 2008 à 23:54:31

[root@mon_serveur ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
02:06.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation: Unknown device 1092 (rev 03)
[root@mon_serveur ~]# ls

il s agit d ethernet
Merci bp !

Répondre à amamama

14

lami20j, le 27 oct 2008 à 07:50:32

Salut,


Ok, on avance ;-)
Affiche le résultat de

cat /etc/sysconfig/network-scripts/ifcfg-eth0



106485010510997108

Répondre à lami20j

15

amaaan, le 27 oct 2008 à 09:49:46

Slt !
re
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.4.255
HWADDR=00:B0:D0:EC:F8:68
IPADDR=192.168.4.102
NETMASK=255.255.255.0
NETWORK=192.168.4.0
ONBOOT=yes
TYPE=Ethernet
[root@localhost ~]#


Meeeeerci !

Répondre à amaaan

16

lami20j, le 27 oct 2008 à 10:12:39

Ok,
Je vois que ton interface est en statique.
Pour demarrer ton réseau (à faire en root)

/etc/init.d/network restart
ifconfig -a
Ensuite il me semble que c'est ton serveur dhcp qui pose de problèmes.

Question bête, depuis quel pc tu m'envoie les résultats?!
106485010510997108

Répondre à lami20j

17

amaaan, le 27 oct 2008 à 10:23:19

[root@localhost ~]# /etc/init.d/network restart
Arrêt de l'interface eth0 : [ OK ]
Arrêt de l'interface de loopback : [ OK ]
Désactivation de l'acheminement du paquet IPv4 : net.ipv4.ip_forward = 0
[ OK ]
Activation de l'interface loopback : [ OK ]
Activation de l'interface eth0 : [ OK ]
[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:B0:D0:EC:F8:68
inet adr:192.168.4.102 Bcast:192.168.4.255 Masque:255.255.255.0
adr inet6: fe80::2b0:d0ff:feec:f868/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12087 errors:0 dropped:0 overruns:1 frame:0
TX packets:756 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:1244021 (1.1 MiB) TX bytes:124792 (121.8 KiB)
Interruption:11 Adresse de base:0xec00

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2081 errors:0 dropped:0 overruns:0 frame:0
TX packets:2081 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3254188 (3.1 MiB) TX bytes:3254188 (3.1 MiB)

sit0 Link encap:IPv6-dans-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost ~]#

Répondre à amaaan

18

amamama, le 27 oct 2008 à 10:25:09

Depuis quel pc ? tu veux savoir le SE ? c linux fedora core 5

Répondre à amamama

19

lami20j, le 27 oct 2008 à 10:25:11

Tu n'as pas répondu à la question bête. ;-)) 106485010510997108

Répondre à lami20j

20

amamama, le 27 oct 2008 à 10:26:04

J ai repondus !

Répondre à amamama

21

lami20j, le 27 oct 2008 à 10:26:58

Re,

Non, je parle de pc physique.
Puisque vu que sur le PC dont on viens de redmarerrer le réseau, maintenant tu as eth0 configuré et au début tu ne l'avais pas. http://www.commentcamarche.net/forum/affich 9057230 pas de ifcfg eth0?#6
Pour moi tu n'avais pas accès depuis le PC en question.

Donc, tu as deux pc? 106485010510997108

Répondre à lami20j