Aller au contenu
  • Pas encore inscrit ?

    Pourquoi ne pas vous inscrire ? C'est simple, rapide et gratuit.
    Pour en savoir plus, lisez Les avantages de l'inscription... et la Charte de Zébulon.
    De plus, les messages que vous postez en tant qu'invité restent invisibles tant qu'un modérateur ne les a pas validés. Inscrivez-vous, ce sera un gain de temps pour tout le monde, vous, les helpeurs et les modérateurs ! :wink:

Messages recommandés

Posté(e)
Quelle est la sortie de ifconfig avant et après l'appel à /sbin/ifup ppp0 ?

idem pour route -n

512488[/snapback]

 

 

dans une invite de commandes (konsole, xterm, gnome-terminal ou autre), tu passes en mode super-utilisateur

su

 

avant de lancer /sbin/ifup ppp0, tu tapes

ifconfig

et tu nous donnes la sortie (tape man ifconfig pour connaitre l'utilité de cette commande)

 

de la même façon, tu tapes

route -n

et tu nous donnes la sortie

 

ensuite tu lances ton script /sbin/ifup ppp0 et une fois qu'il a obtenu une connexion (comme dans ton précédent post), tu retapes les mêmes commandes que ci-dessus et tu nous envoies les sorties.

Posté(e)

presque :P

 

su

ton code

ifconfig

route -n

/sbin/ifup ppp0

ifconfig

route -n

 

c'est plus clair comme ça :-( ?

Posté(e)

[root@localhost alex]# ifconfig

eth0 Lien encap:Ethernet HWaddr 00:11:09:71:2B:3B

adr inet6: fe80::211:9ff:fe71:2b3b/64 Scope:Lien

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:5 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:1000

RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)

Interruption:23 Adresse de base:0xbc00

 

eth1 Lien encap:UNSPEC HWaddr 00-10-DC-00-00-65-64-52-00-00-00-00-00-00-00-00

UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

eth2 Lien encap:Ethernet HWaddr 00:60:4C:50:F6:8E

adr inet6: fe80::260:4cff:fe50:f68e/64 Scope:Lien

UP BROADCAST RUNNING MULTICAST MTU:65535 Metric:1

RX packets:7 errors:0 dropped:0 overruns:0 frame:0

TX packets:16 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:1000

RX bytes:134 (134.0 b) TX bytes:819 (819.0 b)

 

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:129 errors:0 dropped:0 overruns:0 frame:0

TX packets:129 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:17165 (16.7 Kb) TX bytes:17165 (16.7 Kb)

 

ppp0 Lien encap:Protocole Point-à-Point

inet adr:83.195.135.170 P-t-P:193.253.160.3 Masque:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1

RX packets:3 errors:0 dropped:0 overruns:0 frame:0

TX packets:3 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:3

RX bytes:54 (54.0 b) TX bytes:54 (54.0 b)

 

sit0 Lien encap:IPv6-dans-IPv4

adr inet6: ::127.0.0.1/96 Scope:Inconnu

UP RUNNING NOARP MTU:1480 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)

 

sl0 Lien encap:IP ligne série

inet adr:10.0.0.2 P-t-P:10.0.0.3 Masque:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 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:10

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

[root@localhost alex]# route -n

Table de routage IP du noyau

Destination Passerelle Genmask Indic Metric Ref Use Iface

10.0.0.3 0.0.0.0 255.255.255.255 UH 1 0 0 sl0

193.253.160.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 193.253.160.3 0.0.0.0 UG 0 0 0 ppp0

[root@localhost alex]# /sbin/ifup ppp0

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 76 ce 48 59

Received bad configure-ack: 01 04 05 d4 05 06 b0 38 5f 59

Received bad configure-ack: 01 04 05 d4 05 06 04 f7 f0 d9

Received bad configure-ack: 01 04 05 d4 05 06 85 bd d1 ab

Received bad configure-ack: 01 04 05 d4 05 06 17 56 26 37

Received bad configure-ack: 01 04 05 d4 05 06 9a 5f 1e 6b

Received bad configure-ack: 01 04 05 d4 05 06 2e 7b da 89

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 72 b9 eb ed

Received bad configure-ack: 01 04 05 d4 05 06 74 27 13 4d

Received bad configure-ack: 01 04 05 d4 05 06 3c 1c d2 c3

Received bad configure-ack: 01 04 05 d4 05 06 ca c9 cc 50

Received bad configure-ack: 01 04 05 d4 05 06 dc db 72 ae

Received bad configure-ack: 01 04 05 d4 05 06 32 b2 ef b1

Received bad configure-ack: 01 04 05 d4 05 06 bf 03 e0 2d

Received bad configure-ack: 01 04 05 d4 05 06 3a 4d c2 1a

Received bad configure-ack: 01 04 05 d4 05 06 7e a7 d9 be

Received bad configure-ack: 01 04 05 d4 05 06 73 41 53 2b

Received bad configure-ack: 01 04 05 d4 05 06 b8 50 93 6c

Received bad configure-ack: 01 04 05 d4 05 06 dd 9a 9c 73

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 40 df 92 45

Received bad configure-ack: 01 04 05 d4 05 06 e3 51 ff d8

Received bad configure-ack: 01 04 05 d4 05 06 55 2f a4 61

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 e9 ba 67 71

Received bad configure-ack: 01 04 05 d4 05 06 1f 2a ad 3d

Received bad configure-ack: 01 04 05 d4 05 06 cc f7 4f 32

Received bad configure-ack: 01 04 05 d4 05 06 69 d7 f2 19

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 ac 48 37 15

Received bad configure-ack: 01 04 05 d4 05 06 00 bd 5f 02

Received bad configure-ack: 01 04 05 d4 05 06 5c 26 a0 a1

Received bad configure-ack: 01 04 05 d4 05 06 4a 54 97 73

Received bad configure-ack: 01 04 05 d4 05 06 23 ae ff 3e

Received bad configure-ack: 01 04 05 d4 05 06 c7 15 aa 85

Received bad configure-ack: 01 04 05 d4 05 06 2b 7e f6 53

Received bad configure-ack: 01 04 05 d4 05 06 aa 62 2a b8

Received bad configure-ack: 01 04 05 d4 05 06 ce 0c 9a 06

Received bad configure-ack: 01 04 05 d4 05 06 26 b6 df bd

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 66 34 c5 90

Received bad configure-ack: 01 04 05 d4 05 06 94 f4 ed a1

Received bad configure-ack: 01 04 05 d4 05 06 e9 ce e6 c3

Received bad configure-ack: 01 04 05 d4 05 06 a7 03 40 c8

Received bad configure-ack: 01 04 05 d4 05 06 55 04 2f 43

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/4

Received bad configure-ack: 01 04 05 d4 05 06 fe 9a 35 ce

Received bad configure-ack: 01 04 05 d4 05 06 31 09 56 70

Received bad configure-ack: 01 04 05 d4 05 06 2f a1 5c 32

Received bad configure-ack: 01 04 05 d4 05 06 65 83 ee 5d

Received bad configure-ack: 01 04 05 d4 05 06 63 1c 4f 1a

Received bad configure-ack: 01 04 05 d4 05 06 78 0d b9 de

Received bad configure-ack: 01 04 05 d4 05 06 fe 86 d9 d8

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 f4 98 1c 25

Received bad configure-ack: 01 04 05 d4 05 06 f4 39 9d 14

Received bad configure-ack: 01 04 05 d4 05 06 ed 32 a1 16

Received bad configure-ack: 01 04 05 d4 05 06 e4 2e 38 73

Received bad configure-ack: 01 04 05 d4 05 06 6e dd 98 c5

Received bad configure-ack: 01 04 05 d4 05 06 60 64 55 f2

Received bad configure-ack: 01 04 05 d4 05 06 e7 fc 05 59

Received bad configure-ack: 01 04 05 d4 05 06 c8 60 57 de

Received bad configure-ack: 01 04 05 d4 05 06 67 e1 a1 6d

Received bad configure-ack: 01 04 05 d4 05 06 c1 77 67 d2

Received bad configure-ack: 01 04 05 d4 05 06 b3 90 c9 86

Received bad configure-ack: 01 04 05 d4 05 06 47 b1 c2 29

Received bad configure-ack: 01 04 05 d4 05 06 0b 82 73 7d

Received bad configure-ack: 01 04 05 d4 05 06 ed db c3 d8

Received bad configure-ack: 01 04 05 d4 05 06 53 c4 96 7b

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 b2 8b 03 df

Received bad configure-ack: 01 04 05 d4 05 06 dc 78 7a d3

Received bad configure-ack: 01 04 05 d4 05 06 66 86 da 62

Received bad configure-ack: 01 04 05 d4 05 06 83 00 58 85

Received bad configure-ack: 01 04 05 d4 05 06 42 c8 02 ae

Received bad configure-ack: 01 04 05 d4 05 06 49 57 e0 ba

Received bad configure-ack: 01 04 05 d4 05 06 d7 1c b3 86

Received bad configure-ack: 01 04 05 d4 05 06 c8 35 02 bf

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 a1 b4 90 31

Received bad configure-ack: 01 04 05 d4 05 06 14 15 3a 51

Received bad configure-ack: 01 04 05 d4 05 06 11 aa 15 11

Received bad configure-ack: 01 04 05 d4 05 06 1a 42 7a f6

Received bad configure-ack: 01 04 05 d4 05 06 50 48 72 e8

Received bad configure-ack: 01 04 05 d4 05 06 42 db 54 2c

Received bad configure-ack: 01 04 05 d4 05 06 3e f4 1e 94

Received bad configure-ack: 01 04 05 d4 05 06 1a 72 b1 3e

Received bad configure-ack: 01 04 05 d4 05 06 cd b5 54 1c

Received bad configure-ack: 01 04 05 d4 05 06 39 1b 36 4a

Received bad configure-ack: 01 04 05 d4 05 06 f7 0e e1 e7

Received bad configure-ack: 01 04 05 d4 05 06 9b 42 2f 34

Received bad configure-ack: 01 04 05 d4 05 06 3d b6 ce f2

Received bad configure-ack: 01 04 05 d4 05 06 68 22 f2 57

Received bad configure-ack: 01 04 05 d4 05 06 0e 9a 5c c2

Received bad configure-ack: 01 04 05 d4 05 06 1f 40 a8 29

Received bad configure-ack: 01 04 05 d4 05 06 e4 d8 9c 23

Received bad configure-ack: 01 04 05 d4 05 06 72 16 b3 fa

Received bad configure-ack: 01 04 05 d4 05 06 7e 10 af cb

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 90 41 d5 5a

Received bad configure-ack: 01 04 05 d4 05 06 9d 88 2b 95

Received bad configure-ack: 01 04 05 d4 05 06 34 0f 41 97

Received bad configure-ack: 01 04 05 d4 05 06 08 50 d6 65

Received bad configure-ack: 01 04 05 d4 05 06 63 36 52 da

Received bad configure-ack: 01 04 05 d4 05 06 87 6b a7 45

Received bad configure-ack: 01 04 05 d4 05 06 7e b8 73 5b

Received bad configure-ack: 01 04 05 d4 05 06 e8 88 04 9a

Received bad configure-ack: 01 04 05 d4 05 06 1b 7f a4 07

Received bad configure-ack: 01 04 05 d4 05 06 68 05 ca c8

CHAP authentication succeeded

Received bad configure-ack: 01 04 05 d4 05 06 e5 8e f5 65

Received bad configure-ack: 01 04 05 d4 05 06 e2 1f ba 27

Received bad configure-ack: 01 04 05 d4 05 06 16 af dc 36

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 b9 f8 ed bc

Received bad configure-ack: 01 04 05 d4 05 06 af 1a 2e 05

Received bad configure-ack: 01 04 05 d4 05 06 d2 d5 66 d4

Received bad configure-ack: 01 04 05 d4 05 06 4b 38 a5 da

Received bad configure-ack: 01 04 05 d4 05 06 dd 89 50 7b

Received bad configure-ack: 01 04 05 d4 05 06 42 7e 69 0f

Received bad configure-ack: 01 04 05 d4 05 06 c7 0f 88 b1

Received bad configure-ack: 01 04 05 d4 05 06 d3 ca 4d ff

Received bad configure-ack: 01 04 05 d4 05 06 e2 67 c7 52

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 6a 57 2e 07

Received bad configure-ack: 01 04 05 d4 05 06 34 43 dd f0

Received bad configure-ack: 01 04 05 d4 05 06 7b 00 c1 15

Received bad configure-ack: 01 04 05 d4 05 06 c1 70 3c 81

Received bad configure-ack: 01 04 05 d4 05 06 6a 9f 12 23

Received bad configure-ack: 01 04 05 d4 05 06 ff de 74 7b

Received bad configure-ack: 01 04 05 d4 05 06 88 9c 83 fb

Received bad configure-ack: 01 04 05 d4 05 06 0a 7d d7 00

Received bad configure-ack: 01 04 05 d4 05 06 b1 73 35 37

Received bad configure-ack: 01 04 05 d4 05 06 83 df ae ef

Received bad configure-ack: 01 04 05 d4 05 06 4b 65 2d 93

LCP terminated by peer

Connection terminated.

Using interface ppp1

Connect: ppp1 <--> /dev/pts/2

Received bad configure-ack: 01 04 05 d4 05 06 3c c5 e1 2e

Received bad configure-ack: 01 04 05 d4 05 06 4b 90 13 c5

Received bad configure-ack: 01 04 05 d4 05 06 17 2e 71 eb

CHAP authentication succeeded

local IP address 83.195.9.1

remote IP address 193.253.160.3

primary DNS address 80.10.246.130

secondary DNS address 80.10.246.3

[root@localhost alex]# ifconfig

eth0 Lien encap:Ethernet HWaddr 00:11:09:71:2B:3B

adr inet6: fe80::211:9ff:fe71:2b3b/64 Scope:Lien

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:5 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:1000

RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)

Interruption:23 Adresse de base:0xbc00

 

eth1 Lien encap:UNSPEC HWaddr 00-10-DC-00-00-65-64-52-00-00-00-00-00-00-00-00

UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

eth2 Lien encap:Ethernet HWaddr 00:60:4C:50:F6:8E

adr inet6: fe80::260:4cff:fe50:f68e/64 Scope:Lien

UP BROADCAST RUNNING MULTICAST MTU:65535 Metric:1

RX packets:205410 errors:0 dropped:0 overruns:0 frame:0

TX packets:292958 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:1000

RX bytes:4468296 (4.2 Mb) TX bytes:12118953 (11.5 Mb)

 

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:331 errors:0 dropped:0 overruns:0 frame:0

TX packets:331 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:0

RX bytes:39159 (38.2 Kb) TX bytes:39159 (38.2 Kb)

 

ppp1 Lien encap:Protocole Point-à-Point

inet adr:83.195.9.1 P-t-P:193.253.160.3 Masque:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1

RX packets:17 errors:0 dropped:0 overruns:0 frame:0

TX packets:3 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 lg file transmission:3

RX bytes:874 (874.0 b) TX bytes:54 (54.0 b)

 

sit0 Lien encap:IPv6-dans-IPv4

adr inet6: ::127.0.0.1/96 Scope:Inconnu

UP RUNNING NOARP MTU:1480 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)

 

sl0 Lien encap:IP ligne série

inet adr:10.0.0.2 P-t-P:10.0.0.3 Masque:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 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:10

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

[root@localhost alex]# route -n

Table de routage IP du noyau

Destination Passerelle Genmask Indic Metric Ref Use Iface

10.0.0.3 0.0.0.0 255.255.255.255 UH 1 0 0 sl0

193.253.160.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 193.253.160.3 0.0.0.0 UG 0 0 0 ppp1

[root@localhost alex]#

 

 

voila bonne chance pour la trduction lol.... :P

Posté(e)

Il s'avère que tu es déja connecté avant même de lancer ton script; probablement un script mandrake qui te connecte au boot de la machine.

 

=> entrée ppp0 dans ifconfig et routage par défaut sur cette interface.

 

l'appel du script cause l'activation d'une autre interface ppp sur le même périphérique, et cause les erreurs LCP du log.

 

Ta connexion est donc effectivement établie mais quel driver est utilisé? celui nativement présent dans Mandriva que tu aurais mal désactivé? celui que tu as pris sur le site de eagle-usb?

 

qu'as tu fais exactement?

 

//tu dis ne pas avoir accès à internet mais peux tu pinger la passerelle? (i.e. 193.253.160.3 )

Posté(e)

j' ai pas compris mais je peut au moins repondre a ca

Ta connexion est donc effectivement établie mais quel driver est utilisé? celui nativement présent dans Mandriva que tu aurais mal désactivé? celui que tu as pris sur le site de eagle-usb?
le driver que j' utilise est le eagle usb 2.1.1 et je pense avoir bien desinstallé celui d' origine

./configure

make uninstall

make clean

.....

Rejoindre la conversation

Vous publiez en tant qu’invité. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.
Remarque : votre message nécessitera l’approbation d’un modérateur avant de pouvoir être visible.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...