[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] PPP et Slackware 7.0
Alain EMPAIN wrote:
>
> On Mon, 8 May 2000, Alain BURET wrote:
>
> > Voici plus d'information sur mon problème ...
> >
> > route avec eth0
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> > 0.0.0.0 192.168.1.2 0.0.0.0 UG 1 0 0 eth0
>
> ===> default to 192.168.1.2 (eth0)
>
> > route avec eth0 et ppp0
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 194.7.6.206 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> > 0.0.0.0 192.168.1.2 0.0.0.0 UG 1 0 0 eth0
>
> ====> idem
>
> Tandis que la version qui marche a sa route par défaut vers ppp0.
>
> Comme il a été conseillé hier, il faut supprimer la route par défaut vers
> eth0 (qu'est-ce que c'est cette adresse 192.168.1.2 ? cela devrait
> correspondre à un PC réellement connecté, mais alors, à quoi sert la
> nécessité du ppp ? donc je crois qu'il s'agit d'un fantôme)
Non c'est probablement toi qui a faute, et qui l'a laisse
un gateway sur ton rezo local pendant la config de ta slack.
Je ne sais pas comment se configure la slack,
mais souvent on retrouve qlque chose comme :
IPADDR=....
MASK=....
GATEWAY=192.168.1.2
ifconfig ... up
[ "$GATEWAY" ] && route add default gw $GATEWAY
dans un fichier comme /etc/[rc.d/]init.d/network
et il suffi simmplement de remplacer la ligne GATEWAY=192.168.1.2
par GATEWAY=
Comme rebooter une linux est un sacrilege, tu fais un ifconfig eth0 down
puis tu relances ton network par un /etc/[rc.d/]init.d/network [start]
comme j'ai dit plus haut je connais pas/plus la slack,
et le fichier en question sera plus facilement
trouve par un :
# grep "GATEWAY" /etc/* /etc/*/* /etc/*/*/* 2> /dev/null
>
> Alain
>
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
--
Linux : May the sources be with you !
KeyLinux
Alain Spineux
Linux System Engineer
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/