User avatar
JeremPi
Posts: 24
Joined: Tue May 05, 2015 1:33 pm

pas d'adresse IP

Fri May 22, 2015 7:25 am

Aussi étonnant que cela puisse paraître, j'ai "perdu" mon adresse IP !
j'en avais une, 192.168.23.4 , mais après un reboot, pas moyen d'en avoir une.
Je suis pourtant bien connecté par ethernet !

Code: Select all

pi@raspberrypi:~$ ifconfig 
eth0      Link encap:Ethernet  HWaddr b8:**:**:**:**:1d  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1450 (1.4 KiB)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1392 (1.3 KiB)  TX bytes:1392 (1.3 KiB)
J'ai essayé le reboot, rien n'y fait.
J'ai essayé d'éteindre et rallumer la connection:

Code: Select all

pi@raspberrypi:~$ sudo /etc/init.d/networking stop
Deconfiguring network interfaces...done.
pi@raspberrypi:~$ sudo /etc/init.d/networking start
Configuring network interfaces...Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || i
nfo[20]->d_un.d_val == 7' failed!
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7' failed!
ifup: interface eth0 already configured
done.
Même débranché, rebrancher le câble ethernet:

Code: Select all

[  844.178928] smsc95xx 1-1.1:1.0 eth0: link down
[  850.499408] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
Voici mon fichier Interfaces:

Code: Select all

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Comment cela se fait-il ?
Comment dois-je faire pour récupérer une adresse IP ?
:?:

JumpZero
Posts: 1019
Joined: Thu Mar 28, 2013 7:35 pm
Location: 127.0.0.1

Re: pas d'adresse IP

Fri May 22, 2015 9:51 am

Bjr,

dans ton fichier interfaces tu as "manual" après "inet"
Je pense que ce que tu veux c'est utiliser dhcp (obtenir une adresse IP automatiquement)
remplaces "manual" par "dhcp"

tapes "man interfaces" pour + de détails
tu peux aussi utiliser une adresse ip static si tu veux.

--
Jmp0

User avatar
JeremPi
Posts: 24
Joined: Tue May 05, 2015 1:33 pm

Re: pas d'adresse IP

Fri May 22, 2015 10:04 am

JumpZero wrote:dans ton fichier interfaces remplaces "manual" par "dhcp"
Merci ! :D

nikotinux
Posts: 691
Joined: Sat Feb 02, 2013 2:11 am

Re: pas d'adresse IP

Fri May 22, 2015 10:09 am

Inconsistency detected by ld.so
ca sent la carte SD corrompue

User avatar
JeremPi
Posts: 24
Joined: Tue May 05, 2015 1:33 pm

Re: pas d'adresse IP

Fri May 22, 2015 1:04 pm

nikotinux wrote:ca sent la carte SD corrompue
Effectivement, J'ai du la formater et réinstaller raspibian :x

Return to “Français”