komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

jessie and Networking problem

Tue Oct 31, 2017 5:52 pm

Hi i have a Raspi Zero W connected to a WIFI...
when the line is strong no problem.. it takes the ip 192.168.1.29 from the router
but when the line is not that good
from the GUI i see on the symbol of the WIFI it's having a double ip:
192.168.1.29/24
and 169.254.3.181/16

this is the ifconfig:

Code: Select all

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:26826 (26.1 KiB)  TX bytes:26826 (26.1 KiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:2e:d2:24  
          inet addr:192.168.1.29  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d75a:b75e:d618:bb81/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:532 errors:0 dropped:0 overruns:0 frame:0
          TX packets:667 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:43573 (42.5 KiB)  TX bytes:676450 (660.5 KiB)
and it sounds really weird.
the major problem is that... i am trying to connect it to another access point: actually a wifi range extender and in this case the Raspi is taking only the 169.254.3.181 ip and it's impossible for me to connect to it.

how can i fix this?
thanks

komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

Re: jessie and Networking problem

Tue Oct 31, 2017 6:02 pm

it could be my TP-Link range extender that creates a double set of ip...
how can i fix this?

epoch1970
Posts: 3873
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: jessie and Networking problem

Tue Oct 31, 2017 6:27 pm

The 169.254/16 address is an auto-ip/APIPA/ipv4ll address.
It is auto-assigned by the machine. It allows peer-to-peer communication, in absence of a DHCP server. mDNS provides the equivalent with respect to naming: with most modern computers you can "ping hostname.local" even in absence of a local DNS server.
On linux, Avahi (and maybe dhcpcd for the addressing part?) implements zeroconf.

This being said, if the Pi behind the range extender only has an auto-ip address, it means something goes wrong when communicating with the DHCP server.
I would avoid using a wifi range extender, and prefer using powerline communication or multiple APs.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

komarek
Posts: 146
Joined: Fri Mar 31, 2017 1:19 am

Re: jessie and Networking problem

Tue Oct 31, 2017 7:09 pm

epoch1970 wrote:
Tue Oct 31, 2017 6:27 pm


This being said, if the Pi behind the range extender only has an auto-ip address, it means something goes wrong when communicating with the DHCP server.
I would avoid using a wifi range extender, and prefer using powerline communication or multiple APs.
thanks

Return to “Troubleshooting”