Free Mind a écrit :
Il manque "auto eth0" dans /etc/network/interfaces en dessus de "iface eth0...."h
 et gateway doit être l'adresse de ta freebox (ou du
router...)  J'ai un doute que cette adresse soit bonne dans ta config.

Si, c'est la bonne adresse de la Freebox : 192.168.0.254
J'ai reconfiguré eth0 comme indiqué ci-dessous, maintenant cela fonctionne.

Merci pour votre aide.
Jean Michel


Les étapes de vérification seraient:

1) ifconfig -a et vérifier
a) est-ce que eth0 apparait?
b) si oui, y a-t-il bien un IP dessus?

2) ping localhost

3) ping 192.168.0.2 <http://192.168.0.2>

4) ping 192.168.0._  <--- selon l'adresse du gateway ou router...

5) ping IP_DE_TON_DNS

6) ping www.yahoo.com <http://www.yahoo.com> <-- ou autre...
si probleme ici seulement, vérifier le fichier /etc/resolv.conf


Pour redémarrer complèment le réseau sur ta machine:

/etc/init.d/networking restart

Pour reconfigurer ton interface:

ifdown eth0  <--- détruit l'interface

tu édites ton /etc/network/interfaces avec ton éditeur préféré...

ifup eth0 <--- remonte l'interface

(en root évidément ou avec sudo en avant des commandes)


On 4/14/06, *Ludo* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Est-ce qu'un ping sur l'adresse 212.27.54.252 <http://212.27.54.252>
    (le DNS) fonctionne?

    Si ce n'est pas le cas, mais que l'interface eth0 est bien montée,
    peut-être vérifier par où sortent les paquets avec la commande:
    # route -n
    la réponse devrait ressembler à ceci:
    ---
    Destination     Passerelle      Genmask         Indic Metric
    Ref    Use Iface
192.168.0.2 <http://192.168.0.2> 0.0.0.0 <http://0.0.0.0> 255.255.255.0 <http://255.255.255.0> U 0 0 0 eth0
    0.0.0.0 <http://0.0.0.0>         192.168.0.254
<http://192.168.0.254> 0.0.0.0 <http://0.0.0.0> UG 0 0 0 eth0
    ---



    On 4/14/06, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
     > Selon Ludo <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
     >
     > > Salut,
     > >
     > > As-tu essayé la commande:
     > > # ifconfig
     >
     > Oui, c'est bien eht0.
     >
     > > Elle permet de voir quelles interfaces sont montées...
     > > Si la "eth0" n'y est pas, tu peux essayer de rajouter
     > > la ligne
     > > ---
     > > auto eth0
     > > ---
     > > dans le fichier "/etc/network/interface" pour la monter
    automatiquement
     > > au démarrage ou essayer:
     > > # /etc/init.d/networking restart
     > > pour relancer manuellement.
     > >
     > > Si l'interface eth0 est déjà montée, peut-être est-ce un
    problème de DNS,
     > > est-ce l'envoi d'un ping sur une ip connue (locale ou internet)
    fonctionne?
     >
     > Non, j'ai fait un ping free.fr <http://free.fr> : unknow free.fr
    <http://free.fr>
     > Les ping ping locaux donnent le même résultat, et une connection
    ssh me dit que
     > le port 22 est fermé.
     >
     > >
     > >
     > > On 4/14/06, Jean Michel Misségue-Delmas <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
     > > > Bonjour,
     > > >
     > > > Petit souci de réseau.
     > > >
     > > > J'ai un petit réseau de deux postes qui fonctionnait sans
    problème
     > > > jusqu'à hier. Il se compose d'un fixe (Kubuntu breezy) et
    d'un portable
     > > > (kubuntu Dapper), chacun derrière une Freebox, et ont chacun
    une IP
     > > > fixe. Hier j'ai voulu connecter le portable sur un autre
    réseau, qui lui
     > > > est en dhpc. J'ai donc modifé ma conf pour avoir une IP
    attribué par le
     > > > serveur dhcp.
     > > > De retour chez moi, j'ai  remis ma conf d'origine, mais plus de
     > > > connection internet, et donc plus LAN.
     > > >
     > > > Voici mon /etc/network/interface
     > > >
     > > > # This file describes the network interfaces available on
    your system
     > > > # and how to activate them. For more information, see
    interfaces(5).
     > > >
     > > > # The loopback network interface
     > > > auto lo
     > > > iface lo inet loopback
     > > >
     > > > # This is a list of hotpluggable network interfaces.
     > > > # They will be activated automatically by the hotplug subsystem.
     > > > mapping hotplug
     > > >          script grep
     > > >          map eth0
     > > >
     > > > # The primary network interface
     > > > iface eth0 inet static
     > > >          address 192.168.0.2 <http://192.168.0.2>
     > > >          netmask 255.255.255.0 <http://255.255.255.0>
     > > >          network 192.168.0.0 <http://192.168.0.0>
     > > >          broadcast 192.168.0.255 <http://192.168.0.255>
     > > >          gateway 192.168.0.254 <http://192.168.0.254>
     > > >          # dns-* options are implemented by the resolvconf
    package, if
     > > > installed
     > > >          dns-nameservers 212.27.54.252 <http://212.27.54.252>
     > > >
     > > > Si vous avez une idée svp?
     > > > --
     > > > Jean Michel
     > > > Ne restez plus enfermés derrière vos fenêtres, ouvrez les, et
    entrez
     > > > dans le monde libre, choisissez GNU/Linux et les logiciels
    libres,.
     > > > Allez visiter ce site http://logiciellibre.free.fr/
     > > > et venez nous rejoindre : http://abul.org
     > > >
     > > > --
     > > > ubuntu-fr mailing list
     > > > ubuntu-fr@lists.ubuntu.com <mailto:ubuntu-fr@lists.ubuntu.com>
     > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
     > > >
     > >
     > >
     > > --
     > > Cordialement,
     > > Ludo
     > > http://ludomatic.com
     > >
     > > --
     > > ubuntu-fr mailing list
     > > ubuntu-fr@lists.ubuntu.com <mailto:ubuntu-fr@lists.ubuntu.com>
     > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
     > >
     >
     >
     >


    --
    Cordialement,
    Ludo
    http://ludomatic.com

    --
    ubuntu-fr mailing list
    ubuntu-fr@lists.ubuntu.com <mailto:ubuntu-fr@lists.ubuntu.com>
    https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr




--
Ne restez plus enfermés derrière votre fenêtre, ouvrez la en utilisant les Logiciels Libres.
Allez voir ce site : http://logiciellibre.free.fr/index2.html
Ensuite venez nous rejoindre : http://abul.org
Profitez de l'encyclopédie libre : http://fr.wikipedia.org/wiki/Accueil

--
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Répondre à