View previous topic :: View next topic |
Author |
Message |
Walmarde Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 17 Mar 2003 Posts: 91 Location: Granby (Quebec)
|
Posted: Tue Apr 06, 2004 11:51 pm Post subject: Internet a arreter de fonctionner ?!?!?!?!? |
|
|
JE ne sais pas pourquoi mais mon internet a arreter subitement et ne veut plus repartir . 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 |
|
![](templates/gentoo/images/spacer.gif) |
Duncan117 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Feb 2004 Posts: 31
|
Posted: Wed Apr 07, 2004 12:03 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Walmarde Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 17 Mar 2003 Posts: 91 Location: Granby (Quebec)
|
Posted: Wed Apr 07, 2004 12:26 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Walmarde Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 17 Mar 2003 Posts: 91 Location: Granby (Quebec)
|
Posted: Wed Apr 07, 2004 12:28 am Post subject: |
|
|
/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 |
|
![](templates/gentoo/images/spacer.gif) |
Duncan117 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Feb 2004 Posts: 31
|
Posted: Wed Apr 07, 2004 12:48 am Post subject: |
|
|
Vi effectivement tu as raison et je me suis trompé car tu as une adresse dynamique.
Je vais chercher si je trouve qqchose ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
scout Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/12983883544208161274b34.png)
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 07, 2004 11:20 am Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
Walmarde Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 17 Mar 2003 Posts: 91 Location: Granby (Quebec)
|
Posted: Wed Apr 07, 2004 1:53 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scout Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/12983883544208161274b34.png)
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 07, 2004 3:11 pm Post subject: |
|
|
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 or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Walmarde Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 17 Mar 2003 Posts: 91 Location: Granby (Quebec)
|
Posted: Thu Apr 08, 2004 2:43 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|