Mandriva 2008 problème d'internet

droitfrancais Messages postés 20 Statut Membre -  
droitfrancais Messages postés 20 Statut Membre -
Bonjour,

bn jé installé mandriva 2008 sur mon ordinateur et quand je lance Firefox, pas de connexion internet. j porte à vos connaissance
que j'ai l'internet ethernet (relier à un routeur tp-link)

jé tapé ts les commandes nécessaire cme d suite :

[iliass@localhost ~]$ ping
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
[iliass@localhost ~]$ ping www.google.com
ping: unknown host www.google.com
[iliass@localhost ~]$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[iliass@localhost ~]$ su
Mot de passe :
[root@localhost iliass]# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[root@localhost iliass]# cat/etc/resolv.conf
bash: cat/etc/resolv.conf: Aucun fichier ou répertoire de ce type
[root@localhost iliass]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:6E:26:8B:2F
inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:751 (751.0 b)

lo Link 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
RX packets:289 errors:0 dropped:0 overruns:0 frame:0
TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:25264 (24.6 KiB) TX bytes:25264 (24.6 KiB)

[root@localhost iliass]# /sbin/rout -n
bash: /sbin/rout: Aucun fichier ou répertoire de ce type
[root@localhost iliass]# /sbin/route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 10 0 0 eth0
[root@localhost iliass]# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 213.203.124.146
nameserver 212.30.96.108
[root@localhost iliass]# ping www.google.com
ping: unknown host www.google.com
[root@localhost iliass]# /sbin/iptables -l -v
iptables v1.3.7: Unknown arg `-l'
Try `iptables -h' or 'iptables --help' for more information.
[root@localhost iliass]# iptables -h
iptables v1.3.7

Usage: iptables -[AD] chain rule-specification [options]
iptables -[RI] chain rulenum rule-specification [options]
iptables -D chain rulenum [options]
iptables -[LFZ] [chain] [options]
iptables -[NX] chain
iptables -E old-chain-name new-chain-name
iptables -P chain target [options]
iptables -h (print this help information)

Commands:
Either long or short options are allowed.
--append -A chain Append to chain
--delete -D chain Delete matching rule from chain
--delete -D chain rulenum
Delete rule rulenum (1 = first) from chain
--insert -I chain [rulenum]
Insert in chain as rulenum (default 1=first)
--replace -R chain rulenum
Replace rule rulenum (1 = first) in chain
--list -L [chain] List the rules in a chain or all chains
--flush -F [chain] Delete all rules in chain or all chains
--zero -Z [chain] Zero counters in chain or all chains
--new -N chain Create a new user-defined chain
--delete-chain
-X [chain] Delete a user-defined chain
--policy -P chain target
Change policy on chain to target
--rename-chain
-E old-chain new-chain
Change chain name, (moving any references)
Options:
--proto -p [!] proto protocol: by number or name, eg. `tcp'
--source -s [!] address[/mask]
source specification
--destination -d [!] address[/mask]
destination specification
--in-interface -i [!] input name[+]
network interface name ([+] for wildcard)
--jump -j target
target for rule (may load target extension)
--goto -g chain
jump to chain with no return
--match -m match
extended match (may load extension)
--numeric -n numeric output of addresses and ports
--out-interface -o [!] output name[+]
network interface name ([+] for wildcard)
--table -t table table to manipulate (default: `filter')
--verbose -v verbose mode
--line-numbers print line numbers when listing
--exact -x expand numbers (display exact values)
[!] --fragment -f match second or further fragments only
--modprobe=<command> try to insert modules using this command
--set-counters PKTS BYTES set the counter during insert/append
[!] --version -V print package version.
[root@localhost iliass]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:6E:26:8B:2F
inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:751 (751.0 b)

lo Link 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
RX packets:375 errors:0 dropped:0 overruns:0 frame:0
TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:33173 (32.3 KiB) TX bytes:33173 (32.3 KiB)

[root@localhost iliass]# /sbin/ifconfig eth0 down
[root@localhost iliass]# /sbin/ifconfig eth0 192.168.1.250 netmask 255.255.255.0 up
[root@localhost iliass]# /sbin/route add default gw 192.168.1.254
[root@localhost iliass]#
[root@localhost iliass]# /sbin/ifconfig eth0 mtu 1492
[root@localhost iliass]# /sbin/ifconfig eth0 mtu 1412
[root@localhost iliass]# /etc/rc.d/rc.local
[root@localhost iliass]#

qsk j dois faire svp pour resoudre ce problème sa fait une semaine que chui sans internet sur linux mandriva ! ??
A voir également:

5 réponses

aaaarghhhh
 
voir ici :
http://aptgetinstall.free.fr/index.php?2008/01/14/15-diagnostic-internet

en particulier la partie opendns, si /etc/resolv.conf est vide c'est qu'il n'y a pas de serveur dns

on peux également soupçonner un problème de client dhcp,

que donne

ps ax | grep dhcp

et ping d'une adresse ip

?
0
droitfrancais Messages postés 20 Statut Membre
 
merci pour la rep

jé fait ce que tu m'a demandé et voici l resultat

http://images3.hiboox.com/images/0308/kgbxc87f.jpg

y a t-el une autre solution efficace 100/100 svp

0
droitfrancais Messages postés 20 Statut Membre
 
qlq'un peut m'aider ???

voici mes config d'internet sur win Xp j n sais po cmt faire configurer ces info sur Linux

http://images2.photomania.com/333116/1/radE5DE7.jpg

0
zustu
 
Salut,

Tu trouveras ci-dessous un lien qui te donnera satisfaction (comment configurer l'interface réseau).
http://www.linux-france.org/prj/inetdoc/cours/config.interface.lan/config.interface.lan.configuration.html

Bon courage.
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
droitfrancais Messages postés 20 Statut Membre
 
pour la premier fois un site francais rihe d'information sur linux

merci pour le site

et merci d'avoir rep moi

thx
0