sky99 http://www.core-tx.com | Bonjour a tous!
J'ai un probleme sous ma gentoo : je n'arrive pas a me connecter au web!
Alors que sous la mdk10.1 le net fonctionne , quelle que soit la carte reseau,
sous la gentoo, je n'y arrive pas sur aucune des cartes reseau...
J'ai un 2Mbits wanadoo avec un alcatel speed touch home (toujours en home)...
J'arrive a pinguer le modem si je m'attribue la bonne ip, donc pas de probleme
de ce coté...
De la meme maniere les 2 cartes reseau fonctionnent...
Toutefois, apres avoir configuré comme indiqué dans la doc gentoo, je n'arrive
toujours pas a me connecter... J'ai essayé de suivre le tuto de lea-linux, idem...
j'utilise rp-pppoe.
Des que je lance adsl-start, j'ai inevitablement un "TIMOUT" apres quelques secondes...
Une seule fois j'ai eu un "connecté" apres une longue attente, mais je ne pouvais acceder a aucun service. Mais en faisant un ifconfig, j'ai vu que ppp0 avait une adresse
valable...
toutefois, toujours impossible de se connecter et de faire quoi que ce soit...
A chaque fois que j'essaie de me connecter j'ai toujours un timeout...
Pourtant l'interface semble reçevoir quelquechose puisque dans les tx et rx de ifconfig
, il y a entre quelques octets et quelques ko...
et que ppp0 prend une adresse qui semble valable sur le net (classe A 80.x.y.z, du genre
de celles que j'ai normalement...
sous mandrake voila ce que j'obtiens :
Code :
- Lien encap:Protocole Point-à-Point
- inet adr:81.248.75.153 P-t-P:81.248.75.1 Masque:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:1189 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1354 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 lg file transmission:3
- RX bytes:336375 (328.4 Kb) TX bytes:217519 (212.4 Kb)
|
Et sous la gentoo,j'ai quelquechose de tres semblable...
La seule difference est le MTU qui est a 1500 par defaut ...
Je l'ai baissé pour voir, mais ça n'a rien changé....
Le masque est aussi a 255.255.255.255, ce qui m'a étonné, mais ça fonctionne sous la mandrake...
surtout que je n'ai rien attribué a la main, tout est dynamique!
QUoi qu'il en soit, je n'arrive toujours pas a me connecter, et vu les "TIMOUT"
que me renvoie le shell, je n'arrive pas a savoir pourquoi.
adsl-status me dit toujours que le lien est down(impossible de lire le fichier bidule.pid);
et parfois quand je fais adsl-stop il me dit la meme chose...
AU mieux j'ai donc une ip, mais je ne peux rien faire...
Je n'ai installé aucun firewall, ni quoi que ce soit de ce genre...
vraiement, je ne sais pas quoi faire pour avoir le net, et donc enfin pouvoir utiliser
ma gentoo (comment emerger sans le net!)
Donc si vous aviez des idées, ne serait-ce que pour pouvoir diagnostiquer l'origine du probleme...
enfin au moins que adsl-start soit plus bavard, ou que je puisse lire un log, quelquechose
qui me donne un début de piste...
merci d'avance! a tout hasard, voici mon pppoe.conf...
Code :
- **********************************************************************
- #
- # pppoe.conf
- #
- # Configuration file for rp-pppoe. Edit as appropriate and install in
- # /etc/ppp/pppoe.conf
- #
- # NOTE: This file is used by the adsl-start, adsl-stop, adsl-connect and
- # adsl-status shell scripts. It is *not* used in any way by the
- # "pppoe" executable.
- #
- # Copyright (C) 2000 Roaring Penguin Software Inc.
- #
- # This file may be distributed under the terms of the GNU General
- # Public License.
- #
- # LIC: GPL
- # $Id: pppoe.conf,v 1.10 2002/04/09 17:28:38 dfs Exp $
- #***********************************************************************
- # When you configure a variable, DO NOT leave spaces around the "=" sign.
- # Ethernet card connected to ADSL modem
- #
- # NB: Gentoo overrides ETH when adsl-start is called from the
- # networking scripts. This setting has no effect in that case.
- ETH='eth1'
- # ADSL user name. You may have to supply "@provider.com" Sympatico
- # users in Canada do need to include "@sympatico.ca"
- # Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
- # contains the right username/password combination.
- # For Magma, use xxyyzz@magma.ca
- USER='fti/blablabla@fti'
- # Bring link up on demand? Default is to leave link up all the time.
- # If you want the link to come up on demand, set DEMAND to a number indicating
- # the idle time after which the link is brought down.
- DEMAND=no
- #DEMAND=300
- # DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
- # NOCHANGE=do not adjust.
- DNSTYPE=NOCHANGE
- # Obtain DNS server addresses from the peer (recent versions of pppd only)
- # In old config files, this used to be called USEPEERDNS. Changed to
- # PEERDNS for better Red Hat compatibility
- PEERDNS=no
- DNS1=
- DNS2=80.10.249.130
- # Make the PPPoE connection your default route. Set to
- # DEFAULTROUTE=no if you don't want this.
- DEFAULTROUTE=yes
- ### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT
- # How long adsl-start waits for a new PPP interface to appear before
- # concluding something went wrong. If you use 0, then adsl-start
- # exits immediately with a successful status and does not wait for the
- # link to come up. Time is in seconds.
- #
- # WARNING WARNING WARNING:
- #
- # If you are using rp-pppoe on a physically-inaccessible host, set
- # CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
- # to connect forever after adsl-start is called. Otherwise, it will
- # give out after CONNECT_TIMEOUT seconds and will not attempt to
- # connect again, making it impossible to reach.
- CONNECT_TIMEOUT=30
- # How often in seconds adsl-start polls to check if link is up
- CONNECT_POLL=2
- # Specific desired AC Name
- ACNAME=
- # Specific desired service name
- SERVICENAME=
- # Character to echo at each poll. Use PING="" if you don't want
- # anything echoed
- PING="."
- # File where the adsl-connect script writes its process-ID.
- # Three files are actually used:
- # $PIDFILE contains PID of adsl-connect script
- # $PIDFILE.pppoe contains PID of pppoe process
- # $PIDFILE.pppd contains PID of pppd process
- #
- # NB: Gentoo overrides PIDFILE when adsl-start is run from the
- # networking scripts. This setting has no effect in that case.
- PIDFILE="/var/run/$CF_BASE-adsl.pid"
- # Do you want to use synchronous PPP? "yes" or "no". "yes" is much
- # easier on CPU usage, but may not work for you. It is safer to use
- # "no", but you may want to experiment with "yes". "yes" is generally
- # safe on Linux machines with the n_hdlc line discipline; unsafe on others.
- SYNCHRONOUS=no
- # Do you want to clamp the MSS? Here's how to decide:
- # - If you have only a SINGLE computer connected to the ADSL modem, choose
- # "no".
- # - If you have a computer acting as a gateway for a LAN, choose "1412".
- # The setting of 1412 is safe for either setup, but uses slightly more
- # CPU power.
- CLAMPMSS=1412
- #CLAMPMSS=no
- # LCP echo interval and failure count.
- LCP_INTERVAL=20
- LCP_FAILURE=3
- # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
- PPPOE_TIMEOUT=80
- # Firewalling: One of NONE, STANDALONE or MASQUERADE
- FIREWALL=NONE
- # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
- # plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
- LINUX_PLUGIN=
- # Any extra arguments to pass to pppoe. Normally, use a blank string
- # like this:
- PPPOE_EXTRA=""
- # Rumour has it that "Citizen's Communications" with a 3Com
- # HomeConnect ADSL Modem DualLink requires these extra options:
- # PPPOE_EXTRA="-f 3c12:3c13 -S ISP"
- # Any extra arguments to pass to pppd. Normally, use a blank string
- # like this:
- PPPD_EXTRA=""
- ########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
- # If you wish to COMPLETELY overrride the pppd invocation:
- # Example:
- # OVERRIDE_PPPD_COMMAND="pppd call dsl"
- # If you want adsl-connect to exit when connection drops:
- # RETRY_ON_FAILURE=no
|
---------------
http://www.core-tx.com
|