Ah non en fait, le problème c'est pas que le resolv.conf n'est pas ré-écrit, c'est juste qu'il existe :
ubuntu@ubuntu:~$ cat /etc/resolv.conf
nameserver 192.168.1.1
ubuntu@ubuntu:~$ nm-tool
NetworkManager Tool
State: connected (global)
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: 00:26:9E:E1:39:A5
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
- Device: wlan0 [freebox_EHGVZD] ----------------------------------------------
Type: 802.11 WiFi
Driver: brcmsmac
State: connected
Default: yes
HW Address: C4:17:FE:20:EA:B0
Capabilities:
Speed: 78 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
FreeWifi_secure: Infra, EE:9F:EF:35:46:DF, Freq 2452 MHz, Rate 54 Mb/s, Strength 100 WPA Enterprise
Livebox-4190: Infra, C0:AC:54:7F:41:90, Freq 2412 MHz, Rate 54 Mb/s, Strength 54 WPA WPA2
freebox_ODIHVR: Infra, D6:40:CF:28:3C:B8, Freq 2437 MHz, Rate 54 Mb/s, Strength 40 WPA
FreeWifi_secure: Infra, D6:40:CF:28:3C:BB, Freq 2437 MHz, Rate 54 Mb/s, Strength 39 WPA Enterprise
SFR WiFi Mobile: Infra, C2:A1:D7:2C:89:0F, Freq 2462 MHz, Rate 54 Mb/s, Strength 34 WPA2 Enterprise
NEUF_8908: Infra, E0:A1:D7:2C:89:0C, Freq 2462 MHz, Rate 54 Mb/s, Strength 34 WPA
SFR_0DB0: Infra, E0:A1:D7:EC:0D:B4, Freq 2462 MHz, Rate 54 Mb/s, Strength 27 WPA
Livebox-d0fc: Infra, 00:1D:6A:5E:1E:36, Freq 2437 MHz, Rate 54 Mb/s, Strength 19 WPA WPA2
SFR WiFi Mobile: Infra, CA:7E:CB:8C:3A:1F, Freq 2437 MHz, Rate 54 Mb/s, Strength 19 WPA2 Enterprise
SFR_3A18: Infra, 30:7E:CB:8C:3A:1C, Freq 2437 MHz, Rate 54 Mb/s, Strength 19 WPA
Freebox-4DCCB0: Infra, F4:CA:E5:D3:5D:08, Freq 2457 MHz, Rate 54 Mb/s, Strength 19 WPA
FreeWifi_secure: Infra, F4:CA:E5:D3:5D:0A, Freq 2457 MHz, Rate 54 Mb/s, Strength 17 WPA2 Enterprise
FreeWifi: Infra, EE:9F:EF:35:46:DE, Freq 2452 MHz, Rate 54 Mb/s, Strength 100
FreeWifi: Infra, D6:40:CF:28:3C:BA, Freq 2437 MHz, Rate 54 Mb/s, Strength 40
SFR WiFi Public: Infra, C2:A1:D7:2C:89:0D, Freq 2462 MHz, Rate 54 Mb/s, Strength 32
FreeWifi: Infra, F4:CA:E5:D3:5D:09, Freq 2457 MHz, Rate 54 Mb/s, Strength 20
SFR WiFi Public: Infra, CA:7E:CB:8C:3A:1D, Freq 2437 MHz, Rate 54 Mb/s, Strength 19
*freebox_EHGVZD: Infra, EE:9F:EF:35:46:DC, Freq 2452 MHz, Rate 54 Mb/s, Strength 83 WPA
IPv4 Settings:
Address: 192.168.1.2
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.254
DNS: 212.27.40.241
DNS: 212.27.40.240
ubuntu@ubuntu:~$ ping -c2 linuxvillage.org
ping: unknown host linuxvillage.org
ubuntu@ubuntu:~$ sudo rm -f /etc/resolv.conf
ubuntu@ubuntu:~$ ping -c2 linuxvillage.org
PING linuxvillage.org (212.85.158.4) 56(84) bytes of data.
64 bytes from web.tuxfamily.net (212.85.158.4): icmp_req=1 ttl=55 time=20.8 ms
64 bytes from web.tuxfamily.net (212.85.158.4): icmp_req=2 ttl=55 time=21.6 ms
--- linuxvillage.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 20.873/21.264/21.656/0.417 ms
ubuntu@ubuntu:~$