View previous topic :: View next topic |
Author |
Message |
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Thu Aug 02, 2007 4:40 pm Post subject: |
|
|
Euh, je le mettrais plutot dans le runlevel default donc : Code: | eselect rc add net.wlan0 default |
Au passage, que devient rc-update dans tout ça ? |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 4:49 pm Post subject: |
|
|
Alors ca marche pas.....
Il veut que je fasse emerge net-wireless/wireless-tools
Donc je l'ai fait en chroot et .....
Code: |
bihel-desktop / # emerge net-wireless/wireless-tools
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-wireless/wireless-tools-28 to /
>>> Downloading 'http://mirror.ovh.net/gentoo-distfiles/distfiles/wireless_tools.28.tar.gz'
--16:47:30-- http://mirror.ovh.net/gentoo-distfiles/distfiles/wireless_tools.28.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.tar.gz'
Résolution de mirror.ovh.net... échec: Échec temporaire dans la résolution du nom.
>>> Downloading 'ftp://mirror.ovh.net/gentoo-distfiles/distfiles/wireless_tools.28.tar.gz'
--16:47:30-- ftp://mirror.ovh.net/gentoo-distfiles/distfiles/wireless_tools.28.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.tar.gz'
Résolution de mirror.ovh.net... échec: Échec temporaire dans la résolution du nom.
>>> Downloading 'http://gentoo.modulix.net/gentoo/distfiles/wireless_tools.28.tar.gz'
--16:47:30-- http://gentoo.modulix.net/gentoo/distfiles/wireless_tools.28.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.tar.gz'
Résolution de gentoo.modulix.net... échec: Échec temporaire dans la résolution du nom.
>>> Downloading 'http://ftp.club-internet.fr/pub/mirrors/gentoo/distfiles/wireless_tools.28.tar.gz'
--16:47:30-- http://ftp.club-internet.fr/pub/mirrors/gentoo/distfiles/wireless_tools.28.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.tar.gz'
Résolution de ftp.club-internet.fr... échec: Échec temporaire dans la résolution du nom.
>>> Downloading 'http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.28.tar.gz'
--16:47:30-- http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.28.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.tar.gz'
Résolution de www.hpl.hp.com... échec: Échec temporaire dans la résolution du nom.
!!! Couldn't download 'wireless_tools.28.tar.gz'. Aborting.
bihel-desktop / #
|
Ca marche pas.... |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 4:57 pm Post subject: |
|
|
kopp wrote: | Euh, je le mettrais plutot dans le runlevel default donc : Code: | eselect rc add net.wlan0 default |
|
J'ai fait cette commande en chroot puis j'ai redémarrer et maintenant le démarrage est (très) lent...Donc comment faire pour enlever cette commande? |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Thu Aug 02, 2007 5:08 pm Post subject: |
|
|
comme te l'indique eselect rc help : eselect rc delete net.wlan0
Pour ton problème de net, as tu lu le guide d'installation à un moment à un autre ? si oui, à un moment on te dit de copier /etc/resolv.conf sur la partition dans laquelle tu chroot :
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
(en remplaçant /mnt/gentoo par le point de montage, a priori /media/sda8) |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 5:16 pm Post subject: |
|
|
kopp wrote: | comme te l'indique eselect rc help : eselect rc delete net.wlan0
Pour ton problème de net, as tu lu le guide d'installation à un moment à un autre ? si oui, à un moment on te dit de copier /etc/resolv.conf sur la partition dans laquelle tu chroot :
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
(en remplaçant /mnt/gentoo par le point de montage, a priori /media/sda8) |
Evidament que j'ai lue la doc^^.C'est la première chose que je fait , mais en tout cas merci ca fonctionne. |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 5:32 pm Post subject: |
|
|
En fait ca marche toujours pas.....
J'ai redémarrer gentoo et toujours pas internet.... m'indique que ma carte est installer mais me dit que toutes les connexions sont en "no wireless extention".Et franchement j'ai bo lire la manuel d'installation ou il faut configurer les réseau a marche toujours pas... |
|
Back to top |
|
|
Magic Banana Veteran
Joined: 13 Dec 2005 Posts: 1912 Location: Belo Horizonte, Minas Gerais, Brasil
|
Posted: Thu Aug 02, 2007 5:34 pm Post subject: |
|
|
anorexia wrote: | ca fonctionne. |
Qu'est-ce qui fonctionne ? Seulement la résolution de nom ou ta connexion sans fil ?
EDIT : Bon... visiblement, seulement la résolution de nom. Le script net.wlan0 est bien lancé au démarrage cette fois ? |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 5:38 pm Post subject: |
|
|
Quand je disais ca fonctionne je parlais du "emerge net-wireless/wireless-tools". |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 5:47 pm Post subject: |
|
|
J'ai donc vérifie si wlan0 était au démarrage est bien non...Je l'ai donc remis je reboot et la ca marche^^.Ca y est j'ai internet , maitenent il faut que je lui dise de ne pas ce connecter sur le réseau du voisin . |
|
Back to top |
|
|
YetiBarBar Guru
Joined: 23 Dec 2005 Posts: 532
|
Posted: Thu Aug 02, 2007 6:23 pm Post subject: |
|
|
anorexia wrote: | J'ai donc vérifie si wlan0 était au démarrage est bien non...Je l'ai donc remis je reboot et la ca marche^^.Ca y est j'ai internet , maitenent il faut que je lui dise de ne pas ce connecter sur le réseau du voisin . |
Vas voir la
Si c'est bon, un petit [Resolu] dans le titre? |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Thu Aug 02, 2007 7:26 pm Post subject: |
|
|
Félicitations \o/ |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 8:02 pm Post subject: |
|
|
YetiBarBar wrote: | anorexia wrote: | J'ai donc vérifie si wlan0 était au démarrage est bien non...Je l'ai donc remis je reboot et la ca marche^^.Ca y est j'ai internet , maitenent il faut que je lui dise de ne pas ce connecter sur le réseau du voisin . |
Vas voir la
Si c'est bon, un petit [Resolu] dans le titre? |
C'est ce que je regarde^^.Mais je crois que un essid="nomdumodeme" devrait suffire je teste ca^^. |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 9:07 pm Post subject: |
|
|
Enfin , j'ai un système qui me plait avec KDE.Mais il y a encore quelque petit soucis notamment avec la connexion internet.Voici mon fichier /etc/conf.d/wireless
Code: |
modules=( "iwconfig" )
essid_wlan0="Livebox-5750"
key_Livebox\-5750="****-****-****-****-****-****-**"
|
Et il ne reconait pas la ligne Code: | key_Livebox\-5750="****-****-****-****-****-****-**" | au démarrage.
Deuxième "petit problème" au démarage il me charge encore eth0 alors que je n'est pas envie.Voici ce que me donne la commande
Code: |
bihel-desktop / # eselect rc list
Available init scripts
bootmisc boot
checkfs boot
checkroot boot
clock boot
consolefont boot
crypto-loop
cupsd
gpm
hdparm
hostname boot
keymaps boot
local default nonetwork
localmount boot
modules boot
net.eth0
net.eth1
net.lo boot
netmount default
net.wlan0 boot
nscd
numlock
pwcheck
rmnologin boot
rsyncd
saslauthd
sshd
syslog-ng default
urandom boot
vixie-cron default
xdm
bihel-desktop / #
|
On voit bien que eth0 est désactiver mais il démarre tout de même... |
|
Back to top |
|
|
Magic Banana Veteran
Joined: 13 Dec 2005 Posts: 1912 Location: Belo Horizonte, Minas Gerais, Brasil
|
Posted: Thu Aug 02, 2007 9:19 pm Post subject: |
|
|
L'interface réseau qui démarre sans qu'on lui ai demandé est un problème classique (ce qui signifie que tu peux en savoir beaucoup en faisant une recherche sur ce forum). Une solution simple est d'installer ifplugd qui te lancera eth0 que si un câble est effectivement branché :
Installer ifplugd: | # emerge ifplugd |
|
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 10:09 pm Post subject: |
|
|
Bon j'ai bien regardez la documentation(les net.exemple par exemple) et le manuel et je crois bien qu'il y a une erreur dans le manuel car c'est Code: | modules=("!iwconfig") | et non Code: | modules=("iwconfig") | .
J'ai donc modifier mon fichier etc/conf.d/net et j'y est mis Code: | modules=("!iwconfig") | .Jusqu'a la tout va bien.Mais c'est le fichier /etc/conf.d/wireless qui me pose problème le voici :
Code: |
essid_wlan0="Livebox-5750"
key_wlan0="******************"
config_wlan0=("dhcp")
|
Et il ne veut pas se connecter car le délai d'attente est trop long.Et franchement j'ai eu beau cherchez sur les *.exemple et sur le manuel j'ai pas trouver ou plutôt j'ai pas compris(comme l'histoire du essid). |
|
Back to top |
|
|
SanKuKai Apprentice
Joined: 17 Feb 2006 Posts: 228 Location: Toulouse, France
|
Posted: Thu Aug 02, 2007 10:54 pm Post subject: |
|
|
Salut.
anorexia wrote: | Bon j'ai bien regardez la documentation(les net.exemple par exemple) et le manuel et je crois bien qu'il y a une erreur dans le manuel car c'est Code: | modules=("!iwconfig") | et non Code: | modules=("iwconfig") | .
|
Non pour le WEP tu utilises bien iwconfig, donc c'est bien :
Code: |
modules=("iwconfig")
|
qu'il faut.
anorexia wrote: |
J'ai donc modifier mon fichier /etc/conf.d/net et j'y est mis Code: | modules=("!iwconfig") | .Jusqu'a la tout va bien.Mais c'est le fichier /etc/conf.d/wireless qui me pose problème le voici :
Code: |
essid_wlan0="Livebox-5750"
key_wlan0="******************"
config_wlan0=("dhcp")
|
|
En début du fichier /etc/conf.d/wireless.example il est spécifié ceci :
Quote: |
# Notice that the space has changed to an underscore - do the same with all
# characters not in a-z A-Z (english alphabet) 0-9.
|
Donc normalement tu devrais avoir :
Code: |
essid_wlan0="Livebox-5750"
key_Livebox_5750="******************"
config_wlan0=("dhcp")
|
Sinon si tu veux virer le démarrage automatique de toutes les interfaces sauf wlan0 sans utiliser ifplugd, tu peux mettre ceci :
Code: |
RC_PLUG_SERVICES="net.wlan0 !net.*"
|
dans ton /etc/conf.d/rc. |
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Thu Aug 02, 2007 11:32 pm Post subject: |
|
|
Quote: | Donc normalement tu devrais avoir :
Code: |
essid_wlan0="Livebox-5750"
key_Livebox_5750="******************"
config_wlan0=("dhcp")
|
|
Heu ca marche pas ca me fait une erreur au niveau de la ligne key_Livebox_5750="******************".
Voici mon message d'erreur(désolé pour les truc bizarre)
Code: |
^[[32;01m*^[[0m Starting wlan0
^[[32;01m*^[[0m Configuring wireless network for wlan0
^[[33;01m*^[[0m wlan0 does not support setting keys
^[[33;01m*^[[0m or the parameter "mac_key_Livebox_5750" or "key_Livebox_5750$
^[[31;01m*^[[0m Failed to configure wireless for wlan0
^[[A^[[72C ^[[34;01m[ ^[[31;01m!!^[[34;01m ]^[[0m
^[[A^[[72C ^[[34;01m[ ^[[31;01m!!^[[34;01m ]^[[0m
|
|
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Fri Aug 03, 2007 4:31 pm Post subject: |
|
|
C'est bon j'ai internet^^.Jai trouver un fichier a executer ici.J'ai reussi a avoir ce que je voulais avant de partir en vacences.Merci beaucoup tout le monde. |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
anorexia n00b
Joined: 31 Jul 2007 Posts: 63
|
Posted: Sat Aug 04, 2007 1:10 am Post subject: |
|
|
Ba je le formate juste avant de partir . |
|
Back to top |
|
|
|