dhcpcd-discuss

Re: Question on dhcpdc-ui

Roy Marples

Wed Nov 16 09:48:55 2016

Hi David

On 16/11/2016 01:25, David Giddy wrote:
> I'm using a Raspberry Pi 3 with a derivative of Raspian Jessie as the
> OS. This uses dhcpcd-ui as the gui control for networking - thanks for
> all your work on this - it makes networking easy to manage on such
> platforms.
> 
> Problem is that it doesn't seem to be working for my WiFi networking!
> 
> The problem appears to be somewhere between dhcpdc-ui and the underlying
> networking daemons I think.
> 
> I'm looking for pointers on what to check to make sure it can talk to
> the appropriate underlying components. I suspect that some daemon is not
> running that should be.
> 
> I tried to access the archives for this mailing list, but the link
> appears to be broken, so sorry if this is a FAQ.

Yeah.
I'm working on a new archive as hypermail as passed it's worth for me.
The new archive is almost complete and will be powered by mhonarc instead.

I like to host my own content rather than use a free-list ..... but as
usual this take time :)

> I'm fairly confident the WiFi componentry is working OK as here's the
> output from ifconfig, iwconfig and iwlist:
> 
> *ifconfig*
> 
> eth0      Link encap:Ethernet  HWaddr b8:27:eb:ba:17:4c  
>           inet addr:10.0.0.15  Bcast:10.0.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::ff2a:15bd:c0a2:7c50/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:42176 errors:0 dropped:1564 overruns:0 frame:0
>           TX packets:14508 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:16813072 (16.0 MiB)  TX bytes:1869613 (1.7 MiB)
> 
> 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:59 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1 
>           RX bytes:4396 (4.2 KiB)  TX bytes:4396 (4.2 KiB)
> 
> wlan0     Link encap:Ethernet  HWaddr b8:27:eb:ef:42:19  
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:12 errors:0 dropped:12 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:4524 (4.4 KiB)  TX bytes:0 (0.0 B)
> 
> *iwconfig*
> 
> wlan0     IEEE 802.11bgn  ESSID:off/any  
>           Mode:Managed  Access Point: Not-Associated   Tx-Power=31 dBm   
>           Retry short limit:7   RTS thr:off   Fragment thr:off
>           Power Management:on
> 
> *iwlist wlan0 scan*
> 
> wlan0     Scan completed :
>           Cell 01 - Address: 74:EA:3A:F2:27:64
>                     Channel:1
>                     Frequency:2.412 GHz (Channel 1)
>                     Quality=66/70  Signal level=-44 dBm  
>                     Encryption key:on
>                     ESSID:"Study"
>                     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: 80ms ago
>                     IE: Unknown: 00055374756479
>                     IE: Unknown: 010882848B960C121824
>                     IE: Unknown: 030101
>                     IE: IEEE 802.11i/WPA2 Version 1
>                         Group Cipher : CCMP
>                         Pairwise Ciphers (1) : CCMP
>                         Authentication Suites (1) : PSK
>                     IE: Unknown: 2A0100
>                     IE: Unknown: 32043048606C
>                     IE: Unknown:
> DD180050F2020101850003A4000027A4000042435E0062322F00
>                     IE: Unknown:
> DD1E00904C33CE111BFFFF000000000000000000000000000000000000000000
>                     IE: Unknown:
> 2D1ACE111BFFFF000000000000000000000000000000000000000000
>                     IE: Unknown:
> DD1A00904C34010D0800000000000000000000000000000000000000
>                     IE: Unknown:
> 3D16010D0800000000000000000000000000000000000000
>                     IE: Unknown: DD0900037F01010000FF7F
>                     IE: Unknown: DD0A00037F04010000004000
>                     IE: Unknown:
> DD7F0050F204104A0001101044000102103B000103104700100000000000001000000074EA3AF227641021000754502D4C494E4B10230009544C2D57413830314E10240003312E3010420003312E301054000800060050F204000110110017576972656C657373204E20415020544C2D57413830314E100800020086103C000101
>           Cell 02 - Address: 00:37:B7:B2:B3:0F
>                     Channel:11
>                     Frequency:2.462 GHz (Channel 11)
>                     Quality=39/70  Signal level=-71 dBm  
>                     Encryption key:on
>                     ESSID:"OPTUS_B2B30E"
>                     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: 80ms ago
>                     IE: Unknown: 000C4F505455535F423242333045
>                     IE: Unknown: 010882848B962430486C
>                     IE: Unknown: 03010B
>                     IE: Unknown: 050400010000
>                     IE: Unknown: 0706415520010D24
>                     IE: Unknown: 200100
>                     IE: Unknown: 23021300
>                     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: 0B050700360000
>                     IE: Unknown:
> 2D1ABC181BFFFF000000000000000000000000000000000000000000
>                     IE: Unknown:
> 3D160B080400000000000000000000000000000000000000
>                     IE: Unknown: 7F03040008
>                     IE: Unknown:
> DD180050F204104A00011010440001021049000600372A000120
>                     IE: Unknown: DD090010180207000C0000
>                     IE: WPA Version 1
>                         Group Cipher : TKIP
>                         Pairwise Ciphers (2) : CCMP TKIP
>                         Authentication Suites (1) : PSK
>                     IE: Unknown:
> DD180050F2020101040003A4000027A4000042435E0062322F00
>                     IE: Unknown: 46057200010000
> 
> Any pointers you can provide would be greatly appreciated.
> 
> Regards,
> 
> David.
> 

So this doesn't tell me much.
eth0 is connected fine but wlan0 is not.
It seems all the kernel parts are there and wpa_supplicant can scan. I
assume the AP you're trying to connect to is in the above list.
Does dhcpcd-ui disable the AP you're trying to connect to and prompt for
a psk? Can you verify this then appears in /etc/wpa_supplicant.conf (or
where-ever your conf is)?

Thanks

Roy

References:
Question on dhcpdc-uiDavid Giddy
Archive administrator: postmaster@marples.name