Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 06/06/2008, à 20:42

beocien

problemede connexion wifi au demarrage

salut j'ai installé 8.04 recemment et j'ai des problemes pour me connceter au wifi quand je démarre le pc.

je suis configuré en manuel, car en mode itinérant, ca marche pas du tout.

quand je démarre et que je tape:
sudo dhclient ath0
j'ai ca

Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:05:4e:41:db:38
Sending on   LPF/ath0/00:05:4e:41:db:38
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
Trying recorded lease 192.168.0.12
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.

--- 192.168.0.254 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.0.13
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.

--- 192.168.0.254 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.

puis je tape :
sudo iwconfig ath0 essid nom_de_mon_reseau

ilme demande mon mot de passe.

puis ca marche.

pourquoi ca marche pas des le debut quand j'allume?

on dirant qu'il change mon adresse ip à chaque démarrage et donc c'est pour ca qu'il a du mal.
là je suis en 0.12 apparemment;

mais hier je sais que j'étais en 0.13

vous pouvez m'aider?

Hors ligne

#2 Le 06/06/2008, à 21:58

willy78

Re : problemede connexion wifi au demarrage

donnes ce retour

cat /etc/network/interfaces

Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne

#3 Le 07/06/2008, à 13:53

beocien

Re : problemede connexion wifi au demarrage

j'avais posté un message car j'arrivas jamais à me conncter.

tu m'avais deja demandé ca.

j'ai ca:

auto lo
iface lo inet loopback





iface ath0 inet dhcp
wireless-key _____
wireless-essid _____

tu me disais que ca devait marcher tout d esuite, mais ce n'est jamais le cas?

qu'en penses-tu alors?

Hors ligne

#4 Le 07/06/2008, à 14:00

willy78

Re : problemede connexion wifi au demarrage

place ça wireless-essid _____ avant , wireless-key _____


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne

#5 Le 07/06/2008, à 15:44

beocien

Re : problemede connexion wifi au demarrage

j'ai fait.
j'ai redemarré, et ca marche pas....
j'ai tapé cat /etc/network/interfaces
et j'ai bien

auto lo
iface lo inet loopback





iface ath0 inet dhcp
wireless-essid _______
wireless-key _____

puis je tape ca poir voir:  sudo dhclient ath0
il demand mon mot de passe et j'ai

Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:05:4e:41:db:38
Sending on   LPF/ath0/00:05:4e:41:db:38
Sending on   Socket/fallback
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.12 on ath0 to 255.255.255.255 port 67
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
Trying recorded lease 192.168.0.12
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.

--- 192.168.0.254 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.0.13
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.

--- 192.168.0.254 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.

y a un souci là non?

puis je tape sudo iwconfig ath0 essid nom_demon_reseau.
je lance firefox et ca marche.....

tu comprends quelquechose?

pourquoi ca marche des le debut?

Hors ligne

#6 Le 07/06/2008, à 22:22

willy78

Re : problemede connexion wifi au demarrage

je suis bête il manque (je suis un peu fatigué moi)
auto ath0


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne

#7 Le 08/06/2008, à 11:37

beocien

Re : problemede connexion wifi au demarrage

je dois le mettre dans mon cat /etc/network/interfaces??

à quel endreoit exactement?

et c'est pour ca que ca marche pas au démarrage?

car quand j'aidemarré ubuntu tout à l'heure ca marchait pas.
mais en faisant /etc/init.d/networking restart
ca marche.

ca explique tout?

Hors ligne

#8 Le 08/06/2008, à 13:05

willy78

Re : problemede connexion wifi au demarrage

alors edition du fichier

sudo gedit /etc/network/interfaces

et tu ajoutes
auto ath0
tu sauvegardes, tu reboot et normalement c'est bon


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne

#9 Le 08/06/2008, à 20:30

beocien

Re : problemede connexion wifi au demarrage

ah putainc'est pas ca:
en fait j'avais deja auto ath0, j'avais juste oublié de le copier.... désolé
voila mon fichier interface en entier:

auto lo
iface lo inet loopback





iface ath0 inet dhcp
wireless-essid ___
wireless-key ___

auto ath0

j'ai aussi essayé de mettre auto ath0 avant iface ath0 inet mais ca marche pas non plus.

tu as une autre solution?

là encore en démarrant ca marchait pas mais en faisant apr_s sudo /etc/init.d/networking restart, ca a marché

Dernière modification par beocien (Le 08/06/2008, à 20:31)

Hors ligne

#10 Le 08/06/2008, à 20:40

willy78

Re : problemede connexion wifi au demarrage

l'autre solution c'est de passer par network-manager ou wicd
regarde dans la doc (fonction recherche)


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne

#11 Le 08/06/2008, à 20:56

beocien

Re : problemede connexion wifi au demarrage

network manager, c'est ce que j'ai par defaut non?
c'est pas le mode itinérant?

ou bien c'est un paquet que je dois installer?

Hors ligne

#12 Le 08/06/2008, à 20:57

willy78

Re : problemede connexion wifi au demarrage

si c'est bien le mode itinerant


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne