Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1025 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  /etc/network/interfaces ? réseau disparu

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

/etc/network/interfaces ? réseau disparu

n°1295481
Lebowsky89
C'est sur mon tapis...
Posté le 04-11-2011 à 19:21:02  profilanswer
 

Salut à tous,
 
Petit problème qui chagrine mon HTPC connecté.
 
après un banal redémarrage (et surement quelques mises à jour), impossible de trouver un quelconque réseau (câble toujours branché bien entendu).
 
j'ai parcouru quelques discussions du forum et essayé quelques solutions cela n'a rien donné, donc j'ouvre mon sujet "au cas par cas".
 
Description :
 
* HTPC sous Ubuntu 10.04 LTS
* connecté en RJ45 à une box numéricable
 
* Paramètres BOX
___DHCP activé
___départ de plage 192.168.0.10
___IP : 192.168.0.1
___DNS WAN 89.2.0.1
 
* dans le fichier interfaces
auto lo
iface lo inet loopback
 
auto eth0
iface eth0 inet dhcp
 
* ce que donne /etc/init.d/networking restart
 

Code :
  1. deviantserver@deviantserver:~$ sudo /etc/init.d/networking restart
  2. * Reconfiguring network interfaces...                                          postconf: fatal: open /etc/postfix/main.cf: No such file or directory
  3. Internet Systems Consortium DHCP Client V3.1.3
  4. Copyright 2004-2009 Internet Systems Consortium.
  5. All rights reserved.
  6. For info, please visit https://www.isc.org/software/dhcp/
  7. Listening on LPF/eth0/1c:6f:65:42:1c:20
  8. Sending on   LPF/eth0/1c:6f:65:42:1c:20
  9. Sending on   Socket/fallback
  10. Internet Systems Consortium DHCP Client V3.1.3
  11. Copyright 2004-2009 Internet Systems Consortium.
  12. All rights reserved.
  13. For info, please visit https://www.isc.org/software/dhcp/
  14. Listening on LPF/eth0/1c:6f:65:42:1c:20
  15. Sending on   LPF/eth0/1c:6f:65:42:1c:20
  16. Sending on   Socket/fallback
  17. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
  18. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
  19. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
  20. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
  21. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
  22. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
  23. No DHCPOFFERS received.
  24. No working leases in persistent database - sleeping.
  25. postconf: fatal: open /etc/postfix/main.cf: No such file or directory
  26.                                                                          [ OK ]


 
Sudo dhclient me donne
 

Code :
  1. Listening on LPF/eth0/1c:6f:65:42:1c:20
  2. Sending on   LPF/eth0/1c:6f:65:42:1c:20
  3. Sending on   Socket/fallback
  4. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
  5. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
  6. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
  7. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
  8. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
  9. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
  10. No DHCPOFFERS received.
  11. No working leases in persistent database - sleeping.
  12. (même en ayant enlevé le eth0 du fichier interfaces)


 
checklist  
 

Code :
  1. deviantserver@deviantserver:~$ lsb_release -a
  2. No LSB modules are available.
  3. Distributor ID:    Ubuntu
  4. Description:    Ubuntu 10.04.3 LTS
  5. Release:    10.04
  6. Codename:    lucid
  7. deviantserver@deviantserver:~$ uname -r
  8. 2.6.32-34-generic
  9. deviantserver@deviantserver:~$ lsusb
  10. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  11. Bus 006 Device 002: ID 04d9:a01c Holtek Semiconductor, Inc.
  12. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  13. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  14. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  15. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  16. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  17. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  18. deviantserver@deviantserver:~$ lspci -nn | grep -i net
  19. 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
  20. deviantserver@deviantserver:~$ sudo iwlist scan
  21. [sudo] password for deviantserver:
  22. lo        Interface doesn't support scanning.
  23. eth0      Interface doesn't support scanning.
  24. deviantserver@deviantserver:~$ sudo iwlist -C network
  25. iwlist: unknown command `network' (check 'iwlist --help').
  26. deviantserver@deviantserver:~$ clear
  27. deviantserver@deviantserver:~$ lsb_release -a
  28. No LSB modules are available.
  29. Distributor ID:    Ubuntu
  30. Description:    Ubuntu 10.04.3 LTS
  31. Release:    10.04
  32. Codename:    lucid
  33. deviantserver@deviantserver:~$ uname -r
  34. 2.6.32-34-generic
  35. deviantserver@deviantserver:~$ lsusb
  36. Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  37. Bus 006 Device 002: ID 04d9:a01c Holtek Semiconductor, Inc.
  38. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  39. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  40. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  41. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  42. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  43. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  44. deviantserver@deviantserver:~$ lspci -nn | grep -i net
  45. 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
  46. deviantserver@deviantserver:~$ sudo lshw -C network
  47.   *-network             
  48.        description: Ethernet interface
  49.        product: RTL8111/8168B PCI Express Gigabit Ethernet controller
  50.        vendor: Realtek Semiconductor Co., Ltd.
  51.        physical id: 0
  52.        bus info: pci@0000:02:00.0
  53.        logical name: eth0
  54.        version: 03
  55.        serial: 1c:6f:65:42:1c:20
  56.        size: 10MB/s
  57.        capacity: 1GB/s
  58.        width: 64 bits
  59.        clock: 33MHz
  60.        capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
  61.        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
  62.        resources: irq:25 ioport:de00(size=256) memory:fdaff000-fdafffff(prefetchable) memory:fdaf8000-fdafbfff(prefetchable) memory:fda00000-fda1ffff(prefetchable)
  63. deviantserver@deviantserver:~$ iwconfig
  64. lo        no wireless extensions.
  65. eth0      no wireless extensions.
  66. deviantserver@deviantserver:~$ ifconfig
  67. eth0      Link encap:Ethernet  HWaddr 1c:6f:65:42:1c:20 
  68.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  69.           Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
  70.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  71.           collisions:0 lg file transmission:1000
  72.           Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
  73.           Interruption:25 Adresse de base:0x2000
  74. lo        Link encap:Boucle locale 
  75.           inet adr:127.0.0.1  Masque:255.0.0.0
  76.           adr inet6: ::1/128 Scope:Hôte
  77.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  78.           Packets reçus:138 erreurs:0 :0 overruns:0 frame:0
  79.           TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
  80.           collisions:0 lg file transmission:0
  81.           Octets reçus:8284 (8.2 KB) Octets transmis:8284 (8.2 KB)
  82. deviantserver@deviantserver:~$ sudo iwlist scan
  83. lo        Interface doesn't support scanning.
  84. eth0      Interface doesn't support scanning.
  85. deviantserver@deviantserver:~$ cat /etc/network/interfaces
  86. auto lo
  87. iface lo inet loopback
  88. deviantserver@deviantserver:~$ nm-tool
  89. NetworkManager Tool
  90. State: disconnected
  91. - Device: eth0 -----------------------------------------------------------------
  92.   Type:              Wired
  93.   Driver:            r8169
  94.   State:             unavailable
  95.   Default:           no
  96.   HW Address:        1C:6F:65:42:1C:20
  97.   Capabilities:
  98.     Carrier Detect:  yes
  99.     Speed:           10 Mb/s
  100.   Wired Properties
  101.     Carrier:         off
  102. deviantserver@deviantserver:~$ sudo dhclient
  103. Internet Systems Consortium DHCP Client V3.1.3
  104. Copyright 2004-2009 Internet Systems Consortium.
  105. All rights reserved.
  106. For info, please visit https://www.isc.org/software/dhcp/
  107. Listening on LPF/eth0/1c:6f:65:42:1c:20
  108. Sending on   LPF/eth0/1c:6f:65:42:1c:20
  109. Sending on   Socket/fallback
  110. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
  111. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
  112. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
  113. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
  114. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
  115. DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
  116. No DHCPOFFERS received.
  117. No working leases in persistent database - sleeping.
  118. sudo deviantserver@deviantserver:~$ lsmod
  119. Module                  Size  Used by
  120. binfmt_misc             6587  1
  121. ppdev                   5259  0
  122. snd_hda_codec_atihdmi     2367  1
  123. snd_hda_codec_realtek   203408  1
  124. snd_hda_intel          22069  4
  125. snd_hda_codec          74201  3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
  126. snd_hwdep               5412  1 snd_hda_codec
  127. snd_pcm_oss            35308  0
  128. snd_mixer_oss          13746  1 snd_pcm_oss
  129. snd_pcm                70694  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
  130. snd_seq_dummy           1338  0
  131. snd_seq_oss            26722  0
  132. snd_seq_midi            4557  0
  133. snd_rawmidi            19056  1 snd_seq_midi
  134. snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
  135. snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
  136. snd_timer              19098  2 snd_pcm,snd_seq
  137. snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
  138. snd                    54244  19 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
  139. fbcon                  35102  71
  140. tileblit                1999  1 fbcon
  141. font                    7557  1 fbcon
  142. bitblit                 4707  1 fbcon
  143. softcursor              1189  1 bitblit
  144. it87                   17580  0
  145. hwmon_vid               2298  1 it87
  146. fglrx                2092908  29
  147. soundcore               6620  1 snd
  148. serio_raw               3978  0
  149. agpgart                31724  1 fglrx
  150. vga16fb                11385  1
  151. vgastate                8961  1 vga16fb
  152. i2c_piix4               8335  0
  153. snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
  154. shpchp                 28835  0
  155. lp                      7028  0
  156. parport                32635  2 ppdev,lp
  157. dm_raid45              81647  0
  158. usbhid                 36110  0
  159. hid                    67288  1 usbhid
  160. xor                    15028  1 dm_raid45
  161. floppy                 53016  0
  162. r8169                  34140  0
  163. mii                     4381  1 r8169
  164. ahci                   32360  6
  165. pata_atiixp             3148  2


 
merci à l'âme charitable qui saura me sortir de là !


Message édité par Lebowsky89 le 04-11-2011 à 19:21:32

---------------
NZXT H500 / Corsair RM750x / MSI B450 MORTAR / Ryzen 7 3700X / Hydro H55 + Noctua NF-S12A / 2x16 go DDR4 Hyper X Fury RGB 3000 MHz CL15 / Samsung NVME 970 Evo Plus 250 Go + 2 x SSD Samsung 860 Pro 1 To +  PNY RTX 3070 + Samsung 49" OLED G9
mood
Publicité
Posté le 04-11-2011 à 19:21:02  profilanswer
 

n°1295483
o'gure
Modérateur
Multi grognon de B_L
Posté le 04-11-2011 à 19:47:11  profilanswer
 

Dans tes traces tu mélanges plein de chose... iwconfig, iwlist, c'est des commandes pour le wifi aucun rapport si tu as es en filaire
Au départ tu nous donnes le contenu de interfaces et tu as une config pour eth0 plus tard elle a disparue
J'ai cru voir passer du nm / network manager, tu l'utilises ?
Dans l'output de nm je vois
 
capabilities:
 10Mb/s
 
 
ça m'étonne un peu...  Est ce que les leds de la carte réseau de la box (où le cable est branché) sont allumées ?

n°1295492
Lebowsky89
C'est sur mon tapis...
Posté le 04-11-2011 à 23:40:24  profilanswer
 

Euh Je n'y connais pas grand chose à Linux, j'ai trouvé cette liste de commande sur internet pour "diagnostic réseau ubuntu" ^^
 
Je n'utilise pas Network Manager, (à vrai dire je ne sais pas, quand j'ai formaté pour installer ubuntu le rj45 était déjà branché et tout marchait de suite).
 
oui la LED box connecté au PC clignote de manière régulière (une demi seconde toute les secondes, c'est un boitier numéricable) donc il doit y  avoir un échange...
 
Je ne sais pas quoi faire, j'ai essayé un peu toutes les commandes...
 
 


---------------
NZXT H500 / Corsair RM750x / MSI B450 MORTAR / Ryzen 7 3700X / Hydro H55 + Noctua NF-S12A / 2x16 go DDR4 Hyper X Fury RGB 3000 MHz CL15 / Samsung NVME 970 Evo Plus 250 Go + 2 x SSD Samsung 860 Pro 1 To +  PNY RTX 3070 + Samsung 49" OLED G9
n°1295503
fighting_f​alcon
Posté le 05-11-2011 à 10:19:08  profilanswer
 

Tu as une carte Realtek gigabit 8111/8168B et c'est le driver r8169 qui est chargé
 
C'est pas bon
 
Et comme l'a dit o'gure, ça se voit entre autre par le fait que ton interface ne va pas au delà de 10MBit/s. Et aussi, bien évidemment, qu'aucun paquet n'est transmis / reçu
 
http://www.jamesonwilliams.com/hardy-r8168
http://www.loicp.eu/2011/02/19/pro [...] -et-linux/


---------------
[mon feed]
n°1295508
Lebowsky89
C'est sur mon tapis...
Posté le 05-11-2011 à 11:11:33  profilanswer
 

Je vais me pencher là dessus merci pour les liens je vais essayer ça.
 
Mais je comprends pas pourquoi ça marchait très bien et puis plus du jour au lendemain ?  
 


---------------
NZXT H500 / Corsair RM750x / MSI B450 MORTAR / Ryzen 7 3700X / Hydro H55 + Noctua NF-S12A / 2x16 go DDR4 Hyper X Fury RGB 3000 MHz CL15 / Samsung NVME 970 Evo Plus 250 Go + 2 x SSD Samsung 860 Pro 1 To +  PNY RTX 3070 + Samsung 49" OLED G9
n°1295543
e_esprit
Posté le 06-11-2011 à 12:17:59  profilanswer
 

Ubuntu [:spamafote]  
 
 
:D


---------------
Ce n'est point ma façon de penser qui a fait mon malheur, c'est celle des autres.
n°1295701
fighting_f​alcon
Posté le 07-11-2011 à 20:32:15  profilanswer
 

esprit ... c'est déjà vendredi ? :D
 
plus sérieusement, c'est pas que ubuntu, c'est le driver realtek dans le kernel qui déconne donc potentiellement toutes les distrib impactées (ça me l'a aussi fait sur une squeeze ...)
 
et pourquoi "avant ça marchait" bah surement parce que

Citation :

après un banal redémarrage (et surement quelques mises à jour)


à tout les coups y'a eu du noyal dedans ...


---------------
[mon feed]

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  /etc/network/interfaces ? réseau disparu

 

Sujets relatifs
RAID5 en réseau sous Ubuntuinstallation réseau local - connexion démodulateur hd
[IPTABLES] Plus d'accès au réseau local une fois le POSTROUTING enlevéRéseau virtuel L2 de type mesh entre serveurs x86
[réglé] eth0 link is not ready / Problème carte réseauSoft pour gestion logicielle/réseau
virtual box sous windows et réseauAccès en écriture au réseau
Monter un disque réseau Windows sur un serveur linux 
Plus de sujets relatifs à : /etc/network/interfaces ? réseau disparu


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR