# Connexion adsl - carte ethernet non chargée

**URL:** <https://www.debian-fr.org/t/connexion-adsl-carte-ethernet-non-chargee/15176>\
**Category:** Support Debian\
**Created:** [Février 20, 2016, 6:03 UTC](https://www.debian-fr.org/t/connexion-adsl-carte-ethernet-non-chargee/15176 "2016-02-20T18:03:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvdm](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/g/aca169/32.png) [@gvdm](https://www.debian-fr.org/u/gvdm)\
**Post date:** [Février 20, 2016, 6:03 UTC](https://www.debian-fr.org/t/connexion-adsl-carte-ethernet-non-chargee/15176/1 "2016-02-20T18:03:32Z")

</div>

Bonjour à tous,

Je viens d’installer une debian Etch sur un PC avec deux cartes ethernet. Pour la première fois, je dois configurer la connexion à un provider adsl sans passer par un routeur. J’ai donc un modem alcatel Speedtouch connecté à eth0 et mon réseau local sur eth1.

La configuration du réseau local a été faite dès l’installation, c’est ok.

Puis j’installe pppoe et lance pppoeconf. La carte eth0, inactive jusque là, est bien repérée, je réponds aux questions et la connexion est établie en un tournemain.

Le problème est qu’au redémarrage, la commande pon ne me permet plus d’établir cette connexion. Je relance pppoeconf et ça remarche ☹

Après quelques essais, je constate que le problème vient du fait que eth0 n’est pas chargée. Si je fais manuellement un “ifconfig eth0 up”, cette interface se trouve bien chargée sans adresse IP. À ce moment, si j’utilise pon, la connexion peut s’établir.

Voici la trace des opérations:

[code]Script started on dim 17 aoû 2008 17:32:26 CEST  
fantasio:/home/gv# pon skynet  
Plugin [rp-pppoe.so](http://rp-pppoe.so) loaded.  
fantasio:/home/gv# plog  
Aug 17 17:32:32 fantasio pppd[2658]: Plugin [rp-pppoe.so](http://rp-pppoe.so) loaded.  
Aug 17 17:32:32 fantasio pppd[2659]: pppd 2.4.4 started by root, uid 0  
Aug 17 17:32:32 fantasio pppd[2659]: sendPacket: send: Network is down  
Aug 17 17:32:32 fantasio pppd[2659]: Exit.  
fantasio:/home/gv# ifconfig  
eth1 Lien encap:Ethernet HWaddr 52:54:05:C2:B3:79  
inet adr:192.168.0.1 Bcast:192.168.0.255 Masque:255.255.255.0  
adr inet6: fe80::5054:5ff:fec2:b379/64 Scope:Lien  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 lg file transmission:1000  
RX bytes:0 (0.0 b) TX bytes:2955 (2.8 KiB)  
Interruption:10 Adresse de base:0xe000

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  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 lg file transmission:0  
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

fantasio:/home/gv# ifconfig eth0 up  
fantasio:/home/gv# pon skynet  
Plugin [rp-pppoe.so](http://rp-pppoe.so) loaded.  
fantasio:/home/gv# plog  
Aug 17 17:33:08 fantasio pppd[2666]: CHAP authentication succeeded: CHAP authentication success, unit 3221  
Aug 17 17:33:08 fantasio pppd[2666]: CHAP authentication succeeded  
Aug 17 17:33:08 fantasio pppd[2666]: peer from calling number 00:30:88:10:36:15 authorized  
Aug 17 17:33:08 fantasio pppd[2666]: Cannot determine ethernet address for proxy ARP  
Aug 17 17:33:08 fantasio pppd[2666]: local IP address 87.67.66.159  
Aug 17 17:33:08 fantasio pppd[2666]: remote IP address 87.67.66.1  
Aug 17 17:33:08 fantasio pppd[2666]: primary DNS address 195.238.2.21  
Aug 17 17:33:08 fantasio pppd[2666]: secondary DNS address 195.238.2.22  
fantasio:/home/gv# cat /etc/network/interfaces

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo  
iface lo inet loopback

# The primary network interface

allow-hotplug eth1  
iface eth1 inet static  
address 192.168.0.1  
netmask 255.255.255.0  
network 192.168.0.0  
broadcast 192.168.0.255  
# dns-\* options are implemented by the resolvconf package, if installed  
dns-nameservers 195.238.2.21 195.238.2.22  
dns-search champignac

iface skynet inet ppp  
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf  
provider skynet

auto eth0

iface eth0 inet manual  
fantasio:/home/gv#  
Script done on dim 17 aoû 2008 17:34:06 CEST  
[/code]

Dans /etc/network/interfaces, j’ai remplacé dsl-provider par le nom de mon isp, skynet, par facilité, mais le problème se posait de la même manière avec le nom initial.

J’ai beau lire la page de man d’interfaces, je ne vois pas ce qui cloche, la ligne

pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

devrait charger cette interface sans que je doive le faire manuellement.

quelqu’un a une explication ? Et par la même occasion, c’est un système que j’ai installé avec une configuration minimale, puis j’ai installé tout kde via apt-get. Je ne trouve pas dans kde comment lancer une connexion dsl via un utilitaire graphique. J’imagine que ça existe, mais où…

Merci d’avance.
