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.

#26 Le 27/02/2009, à 22:05

Vergeylen

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Hmmm... j'avoue que je suis perplexe... hmm Désolé! Si j'ai une idée, je vous recontact.


Daniel V.

Hors ligne

#27 Le 27/02/2009, à 23:42

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

merci de suivre mes périgrinations

Vergeylen a écrit :

Hmmm... j'avoue que je suis perplexe... hmm Désolé! Si j'ai une idée, je vous recontact.Daniel V.

uperu a écrit :

Peut-être devrais-je réessayer avec wicd,car NetworkManager ne me permets pas de configurer eth1 ou même une autre interface, on me réponds toujours que l'interface n'existe pas!
Peut-être devrais-je récupérer le fichier /networking.dpkg.old:je suis allée le voir, cela a l'air d'être le fichier d'origine car il y a les lignes commenter en anglais mais visiblement j'ai dû en perdre un morceau car en allant compulser différents posts, j'en ai vu un dans son intégralité: peut-être pourrai-je récupérer la partie manquante?.
Une autre chose m'étonne, c'est que lorsque j'ai voulu configurer le fichier wpa_supplicant, j'avais une page vierge et la aussi en cherchant sur le forum, j'ai eu l'occasion d'en voir un avec tout un tas de lignes explicatives en anglais: je n'ai rien de tout ça!
Peut-être ai-je malencontreusement viré le fichier d'origine networking et c'est pour cela que j'obtiens ces réponses bizarres!

Vergeylen a écrit :

avec votre clé à la place des X et votre réseau à la place de "Nom réseau". Si vous êtes sur système ouvert, remplacez restricted par open.

Que voulez-vous dire par système ouvert?--> pour moi cela voulait dire sans clé, mais j'ai peut-être mal interprété le mot-->open, voulez-vous dire par là que la Livebox n'est pas cachée?
Je n'ai essayé qu'avec la formule "key restricted"


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#28 Le 28/02/2009, à 03:02

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Salut, je n'ai pas de fichier networking.dpkg.old
??

I doit foutre le binz

compare les deux fichiers

cat /etc/init.d/networking
cat /etc/init.d/networking.dpkg.old

tu peux tenter de déplacer le fichier dans un autre répertoire

Hors ligne

#29 Le 28/02/2009, à 03:07

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

purge les fichier des interfaces, avec network-manager installé

echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo killall -9 NetworkManager 
sudo NetworkManager
nm-applet

essaye alors une connexion avec Network-manager

Hors ligne

#30 Le 01/03/2009, à 11:27

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Ils sont identiques:

$ cat /etc/init.d/networking
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

$ cat /etc/init.d/networking.dpkg-old
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

$ cat /etc/network/interfaces.dpkg-old
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
	script grep
	map eth0

ce matin (28-02) aprés avoir remis la sécurité sur la Livebox, je n'ai plus de connexion avec le mode itinérant.(ce qui me semble normal)
J'ai bien un fichier /init.d/networking, alors pourquoi on me réponds qu'il n'est pas trouvé!

ilcorseronero a écrit :

Salut, je n'ai pas de fichier networking.dpkg.old
??

I doit foutre le binz

compare les deux fichiers

cat /etc/init.d/networking
cat /etc/init.d/networking.dpkg.old

tu peux tenter de déplacer le fichier dans un autre répertoire

Je vais essayer de le déplacer (il faut que je retrouve la commande)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#31 Le 01/03/2009, à 11:40

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

sudo mv /etc/init.d/networking.dpkg.old ~/networking.dpkg.old
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo killall -9 NetworkManager
sudo NetworkManager
nm-applet   #l'icone doit apparaître

attends un peu histoire de voir si ta box est vue par nm

Dernière modification par ilcorseronero (Le 01/03/2009, à 11:41)

Hors ligne

#32 Le 01/03/2009, à 11:42

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

J'ai fait l'essai sans succès, mais je vois que j'ai oublié:

sudo killall -9 NetworkManager 
sudo NetworkManager
nm-applet

Du coup, j'ai réessayé avec Wicd mais sans plus de résultat!

ilcorseronero a écrit :

purge les fichier des interfaces, avec network-manager installé

echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo killall -9 NetworkManager 
sudo NetworkManager
nm-applet

essaye alors une connexion avec Network-manager

je vais donc recommencer comme tu me le dis en essayant cette foi-ci de ne rien oublier.
Merci pour ton aide.


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#33 Le 01/03/2009, à 12:52

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

J'ai tout recommencé à zéro:
1-désinstallé Wicd
2- me reconnectée en dhcp (sans protection) afin de réinstaller NetworkManager
3- lancé toutes les commandes que tu m'as données
4- après :

nm-applet

le curseur clignote --> rien n'apparaît...!!!
5- je ne suis pas connectée  malgré l'association de la Livebox avec nm-tool, elle est là mais pas associée.


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#34 Le 01/03/2009, à 12:53

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Faut-il que je remette la protection avant de refaire tout cela?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#35 Le 01/03/2009, à 13:04

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

redémarre

as tu encore ce dpkg.old?

essaye wpa_supplicant (voir doc)

Hors ligne

#36 Le 01/03/2009, à 13:09

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

après avoir remis la clé dans la Livebox?

ilcorseronero a écrit :

redémarre

as tu encore ce dpkg.old?

essaye wpa_supplicant (voir doc)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#37 Le 01/03/2009, à 13:12

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

n'importe

Hors ligne

#38 Le 01/03/2009, à 15:08

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

En remontant pour refaire tout cela, j'ai vu que j'étais de ,nouveau en association avec la Livebox et avec un "sudo dhclient eth1" j'étais connectée.J'ai  alors refait les commandes après avoir réinstallé la clé: là rien du tout. mais après "nm-applet--> j'attends et rien ne se passe ; pas d'icône mais je peux la mettre en cliquant droit( pour avoir lale petit double écran: si je clique dessus et ensuite sur "configurer "lo ou lorsqu'il y est eth1, on me réponds toujours que l'interface n'existe pas)
"nm-tool" montre la Livebox connectée ou déconnectée selon son état.
En procédant ainsi j'arrive donc à me connecter mais en itinérant: une fois en itinérant puis-je espèrer mieux si j'y reste un certain temps?
quelles sont les commandes pour faire travailler NetworkManager? J'y arrive aussi de nouveau en dhcp sans protection.
J'ai oublié de regarder si le fichier "dpkg-old avait quitté l'emplacement /etc/: je pense que oui puisque la commande de déplacement n'a pas fait de ricocher.
wpa_supplicant: j'ai essayé aussi sans succès .
Je ne suis guère avancée! Merci tout de même. Si tu as une autre idée...

ilcorseronero a écrit :

n'importe

Dernière modification par uperu (Le 01/03/2009, à 15:17)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#39 Le 04/03/2009, à 11:49

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

J'ai refait le processus mais je me rends compte que dans les -->applications NetworkManager ne figure pas, ce qui explique que je n'ai pas l'applet: pourquoi? Puisque je l'ai réinstallé avec Synaptic!
Ya-t-il un site sur lequel le récupérer? Histoire de voir si cela fait la meme chose!
Voici le résultat de la dernière tentative:

$ echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
auto lo
iface lo inet loopback

$ sudo killall -9 NetworkManager 
$ sudo NetworkManager 
$ nm-applet         #là rien n'apparait et cela clignote indéfiniment.

$  iwconfig eth1

eth1      unassociated  ESSID:"LiveboxXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:[b]xxxxxxx(en wpa_passphrase) [/b] Security mode:[b]open[/b]   [i] # c'est la première fois que cela est mentionné[/i]
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:224   Missed beacon:0

$ sudo iwconfig eth1 essid LiveboxXXXX
$ sudo iwconfig eth1 essid LiveboxXXXX key s:XXXX#ma clé d'origine
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:43:65:55:00  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:11 

eth1      Link encap:Ethernet  HWaddr 00:0c:f1:59:4c:20  
          adr inet6: fe80::20c:f1ff:fe59:4c20/64 Scope:Lien
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:317 erreurs:596 :596 overruns:0 frame:0
          TX packets:686 errors:0 dropped:17 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:35821 (34.9 KB) Octets transmis:111069 (108.4 KB)
          Interruption:7 Adresse de base:0x4000 MÈmoire:faffc000-faffcfff 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÙte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:1616 erreurs:0 :0 overruns:0 frame:0
          TX packets:1616 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:81146 (79.2 KB) Octets transmis:81146 (79.2 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"LiveboxXXXX"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:16:CE:8B:FC:F4   
          Bit Rate=11 Mb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=80/100  Signal level=-78 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:236   Missed beacon:0
$ sudo dhclient eth1
There is already a pid file /var/run/dhclient.pid with pid 17089
killed old client process, removed PID file
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/

Listening on LPF/eth1/00:0c:f1:59:4c:20
Sending on   LPF/eth1/00:0c:f1:59:4c:20
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
$ nm-tool

NetworkManager Tool

State: disconnected

- Device: eth1 ----------------------------------------------------------------
  NM Path:           /org/freedesktop/NetworkManager/Devices/eth1
  Type:              802.11 Wireless
  Driver:            ipw2100
  Active:            no
  HW Address:        00:0C:F1:59:4C:20

  Capabilities:
    Supported:       yes
    Speed:           1 Mb/s

  Wireless Settings
    Scanning:        yes
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Networks (* = Current Network)      ------#[i] la livebox est bien vue![/i]
    LiveboxXXXX:    Infrastructure Mode, Freq 2.412 MHz, Rate 62 Mb/s, Strength 35%, Encrypted (WPA)


- Device: eth0 ----------------------------------------------------------------
  NM Path:           /org/freedesktop/NetworkManager/Devices/eth0
  Type:              Wired
  Driver:            
  Active:            no
  HW Address:        00:11:43:65:55:00

  Capabilities:
    Supported:       yes
    Carrier Detect:  yes
    Speed:           10 Mb/s

  Wired Settings
    Hardware Link:   no


$ sudo NetworkManager start    -----#[i]espérant ainsi être connectée![/i]
$ nm-tool

NetworkManager Tool

State: disconnected      -------#[i]toujours pareil[/i]

- Device: eth1 ----------------------------------------------------------------
  NM Path:           /org/freedesktop/NetworkManager/Devices/eth1
  Type:              802.11 Wireless
  Driver:            ipw2100
  Active:            no              -------# [i]qui n'est pas actif: eth1 ou ipw2100?[/i]
  HW Address:        00:0C:F1:59:4C:20

  Capabilities:
    Supported:       yes
    Speed:           11 Mb/s

  Wireless Settings
    Scanning:        yes
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Networks (* = Current Network)
    LiveboxXXXX:    Infrastructure Mode, Freq 2.412 MHz, Rate 62 Mb/s, Strength 35%, Encrypted (WPA)


- Device: eth0 ----------------------------------------------------------------
  NM Path:           /org/freedesktop/NetworkManager/Devices/eth0
  Type:              Wired
  Driver:            
  Active:            no
  HW Address:        00:11:43:65:55:00

  Capabilities:
    Supported:       yes
    Carrier Detect:  yes
    Speed:           10 Mb/s

  Wired Settings
    Hardware Link:   no
ilcorseronero a écrit :

sudo mv /etc/init.d/networking.dpkg.old ~/networking.dpkg.old
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo killall -9 NetworkManager
sudo NetworkManager
nm-applet   #l'icone doit apparaître

attends un peu histoire de voir si ta box est vue par nm

Dernière modification par uperu (Le 04/03/2009, à 11:51)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#40 Le 04/03/2009, à 11:55

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

J'ai encore oublié d'aller voir si ce fichier était toujours là.
Pour wpa_supplicant: je l'essaie toujours avec NetworkManager?
Je croyais que ce n'était valable que pour Wicd.
Par contre dans la doc. il semble que ce ne soit pas valable pour "Hardy"

ilcorseronero a écrit :

redémarre

as tu encore ce dpkg.old?

essaye wpa_supplicant (voir doc)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#41 Le 04/03/2009, à 12:07

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

wpa_supplicat se fait à la main mais avant de le lancer il faut arrêter networkmanager

sudo killall nm-applet
sudo killall NetworkManager

http://wlety.free.fr/forum/viewtopic.php?id=201

Hors ligne

#42 Le 04/03/2009, à 15:21

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Merci pour tout, je vais essayer mais lorsque j'ai fait :

$ lsmod | grep wext

il n'y a pas eu de retour (je voulais savoir s'il était installé sur ma machine, car il me semble que wpa_supplicant ne fonctionne qu'avec ce driver.)

ilcorseronero a écrit :

wpa_supplicant se fait à la main mais avant de le lancer il faut arrêter networkmanager

sudo killall nm-applet
sudo killall NetworkManager

http://wlety.free.fr/forum/viewtopic.php?id=201


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#43 Le 04/03/2009, à 18:08

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

wext n'est pas un driver mais un nom qui signifie que
le module utilisé fait partie du noyau, dans ton cas c'est ipw je pense
mais ça devrait passer par wext

Hors ligne

#44 Le 04/03/2009, à 22:24

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Bien voici le résultat des essais avec wpa_supplicant:

ilcorseronero a écrit :

wext n'est pas un driver mais un nom qui signifie que
le module utilisé fait partie du noyau, dans ton cas c'est ipw je pense
mais ça devrait passer par wext

$ cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

network={
    scan_ssid=1	
    ssid="LiveboxXXXXX"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
        group=TKIP
    psk="XXXXXXXXX"
    priority=1
}         
    

       


$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

$ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1      #après un certain temps, j'ai interrompu!

CTRL-EVENT-TERMINATING - signal 2 received

j'ai d'abord essayé ceci:

 $ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant





















auto eth1

$ cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

network={
    scan_ssid=1	
    ssid="LiveboxXXXX"
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
        group=TKIP
    psk="XXXXXXXXXX"
    priority=1
}         
    
       


$ gksudo gedit /etc/network/interfaces
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

$ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/eth1' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may duhave another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

Du coup, j'ai vérifié, j'avais oublié de faire:

$ sudo killall NetworManager
$ sudo killall nm-applet

réponse pour l'applet--> aucun processus tué

j'ai alors recommencé:

~$ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1    ...........(CTRL+c)
CTRL-EVENT-TERMINATING - signal 2 received

j'ai vérifié:

 ifconfig
lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÙte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:1805 erreurs:0 :0 overruns:0 frame:0
          TX packets:1805 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:90379 (88.2 KB) Octets transmis:90379 (88.2 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"LiveboxXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2242   Missed beacon:0


$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:43:65:55:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:11 

eth1      Link encap:Ethernet  HWaddr 00:0c:f1:59:4c:20  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:6401 erreurs:104 :0 overruns:0 frame:0
          TX packets:6573 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:723313 (706.3 KB) Octets transmis:880992 (860.3 KB)
          Interruption:7 Adresse de base:0xe000 MÈmoire:faffc000-faffcfff 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÙte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:1805 erreurs:0 :0 overruns:0 frame:0
          TX packets:1805 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets rçÁus:90379 (88.2 KB) Octets transmis:90379 (88.2 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"LiveboxXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2242   Missed beacon:0

plus d'association et là j'ai eu beau faire, impossible d'avoir l'association avec la Livebox

~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"LiveboxXXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2242   Missed beacon:0



$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:11:43:65:55:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:11 

eth1      Link encap:Ethernet  HWaddr 00:0c:f1:59:4c:20  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:6401 erreurs:104 :0 overruns:0 frame:0
          TX packets:6573 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:723313 (706.3 KB) Octets transmis:880992 (860.3 KB)
          Interruption:7 Adresse de base:0xe000 MÈmoire:faffc000-faffcfff 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÙte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:1805 erreurs:0 :0 overruns:0 frame:0
          TX packets:1805 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:90379 (88.2 KB) Octets transmis:90379 (88.2 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"LiveboxXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2242   Missed beacon:0

$ sudo iwconfig eth1 essid LiveboxXXXXX
$ sudo iwconfig eth1 essid LiveboxXXXX key s:XXXXXXXXXX
$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0c:f1:59:4c:20  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:6401 erreurs:104 :0 overruns:0 frame:0
          TX packets:6573 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:723313 (706.3 KB) Octets transmis:880992 (860.3 KB)
          Interruption:7 Adresse de base:0xe000 MÈmoire:faffc000-faffcfff 

eth1:avahi Link encap:Ethernet  HWaddr 00:0c:f1:59:4c:20  
          inet adr:169.254.4.202  Bcast:169.254.255.255  Masque:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interruption:7 Adresse de base:0xe000 MÈmoire:faffc000-faffcfff 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:HÙte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:1805 erreurs:0 :0 overruns:0 frame:0
          TX packets:1805 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:90379 (88.2 KB) Octets transmis:90379 (88.2 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"Livebox-XXXXX"  Nickname:"ipw2100"
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2242   Missed beacon:0

Ai-je fait quelque chose de travers?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#45 Le 04/03/2009, à 22:35

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Je vais essayer de tout mettre directement dans le fichier /etc/network/interfaces:

auto eth1

iface eth1 inet dhcp

wpa-driver wext

wpa-ap-scan 1

wpa-scan-ssid 1

wpa-ssid "Livebox-XXXX"

wpa-proto WPA

wpa-key-mgmt WPA-PSK

wpa-pairwise TKIP

wpa-group TKIP

wpa-psk "Ta_clé en ascii"

wpa-priority 1

mais peut-être dois-je défaire ceci:

sudo killall -q wpa_supplicant.conf

?


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#46 Le 04/03/2009, à 22:41

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Lorsque tu passes par la ligne de commande

sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1

tu n'as pas besoin d'éditer le fichier des interfaces.

oui essaye directement dans le fichier.

Hors ligne

#47 Le 04/03/2009, à 23:35

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

ilcorseronero a écrit :

Lorsque tu passes par la ligne de commande

sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1

tu n'as pas besoin d'éditer le fichier des interfaces.

oui essaye directement dans le fichier.

, mais que dois-je faire comme commande ensuite?

$ sudo dhclient eth1

?ou bien encore

sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1

? Parce que s'il faut faire:

sudo /etc/init.d/networking restart

je vais me retrouver avec les réponses--->NOT FOUND

Dernière modification par uperu (Le 04/03/2009, à 23:37)


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#48 Le 05/03/2009, à 00:05

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

tu as essayé wpa supplicant comme dans le lien, si oui
ça ne va toujours pas !!

as tu le live cd, essaye en live pour voir.

Hors ligne

#49 Le 05/03/2009, à 19:57

uperu

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

Pas de live cd. J'ai recommencé avec Network-admin, le signal passe (97%) et attente/émission/réception, déconnection très brève ne cessent de clignoter(avec une clé wep en héxa).
J'ai repris aussi le wpa_supplicant.
S'il te plaît jette un coup d'oeil à la réponse du lancement du wpa_supplicant: il y a un problème.
Sais-tu ce que je dois faire pour que cela marche?cette réponse je l'ai déjà eu Hier.

~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

~$ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -D wext -i eth1
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/eth1' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
ilcorseronero a écrit :

tu as essayé wpa supplicant comme dans le lien, si oui
ça ne va toujours pas !!

as tu le live cd, essaye en live pour voir.


ubuntero enthousiaste!
Portable DELL Inspiron 9200 17", Mémoire 2 GB(2x1 GB)  Processeur Intel® Pentium(R) M processor 1.60GHz, Carte graphique :  gallium 0.4  on Ati RV 350?!,  pavillon externe HP 19" [ 12.04 LTS]
iMac, 2,8 GHz, Intel Core 2 Duo, Memoire 2 Go 667 MHz DDR2 SDRAM, Mac OS X 10.11.6

Hors ligne

#50 Le 05/03/2009, à 22:54

ilcorseronero

Re : /etc/init.d/networking restart =NOT FOUND (pas résolu)

sudo rm -r /var/run/wpa_supplicant/eth1

Bon, on essaye en wep ou wpa, mais en dhcp.
Choisis puis on remplit les fichiers ensembles
et on sera fixé.

Hors ligne