Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 5:29 pm

Hi all,

I've imaged an SD-card using 2020-02-13-raspbian-buster-full.zip, and I created an "ssh" and "wpa_supplicant" file in the /boot partition. As I've done... a million times before! The wpa_supplicant is formatted as:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
  ssid="MY-SSID"
  psk="my-password"
}
When I boot (Pi 4, 2GB with official PSU) it does all the usual partition resize, language, country, new "pi" password stuff, and then it attempts to update, sits there saying "Synchronising time..." for a bit, before proclaiming "Could not sync time - unable to check for updates".

Code: Select all

$ cat ifconfig.txt
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:34:90:19  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 794  bytes 75430 (73.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 794  bytes 75430 (73.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.218.245  netmask 255.255.0.0  broadcast 169.254.255.255
        inet6 fe80::65e2:d391:5131:8cd0  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:34:90:1a  txqueuelen 1000  (Ethernet)
        RX packets 18  bytes 1907 (1.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1256  bytes 97503 (95.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Code: Select all

$ cat ip-a.txt 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether dc:a6:32:34:90:19 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:34:90:1a brd ff:ff:ff:ff:ff:ff
    inet 169.254.218.245/16 brd 169.254.255.255 scope global noprefixroute wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::65e2:d391:5131:8cd0/64 scope link 
       valid_lft forever preferred_lft forever

Code: Select all

$ date
Thu 13 Feb 16:40:02 GMT 2020
So perhaps it's not connecting to the router?

Nope, when I click the Wifi widget, I can see a list of APs as normal and my own AP has a check mark beside it to show it's connected. SYSLOG shows the router has offered an an IP address 192.168.1.17, but then the Pi has decided to use IPv4LL address 169.254.218.245 for some reason.

Code: Select all

$ grep "wlan" /var/log/syslog
Feb 13 16:31:52 raspberrypi dhcpcd-run-hooks[471]: wlan0: starting wpa_supplicant
Feb 13 16:31:52 raspberrypi kernel: [   16.788296] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: connected to Access Point `'
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: waiting for carrier
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: carrier acquired
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: IAID 32:34:90:1a
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: adding address fe80::ffc4:bc84:36c5:51fc
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::ffc4:bc84:36c5:51fc.
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: New relevant interface wlan0.IPv6 for mDNS.
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: Registering new address record for fe80::ffc4:bc84:36c5:51fc on wlan0.*.
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: carrier lost
Feb 13 16:31:53 raspberrypi dhcpcd[437]: wlan0: deleting address fe80::ffc4:bc84:36c5:51fc
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: Withdrawing address record for fe80::ffc4:bc84:36c5:51fc on wlan0.
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::ffc4:bc84:36c5:51fc.
Feb 13 16:31:53 raspberrypi avahi-daemon[349]: Interface wlan0.IPv6 no longer relevant for mDNS.
Feb 13 16:31:58 raspberrypi dhcpcd[437]: wlan0: carrier acquired
Feb 13 16:31:58 raspberrypi dhcpcd[437]: wlan0: connected to Access Point `BadgerTron6000'
Feb 13 16:31:58 raspberrypi kernel: [   22.534145] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Feb 13 16:31:58 raspberrypi dhcpcd[437]: wlan0: IAID 32:34:90:1a
Feb 13 16:31:58 raspberrypi dhcpcd[437]: wlan0: adding address fe80::65e2:d391:5131:8cd0
Feb 13 16:31:58 raspberrypi avahi-daemon[349]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::65e2:d391:5131:8cd0.
Feb 13 16:31:58 raspberrypi avahi-daemon[349]: New relevant interface wlan0.IPv6 for mDNS.
Feb 13 16:31:58 raspberrypi avahi-daemon[349]: Registering new address record for fe80::65e2:d391:5131:8cd0 on wlan0.*.
Feb 13 16:31:58 raspberrypi dhcpcd[437]: wlan0: soliciting an IPv6 router
Feb 13 16:31:59 raspberrypi dhcpcd[437]: wlan0: soliciting a DHCP lease
Feb 13 16:31:59 raspberrypi dhcpcd[437]: wlan0: offered 192.168.1.17 from 192.168.1.254
Feb 13 16:32:04 raspberrypi dhcpcd[437]: wlan0: probing for an IPv4LL address
Feb 13 16:32:08 raspberrypi dhcpcd[437]: wlan0: using IPv4LL address 169.254.218.245
Feb 13 16:32:08 raspberrypi avahi-daemon[349]: Joining mDNS multicast group on interface wlan0.IPv4 with address 169.254.218.245.
Feb 13 16:32:08 raspberrypi avahi-daemon[349]: New relevant interface wlan0.IPv4 for mDNS.
Feb 13 16:32:08 raspberrypi avahi-daemon[349]: Registering new address record for 169.254.218.245 on wlan0.IPv4.
Feb 13 16:32:08 raspberrypi dhcpcd[437]: wlan0: adding route to 169.254.0.0/16
Feb 13 16:32:08 raspberrypi dhcpcd[437]: wlan0: adding default route
Feb 13 16:32:11 raspberrypi dhcpcd[437]: wlan0: no IPv6 Routers available
So I'm a bit flummoxed!

Full disclosure: I tried this once already and I am at least 99% sure it did manage to connect via WiFi not least because could see it on the router's interface (Plusnet Hub One - same as a BT Home Hub 5 AFAIK) and was able to set it to give 192.168.1.17 as a static address on the Pi's MAC. I have rebooted the router via it's web-interface (but I've not power-cycled it), and I'd love to be able to remove the MAC/static IP from it, but the web-interface is.... somewhat lacking.... and so I can't do that unless I can see the device there.

I'm really not excited about factory-resetting my router, but I'm running out of options. Anyone got any ideas?!
Last edited by Peter Ryan on Sun Apr 05, 2020 6:13 pm, edited 1 time in total.

pcmanbob
Posts: 8977
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 5:47 pm

Looking at you posted "wpa_supplicant" file you are missing " from the end of the ssid line,
if this is an actual copy of the file you used that would stop your pi from connecting to your WiFi network.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 6:12 pm

Well spotted! But, sadly, it's just a typo when I made the post here. :oops:

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 6:25 pm

169.254.xxx.xxx is assigned to the interface when a DHCP server can't be reached.

With WiFi that's normally due to a few things 1) hidden SSID, 2) bad credentials 3) 2.4GHz vs 5GHz 4) WEP security
First one is easy to fix (don't hide), or hard to fix (bssid=mm:aa:cc:ad:dr:es with the MAC address of your AP).
Bad credentials are easy 1) check SSID, check password, change the AP password to only use alphabetic and numbers with no spaces
2.4GHz vs 5GHz - is easy to fix, give the 5GHz service a different SSID (mine gets SSID-5G so I can tell which is which).
WEP is easy to fix, just don't use it. It's equivalent to no security at all, so you may as well run an open network.

What do you get from a iwlist scan command?

Should be something like

Code: Select all

wlx801f0268c6af  Scan completed :
          Cell 01 - Address: 50:C7:BF:7F:80:D7
                    Channel:4
                    Frequency:2.427 GHz (Channel 4)
                    Quality=70/70  Signal level=-40 dBm
                    Encryption key:on
                    ESSID:"MY-SERVICE-SET-ID-HERE"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000246a80fd6cf
                    Extra: Last beacon: 933040ms ago
                    IE: Unknown: 000744414C2D454B53
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030104
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B051400150000
                    IE: Unknown: 46053208010000
                    IE: Unknown: 2D1ABC091BFFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D1604081500000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500080000000040
                    IE: Unknown: DD880050F204104A0001101044000102103B00010310470010D96C7EFC2F8938F1EFBD6E5148BFA8121021000754502D4C494E4B1023000C41726368657220565236303010240003322E301042000C3530433742463746383044371054000800060050F20400011011000A54502D4C494E4B5F4150100800022008103C0001031049000600372A000120
                    IE: Unknown: DD090010180214000C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E0062322F00

lo        Interface doesn't support scanning.

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 6:56 pm

iwlist scan says:

Code: Select all

wlan0     Scan completed :
          Cell 01 - Address: 50:0F:F5:B7:D5:41
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=53/70  Signal level=-57 dBm  
                    Encryption key:on
                    ESSID:"TwnWifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000C546F776E73656E6457696669
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0101
                    IE: Unknown: 32043048606C
                    IE: Unknown: 0B050000C90000
                    IE: Unknown: 3603A1B200
                    IE: Unknown: 2D1AAC191EFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001300000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (2) : PSK unknown (4)
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0600E04C020160
                    IE: Unknown: 7F080000080000000000
          Cell 02 - Address: 70:0B:01:16:89:6A
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=38/70  Signal level=-72 dBm  
                    Encryption key:on
                    ESSID:"TALKTALK16896D"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000E54414C4B54414C4B313638393644
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 200100
                    IE: Unknown: 23020F00
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050200380000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000080017800000000000000000000
                    IE: Unknown: 3D1606001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400000000000040
                    IE: Unknown: DD9F0050F204104A0001101044000102103B00010310470010DD7D31043778E9A196ED96DB5AE4F75C10210008536167656D636F6D10230010536167656D636F6D464153543533363410240007332E302D332E301042000F4E373138313237344E3030343531341054000800060050F204000110110015536167656D636F6D46415354353336342D4E373138100800022000103C0001031049000600372A000120
                    IE: Unknown: DD090010180202101C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 03 - Address: 3C:89:94:38:00:7A
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=35/70  Signal level=-75 dBm  
                    Encryption key:on
                    ESSID:"SKYISJV1"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 0008534B5949534A5631
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100330000
                    IE: Unknown: 420100
                    IE: Unknown: 46057208010000
                    IE: Unknown: 2D1AAD0117FFFFFFFF00000000000000000000000000000000000000
                    IE: Unknown: 3D160B000400000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DDA60050F204104A0001101044000102103B00010310470010AEFE9F21FCE6B82BD093180EB6433F7010210003536B7910230007536B79204875621024000553523230331042000E44323030313936443030333531391054000800060050F204000110110007536B792048756210080002200C103C0001011049000600372A00012010580022007FC5100018D64EDF6AD7D73907387ECC82B1C930EC303030303030303130000101
                    IE: Unknown: DD1E00904C0400BF0CB2018003AAFF0000AAFF0000C005000B000000C3020002
                    IE: Unknown: DD090010180201001C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 04 - Address: 38:35:FB:88:5D:40
                    Channel:13
                    Frequency:2.472 GHz (Channel 13)
                    Quality=44/70  Signal level=-66 dBm  
                    Encryption key:on
                    ESSID:"MYSSID"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000E42616467657254726F6E36303030
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010D
                    IE: Unknown: 050402030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAC011BFFFF000000000000000000008000000000000000000000
                    IE: Unknown: 3D160D001700000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 05 - Address: 38:35:FB:88:5D:41
                    Channel:36
                    Frequency:5.18 GHz (Channel 36)
                    Quality=32/70  Signal level=-78 dBm  
                    Encryption key:on
                    ESSID:"MYSSID-5GHZ"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000742542D3547485A
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030124
                    IE: Unknown: 073C4742202401142801142C01143001143401143801143C011440011464011B68011B6C011B70011B74011B78011B7C011B80011B84011B88011B8C011B
                    IE: Unknown: 200103
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1A6F111BFFFFFF0000000000000000008000000000000000000000
                    IE: Unknown: 3D16240D0400000000000000000000000000000000000000
                    IE: Unknown: 7F080000000000000040
                    IE: Unknown: BF0C32018033CAFF0000EAFF0000
                    IE: Unknown: C005012A00FCFF
                    IE: Unknown: C30402D8D8D8
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
          Cell 06 - Address: 0A:12:A5:D8:45:A8
                    Channel:36
                    Frequency:5.18 GHz (Channel 36)
                    Quality=39/70  Signal level=-71 dBm  
                    Encryption key:on
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 0015000000000000000000000000000000000000000000
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 050400020000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AAD0117FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1624080000000000000000000000000000000000000000
                    IE: Unknown: 7F0104
                    IE: Unknown: BF0CB259810FFAFF0000FAFF0000
                    IE: Unknown: C0050024000000
                    IE: Unknown: C302000E
                    IE: Unknown: DD3B0050F204104A00011010440001021049000600372A000120101100134B61792773204669726520545620537469636B1054000800010050F2040009
                    IE: Unknown: DD090010180200001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD12506F9A0902020025AB0306000A12A5D8C5A8
          Cell 07 - Address: F2:81:73:B0:52:63
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=39/70  Signal level=-71 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-mr-FireTV_67ee"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 00154449524543542D6D722D4669726554565F36376565
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0102
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AAD0117FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001300000000000000000000000000000000000000
                    IE: Unknown: 7F0104
                    IE: Unknown: DD710050F204104A0001101044000102103B00010310470010FA973E40CE8F56E192FA9CEB0C76000910210001201023000120102400012010420001201054000800010050F20400091011001644616E69656C2773204669726520545620537469636B1008000241081049000600372A000120
                    IE: Unknown: DD090010180200001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD37506F9A0902020025AB0D2B00F28173B0D263018800010050F2040009001011001644616E69656C2773204669726520545620537469636B
          Cell 08 - Address: 0A:12:A5:D8:45:A8
                    Channel:36
                    Frequency:5.18 GHz (Channel 36)
                    Quality=39/70  Signal level=-71 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-oK-FireTV_7872"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 00154449524543542D6F4B2D4669726554565F37383732
                    IE: Unknown: 01088C129824B048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AAD0117FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1624080000000000000000000000000000000000000000
                    IE: Unknown: 7F0104
                    IE: Unknown: BF0CB259810FFAFF0000FAFF0000
                    IE: Unknown: C0050024000000
                    IE: Unknown: C302000E
                    IE: Unknown: DD6E0050F204104A0001101044000102103B00010310470010C66FDE2ABE1755FE8914F540E845341210210001201023000120102400012010420001201054000800010050F2040009101100134B61792773204669726520545620537469636B1008000241081049000600372A000120
                    IE: Unknown: DD090010180200001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD34506F9A0902020025AB0D28000A12A5D8C5A8018800010050F204000900101100134B61792773204669726520545620537469636B
          Cell 09 - Address: 8A:A6:C6:2D:C3:27
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=27/70  Signal level=-83 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000F4254576966692D776974682D464F4E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050400030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050000320000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD1E00904C0400BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180200001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 10 - Address: 50:0F:F5:B7:D5:39
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"TwnWifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 000C546F776E73656E6457696669
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 2A0101
                    IE: Unknown: 32043048606C
                    IE: Unknown: 0B0500002F0000
                    IE: Unknown: 3603A1B200
                    IE: Unknown: 2D1AAC191EFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606001300000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (2) : PSK unknown (4)
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0600E04C020160
                    IE: Unknown: 7F080000080000000000
          Cell 11 - Address: D0:6E:DE:0E:4E:7D
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"TALKTALK0E4E80"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000E54414C4B54414C4B304534453830
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 050400010000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 200100
                    IE: Unknown: 23020F00
                    IE: Unknown: 2A0102
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100380000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000080017800000000000000000000
                    IE: Unknown: 3D1606001300000000000000000000000000000000000000
                    IE: Unknown: 7F080400000000000040
                    IE: Unknown: DD310050F204104A000110104400010210470010BFA1C7129A896811AD7296F63AD03E1F103C0001031049000600372A000120
                    IE: Unknown: DD090010180201101C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 12 - Address: 88:A6:C6:2D:C1:26
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:on
                    ESSID:"BTHub6-CWT9"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000B4254487562362D43575439
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050400030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050400320000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD310050F204104A00011010440001021047001012F67C56AA34948AD9CF761D44D37D28103C0001031049000600372A000120
                    IE: Unknown: DD1E00904C0400BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180204001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 13 - Address: F4:6B:EF:EE:A5:2B
                    Channel:44
                    Frequency:5.22 GHz (Channel 44)
                    Quality=27/70  Signal level=-83 dBm  
                    Encryption key:on
                    ESSID:"BTHub6-TWRX"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000B4254487562362D54575258
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 050401030000
                    IE: Unknown: 073C4742202401172801172C01173001173401173801173C011740011764011E68011E6C011E70011E74011E78011E7C011E80011E84011E88011E8C011E
                    IE: Unknown: 200100
                    IE: Unknown: 23021400
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100010000
                    IE: Unknown: 42020000
                    IE: Unknown: 2D1AEF0117FFFFFFFF00000000000000000000000000000000000000
                    IE: Unknown: 3D162C000400000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: BF0CB269830FAAFF0000AAFF0000
                    IE: Unknown: C005002C000000
                    IE: Unknown: C3020002
                    IE: Unknown: DD310050F204104A000110104400010210470010D6DFC047AA1322AFA52977FCBF7C2FAF103C0001031049000600372A000120
                    IE: Unknown: DD0500904C0417
                    IE: Unknown: DD090010180201001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 14 - Address: F4:6B:EF:EE:A5:2A
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=29/70  Signal level=-81 dBm  
                    Encryption key:on
                    ESSID:"BTHub6-TWRX"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000B4254487562362D54575258
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050500680000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D160B080400000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD800050F204104A0001101044000102103B00010310470010D6DFC047AA1322AFA52977FCBF7C2FAF1021000242541023000842545F4855425F3610240007312E302D322E30104200063132333435361054000800060050F20400011011000D42545F4855425F362D31323334100800022000103C0001031049000600372A000120
                    IE: Unknown: DD1E00904C0400BF0CB259820FEAFF0000EAFF0000C005000B000000C3020002
                    IE: Unknown: DD090010180205001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 15 - Address: 50:0F:F5:B7:D5:31
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=43/70  Signal level=-67 dBm  
                    Encryption key:on
                    ESSID:"TwnWifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Unknown/bug
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000C546F776E73656E6457696669
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010B
                    IE: Unknown: 050402030000
                    IE: Unknown: 2A0104
                    IE: Unknown: 32043048606C
                    IE: Unknown: 0B0500007F0000
                    IE: Unknown: 3603A1B200
                    IE: Unknown: 2D1AAC191EFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B000000000000000000000000000000000000000000
                    IE: Unknown: C8030B0001
                    IE: Unknown: E71030313831323232303935333438353135
                    IE: Unknown: 711201000FAC00000FAC000F800000001266C27A
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (2) : PSK unknown (4)
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0600E04C020160
                    IE: Unknown: 7F080000080000000000
          Cell 16 - Address: 78:32:1B:AA:98:F3
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"TALKTALKAA98F3"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 000E54414C4B54414C4B414139384633
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A8C1117FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D160B000600000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 7F080000000100000000
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080000000100000000
                    IE: Unknown: 0706474220010D10
                    IE: Unknown: DDAD0050F204104A00011010440001021057000101103B00010310470010BC329E001DD811B2860178321BAA98F31021001852616C696E6B20546563686E6F6C6F67792C20436F72702E1023001C52616C696E6B20576972656C6573732041636365737320506F696E74102400065254323836301042000831323334353637381054000800060050F20400011011000A44534C2D33373832545410080002218C103C0001011049000600372A000120
                    IE: Unknown: DD07000C4300000000
          Cell 17 - Address: 50:0F:F5:B7:D5:44
                    Channel:40
                    Frequency:5.2 GHz (Channel 40)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"TwnWifi"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Unknown/bug
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000C546F776E73656E6457696669
                    IE: Unknown: 01088C9298A4B0C8E0EC
                    IE: Unknown: 050402030000
                    IE: Unknown: 074055532024011E28011E2C011E30011E34011E38011E3C011E40011E6401146801146C01147001147401148801148C011495011E99011E9D011EA1011EA5011E00
                    IE: Unknown: 200100
                    IE: Unknown: 23021400
                    IE: Unknown: 0B050300090000
                    IE: Unknown: 3603A1B200
                    IE: Unknown: 2D1AEF111EFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1628070000000000000000000000000000000000000000
                    IE: Unknown: BF0CB021C103FAFF0C03FAFF0C03
                    IE: Unknown: C005012A00F0FF
                    IE: Unknown: C803280101
                    IE: Unknown: E71030313831323232303935333438353135
                    IE: Unknown: 711201000FAC00000FAC000D800000009636A996
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (2) : PSK unknown (4)
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0600E04C020160
                    IE: Unknown: 7F080000080000000040
          Cell 18 - Address: 7A:CC:22:E5:04:5F
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 0009000000000000000000
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050402030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050000210000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD2900230810000000012024000800FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000DCB572CC22E5045E
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180200109C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 19 - Address: 64:CC:22:E5:04:5B
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"BT-GMA8Z9"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 000942542D474D41385A39
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050402030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050700210000
                    IE: Unknown: 46052000000000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD310050F204104A0001101044000102104700101D543673D765C01EC5D8DCBC85422E28103C0001031049000600372A000120
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180207101C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 20 - Address: 7A:FE:3B:A5:1B:5C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 10000ms ago
                    IE: Unknown: 000F4254576966692D776974682D464F4E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050000450000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180200101C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 21 - Address: 4C:1B:86:21:EE:42
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:on
                    ESSID:"BTHub6-F5G6"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 25000ms ago
                    IE: Unknown: 000B4254487562362D46354736
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 050400030100
                    IE: Unknown: 0706474220010D15
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAD0903FFFFFF0000000000000000000100000000000000000000
                    IE: Unknown: 3D1606000500000000000000000000000000000000000000
                    IE: Unknown: 7F0800000F0200000040
                    IE: Unknown: BF0CB2798A33EAFF0000EAFF0000
                    IE: Unknown: C005000000FCFF
                    IE: Unknown: DD1A00904C0408BF0CB2798A33EAFF0000EAFF0000C005000000FCFF
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD1D0050F204104A0001101044000102103C0001031049000600372A000120
          Cell 22 - Address: 7A:1B:86:21:EE:43
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000F4254576966692D776974682D464F4E
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 0706474220010D15
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAD0903FFFFFF0000000000000000000100000000000000000000
                    IE: Unknown: 3D1606000500000000000000000000000000000000000000
                    IE: Unknown: 7F0800000F0000000040
                    IE: Unknown: BF0CB2798A33EAFF0000EAFF0000
                    IE: Unknown: C005000000FCFF
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
          Cell 23 - Address: DA:5D:E2:20:88:95
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=27/70  Signal level=-83 dBm  
                    Encryption key:on
                    ESSID:"DIRECT-XW-BRAVIA"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 20010ms ago
                    IE: Unknown: 00104449524543542D58572D425241564941
                    IE: Unknown: 01080C1218243048606C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2D1AAC0102FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B000000000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD8B0050F204104A0001101044000102103B0001031047001000000000000010108000AC9B0A6D70A710210010536F6E7920436F72706F726174696F6E1023000B536F6E7920425241564941102400013010420001301054000800070050F204000110110012425241564941204B444C2D34305737303543100800020000103C0001011049000600372A000120
                    IE: Unknown: DD36506F9A0902020025230D2700DA5DE2208895018800070050F20400010010110012425241564941204B444C2D343057373035430E0000
          Cell 24 - Address: 7A:CC:22:E5:04:5C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 000F4254576966692D776974682D464F4E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050402030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050000210000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180200101C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 25 - Address: 7A:CC:22:E5:04:5D
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"BTWifi-X"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 00084254576966692D58
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050401030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: 0B050000210000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180200101C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 26 - Address: D0:7A:B5:CE:B8:98
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=21/70  Signal level=-89 dBm  
                    Encryption key:on
                    ESSID:"TALKTALKCEB88F"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 25000ms ago
                    IE: Unknown: 000E54414C4B54414C4B434542383846
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030108
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A2C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1608000400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: Unknown: DD1000E0FC80000000230000000000000000
                    IE: Unknown: DD310050F204104A00011010440001021047001072DC28D9F2278BBA7DC77B37CFEE05B6103C0001031049000600372A000120
                    IE: Unknown: DD090010180201000C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 27 - Address: 7A:FE:3B:A5:1B:5F
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=21/70  Signal level=-89 dBm  
                    Encryption key:on
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 20010ms ago
                    IE: Unknown: 0009000000000000000000
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 050401030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100440000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD2900230810000000012024000800FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000ED9272FE3BA51B5E
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180201109C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
          Cell 28 - Address: D0:58:FC:11:27:06
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"SKY6F069"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 20010ms ago
                    IE: Unknown: 0008534B593646303639
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1ABC1916FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B080400000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DDA80050F204104A0001101044000102103B00010310470010E5DBF492BB52E46918FE6FC5873D112510210003536B7910230005455331333010240007312E302E302E301042000E41543133353132303330303030311054000800060050F204000110110009536B79205120626F7810080002200C103C0001011049000600372A00012010580022007FC5100018316BFB419F38C062EA7B9E7C72E4C9F1303030303030303130000101
                    IE: Unknown: DD090010180202004C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 46057208010000
          Cell 29 - Address: 5A:90:43:08:4C:81
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:off
                    ESSID:"BTWifi-with-FON"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 10000ms ago
                    IE: Unknown: 000F4254576966692D776974682D464F4E
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B0500003B0000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1606001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD1E00904C0400BF0CB259820FEAFF0000EAFF0000C0050006000000C3020002
                    IE: Unknown: DD090010180200001C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 30 - Address: EA:91:F9:2F:E5:F3
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=24/70  Signal level=-86 dBm  
                    Encryption key:on
                    ESSID:"BTWifi-X"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 5000ms ago
                    IE: Unknown: 00084254576966692D58
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 050401030000
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0102
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
                       Preauthentication Supported
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AAC011BFFFF000000000000000000008000000000000000000000
                    IE: Unknown: 3D1601000500000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 31 - Address: 44:FE:3B:A5:1B:5B
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"BT-FHA2SG"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 0ms ago
                    IE: Unknown: 000942542D464841325347
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0106
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050700530000
                    IE: Unknown: 46052000000000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD7C0050F204104A0001101044000102103B00010310470010F4C057F3272B050AED41A4C1C004401B1021000242541023000A425420487562203644581024000638383033353510420004313233341054000800060050F20400011011000A4752563935313775616310080002200C103C0001031049000600372A000120
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050001000000C3020002
                    IE: Unknown: DD090010180207101C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00
In this output, I've changed my own ssid to MYSSID. Also, MYSSID-5GHZ is also mine, I'm but deliberately using a different SSID for 5GHz and we can ignore it here. My wpa_supplicant only mentioned "MYSSID" with the intent this pi only connects to the 2.4GHz network.

MYSSID and MYSSID-5GHZ are both the same Plusnet Hub One router.

It might be worth emphasising at this point that the Pi did get an IP address allocated from my router, but it simply chose to ignore it!

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 7:17 pm

Peter Ryan wrote:
Sun Apr 05, 2020 6:56 pm
It might be worth emphasising at this point that the Pi did get an IP address allocated from my router, but it simply chose to ignore it!
Wow your street is full of access points. Have you tried a power cycle of your router/AP?

Have you made any changes to /etc/network/interfaces or /etc/dhcpcd.conf?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 7:37 pm

DougieLawson wrote:
Sun Apr 05, 2020 7:17 pm
Wow your street is full of access points. Have you tried a power cycle of your router/AP?

Have you made any changes to /etc/network/interfaces or /etc/dhcpcd.conf?
Yeah, there's an insane number of them, that's part of why I'm hiding up on channel 13 to avoid them. :D

No changes to dhcpcd or network anything. I've only imaged the SD-card and added "ssh" and "wpa_supplicant" to /boot - hence being flummoxed!

I've just power-cycled the router and once it was back up, I disabled and then re-enabled Wifi on the Pi. But no change.

What I could try is popping this SD-card into a Pi 3B+ ? I've not done so yet as I don't want to accidentally fix whatever it is that's wrong.

The router does know about the Pi 3B+ already and will allocate a static IP. Same as it should/does/kind-of with the Pi4.

drgeoff
Posts: 10508
Joined: Wed Jan 25, 2012 6:39 pm

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 7:42 pm

Peter Ryan wrote:
Sun Apr 05, 2020 5:29 pm
....was able to set it to give 192.168.1.17 as a static address on the Pi's MAC.
If the Plusnet hub has the same firmware as its BT sibling but just different branding on its config pages, that 17 address is fishy. Setting a "static" IP address based on a MAC should "lock" an IP address to one given out from the router's DHCP pool. For BTHomeHubs that pool begins at 192.168.1.64.

drgeoff
Posts: 10508
Joined: Wed Jan 25, 2012 6:39 pm

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 7:47 pm

Peter Ryan wrote:
Sun Apr 05, 2020 7:37 pm
DougieLawson wrote:
Sun Apr 05, 2020 7:17 pm
Wow your street is full of access points. Have you tried a power cycle of your router/AP?

Have you made any changes to /etc/network/interfaces or /etc/dhcpcd.conf?
Yeah, there's an insane number of them, that's part of why I'm hiding up on channel 13 to avoid them. :D
You should not be using channel 13 if operating 802.11n.

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 7:49 pm

drgeoff wrote:
Sun Apr 05, 2020 7:42 pm
If the Plusnet hub has the same firmware as its BT sibling but just different branding on its config pages, that 17 address is fishy. Setting a "static" IP address based on a MAC should "lock" an IP address to one given out from the router's DHCP pool. For BTHomeHubs that pool begins at 192.168.1.64.
I changed that so the range I have is 192.168.1.10 - 192.168.1.253

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 8:04 pm

drgeoff wrote:
Sun Apr 05, 2020 7:47 pm
You should not be using channel 13 if operating 802.11n.
Are you sure about that? ;)

Either way, it has worked perfectly well until this problem I've got right now.... (me thinks for a bit).... okay, I just tried switching the router to channel 1, and then disabled/enabled WiFi on the Pi. Still the same problem.

So I'm back on channel 13 again. I like it there! :D

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 8:36 pm

Peter Ryan wrote:
Sun Apr 05, 2020 8:04 pm
drgeoff wrote:
Sun Apr 05, 2020 7:47 pm
You should not be using channel 13 if operating 802.11n.
Are you sure about that? ;)

Either way, it has worked perfectly well until this problem I've got right now.... (me thinks for a bit).... okay, I just tried switching the router to channel 1, and then disabled/enabled WiFi on the Pi. Still the same problem.

So I'm back on channel 13 again. I like it there! :D
I use to avoid ch13 as my original (from 2005) HP WiFi printer wouldn't work on ch13 (as it had an American interface).

Grab V3 (V4 isn't free) of InSSIDer https://www.techspot.com/downloads/5936-inssider.html and look for a gap (or least busy band) in the 2.4GHz channels.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Sun Apr 05, 2020 11:08 pm

DougieLawson wrote:
Sun Apr 05, 2020 8:36 pm
I use to avoid ch13 as my original (from 2005) HP WiFi printer wouldn't work on ch13 (as it had an American interface).
The only thing that causes me any problems with channel 13 is an old Kindle 4. Amazon's helpful advice is, don't use channel 13! :roll:

Re: The Problem - I shutdown the Pi4. Swapped the SD-card into a Pi3B+ and booted. It got the correct IP address (a different one due to a different MAC). Swapped the SD-card back into the Pi4, booted, and got a 169.254.etc address. So, router problem?

I found a backup for the router, so I restored that, and on the Pi4 I toggled Wifi off/on and got a valid IP address - not the specific static IP I was after but at least it's working.

So then I go to the router's "Home Network" admin page where I can see the Pi connected. I click on it and here I can set a static IP. So I do that, and back on the Pi I toggle wifi off/on again and... it only goes and gives me a 169.254.etc address again!!! Grrr. So I've deleted the "device" from the router and it's back to dynamic allocation, but it *does* at least work.

I'm not entirely sure what I've learned here! I guess either:
  • The router has a strange bug
  • The Pi Wifi firmware has a strange bug?!
It's late right now so I'm not doing anything more with it tonight, but when I can, I may try:
  1. Factory resetting the router and trying to set a static IP for just this Pi4. If that works, maybe there's some cruft in the old config that still existed in the config I restored.
  2. Fake the MAC address on the Pi4 to be the same as the Pi3B+ I've got and see if it gets that static IP.
Anyway - thanks everyone for their help!!!! :D

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Mon Apr 06, 2020 8:55 am

You can set a fixed IP address in /etc/dhcpcd.conf - there's a sample in there of the arcane incantations needed.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
HawaiianPi
Posts: 5453
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Mon Apr 06, 2020 9:35 am

May be a red herring, but you called the file wpa_supplicant several times in this thread, when the correct name is wpa_supplicant.conf, so what is your file actually named?
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Peter Ryan
Posts: 47
Joined: Sat Mar 03, 2012 12:44 am
Location: UK

Re: Booting from fresh Raspbian image with wpa_supplicant giving me 169.254/16 address

Tue Apr 07, 2020 7:11 pm

HawaiianPi wrote: May be a red herring, but you called the file wpa_supplicant several times in this thread, when the correct name is wpa_supplicant.conf, so what is your file actually named?
That was indeed me being a bit lazy and not including the extension in my posts - the file name is indeed wpa_supplicant.conf !
DougieLawson wrote: You can set a fixed IP address in /etc/dhcpcd.conf - there's a sample in there of the arcane incantations needed.
That's plan-B. I much prefer just configuring the router to deal with it, albeit this particular router doesn't make the job as easy as I'd like.

tl;dr - It's working now!
I went ahead and did a factory reset on the router. Setup the SSID(s)/passwords as normal.

And then I set a static IP on the Pi4, and on the Pi itself, I toggled the Wifi widget off/on so that it'd pick up the new IP... and I expected it to do what it did before and give me the wrong address. But this time it worked!

Thus, the evidence seems to suggest a problem with the router, which at least for now, is resolved. :D

The slightly longer story
So I factory reset the router. I then set the usual bits I change:
  • Admin password
  • SSID & password (split for 2.4GHz and 5GHz)
  • Disable WPA and UPnP
I did not change the DHCP pool range from it's default .64 to .253 and instead I've just changed the static addresses I'm using for everything. Also, I didn't bother setting static addresses for everything! Previously I had static addresses for stuff like an Amazon Fire TV that, to be honest, was unnecessary; I'm working on the theory that maybe the router has a limited ability to remember MAC addresses... or something.

But I have set static addresses for a bunch of other things - probably ~6 devices at present and this doesn't seem to have upset anything yet.

I'm no clearer on what the router was actually doing, but it was being triggered either by my Pi4 or, I suspect, simply it's MAC address that had a borked entry in it's list. Without wanting to get into the UI horrors of the routers interface, there's no way to see a list of MAC addresses to IPs yet alone edit it; all I can do is see a connected device, click on it and set a static address. There's no facility to delete anything AFAIK either. Oh, and where I can backup/restore the router config, I can't see anything in the backup file as it's binary blob and the "strings" command reveals nothing suggesting that it is in some way encoded.

Aaaaanyway, it all works now and that's the main thing!! :D

Thank you to everyone for your help - you've all been marvellous!!

Return to “Troubleshooting”