Connexion Network manager 2 jours après l'ouverture de GNOME

tu as 2 cartes réseaux sur ta carte mère ? eth0 et eth1 ?
on dirait qu’il charge 2 drivers e1000 et r8169, p’tet qu’il y a conflit…

Que donne lspci ?

Oui, mais j’ai essayé en enlevant physiquement eth1, le résultat est le même …

Oui, mais j’ai essayé en enlevant physiquement eth1, le résultat est le même …[/quote]

[EDIT] Un truc que je n’avais pas observé en relançant mes interfaces :

root@lagache:/home/irena# /etc/init.d/networking restart Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning). Reconfiguring network interfaces...done.

Du nouveau avec les deux cartes reliées, contrairement à avant :

[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=UUID=3329ab5a-2052-440e-91e5-ad7ce291b80e ro quiet nomodeset nouveau.modeset=0 [ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working around it. [ 0.000000] Bootmem setup node 0 0000000000000000-000000041f800000 [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=UUID=3329ab5a-2052-440e-91e5-ad7ce291b80e ro quiet nomodeset nouveau.modeset=0 [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Placing 64MB software IO TLB between ffff88000fdde000 - ffff880013dde000 [ 0.000000] hpet clockevent registered [ 0.004000] Detected 3503.109 MHz processor. [ 0.003982] Initializing cgroup subsys net_cls [ 0.221728] Setting APIC routing to flat [ 1.135622] ACPI: Interpreter enabled [ 1.180538] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 [ 1.180541] hpet0: 8 comparators, 64-bit 14.318180 MHz counter [ 1.190330] pci 0000:00:01.0: setting latency timer to 64 [ 1.190342] pci 0000:00:1c.0: setting latency timer to 64 [ 1.190352] pci 0000:00:1c.1: setting latency timer to 64 [ 1.190364] pci 0000:00:1c.2: setting latency timer to 64 [ 1.190376] pci 0000:00:1c.3: setting latency timer to 64 [ 1.190386] pci 0000:00:1c.4: setting latency timer to 64 [ 1.190396] pci 0000:00:1c.6: setting latency timer to 64 [ 1.190406] pci 0000:07:00.0: setting latency timer to 64 [ 1.190417] pci 0000:00:1c.7: setting latency timer to 64 [ 1.566052] audit: initializing netlink socket (disabled) [ 1.569246] msgmni has been set to 32120 [ 1.569504] pcieport 0000:00:01.0: setting latency timer to 64 [ 1.569590] pcieport 0000:00:1c.0: setting latency timer to 64 [ 1.569687] pcieport 0000:00:1c.1: setting latency timer to 64 [ 1.569785] pcieport 0000:00:1c.2: setting latency timer to 64 [ 1.569883] pcieport 0000:00:1c.3: setting latency timer to 64 [ 1.569980] pcieport 0000:00:1c.4: setting latency timer to 64 [ 1.570078] pcieport 0000:00:1c.7: setting latency timer to 64 [ 1.676307] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs [ 1.676315] No iBFT detected. [ 1.677342] rtc_cmos 00:04: setting system clock to 2012-05-17 15:27:33 UTC (1337268453) [ 1.677381] Initalizing network drop monitor service [ 1.698695] e1000e: Intel(R) PRO/1000 Network Driver - 1.2.20-k2 [ 1.698728] e1000e 0000:00:19.0: setting latency timer to 64 [ 1.719362] xhci_hcd 0000:03:00.0: setting latency timer to 64 [ 1.722915] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 1.722974] r8169 0000:08:00.0: (unregistered net_device): no PCI Express capability [ 1.723287] r8169 0000:08:00.0: eth0: RTL8110s at 0xffffc9000187e000, 00:e0:4c:00:61:81, XID 04000000 IRQ 18 [ 1.780474] usb usb1: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor [ 1.780553] hub 1-0:1.0: 4 ports detected [ 1.780626] xhci_hcd 0000:06:00.0: setting latency timer to 64 [ 1.841728] usb usb2: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor [ 1.841787] hub 2-0:1.0: 4 ports detected [ 1.987426] e1000e 0000:00:19.0: eth1: (PCI Express:2.5GB/s:Width x1) c8:60:00:74:68:f9 [ 1.987428] e1000e 0000:00:19.0: eth1: Intel(R) PRO/1000 Network Connection [ 1.987458] e1000e 0000:00:19.0: eth1: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF [ 1.987488] ehci_hcd 0000:00:1a.0: setting latency timer to 64 [ 2.004621] hub 3-0:1.0: 2 ports detected [ 2.023017] ahci 0000:00:1f.2: setting latency timer to 64 [ 2.047315] ehci_hcd 0000:00:1d.0: setting latency timer to 64 [ 2.047426] ahci 0000:05:00.0: setting latency timer to 64 [ 2.068549] hub 4-0:1.0: 2 ports detected [ 2.451020] hub 3-1:1.0: 6 ports detected [ 2.695598] hub 4-1:1.0: 8 ports detected [ 2.805417] udev[456]: renamed network interface eth1 to eth1-eth0 [ 2.806346] udev[491]: renamed network interface eth0 to eth1 [ 2.858348] udev[456]: renamed network interface eth1-eth0 to eth0 [ 2.959701] nvidia 0000:01:00.0: setting latency timer to 64 [ 2.982427] HDA Intel 0000:00:1b.0: setting latency timer to 64 [ 4.430720] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.436719] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 4.436878] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or [ 4.436880] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. [ 4.856412] Bluetooth: Core ver 2.15 [ 4.856537] Bluetooth: HCI device and connection manager initialized [ 4.856539] Bluetooth: HCI socket layer initialized [ 4.860794] Bluetooth: L2CAP ver 2.14 [ 4.860798] Bluetooth: L2CAP socket layer initialized [ 4.871137] Bluetooth: RFCOMM TTY layer initialized [ 4.871138] Bluetooth: RFCOMM socket layer initialized [ 4.871139] Bluetooth: RFCOMM ver 1.11 [ 4.878945] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 4.878948] Bluetooth: BNEP filters: protocol multicast [ 4.990706] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4.998357] r8169 0000:08:00.0: eth1: link down [ 5.000414] ADDRCONF(NETDEV_UP): eth1: link is not ready [ 5.412809] Bluetooth: SCO (Voice Link) ver 0.6 [ 5.412812] Bluetooth: SCO socket layer initialized [ 27.205710] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx [ 27.205714] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO [ 27.207191] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 31.312292] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=326 [ 31.324461] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=142 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=122 [ 31.562760] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=326 [ 31.813267] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=326 [ 32.013625] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=322 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=302 [ 32.426736] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=142 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=122 [ 33.117055] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=322 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=302 [ 34.528309] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=227 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=207 [ 35.218501] IN=eth0 OUT= MAC= SRC=192.168.1.10 DST=224.0.0.251 LEN=322 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=3

00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05) 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 1

Comment je diférencie les cartes pour quelle interfaces ?

Apparement ma carte réseau eth1 n’est pas reconnue par ma debian depuis mon chgt de pc (elle l’était …) :

root@lagache:/home/irena# mii-tool -v SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 failed: Input/output error eth0: negotiated 1000baseT-FD flow-control, link ok product info: vendor 00:55:00, model 9 rev 0 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control eth1: no link product info: vendor 00:07:32, model 17 rev 0 basic mode: autonegotiation enabled basic status: no link capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

bonsoir eth0 est relié à la box ou un modem?

chez moi[quote]root@alpha30:~# mii-tool -v
eth0: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 4
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
eth1: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:07:32, model 17 rev 2
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
root@alpha30:~#
[/quote]

si c’eth0 est vers une box, en génèral c’est 100Mbits
A+
JB1

[quote=“agentsteel”]Si tu utilises une connection filaire, et que tu changes rarement ta config :

apt-get remove networkmanager

:stuck_out_tongue:

ceci étant, un tel délai n’est pas trop normal, pas sûr que networkmanager soit le seul en cause.[/quote]

Effectivement, cela n’arrange pas mon problème, j’ai toujours ce délai d’attente entre le moment d’affichage GNOME et ma possibilité d’accéder au NET… au début de mon install je ne l’avais pas , et du jour au lendemain sans rien faire de particulier ca débarque…

[quote=“dric64”][quote=“chris38”][quote=“agentsteel”]Autant laisser la directive “allow-hotplug” au lieu de “auto”

cf le manuel Debian paragraphe 5.5.4

Sinon, passer en IP fixe[/quote]

Je le suis, par ma box avec adressage suivant MAC …[/quote]

Ca n’est pas une ip fixe ca, c’est juste une réservation, mais ca reste du dhcp.[/quote]

Non non, j’ai bien une ip publique fixe que mon OP m’a donné indépendement de sa volonté :slightly_smiling:

Salut,
Il y a confusion. Ta box a une ip publique fixe, mais ton pc demande une ip à ta box via dhcp.
Sur le pc, l’ip n’est pas fixe, elle est obtenue par dhcp.

Fixe là une bonne fois pour toute dans /etc/network/interfaces, et n’y penses plus:

iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 gateway 192.168.0.254 dns-server 192.168.0.254 xxx.xxx.xxx.xxx

Salut,
Il y a confusion. Ta box a une ip publique fixe, mais ton pc demande une ip à ta box via dhcp.
Sur le pc, l’ip n’est pas fixe, elle est obtenue par dhcp.

Fixe là une bonne fois pour toute dans /etc/network/interfaces, et n’y penses plus:

iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 gateway 192.168.0.254 dns-server 192.168.0.254 xxx.xxx.xxx.xxx[/quote]

Je dois mettre les serveurs DNS de FREE ? ( c’est mon FAI…) je ne les connaîts pas, ou est la confusion ? A quoi sa sert d’avoir une ip fixe alors ? c’est d’un compliqué tout çà quand on y connaît rien…

Quand un appareil se connecte à un réseau il a besoin d’être identifié (l’adresse ip).
La première connexion au réseau est plus rapide si l’ip est fixe car il n’y a pas besoin d’envoyer une demande pour une ip, la recevoir et l’enregistrer dans le système.
Comme dans tes logs:

[quote]Thu May 17 10:05:27 2012:
Thu May 17 10:05:27 2012: Listening on LPF/eth0/c8:60:00:74:68:f9
Thu May 17 10:05:27 2012: Sending on LPF/eth0/c8:60:00:74:68:f9
Thu May 17 10:05:27 2012: Sending on Socket/fallback
Thu May 17 10:05:28 2012: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Thu May 17 10:05:35 2012: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
Thu May 17 10:05:48 2012: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
Thu May 17 10:06:06 2012: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Thu May 17 10:06:06 2012: DHCPOFFER from 192.168.1.254
Thu May 17 10:06:06 2012: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Thu May 17 10:06:06 2012: DHCPACK from 192.168.1.254
Thu May 17 10:06:06 2012: bound to 192.168.1.10 – renewal in 20264 seconds.
Thu May 17 10:06:06 2012: done.[/quote]

Ça donnerait ça pour ta machine:

[code]# The loopback network interface
auto lo
iface lo inet loopback

The primary network interface

allow-hotplug eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
nameserver 212.27.40.240 212.27.40.241[/code]

Généralement, oui, ce sont les dns du FAI que l’on met. Ta box pourrait faire dns aussi ? je ne sais pas.
J’ai mis ceux de free dans l’exemple (facile à trouver sur le net)
Tu peux aussi prendre d’autres dns (google: 8.8.8.8)… A toi de voir ce qui est le plus rapide.

C’est à dire ?

Ca :


Salut,
C’est la page du serveur DHCP de la BOX.
Elle donne sa propre IP comme DNS aux “clients”, donc, oui je pense que tu peux utiliser le DNS de la box en premier: 192.168.0.254; Ensuite les DNS de Free (ou un autre…).

Il suffit de tester:nslookup debian-fr.org 192.168.0.254
Si la réponse est bonne, tu peux y aller

[quote=“lol”]Salut,
C’est la page du serveur DHCP de la BOX.
Elle donne sa propre IP comme DNS aux “clients”, donc, oui je pense que tu peux utiliser le DNS de la box en premier: 192.168.0.254; Ensuite les DNS de Free (ou un autre…).

Il suffit de tester:nslookup debian-fr.org 192.168.0.254
Si la réponse est bonne, tu peux y aller[/quote]

Bon, y’a un truc qui coince toujours ca met autant de temps à être connecter au net ,avec ou sans les renseignements des DNS, quand GNOME à démarrer j’ai toujours un laps de temps ~30" avant de pouvoir obtenir une connexion/ping réussi

Re,
As-tu enlevé le gestionnaire de connexion graphique ? (Tu as network manager je crois ?)

[quote=“lol”]Salut,
C’est la page du serveur DHCP de la BOX.
Elle donne sa propre IP comme DNS aux “clients”, donc, oui je pense que tu peux utiliser le DNS de la box en premier: 192.168.0.254; Ensuite les DNS de Free (ou un autre…).

Il suffit de tester:nslookup debian-fr.org 192.168.0.254
Si la réponse est bonne, tu peux y aller[/quote]

Bon, y’a un truc qui coince toujours ca met autant de temps à être connecter au net ,avec ou sans les renseignements des DNS, quand GNOME à démarrer j’ai toujours un laps de temps ~30" avant de pouvoir obtenir une connexion/ping réussi