Ben il faut le remplir.
Par exemple si tu es chez Free, c'est :
Par exemple si tu es chez Free, c'est :
nameserver 212.27.40.240
nameserver 212.27.40.241
nameserver 212.27.40.240
nameserver 212.27.40.241
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:4D:44:DB:50
inet adr:192.168.1.40 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::21a:4dff:fe44:db50/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:205 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:14860 (14.5 KiB) TX bytes:16644 (16.2 KiB)
Interruption:17 Adresse de base:0x6000
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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:800 (800.0 b) TX bytes:800 (800.0 b)
[root@localhost ~]# service network status
Périphériques configurés :
lo eth0
Périphériques actuellement actifs :
lo eth0
[root@localhost ~]# service NetworkManager status
NetworkManager (pid 2260) en cours d'exécution...
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
HWADDR=00:1a:4d:44:db:50
ONBOOT=yes
BOOTPROTO=none
USERCTL=yes
IPV6INIT=no
NM_CONTROLLED=no
TYPE=Ethernet
PEERDNS=yes
NETMASK=255.255.255.0
IPADDR=192.168.1.40
GATEWAY=192.168.1.1
[root@localhost ~]#
Pour ce qui est de ma remarque sur l'utilisation de root, je me suis peut être avancé trop vite, car en root je n'y arrive plus.Tu dis que tu n'utilises pas NetworkManager. Il semble que oui apparemment ![root@localhost ~]# service NetworkManager status
NetworkManager (pid 2260) en cours d'exécution.
NetworkManager 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
network 0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
Le truc que je pige pas, c'est que je réussi a faire un ping avec une url dans ma console, mais dans le navigateur j'ai aucune connexion...:-?