Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Wifi] Association sans connexion !
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Fri Mar 31, 2006 1:28 pm    Post subject: Reply with quote

eriol wrote:
eth0 est connecté à un routeur lui même connecté à la livebox ...


Je pense que tu confond routeur et switch (ou hub).

Ensuite deux interface sur le même réseaux nécessite des config bien compliqué.

Donc si tu veux l'interface wifi opérationnel, il ne faut pas que eth0 soit lancé et config pour ce réseaux.
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Fri Mar 31, 2006 3:50 pm    Post subject: Reply with quote

Salut,

On va faire un test simple, désactive ton interface eth0 au démarrage :
Code:
rc-update del net.eth0 default


et rajoute eth1:
Code:
rc-update add  net.eth1  default


Tu édites bien ton fichier /etc/conf.d/net en fonction que tu utilises le filtre mac ou wep et tu reboot ta machine, si cela ne fonctionne pas, essais de voir les erreur de dhcpcd :
Code:
grep  dhcpcd  /var/log/messages



Voilà, sinon I don't known !!!!


@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
eriol
n00b
n00b


Joined: 29 Mar 2006
Posts: 15

PostPosted: Fri Mar 31, 2006 3:55 pm    Post subject: Reply with quote

chui un peu paumé avec rc-update vu que je me sers d'initng. C'est vraiment le pied mais je suis paumé au niveau des scripts :(
Je cherche plus tard, là je recompile (et update au passage) le noyeau comme je me servais des drivers intégrés.

J'vous tiens au courant !
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Fri Mar 31, 2006 5:10 pm    Post subject: Reply with quote

salut,


Dsl, je n'utilise pas encore initng mais j'ai fait une petite recherche:

http://gentoo-wiki.com/HOWTO_Initng

donc remplace:
rc-update par ng-update



@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
eriol
n00b
n00b


Joined: 29 Mar 2006
Posts: 15

PostPosted: Fri Mar 31, 2006 5:24 pm    Post subject: Reply with quote

je connais cette commande, l'ennui c'est que les scripts sont pas du tout les mêmes qu'avec rc-update.
Vous allez me dire que je cumule les problèmes :oops:

Voilà mon script eth1 :
Code:
service net/eth1 {
     depends = system/initial system/checkroot system/modules
         start {
         echo "Starting net/eth1 now"
         ifconfig eth1 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
         }
         stop {
         echo "Stopping net/$NAME now"
         ifconfig $NAME down
         }
 }


Forcément l'IP n'est pas le bon.
Sur ce wiki on trouve un script pour un eth0 static qui a l'air plus complet, mais c'est toujrous pour un IP static.
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Fri Mar 31, 2006 6:03 pm    Post subject: Reply with quote

Salut,

Code:
service net/eth1 {
     depends = system/initial system/checkroot system/modules
         start {
         echo "Starting net/eth1 now"
         /sbin/dhcpcd   eth1
         }
         stop {
         echo "Stopping net/$NAME now"
         ifconfig $NAME down
         }
 }



Essais cela pour voir, franchement si il faut modifier tous ces script pour initng, je vais attendre un peu :twisted: ...

Si tu veux utiliser ton script avec l'IP fixe tu dois réserver cette adresse sur la livebox pour ta carte réseau tous les routeurs que j'ai passé ont cette fonction...et tu configures ton fichier /etc/conf.d/net pour une IP fixe http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=4&chap=1




@+
_________________
Get Up and Go !
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
Goto page Previous  1, 2
Page 2 of 2

 
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