Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Internet a arreter de fonctionner ?!?!?!?!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Walmarde
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2003
Posts: 91
Location: Granby (Quebec)

PostPosted: Tue Apr 06, 2004 11:51 pm    Post subject: Internet a arreter de fonctionner ?!?!?!?!? Reply with quote

JE ne sais pas pourquoi mais mon internet a arreter subitement et ne veut plus repartir 8O . Et quand je dit subitement il peut pas y avoir plus subitement que ca ! Je chattais sur une machine client quand tout à coup ... déconnexion. Je n'ai pas rebooter ni redemarrer quoi que se soit sur mon serveur.

Jai trois cartes reseaux eth0,eth1,eth2.
eth0 n'est pas activer au démarrage
eth1 est brancher à mon modem adsl
eth2 est brancher à mon reseaux local

Dans /etc/conf.d/net:
iface_eth2="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0"
iface_eth0="192.168.1.3 broadcast 192.168.1.255 netmask 255.255.255.0"

ifconfig :
eth1 Link encap:Ethernet HWaddr 00:50:BA:A5:E0:24
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:12738 (12.4 Kb) TX bytes:3141 (3.0 Kb)
Interrupt:12 Base address:0xec00

eth2 Link encap:Ethernet HWaddr 00:50:BA:D1:E5:F1
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:527 errors:0 dropped:0 overruns:0 frame:0
TX packets:440 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:37302 (36.4 Kb) TX bytes:52206 (50.9 Kb)
Interrupt:10 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Maintenant lorsque je démarre /etc/init.d/rp-pppoe start jai ce message:
* Please make sure that /etc/conf.d/net has $iface_eth1 set
WTF depuis quand qu'il faut setter interface qui se connecte au modem DSL ?
Si qqun a deja eu se prob MSGger moi le plus vite possible !!!!
La seul raison que je vois est que jai récemment fait un emerge -u world
Mais pourquoi ma connection à t-elle planté 2 jours plus tard ?!?!?!!
_________________
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Back to top
View user's profile Send private message
Duncan117
n00b
n00b


Joined: 27 Feb 2004
Posts: 31

PostPosted: Wed Apr 07, 2004 12:03 am    Post subject: Reply with quote

Peut-être que pendant l'emerge word tu as modifié des fichiers de conf ?

As-tu fait un etc-update après ?

Sinon que penses-tu d'un /etc/init.d/net.eth1 restart

De toute façon, c'est bizarre car il te manque une ligne inet addr pour ton interface eth1.

C'est normal dans ton cas puisque rp-ppoe ne veut pas se lancer ?
Back to top
View user's profile Send private message
Walmarde
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2003
Posts: 91
Location: Granby (Quebec)

PostPosted: Wed Apr 07, 2004 12:26 am    Post subject: Reply with quote

Je n'ai , comme je l'ai déjà mentionner , jamais configuré $iface_eth1 dans /etc/conf.d/net et tout marchais parfaitement bien

Maintenant on dirait que les règles sont changés.

Si je dois configurer iface_eth1 dans /etc/conf.d/net que dois-je mettre alors ?
Ce n'est pas une adresse fixe.
_________________
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Back to top
View user's profile Send private message
Walmarde
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2003
Posts: 91
Location: Granby (Quebec)

PostPosted: Wed Apr 07, 2004 12:28 am    Post subject: Reply with quote

/etc/init.d/net.eth1 restart me donne ceci:
*Please make sure that /etc/conf.d/net has $iface_eth1 set


et pourtant si je tappe ifconfig j'obtiens celà :

eth1 Link encap:Ethernet HWaddr 00:50:BA:A5:E0:24
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:235 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:22485 (21.9 Kb) TX bytes:6282 (6.1 Kb)
Interrupt:12 Base address:0xec00
eth2 ...


aaaah :( je n'y comprends rien aider moi bouhouhou
_________________
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Back to top
View user's profile Send private message
Duncan117
n00b
n00b


Joined: 27 Feb 2004
Posts: 31

PostPosted: Wed Apr 07, 2004 12:48 am    Post subject: Reply with quote

Vi effectivement tu as raison et je me suis trompé car tu as une adresse dynamique.

Je vais chercher si je trouve qqchose :wink:
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Wed Apr 07, 2004 11:20 am    Post subject: Reply with quote

Duncan117 wrote:
Vi effectivement tu as raison et je me suis trompé car tu as une adresse dynamique.
Je vais chercher si je trouve qqchose :wink:

tu veux dire qu'il faut rajouter iface_eth1="dhcp" dans /etc/conf.d/net, c'est bien ça que tu cherches ?
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
Walmarde
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2003
Posts: 91
Location: Granby (Quebec)

PostPosted: Wed Apr 07, 2004 1:53 pm    Post subject: Reply with quote

J'utilise ADSL.

Je n'ai jamais eu a configurer eth1 avec DHCP car j'utilise un modem ADSL

Ca fait plus d'un an que j'utilise cette configuration et je nai jamais eu de probleme avant aujourdh.ui
_________________
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Wed Apr 07, 2004 3:11 pm    Post subject: Reply with quote

Walmarde wrote:
J'utilise ADSL.
Je n'ai jamais eu a configurer eth1 avec DHCP car j'utilise un modem ADSL
Ca fait plus d'un an que j'utilise cette configuration et je nai jamais eu de probleme avant aujourdh.ui

Si j'ai bien compris ton modem ADSL est un modem ethernet, il y a donc un cable croisé RJ45 entre eth1 et ton modem ADSL. dans ce cas, eth1 est utilisé et il faut donc que l'interface soit configurée. Il se trouve que par miracle eth1 était configuré avec dhcp et donc tout se passait bien, mais ce miracle a eu une fin, (peut être à cause d'un emerge -u world) et il faut maintenant que spécifie dans le fichier /etc/conf.d/net que eth1 doit être configuré avec dhcp.
d'ailleurs je ne comprends pas à quoi ppp sert, si c'est un modem ethernet !
Ou alors j'ai pas compris, et ce n'est pas un modem ethernet :evil:
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
Walmarde
Tux's lil' helper
Tux's lil' helper


Joined: 17 Mar 2003
Posts: 91
Location: Granby (Quebec)

PostPosted: Thu Apr 08, 2004 2:43 am    Post subject: Reply with quote

ok jai trouver comment fixer le probleme

dans /etc/conf.d/net

Je dois ajouter la ligne suivante :
iface_eth1="up"
_________________
Naturally, the common people don't want war, it is always a simple matter to drag people. All you have to do is to tell them they are being attacked and denounce the pacifist for lack of patriotism and exposing the country to danger. -Hermann Goering-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum