dhcpcd does not get an address from android hotspot

Erich Titl <[email protected]> Fri, 13 May 2022 17:53:10 +0200
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hi Folks

As the subject states, it just doesn't. It will connect fine to other 
APs but not to the phone.

So this is on a

SALT# cat /etc/motd
LEAF Bering-uClibc 7.0.3 Rev 1 uClibc 1.0.35  at SALT
Linux 5.4.99-geode #1 Sun Jun 27 19:03:16 CEST 2021
SALT#

SALT# apkg -l dhcpcd
dhcpcd 8.1.5 Rev 1 uClibc 1.0.35

Here is the wpa_cli information:

SALT# wpa_cli status
Selected interface 'wlan0'
bssid=5a:e9:b2:a6:20:7b
freq=2412
ssid=Mega
id=37
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
address=00:1b:b1:b1:4d:25

<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with 5a:e9:b2:a6:20:7b (SSID='Mega' 
freq=2412 MHz)
<3>Trying to associate with 5a:e9:b2:a6:20:7b (SSID='Mega' freq=2412 MHz)
<3>Associated with 5a:e9:b2:a6:20:7b
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>WPA: Key negotiation completed with 5a:e9:b2:a6:20:7b [PTK=CCMP GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to 5a:e9:b2:a6:20:7b completed 
[id=37 id_str=]

 > status
bssid=5a:e9:b2:a6:20:7b
freq=2412
ssid=Mega
id=37
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
address=00:1b:b1:b1:4d:25

But no IP address.

There is dhcpcd running:

19817 root      1276 S    dhcpcd wlan0

This is in the daemon log.

May 13 15:42:44 192 syslog[10110]: wlan0: carrier acquired
May 13 15:42:44 192 syslog[10110]: wlan0: connected to Access Point `Mega'
May 13 15:42:45 192 syslog[10110]: wlan0: soliciting a DHCP lease
May 13 15:44:24 192 syslog[19785]: sending signal ALRM to pid 10110
May 13 15:44:24 192 syslog[10110]: received SIGALRM, releasing
May 13 15:44:24 192 syslog[10110]: wlan0: removing interface
May 13 15:44:24 192 syslog[19785]: waiting for pid 10110 to exit
May 13 15:44:24 192 syslog[10110]: dhcpcd exited
May 13 15:44:24 192 syslog[19816]: forked to background, child pid 19817
May 13 15:44:24 192 syslog[19817]: wlan0: waiting for carrier
May 13 15:44:28 192 syslog[19817]: wlan0: carrier acquired
May 13 15:44:28 192 syslog[19817]: wlan0: connected to Access Point `Mega'
May 13 15:44:28 192 syslog[19817]: wlan0: soliciting a DHCP lease

Ideas?

ET

------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed