[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problème d'interface internet - ou plutôt : Problème d'interface réseau - RÉSOLU



Bonjour à tous et à toutes,
bonjour Grégory,

Excusez-moi de ne me signaler que maintenant - mais au moins c'est avec une bonne nouvelle : problème résolu ! (dans l'état d'hier soir suite aux manips faites [voir http://lists.debian.org/debian-user-french/2009/09/msg00395.html ] et avant les dernières infos de Grégory)

Bon, alors : je remercie sincèrement tous ceux qui m'ont assisté dans la solution de ce que je nommais initialement un casse-tête et que


LM--- <ludovicmarchetti@web.de> à écrit le Mon, 14 Sep 2009 21:39:13
+0200


> Console 1 (avec les manips proprement dites) - DÉBUT > -------------------------------------------------------------------------------------- > > > vic@box:~$ su
> Mot de passe :
> box:/home/vic# ifconfig down gl620a
> gl620a: Hôte inconnu
> ifconfig: `--help' gives usage information.
> box:/home/vic# ifconfig down usb0
> usb0: Hôte inconnu
> ifconfig: `--help' gives usage information.

forcement avec ces informations tu va pas y arriver, j'étais je sais
pas ou quand j'ai écrit cela je voulais écrire ifconfig down de
l'interface associé à ta carte e100 et idem pour celle associé à usb0

:-)) Pour les ifconfig, je me suis douté assez vite que ça concernait l'interface et pas le module.
Par contre, pour

usb0: Hôte inconnu


c'est parce que je m'étais assuré que, dans knetworkmanager, eth0 etait sélectionné.


> box:/home/vic# modprobe -r gl620a
> box:/home/vic# /etc/init.d/[k]network* restart
> bash: /etc/init.d/[k]network*: Aucun fichier ou répertoire de ce type
> box:/home/vic# /etc/init.d/network* restart
> Usage: /etc/init.d/networking {start|stop|restart|force-reload}
> box:/home/vic# /etc/init.d/network restart
> bash: /etc/init.d/network: Aucun fichier ou répertoire de ce type
> box:/home/vic# /etc/init.d/network-manager restart
> Restarting network connection manager: NetworkManager.

ok, j'ai manqué de clarté dans ma demande /etc/init.d/[k]network* était
un raccourci d'écriture , mais tu a fini par trouver :-)

:-)) Ah, j'ai tenté, car je croyais que la commande relancerait tout ce qui pouvait contenir le terme *network* ... (networkmanager, knetworkmanager, networking, ou autres)...

> box:/home/vic# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:02:b3:eb:d8:02
>           inet adr:192.168.1.140  Bcast:192.168.1.255
> Masque:255.255.255.0 adr inet6: fe80::202:b3ff:feeb:d802/64 Scope:Lien
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:456 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:557 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 lg file transmission:1000
>           RX bytes:186046 (181.6 KiB)  TX bytes:76418 (74.6 KiB)

00:02:b3:eb:d8:02 c'est l'usb ou la gl620a ? (les fils de discussions
sont cassé j'arrive pas à retrouver l'historique

Oui, c'est exactement cela, donc c'est bon !

> > Console 2 (Listing issu des manips à la console 1)- > DÉBUT--------------------------------------------------------------------------------------
> vic@box:~$ su
> Mot de passe :
> > > Sep 14 21:04:45 localhost kernel: [ 2991.696217] usbcore:
> deregistering interface driver gl620a
> Sep 14 21:04:45 localhost kernel: [ 2991.744039] usb0: unregister > 'gl620a' usb-0000:00:11.3-2, Genesys GeneLink > Sep 14 21:04:45 localhost NetworkManager: <debug> [1252955085.874482] > nm_hal_device_removed(): Device removed (hal udi is > '/org/freedesktop/Hal/devices/net_82_55_a7_8c_5e_6b').
> Sep 14 21:04:45 localhost NetworkManager: <info>  Deactivating device
> usb0. Sep 14 21:07:25 localhost NetworkManager: <WARN>
> nm_signal_handler(): Caught signal 15, shutting down normally.
> Sep 14 21:07:25 localhost NetworkManager: <info>  Caught terminiation
> signal Sep 14 21:07:25 localhost NetworkManager: <debug>
> [1252955245.351814] nm_print_open_socks(): Open Sockets List:
> Sep 14 21:07:25 localhost NetworkManager: <debug> [1252955245.351860] > nm_print_open_socks(): Open Sockets List Done.
> Sep 14 21:07:25 localhost NetworkManager: <info>  Deactivating device
> eth0. Sep 14 21:07:25 localhost dhclient: There is already a pid file > /var/run/dhclient.eth0.pid with pid 3540
> Sep 14 21:07:25 localhost dhclient: killed old client process,
> removed PID file
> Sep 14 21:07:25 localhost dhclient: DHCPRELEASE on eth0 to
> 192.168.1.254 port 67
> Sep 14 21:07:25 localhost avahi-daemon[2400]: Withdrawing address
> record for 192.168.1.140 on eth0.
> Sep 14 21:07:25 localhost avahi-daemon[2400]: Leaving mDNS multicast > group on interface eth0.IPv4 with address 192.168.1.140. > Sep 14 21:07:25 localhost avahi-daemon[2400]: Interface eth0.IPv4 no > longer relevant for mDNS.
> Sep 14 21:07:26 localhost avahi-daemon[2400]: Withdrawing address
> record for fe80::202:b3ff:feeb:d802 on eth0.
> Sep 14 21:07:26 localhost avahi-daemon[2400]: Leaving mDNS multicast > group on interface eth0.IPv6 with address fe80::202:b3ff:feeb:d802. > Sep 14 21:07:26 localhost avahi-daemon[2400]: Interface eth0.IPv6 no > longer relevant for mDNS.
> Sep 14 21:07:26 localhost NetworkManager: <info>  starting...
> Sep 14 21:07:26 localhost NetworkManager: <info>  New VPN service
> 'vpnc' (org.freedesktop.NetworkManager.vpnc).
> Sep 14 21:07:26 localhost NetworkManager: <info> New VPN service > 'openvpn' (org.freedesktop.NetworkManager.openvpn). > Sep 14 21:07:26 localhost kernel: [ 3152.409935] ADDRCONF(NETDEV_UP): > eth0: link is not ready > Sep 14 21:07:26 localhost kernel: [ 3152.412251] e100: eth0: > e100_watchdog: link up, 100Mbps, full-duplex > Sep 14 21:07:26 localhost kernel: [ 3152.412409] > ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready > Sep 14 21:07:26 localhost NetworkManager: <info> eth0: Device is > fully-supported using driver 'e100'. > Sep 14 21:07:26 localhost NetworkManager: <info> nm_device_init(): > waiting for device's worker thread to start > Sep 14 21:07:26 localhost NetworkManager: <info> nm_device_init(): > device's worker thread started, continuing. > Sep 14 21:07:26 localhost NetworkManager: <info> Now managing wired > Ethernet (802.3) device 'eth0'.
> Sep 14 21:07:26 localhost NetworkManager: <info>  Deactivating device
> eth0. Sep 14 21:07:26 localhost NetworkManager: <info>  Will activate
> wired connection 'eth0' because it now has a link.
> Sep 14 21:07:26 localhost NetworkManager: <info> Will activate wired > connection 'eth0' because it now has a link. > Sep 14 21:07:26 localhost NetworkManager: <info> Updating allowed > wireless network lists. > Sep 14 21:07:26 localhost NetworkManager: <info> SWITCH: no current > connection, found better connection 'eth0'. > Sep 14 21:07:26 localhost NetworkManager: <info> Will activate > connection 'eth0'.
> Sep 14 21:07:26 localhost NetworkManager: <info>  Device eth0
> activation scheduled...
> Sep 14 21:07:26 localhost NetworkManager: <WARN> > nm_dbus_get_networks_cb(): error received: > org.freedesktop.NetworkManagerInfo.NoNetworks - > org.freedesktop.NetworkManagerInfo.NoNetworks. > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > started... > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 1 of 5 (Device Prepare) scheduled... > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 1 of 5 (Device Prepare) started... > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 2 of 5 (Device Configure) scheduled... > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 1 of 5 (Device Prepare) complete. > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 2 of 5 (Device Configure) starting... > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 2 of 5 (Device Configure) successful. > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 3 of 5 (IP Configure Start) scheduled. > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 2 of 5 (Device Configure) complete. > Sep 14 21:07:26 localhost NetworkManager: <info> Activation (eth0) > Stage 3 of 5 (IP Configure Start) started... > Sep 14 21:07:27 localhost NetworkManager: <info> Activation (eth0) > Beginning DHCP transaction.
> Sep 14 21:07:27 localhost NetworkManager: <info>  DHCP daemon state
> is now 12 (successfully started) for interface eth0
> Sep 14 21:07:27 localhost NetworkManager: <info> Activation (eth0) > Stage 3 of 5 (IP Configure Start) complete.
> Sep 14 21:07:28 localhost NetworkManager: <info>  DHCP daemon state
> is now 1 (starting) for interface eth0
> Sep 14 21:07:29 localhost dhclient: DHCPDISCOVER on eth0 to > 255.255.255.255 port 67 interval 4
> Sep 14 21:07:29 localhost dhclient: DHCPOFFER from 192.168.1.254
> Sep 14 21:07:29 localhost dhclient: DHCPREQUEST on eth0 to > 255.255.255.255 port 67
> Sep 14 21:07:29 localhost dhclient: DHCPACK from 192.168.1.254
> Sep 14 21:07:29 localhost avahi-daemon[2400]: Joining mDNS multicast > group on interface eth0.IPv4 with address 192.168.1.140. > Sep 14 21:07:29 localhost avahi-daemon[2400]: New relevant interface > eth0.IPv4 for mDNS. > Sep 14 21:07:29 localhost avahi-daemon[2400]: Registering new address > record for 192.168.1.140 on eth0.IPv4.
> Sep 14 21:07:29 localhost NetworkManager: <info>  DHCP daemon state
> is now 2 (bound) for interface eth0
> Sep 14 21:07:29 localhost NetworkManager: <info> Activation (eth0) > Stage 4 of 5 (IP Configure Get) scheduled... > Sep 14 21:07:29 localhost NetworkManager: <info> Activation (eth0) > Stage 4 of 5 (IP Configure Get) started...
> Sep 14 21:07:29 localhost dhclient: bound to 192.168.1.140 -- renewal
> in 38086 seconds.
> Sep 14 21:07:29 localhost dhcdbd: message_handler: message handler
> not found under /com/redhat/dhcp/eth0 for sub-path
> eth0.dbus.get.host_name Sep 14 21:07:29 localhost dhcdbd:
> message_handler: message handler not found
> under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.domain_search
> Sep 14 21:07:29 localhost dhcdbd: message_handler: message handler
> not found under /com/redhat/dhcp/eth0 for sub-path
> eth0.dbus.get.nis_domain Sep 14 21:07:29 localhost dhcdbd:
> message_handler: message handler not found
> under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
> Sep 14 21:07:29 localhost NetworkManager: <info>  Retrieved the
> following IP4 configuration from the DHCP daemon: Sep 14 21:07:29
> localhost NetworkManager: <info>    address 192.168.1.140 Sep 14
> 21:07:29 localhost NetworkManager: <info>    netmask 255.255.255.0
> Sep 14 21:07:29 localhost NetworkManager: <info>    broadcast
> 192.168.1.255 Sep 14 21:07:29 localhost NetworkManager: <info>
> gateway 192.168.1.254 Sep 14 21:07:29 localhost NetworkManager:
> <info>    nameserver 192.168.1.254 Sep 14 21:07:29 localhost
> NetworkManager: <info>    domain name 'darty' Sep 14 21:07:29
> localhost dhcdbd: message_handler: message handler not found
> under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.interface_mtu
> Sep 14 21:07:29 localhost NetworkManager: <info>  Activation (eth0)
> Stage 5 of 5 (IP Configure Commit) scheduled... Sep 14 21:07:29
> localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP
> Configure Get) complete. Sep 14 21:07:29 localhost NetworkManager:
> <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit)
> started... Sep 14 21:07:29 localhost avahi-daemon[2400]: Withdrawing
> address record for 192.168.1.140 on eth0. Sep 14 21:07:29 localhost
> avahi-daemon[2400]: Leaving mDNS multicast group on interface
> eth0.IPv4 with address 192.168.1.140. Sep 14 21:07:29 localhost
> avahi-daemon[2400]: Interface eth0.IPv4 no longer relevant for mDNS.
> Sep 14 21:07:29 localhost avahi-daemon[2400]: Joining mDNS multicast
> group on interface eth0.IPv4 with address 192.168.1.140. Sep 14
> 21:07:29 localhost avahi-daemon[2400]: New relevant interface
> eth0.IPv4 for mDNS. Sep 14 21:07:29 localhost avahi-daemon[2400]:
> Registering new address record for 192.168.1.140 on eth0.IPv4.
> Sep 14 21:07:30 localhost NetworkManager: <info> DHCP returned name > servers but system has disabled dynamic modification! > Sep 14 21:07:30 localhost NetworkManager: <info> Activation (eth0) > Finish handler scheduled. > Sep 14 21:07:30 localhost NetworkManager: <info> Activation (eth0) > Stage 5 of 5 (IP Configure Commit) complete. > Sep 14 21:07:30 localhost NetworkManager: <info> Activation (eth0) > successful, device activated. > Sep 14 21:07:32 localhost avahi-daemon[2400]: Joining mDNS multicast > group on interface eth0.IPv6 with address fe80::202:b3ff:feeb:d802. > Sep 14 21:07:32 localhost avahi-daemon[2400]: New relevant interface > eth0.IPv6 for mDNS. > Sep 14 21:07:32 localhost avahi-daemon[2400]: Registering new address > record for fe80::202:b3ff:feeb:d802 on eth0.*.
> Sep 14 21:07:41 localhost kernel: [ 3166.960029] eth0: no IPv6
> routers present
> > > Console 2 - FIN > --------------------------------------------------------------------------------------

ça semble rouler non ? a par ce vpnc (t'a besoin de te connecter en
vpn ? et ce "/com/redhat/dhcp/eth0" que j'ai jamais vu passer sur mes 5
pc debian lenny

Oui, ça a bien roulé !

--> VPN : non, normalement, pas besoin ; mais j'ai, dans le cadre de mes essais isolés (avant de contacter la liste debian-french), suite à des suggestions vues en divers endroits sur des problèmes "similaires", supprimé à un moment les paquets network-manager et network-manager-kde ; quand j'ai voulu les réinstaller, synaptic m'a installé ça :
network-manager-openvpn (0.3.2svn2855-1.1)
network-manager-vpnc (0.6.4svn2806-1)
openvpn (2.1~rc11-1)
openvpn-blacklist (0.3)
resolvconf (1.42)
vpnc (0.5.1r334-1)
liblzo2-2 (2.03-1)
libpkcs11-helper1 (1.05-1)
Je pense qu'il doit être possible de les désinstaller sans trop de casse (puisqu'ils ont été installés "automatiquement"); d'ailleurs il me semble que apt-get et aptitude suggèrent / font des désinstallations de tels paquets installés "automatiquement" ?

Quant à

"/com/redhat/dhcp/eth0"


oui, ça m'a surpris aussi... Quelqu'un aurait-il une info ? (ou dois-je poser la question sur un fil séparé ?)

> 1) Pourrait-on blacklister le module usbnet plutôt que gl620a ?
> (disons... parce qu'il semble être au-dessus de [= de niveau
> supérieur] gl620a)

pourquoi pas, mais fait un modprobe -r de usbnet (un lsmod | grep
usbnet) te dira s'il y a d'autres modules dépendant de celui-ci

Ah, c'est drôle : maintenant le module usbnet n'est même plus présent - ce qui ne m'étonne "pas trop" puisque j'avais hier, suite à un lsmod, qqch comme usbnet used by gl620a et c'était tout...
> > 2) Pouvait-on aussi agir sur /etc/resolvconf/interface-order qui > contient l'ordre des interfaces : en décommentant la dernière ligne > « * » pour que « toute autre interface » ne soit pas considérée ?

je connais pas ce fichier (il n'existe pas sur ma lenny), visiblement
c'est le paquet resolvconf qui s'occupe de cela (j'ai souvenir d'un fil
qui disait de ne pas utiliser ce paquet, tu l'a peut être pour une
bonne raison .....

Ben, pas d'autre que la réinstallation des paquets network-manager et network-manager-kde - comme dit plus haut...
Alors désinstallation des paquets cités plus haut ou pas ?

Encore merci à tous...

Cordialement

Ludovic





Reply to: