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.

#126 Le 26/03/2008, à 23:18

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Pour automatiser tout ça, voir au poste 116 les modifications de /etc/rc.local

Dernière modification par Imagine (Le 26/03/2008, à 23:22)

Hors ligne

#127 Le 26/03/2008, à 23:48

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

bon j'ai redemarré et ça n'imprime plus sad

apparemment il y a un pb avec l'ESSID

j'ai tapé ça:

seb@seb-desktop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     RT73 WLAN  ESSID:""
          Mode:Managed  Frequency=2.412 GHz  Bit Rate:54 Mb/s
          RTS thr:off   Fragment thr:off
          Link Quality=0/100  Signal level:-121 dBm  Noise level:-115 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

seb@seb-desktop:~$ iwconfig wlan0 essid roro
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.
seb@seb-desktop:~$ iwconfig wlan0 essid roro

Hors ligne

#128 Le 26/03/2008, à 23:49

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

sinon j'ai bien rentré les commandes du poste 116....et j'avais bien EXIT0

Hors ligne

#129 Le 26/03/2008, à 23:55

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

tu avais modifié /etc/rc.local avant ?

Sinon : quand tu changes la configuration de ta carte après t'être identifié , tu dois être en superutilisateur (ça évite de faire des bêtises)

iwconfig wlan0 essid roro ... SET failed on device wlan0 ; Operation not permitted.

un utilisateur normal n'a pas le droit de changer la configuration du réseau, même si c'est le compte créé à l'installation

sudo iwconfig wlan0 essid roro

devrait fonctionner

Dernière modification par Imagine (Le 26/03/2008, à 23:58)

Hors ligne

#130 Le 27/03/2008, à 00:00

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

rc.local doit ressembler à ça

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# ...
# By default this script does nothing.

iwconfig wlan0 essid roro
iwconfig wlan0 mode ad-hoc

exit 0

Hors ligne

#131 Le 27/03/2008, à 00:07

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

poste le retour de

ls -la /etc/rc.local

pour voir les droits de rc.local

Hors ligne

#132 Le 27/03/2008, à 00:26

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

seb@seb-desktop:~$ sudo iwconfig wlan0 essid roro
Password:
seb@seb-desktop:~$ ls -la /etc/rc.local
-rwxr-xr-x 1 root root 306 2006-08-06 01:19 /etc/rc.local
seb@seb-desktop:~$

Hors ligne

#133 Le 27/03/2008, à 00:35

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

si tu entres

sudo iwconfig wlan0 essid roro

puis

sudo iwconfig wlan0 mode ad-hoc

tu dois retrouver ton imprimante

Dernière modification par Imagine (Le 27/03/2008, à 00:36)

Hors ligne

#134 Le 27/03/2008, à 00:50

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

oui ca remarche.......:)

j'essaye de redemarrer ?

Hors ligne

#135 Le 27/03/2008, à 00:53

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Oui, vérifie rc.local puis redémarre l'ordinateur

Hors ligne

#136 Le 27/03/2008, à 00:56

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

c'est bon là pour redemarrer ?

seb@seb-desktop:~$ ls -la /etc/rc.local
-rwxr-xr-x 1 root root 306 2006-08-06 01:19 /etc/rc.local
seb@seb-desktop:~$

Hors ligne

#137 Le 27/03/2008, à 01:00

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Les droits

-rwxr-xr-x 1 root root ...

oui
que renvoie

cat /etc/rc.local

Hors ligne

#138 Le 27/03/2008, à 01:01

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

seb@seb-desktop:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
seb@seb-desktop:~$

Hors ligne

#139 Le 27/03/2008, à 01:06

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Là c'est pas bon

Hors ligne

#140 Le 27/03/2008, à 01:07

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Il faut que tu ouvres ce fichier dans gedit en superutilisateur pour pouvoir le modifier

sudo gedit /etc/rc.local

Hors ligne

#141 Le 27/03/2008, à 01:09

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

ça me donne ça:



#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

Hors ligne

#142 Le 27/03/2008, à 01:10

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Ensuite, avant la ligne "exit 0", il faut rajouter

iwconfig wlan0 essid roro
iwconfig wlan0 mode ad-hoc

ensuite enregistre ce fichier et poste le retour de

cat /etc/rc.local

Dernière modification par Imagine (Le 27/03/2008, à 01:10)

Hors ligne

#143 Le 27/03/2008, à 01:13

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

lseb@seb-desktop:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
iwconfig wlan0 essid roro
iwconfig wlan0 mode ad-hoc
exit 0

exit 0

Hors ligne

#144 Le 27/03/2008, à 01:16

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Maintenant il y a un exit 0 de trop big_smile

Je ne crois pas que ce soit grave, le 2me ne doit pas être lu

Tu peux redémarrer

Hors ligne

#145 Le 27/03/2008, à 01:23

mastermokey

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

ok ça marche nickel...:)

je sais pas comment te remercier !!

merci de ta patience...vraiment c'est cool de ta part wink

Hors ligne

#146 Le 27/03/2008, à 01:37

Imagine

Re : [RéSOLU]probleme avec imprimante brother DCP-750CW

Il te reste un problème quand même : ton réseau n'est pas protégé et tous tes voisins peuvent entrer sur ton ordi ou utiliser ton imprimante (L'ordi faut trouver ton identifiant et ton mot de passe mais 1 nuit de pages de sites X sur ton imprimante : pas forcément cool)

Dans un premier temps met une clé WEP identique sur l'ordi et l'imprimante (pour l'ordi tu peux passer par le configurateur de réseau [Système->Administration->réseau].

Une clé WPA c'est mieux mais sous Dapper ce n'est pas prévu d'origine.

Si tu as un problème avec les clés, ouvre un autre post dans Réseau plutôt que dans matériel

Modifie le titre de ton premier post pour rajouter [Résolu]

@+

Dernière modification par Imagine (Le 27/03/2008, à 01:39)

Hors ligne