#1 Le 23/05/2007, à 19:25
- Woshee
Internet au boulot: dns? ethernet? koikivapa?
Bonjour,
En ce moment dans une nouvelle structure, j'ai l'occasion d'amener mon portable au boulot. EN plus y'a une connection ethernet, chouette me dis-je!
On me fournit les paramètres suivant:
IP: 192.168.0.201
masque: 255.255.255.0
Passerelle: 192.168.0.1
DNS: 192.168.0.1
Je rentre tout ça dans mon gestionnaire réseau de gnome, ce qui me donne le /etc/network/interfaces suivant:
iface eth0 inet static
address 192.168.0.201
netmask 255.255.255.0
gateway 192.168.0.1
Mais patatra, qu'est ce que ça rame! Généralement les pages mettent soit des dizaines de secondes a s'afficher, soit erreur de connection, soit ça mouline indéfiniement. Idem pour l'utilisation de apt-get par exemple.
Parfois quand je fais /etc/init.d/networkin restart, j'ai pendant quelques instants une connection trés fonctionnelle mais ça ne dure pas.
A noter que les collègues sous windows n'ont pas ce soucis.
Des pistes?
Dernière modification par Woshee (Le 23/05/2007, à 19:58)
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#2 Le 23/05/2007, à 23:52
- Brunod
Re : Internet au boulot: dns? ethernet? koikivapa?
Salut,
le ping du 192.168.0.1 est il bon ? (problème cable/routeur)
N'y a t il pas un serveur dhcp ? A ta place j'essaierais pour voir.
Ca me fait penser à un problème de dns, mais difficile d'en dire plus.
brunod
Windows est un système d'exploitation de l'homme par l'ordinateur. Linux, c'est le contraire...
39 pc linux convertis
Hors ligne
#3 Le 24/05/2007, à 10:49
- Woshee
Re : Internet au boulot: dns? ethernet? koikivapa?
Pour peaufiner un peu:
Ifconfig:
eth0 Lien encap:Ethernet HWaddr 00:0F:B0:0C:15:F1
inet adr:192.168.0.202 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::20f:b0ff:fe0c:15f1/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:9063 erreurs:0 :0 overruns:0 frame:0
TX packets:8658 errors:0 dropped:0 overruns:0 carrier:0
collisions:2611 lg file transmission:1000
Octets reçus:3197232 (3.0 MiB) Octets transmis:8752065 (8.3 MiB)
Interruption:17 Adresse de base:0x800
lo Lien 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
Packets reçus:267 erreurs:0 :0 overruns:0 frame:0
TX packets:267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:20260 (19.7 KiB) Octets transmis:20260 (19.7 KiB)
wlan0 Lien encap:Ethernet HWaddr 00:90:4B:95:A5:1A
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
Interruption:22 Mémoire:e0104000-e0106000
Le ping:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.319 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.318 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.291 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.317 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=255 time=0.302 ms
......
--- 192.168.0.1 ping statistics ---
34 packets transmitted, 34 received, 0% packet loss, time 32999ms
rtt min/avg/max/mdev = 0.268/0.301/0.330/0.019 ms
Et les messages lorsque je fais sudo /etc/init.d/networking restart:
* Reconfiguring network interfaces... eth1: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
eth2: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth2.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
ath0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.ath0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
Et après essai, le dhcp ne fonctionne absolument pas.
Dernière modification par Woshee (Le 24/05/2007, à 10:55)
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#4 Le 24/05/2007, à 20:34
- Woshee
Re : Internet au boulot: dns? ethernet? koikivapa?
Big up!
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#5 Le 24/05/2007, à 20:58
- Woshee
Re : Internet au boulot: dns? ethernet? koikivapa?
J'essaye ça dés demain matin et je posterai le résultat.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#6 Le 25/05/2007, à 09:47
- Woshee
Re : Internet au boulot: dns? ethernet? koikivapa?
Ben résultat niet nada rien, la connection ne marche même plus un chouia.
J'ai aucun message d'erreur, juste le message du dhclient:
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:90:4b:95:a5:1a
Sending on LPF/wlan0/00:90:4b:95:a5:1a
Listening on LPF/eth0/00:0f:b0:0c:15:f1
Sending on LPF/eth0/00:0f:b0:0c:15:f1
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Le DHCP semble pas être la bonne voie de recherche.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne