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 15/02/2009, à 20:08

uperu

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

Après maintes péripéties sous Dapper pour la connexion wifi et avec l'aide de denis 56, je suis arrivé à me connecter en mode itinérant[url]http://forum.ubuntu-fr.org/viewtopic.php?id=288541/url] ce qui m'a permis de migrer vers Hardy Héron LTS et là de nouveau :impossible de me connecter en wifi.
J'ai donc refait les commandes pour le mode itinérant: cela a marché et la connexion faite, cela a duré trois, quatre jours et puis...nada!plus rien quoi:[url]http://forum.ubuntu-fr.org/viewtopic.php?id=290800/url] et [url]http://forum.ubuntu-fr.org/viewtopic.php?id=257900/url].
et après tellement de commandes passées sans résultat, j'ai perdu la possibilité de faire la connexion en itinérant car avec les commandes suivantes:

sudo /etc/init.d/networking stop
echo -e 'auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet dhcp\n\nauto eth1\niface eth1 inet dhcp\n' | sudo tee /etc/network/interfaces
sudo /etc/init.d/networking restart

voici ce que j'obtiens:

 sudo /etc/init.d/networking stop
/etc/init.d/networking: 1: auto: not found
/etc/init.d/networking: 2: iface: not found
/etc/init.d/networking: 4: auto: not found
/etc/init.d/networking: 5: iface: not found
/etc/init.d/networking: 7: auto: not found
/etc/init.d/networking: 8: iface: not found

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

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

 sudo /etc/init.d/networking restart
/etc/init.d/networking: 1: auto: not found
/etc/init.d/networking: 2: iface: not found
/etc/init.d/networking: 4: auto: not found
/etc/init.d/networking: 5: iface: not found
/etc/init.d/networking: 7: auto: not found
/etc/init.d/networking: 8: iface: not found


et voici maintenant ce qui est demandé pour le wifi (cela a changé après toutes mes manipulations (et pas en bien!):

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.2"

$ sudo lshw -C network
  *-network:0             
       description: Ethernet interface
       product: BCM4401-B0 100Base-TX
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 02
       serial: 00:11:43:65:55:00
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 duplex=half latency=32 link=no module=ssb multicast=yes port=twisted pair speed=10MB/s
  *-network:1
       description: Wireless interface
       product: PRO/Wireless LAN 2100 3B Mini PCI Adapter
       vendor: Intel Corporation
       physical id: 3
       bus info: pci@0000:02:03.0
       logical name: eth1
       version: 04
       serial: 00:0c:f1:59:4c:20
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ipw2100 driverversion=git-1.2.2 firmware=712.0.3:3:00000001 latency=32 link=no maxlatency=34 mingnt=2 module=ipw2100 multicast=yes wireless=unassociated

$ 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  
          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:7 Adresse de base:0x4000 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: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:1471 erreurs:0 :0 overruns:0 frame:0
          TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reÁus:74150 (72.4 KB) Octets transmis:74150 (72.4 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:"XXXXXX"  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:0   Missed beacon:0

$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Scan completed :
          Cell 01 - Address: 00:16:CE:8B:FC:F4
                    ESSID:"XXXXXXXX"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality:51  Signal level:0  Noise level:0
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 3576ms ago

$ uname -r -m
2.6.24-23-generic i686

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

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

$ lspci | grep -i network
02:03.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)


$ lsmod | grep ipw2100
ipw2100                73264  0 
ieee80211              35528  1 ipw2100

$ dmesg | grep switch
[    9.970192] SMP alternatives: switching to UP code

Je ne sais plus quoi faire!

Dernière modification par uperu (Le 26/02/2009, à 20:41)


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

#2 Le 15/02/2009, à 21:23

angeline

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

Je voie 2 interfaces Ethernet, mais pas de carte wifi ????
peut etre que je n'ai pas tout compris non plus !


ıɔǝɔ ǝɯɯoɔ xnǝıɯ ʇsǝ,ɔ nʇunqnʞ

Hors ligne

#3 Le 15/02/2009, à 21:41

uperu

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

lspci | grep -i network
02:03.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)

la voilà ma carte.
et là aussi:

*-network:1
       description: Wireless interface
       product: PRO/Wireless LAN 2100 3B Mini PCI Adapter

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

#4 Le 15/02/2009, à 21:52

uperu0

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

et ça, ce n'est pas la carte et ipw2100 est le driver

 description: Wireless interface
       product: PRO/Wireless LAN 2100 3B Mini PCI Adapter$ lspci | grep -i network
02:03.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
angeline a écrit :

Je voie 2 interfaces Ethernet, mais pas de carte wifi ????
peut etre que je n'ai pas tout compris non plus !

#5 Le 15/02/2009, à 21:54

uperu

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

comment ce fait-il que mon message soit aussi sur Kubuntu?


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

#6 Le 17/02/2009, à 09:58

uperu

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

Toujours personne pour me dire ce qui se passe?
Pourquoi je ne peux pas stopper  et redémarrer le processus avec ces commandes?
"NOT FOUND" = pas trouvé
Comment faire pour retrouver cela?

Dernière modification par uperu (Le 17/02/2009, à 09:59)


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

#7 Le 17/02/2009, à 13:47

Vergeylen

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

Hello!

Monte un peu ton fichier /etc/network/interfaces, si ca se trouve, il n'existe plus. Et aussi

cat /etc/init.d

En fait, il dit qu'il ne trouve pas l'éxécutable à lancer (networking).

Bon courage.

Hors ligne

#8 Le 17/02/2009, à 17:34

uperu

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

Vergeylen a écrit :

Hello!

Monte un peu ton fichier /etc/network/interfaces, si ca se trouve, il n'existe plus.

uperu a écrit :

le voici:

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

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

uperu@ubunperu:~$ cat /etc/network/interface
auto lo
iface lo inet loopback
Vergeylen a écrit :

Et aussi

cat /etc/init.d

En fait, il dit qu'il ne trouve pas l'éxécutable à lancer (networking).

uperu a écrit :

cela je l'ai compris:

$ cat /etc/init.d
cat: /etc/init.d: est un dossier

du coup j'ai fait ceci:

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

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

/etc/init.d/networking (END)
Vergeylen a écrit :

Bon courage.

uperu a écrit :

merci, mais comment m'en sortir?
J'ai ouvert ce fameux dossier /etc/init.d, il est plein de fichiers


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

#9 Le 17/02/2009, à 17:36

uperu

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

peux-tu me montrer la réponse que tu as toi pour le ;

 /etc/init.d

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

#10 Le 17/02/2009, à 17:45

uperu

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

voici ceci:

$	ls -	l /etc	/init.d		
total 564							
#NOM?	1	root	root	2710	19/04/08	06:19	acpid
#NOM?	1	root	root	762	31/08/07	04:48	acpi-support
#NOM?	1	root	root	9708	27/02/08	14:22	alsa-utils
#NOM?	1	root	root	1084	01/08/08	15:43	anacron
#NOM?	1	root	root	1667	23/05/07	14:59	apmd
#NOM?	1	root	root	2653	02/05/08	22:41	apparmor
#NOM?	1	root	root	2181	17/05/08	12:54	apport
#NOM?	1	root	root	969	20/02/07	14:41	atd
#NOM?	1	root	root	1054	11/07/08	01:05	atieventsd
#NOM?	1	root	root	2594	18/12/08	19:33	avahi-daemon
#NOM?	1	root	root	2416	19/01/06	00:11	bittorrent
#NOM?	1	root	root	5298	20/03/06	06:52	bluetooth
#NOM?	1	root	root	6609	21/04/08	09:34	bluetooth.dpkg-new
#NOM?	1	root	root	3597	19/04/08	07:05	bootclean
#NOM?	1	root	root	2121	19/04/08	07:05	bootlogd
#NOM?	1	root	root	1768	19/04/08	07:05	bootmisc.sh
#NOM?	1	root	root	1795	28/03/08	00:23	brltty
#NOM?	1	root	root	3454	19/04/08	07:05	checkfs.sh
#NOM?	1	root	root	10602	19/04/08	07:05	checkroot.sh
#NOM?	1	root	root	6355	30/05/07	14:29	console-screen.sh
#NOM?	1	root	root	1634	27/11/08	19:47	console-setup
#NOM?	1	root	root	907	28/03/08	00:22	courier-authdaemon
#NOM?	1	root	root	2271	23/06/08	14:35	courier-pop
#NOM?	1	root	root	1761	08/04/08	20:02	cron
#NOM?	1	root	root	2287	09/01/09	19:19	cupsys
#NOM?	1	root	root	4546	14/10/08	20:30	dbus
#NOM?	1	root	root	1506	23/10/07	16:34	dhcdbd
#NOM?	1	root	root	1223	22/06/07	06:55	dns-clean
#NOM?	1	root	root	4443	06/10/05	13:24	eagle-usb
#NOM?	1	root	root	923	22/07/05	04:16	evms
#NOM?	1	root	root	7406	15/11/07	09:50	fetchmail
#NOM?	1	root	root	1935	16/04/08	14:49	firestarter
#NOM?	1	root	root	3408	23/08/06	21:00	flashplugin-nonfree
#NOM?	1	root	root	3134	17/07/08	21:12	gdm
#NOM?	1	root	root	7195	12/09/08	16:32	glibc.sh
#NOM?	1	root	root	2301	22/07/08	17:58	hal
#NOM?	1	root	root	1228	19/04/08	07:05	halt
#NOM?	1	root	root	909	19/04/08	07:05	hostname.sh
#NOM?	1	root	root	3576	10/04/08	18:49	hotkey-setup
#NOM?	1	root	root	46538	27/11/05	15:56	hpoj
#NOM?	1	root	root	4528	26/09/08	14:43	hwclockfirst.sh
#NOM?	1	root	root	4521	26/09/08	14:43	hwclock.sh
#NOM?	1	root	root	300	19/09/05	14:37	ifrename
#NOM?	1	root	root	677	08/11/05	08:26	initrd-tools.sh
#NOM?	1	root	root	1376	27/11/08	19:47	keyboard-setup
#NOM?	1	root	root	3573	13/10/07	15:44	keymap.sh
#NOM?	1	root	root	944	19/04/08	07:05	killprocs
#NOM?	1	root	root	1729	23/11/07	10:06	klogd
#NOM?	1	root	root	2308	12/12/07	00:00	laptop-mode
#NOM?	1	root	root	632	13/07/07	14:57	libpam-foreground
#NOM?	1	root	root	349	29/05/06	14:44	linux-restricted-modules-common
#NOM?	1	root	root	748	23/01/06	19:47	loopback
#NOM?	1	root	root	822	25/11/05	16:16	makedev
#NOM?	1	root	root	1906	07/11/08	18:49	mdadm
#NOM?	1	root	root	1399	06/10/08	14:51	module-init-tools
#NOM?	1	root	root	1157	21/04/05	08:38	modutils
#NOM?	1	root	root	596	19/04/08	07:05	mountall-bootclean.sh
#NOM?	1	root	root	2430	19/04/08	07:05	mountall.sh
#NOM?	1	root	root	1465	19/04/08	07:05	mountdevsubfs.sh
#NOM?	1	root	root	1544	19/04/08	07:05	mountkernfs.sh
#NOM?	1	root	root	594	19/04/08	07:05	mountnfs-bootclean.sh
#NOM?	1	root	root	1687	26/09/05	13:37	mountnfs.sh
#NOM?	1	root	root	1244	19/04/08	07:05	mountoverflowtmp
#NOM?	1	root	root	3123	19/04/08	07:05	mtab.sh
#NOM?	1	root	root	96	09/02/09	23:35	networking
#NOM?	1	root	root	96	27/01/09	21:21	networking.dpkg-old
#NOM?	1	root	root	860	29/10/05	04:48	nvidia-kernel
#NOM?	1	root	root	2377	23/10/07	19:03	pcmciautils
#NOM?	1	root	root	4391	19/01/08	12:44	pcscd
#NOM?	1	root	root	693	19/04/08	06:42	policykit
#NOM?	1	root	root	4695	15/08/08	19:00	postfix
#NOM?	1	root	root	4721	09/03/08	01:24	powernowd
#NOM?	1	root	root	177	08/05/06	19:46	powernowd.early
#NOM?	1	root	root	1061	27/05/05	18:15	ppp
#NOM?	1	root	root	375	04/10/07	21:56	pppd-dns
#NOM?	1	root	root	1261	10/07/08	11:28	procps
#NOM?	1	root	root	1793	07/04/08	03:18	pulseaudio
#NOM?	1	root	root	7891	19/04/08	07:05	rc
#NOM?	1	root	root	522	19/04/08	07:05	rc.local
#NOM?	1	root	root	117	19/04/08	07:05	rcS
#NOM?	1	root	root	1492	20/01/09	07:56	readahead
#NOM?	1	root	root	1957	20/01/09	07:56	readahead-desktop
-rw-r--r--	1	root	root	1335	19/04/08	07:05	README
#NOM?	1	root	root	692	19/04/08	07:05	reboot
#NOM?	1	root	root	1000	19/04/08	07:05	rmnologin
#NOM?	1	root	root	5196	29/01/09	12:20	rsync
#NOM?	1	root	root	955	23/10/07	18:01	screen-cleanup
#NOM?	1	root	root	1199	19/04/08	07:05	sendsigs
#NOM?	1	root	root	585	19/04/08	07:05	single
#NOM?	1	root	root	4215	19/04/08	07:05	skeleton
#NOM?	1	root	root	510	19/04/08	07:05	stop-bootlogd
#NOM?	1	root	root	647	19/04/08	07:05	stop-bootlogd-single
#NOM?	1	root	root	864	24/02/06	14:31	stop-readahead
#NOM?	1	root	root	359	30/09/05	10:11	sudo.dpkg-bak
#NOM?	1	root	root	3343	23/11/07	10:06	sysklogd
#NOM?	1	root	root	2327	20/01/08	04:44	timidity
#NOM?	1	root	root	2488	11/04/08	14:21	udev
#NOM?	1	root	root	706	11/04/08	14:21	udev-finish
#NOM?	1	root	root	3830	01/12/07	18:23	udftools
#NOM?	1	root	root	7239	20/01/09	13:51	ufw
#NOM?	1	root	root	4030	19/04/08	07:05	umountfs
#NOM?	1	root	root	1833	19/04/08	07:05	umountnfs.sh
#NOM?	1	root	root	1863	19/04/08	07:05	umountroot
#NOM?	1	root	root	1815	19/04/08	07:05	urandom
#NOM?	1	root	root	2814	15/10/07	11:20	usplash
#NOM?	1	root	root	820	23/05/06	17:40	vbesave
#NOM?	1	root	root	2445	19/04/08	07:05	waitnfs.sh
#NOM?	1	root	root	1626	12/03/08	22:27	wpa-ifupdown
#NOM?	1	root	root	1843	14/05/08	02:10	x11-common
#NOM?	1	root	root	568	30/03/08	07:41	xserver-xorg-input-wacom

ce qui est bizarre, c'est que toutes les lignes sont commentées! Normal?

Dernière modification par uperu (Le 17/02/2009, à 17:47)


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

#11 Le 17/02/2009, à 20:25

uperu

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

bien , j'ai progressé et j'avoue que je n'en reviens pas.
Je n'ai pas essayé de relancer les commandes pour la connexion en mode itinérant.
Jdonc je ne sais pas si j'aurais eu les mêmes réponses mais je suis connecté de nouveau en  dhcp sans protection de clé.
Mais si quelqu'un a une explication pour les réponses obtenues dans les commandes de ce post, j'aimerai bien la connaître.


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

#12 Le 17/02/2009, à 23:21

Vergeylen

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

Bonsoir,

Voici le /etc/init.d:

dv@asusdaniel:~$ ls /etc/init.d/
acpid           bootlogd           glibc.sh                         loopback               powernowd          rsync                 umountfs
acpi-support    bootmisc.sh        hal                              module-init-tools      powernowd.early    screen-cleanup        umountnfs.sh
alsa-utils      brltty             halt                             mountall-bootclean.sh  pppd-dns           sendsigs              umountroot
anacron         checkfs.sh         hostname.sh                      mountall.sh            procps             single                urandom
apmd            checkroot.sh       hotkey-setup                     mountdevsubfs.sh       pulseaudio         skeleton              usplash
apparmor        console-screen.sh  hwclockfirst.sh                  mountkernfs.sh         rc                 smartmontools         vbesave
apport          console-setup      hwclock.sh                       mountnfs-bootclean.sh  rc.local           stop-bootlogd         waitnfs.sh
atd             cron               keyboard-setup                   mountoverflowtmp       rcS                stop-bootlogd-single  wpa-ifupdown
atieventsd      cupsys             killprocs                        mtab.sh                readahead          stop-readahead        x11-common
avahi-daemon    dbus               klogd                            networking             readahead-desktop  sysklogd              xserver-xorg-input-wacom
binfmt-support  dhcdbd             laptop-mode                      nvidia-kernel          README             udev
bluetooth       dns-clean          linux-restricted-modules-common  pcmciautils            reboot             udev-finish
bootclean       gdm                lm-sensors                       policykit              rmnologin          ufw
dv@asusdaniel:~$

J'ai donc bien un fichier networking.
Pouvez-vous être plus explicite concernant les manipulations ayant menés au refonctionnement de la carte?

Bonne soirée,

Daniel V.

Hors ligne

#13 Le 17/02/2009, à 23:36

uperu

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

Je vois que la commande était terminé par un / etmoi je n'en ai pas mis.
Fatigué, je décroche et je vous répondrai demain; merci en tout cas pour votre réponse.


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

#14 Le 19/02/2009, à 22:13

Vergeylen

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

Dans votre premier post, vous dites perdre le mode itinérant.

Mais en le configurant en 'graphique', c'est à dire clique gauche sur Network Manager > Configuration Manuelle > Bouton déverouiller (mot de passe) > Cliquer sur connexion sans fil > Bouton 'propriétés' > Cocher 'Activer le mode itinérant', cela ne marche pas?

Daniel V.

Hors ligne

#15 Le 20/02/2009, à 09:21

uperu

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

Vergeylen a écrit :

Dans votre premier post, vous dites perdre le mode itinérant.

Mais en le configurant en 'graphique', c'est à dire clique gauche sur Network Manager...
Daniel V.

je pense que vous avez dû vous tromper et que vous parlez "Network-admin".
Je vais réessayer.
Mais une fois que je suis connecté en itinérant, que dois-je faire pour récupérer une connexion normale?avec la clé.


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

#16 Le 20/02/2009, à 18:55

uperu

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

Bonsoir,
je suis connectée en DHCP; je vais essayer maintenant de me connecter en mode itinérant par Network-admin.
Voici les résultats de la commande:
$ ls /etc/init.d/

acpid                hostname.sh                      pppd-dns
acpi-support         hotkey-setup                     procps
alsa-utils           hpoj                             pulseaudio
anacron              hwclockfirst.sh                  rc
apmd                 hwclock.sh                       rc.local
apparmor             ifrename                         rcS
apport               initrd-tools.sh                  readahead
atd                  keyboard-setup                   readahead-desktop
atieventsd           keymap.sh                        README
avahi-daemon         killprocs                        reboot
bittorrent           klogd                            rmnologin
bluetooth            laptop-mode                      rsync
bluetooth.dpkg-new   libpam-foreground                screen-cleanup
bootclean            linux-restricted-modules-common  sendsigs
bootlogd             loopback                         single
bootmisc.sh          makedev                          skeleton
brltty               mdadm                            stop-bootlogd
checkfs.sh           module-init-tools                stop-bootlogd-single
checkroot.sh         modutils                         stop-readahead
console-screen.sh    mountall-bootclean.sh            sudo.dpkg-bak
console-setup        mountall.sh                      sysklogd
courier-authdaemon   mountdevsubfs.sh                 timidity
courier-pop          mountkernfs.sh                   udev
cron                 mountnfs-bootclean.sh            udev-finish
cupsys               mountnfs.sh                      udftools
dbus                 mountoverflowtmp                 ufw
dhcdbd               mtab.sh                          umountfs
dns-clean            networking                       umountnfs.sh
eagle-usb            networking.dpkg-old              umountroot
evms                 nvidia-kernel                    urandom
fetchmail            pcmciautils                      usplash
firestarter          pcscd                            vbesave
flashplugin-nonfree  policykit                        waitnfs.sh
gdm                  postfix                          wpa-ifupdown
glibc.sh             powernowd                        x11-common
hal                  powernowd.early                  xserver-xorg-input-wacom
halt                 ppp

J'ai moi aussi un fichier networking et ce soir la commande:
cat /etc/init.d/networking a fonctionné

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

donc, je pense qu'il ne devrait pas y avoir de problème pour me connecter en itinérant: mais ce que je ne sais pas faire, c'est passer du mode itinérant à la protection wpa .
Par contre, je suis obligée à chaque fois de refaire l'association avec la Livebox: est-ce normal?


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

#17 Le 21/02/2009, à 11:55

Vergeylen

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

uperu a écrit :

donc, je pense qu'il ne devrait pas y avoir de problème pour me connecter en itinérant: mais ce que je ne sais pas faire, c'est passer du mode itinérant à la protection wpa .
Par contre, je suis obligée à chaque fois de refaire l'association avec la Livebox: est-ce normal?

Bonjour,

deux ou trois petites choses à préciser. Vous avez en effet un fichier networking, c'est très bon signe (d'ailleurs tout fonctionne en DHCP d'après ce que je comprends), mais vous avez également un networking.dpkg.old, qui a sans doute été créé automatiquement, ce qui confirme qu'il y a eu, à un moment, un problème. Tout semble néanmoins être rentré dans l'ordre.

A présent, concernant le mode WPA, il est étrange que vous arriviez à vous connecter à votre LiveBox en DHCP grace au mode itinérant, sans clé WPA. A mon (humble) avis, cette clé est néanmoins associée au réseau de votre livebox. Vous pouvez le vérifier par Clique droit sur nm-applet (en haut à droite) puis 'modifier les réseaux sans fil'. Vous trouvez votre réseau et normalement la clé qui lui est associée. Si aucune clé ne lui est associée, vous pouvez la configurer ici, ce qui vous permettera de ne pas avoir à faire l'association avec la LiveBox normalement.

Bonne chance!

Daniel V.

Hors ligne

#18 Le 21/02/2009, à 14:22

uperu

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

Merci pour votre réponse.
Je précise que j'arrive à me connecter en DHCP seulement lorsque je désactive la clé dans la configuration de la Livebox.
Après m'être connectée en itinérant (je croyais l'être)j'ai reperdue la connection et il a fallu que je repasse par le DHCP sans clé pour arriver à avoir de nouveau l'association, mais après beaucoup de commandes passées.
Par contre, j'ai désinstallé NetworkManager car lorsque je voulais configurer l'interface (quelle qu'elle soit) on me répondait que l'interface n'existait pas.Et on ne m'a jamais proposé une clé ou demandait la clé pour la connection.
Voilà pourquoi j'essaie de configurer par Network-admin où en terminal mais sans succès, avec clè d'origine  ou clé héxagonale: c'est à n'y rien comprendre!

Vergeylen a écrit :
uperu a écrit :

donc, je pense qu'il ne devrait pas y avoir de problème pour me connecter en itinérant: mais ce que je ne sais pas faire, c'est passer du mode itinérant à la protection wpa .
Par contre, je suis obligée à chaque fois de refaire l'association avec la Livebox: est-ce normal?

Bonjour,

deux ou trois petites choses à préciser. Vous avez en effet un fichier networking, c'est très bon signe (d'ailleurs tout fonctionne en DHCP d'après ce que je comprends), mais vous avez également un networking.dpkg.old, qui a sans doute été créé automatiquement, ce qui confirme qu'il y a eu, à un moment, un problème. Tout semble néanmoins être rentré dans l'ordre.

A présent, concernant le mode WPA, il est étrange que vous arriviez à vous connecter à votre LiveBox en DHCP grace au mode itinérant, sans clé WPA. A mon (humble) avis, cette clé est néanmoins associée au réseau de votre livebox. Vous pouvez le vérifier par Clique droit sur nm-applet (en haut à droite) puis 'modifier les réseaux sans fil'. Vous trouvez votre réseau et normalement la clé qui lui est associée. Si aucune clé ne lui est associée, vous pouvez la configurer ici, ce qui vous permettera de ne pas avoir à faire l'association avec la LiveBox normalement.

Bonne chance!

Daniel V.


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

#19 Le 21/02/2009, à 14:52

Vergeylen

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

Sans Network-Manager?

Si vous y tenez...:

sudo iwconfig eth0 essid "Nom Réseau" key restricted  XXXX-XXXX-XXXX-XXXX

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.

Plus d'infos: man iwconfig.

Dernière modification par Vergeylen (Le 21/02/2009, à 14:52)

Hors ligne

#20 Le 21/02/2009, à 20:39

uperu

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

J'ai déjà fait cette commande mais sans les guillemets et key seul suivi d'une clé héxadécimale générée par wpa_passphrase ou bien key s: suivi de ma clé d'origine: mais cela en vain!Merci, je vais essayer
C'est d'ailleurs la commande

sudo iwconfig eth1 essid XXXXX

qui me permets de faire l'association avec la livebox.J'ai compulsé le " man iwconfig" et voulais l'examiner de plus prés.

Vergeylen a écrit :

Sans Network-Manager?

Si vous y tenez...:

sudo iwconfig eth0 essid "Nom Réseau" key restricted  XXXX-XXXX-XXXX-XXXX

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.

Plus d'infos: man iwconfig.


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

#21 Le 22/02/2009, à 23:13

uperu

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

toujours pas de connection;même avec la commande indiquée: elle me permets de faire l'association avec la Livebox mais seulement lorsque je l'active sur la box.
Je vais essayer d'activer le mode itinérant en graphique, ne pouvant le faire en terminal.
Une fois cela fait, la configuration sera peut-être plus facile?!
Mais je ne vois toujours pas pourquoi les commandes

$ sudo /etc/init.d/networking stop et restart

ne fonctionnent pas puisque le fichier networking est là!

Dernière modification par uperu (Le 22/02/2009, à 23:14)


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

#22 Le 23/02/2009, à 12:21

Vergeylen

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

Je ne sais pas non plus...

Dans Synaptics, il n'y a pas moyen de ravoir la configuration d'origine? En regardant les propriétés du paquet (je ne suis pas sur).

Bon courage.

Daniel V.

Hors ligne

#23 Le 26/02/2009, à 20:39

uperu

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

Vergeylen a écrit :

Je ne sais pas non plus...

Dans Synaptics, il n'y a pas moyen de ravoir la configuration d'origine? En regardant les propriétés du paquet (je ne suis pas sur).

Bon courage.

Daniel V.

Non, malheureusement je n'ai rien trouvé.
Ce soir, après remise à zéro et redémarrage du serveur j'espérais retrouverune commande qui foctionne mais non., et sans protection de clé, je suis arrivée à me connecter mais seulement en DHCP, car en mode itinérant la connection y est mais pas de surf possible sur internet.

$ sudo /etc/init.d/networking restart
/etc/init.d/networking: 1: auto: not found
/etc/init.d/networking: 2: iface: not found
/etc/init.d/networking: 4: auto: not found
/etc/init.d/networking: 5: iface: not found
/etc/init.d/networking: 7: auto: not found
/etc/init.d/networking: 8: iface: not found

~$ sudo dhclient
There is already a pid file /var/run/dhclient.pid with pid 29150
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
Listening on LPF/eth0/00:11:43:65:55:00
Sending on   LPF/eth0/00:11:43:65:55:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.1.75 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 34299 seconds.-----------> pas de web

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


$ sudo dhclient eth1
There is already a pid file /var/run/dhclient.pid with pid 22943
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
DHCPREQUEST of 192.168.1.75 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 43199 seconds.   ----------->( connection mais pas de WEB)
$ 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  
          inet adr:192.168.1.75  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::20c:f1ff:fe59:4c20/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:88 erreurs:320 :320 overruns:0 frame:0
          TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:31958 (31.2 KB) Octets transmis:16579 (16.1 KB)
          Interruption:7 Adresse de base:0xe000 Mémoire:faffc000-faffcfff 

eth0:avahi Link encap:Ethernet  HWaddr 00:11:43:65:55:00  
          inet adr:169.254.3.27  Bcast:169.254.255.255  Masque:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interruption:11 

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:2048 erreurs:0 :0 overruns:0 frame:0
          TX packets:2048 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:86493 (84.4 KB) Octets transmis:86493 (84.4 KB)

$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      No scan results
$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"XXXXXX"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:16:CE:8B:FC:F4   
          Bit Rate=1 Mb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=85/100  Signal level=-73 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


$ sudo iwconfig eth1
eth1      IEEE 802.11b  ESSID:"XXXXX"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:16:CE:8B:FC:F4   
          Bit Rate=1 Mb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=82/100  Signal level=-76 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

$ sudo dhclient eth1
There is already a pid file /var/run/dhclient.pid with pid 24427
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
DHCPREQUEST of 192.168.1.75 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 41374 seconds.------->toujours pas de web
$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"XXXXXXX"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:16:CE:8B:FC:F4   
          Bit Rate=1 Mb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=84/100  Signal level=-74 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


$ sudo iwconfig eth1 essid XXXXXXX     ------>(et là ça marche)

J'ai désinstallé et réinstallé NetworkManager mais lorsque je veux configurer l'interface, on me réponds qu'elle n'existe pas, même lorsque j'ai la connection en DHCP.
Mais j'en suis toujours au même point, pas de wifi avec clés (je les ai toutes essayées).

Dernière modification par uperu (Le 26/02/2009, à 20:40)


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

#24 Le 26/02/2009, à 21:07

ilcorseronero

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

J'installerai wicd (voir doc), pour utiliser wicd, il faut purger le fichier des interfaces
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

Si tu ne veux pas, lorsque tu as

DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 41374 seconds.------->toujours pas de web

tape
ping -c6 192.168.1.75
ping -c6 www.google.com
ping -c6 74.125.77.99
si le troisième passe mais pas le second, problème DNS:

gksudo gedit /etc/dhcp3/dhclient.conf
#rajoute les dns comme ici, ceux la sont les opendns,
prepend domain-name-servers 208.67.222.222,208.67.220.220;

enregistre et redémarre (ou relance le réseau)

Hors ligne

#25 Le 27/02/2009, à 20:56

uperu

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

ilcorseronero a écrit :

J'installerai wicd (voir doc), pour utiliser wicd, il faut purger le fichier des interfaces
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

Si tu ne veux pas, lorsque tu as

DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 41374 seconds.------->toujours pas de web

tape
ping -c6 192.168.1.75
ping -c6 www.google.com
ping -c6 74.125.77.99
si le troisième passe mais pas le second, problème DNS:

gksudo gedit /etc/dhcp3/dhclient.conf
#rajoute les dns comme ici, ceux la sont les opendns,
prepend domain-name-servers 208.67.222.222,208.67.220.220;

enregistre et redémarre (ou relance le réseau)

merci ilcorseronero de ton intervention; j'ai fait ce que tu m'as dit et voici le résultat:

auto lo
iface lo inet loopback




iface eth1 inet dhcp
wireless-essid XXXXX

$ 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 RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:68 erreurs:33 :0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:14254 (13.9 KB) Octets transmis:432 (432.0 B)
          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:1656 erreurs:0 :0 overruns:0 frame:0
          TX packets:1656 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:82800 (80.8 KB) Octets transmis:82800 (80.8 KB)

$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b  ESSID:"XXXXX"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:16:CE:8B:FC:F4   
          Bit Rate=1 Mb/s   Tx-Power:16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=76/100  Signal level=-79 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:33   Missed beacon:0

         
$ ping -c6 192.168.1.75
connect: Network is unreachable

$ ping -c6 www.google.com
ping: unknown host www.google.com

$ ping -c6 74.125.77.99
connect: Network is unreachable

n'ayant aucune réponse positive, ce n'est donc pas un problème de DNS. J'ai ouvert le fichier suivant dont tu me parles, mais je n'ai rien changé.
Je précise que telle qu'est la configuration, je suis en dhcp automatique sans protection et c'est le "sudo dhclient eth1" qui m'a connectée.Mais si j'introduit la clé telle que l'on me l'a donnée avec Network-admin je perds la connection.

$ cat /etc/dhcp3/dhclient.conf
# Configuration file for /sbin/dhclient, which is included in Debian's
#	dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#	man page for more information about the syntax of this file
#	and a more comprehensive list of the parameters understood by
#	dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#	not leave anything out (like the domain name, for example), then
#	few changes must be made to this file, if any.
#

send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, host-name,
	netbios-name-servers, netbios-scope;
#require subnet-mask, domain-name-servers;
timeout 30;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}

du coup j'ai fait un essai en itinérant mais pour que cela fonctionne il a fallu que je rajoute "auto eth1 iface eth1 inet dhcp".

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


auto eth1
iface eth1 inet dhcp

$ sudo dhclient eth1
[sudo] password for uperu: 
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
DHCPREQUEST of 192.168.1.75 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.1.75 from 192.168.1.1
bound to 192.168.1.75 -- renewal in 41038 seconds.

onc j'arrive à ne pas utiliser cette commande qui me répond que le fichier /etc/init.d/networking ==> NO FOUND.
J'ai déjà essayé d'utiliser wicd ( après avoir désinstallé NetworkManager)pour la clé WPA-TKIP sans succès, d'où ma question:
La première fois que j'ai eu de l'aide pour me mettre en itinérant, bien que j'avais remis la clé dans la configuration de la Livebox , à ma grande surprise lorsque j'ai rebootée le lendemain j'étais toujours connectée: cela a durée deux ou trois jours puis plus rien.
Il me semble donc que cela voulait dire que le système trouvait tout seul la bonne configuration, non?ou bien dis-je une bêtise.

Dernière modification par uperu (Le 27/02/2009, à 21:03)


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