Por defecto, ¿la funcionalidad "hotspot" de Android proporciona un servidor DHCP a sus clientes? ¿O simplemente pasa información DHCP desde la red a la que está conectado?
Estoy tratando de crear un punto de acceso para la comunicación sólo LAN entre mi portátil y mi teléfono. No tengo tarjeta SIM, así que "Datos móviles" está desactivado ." Tampoco tengo acceso a otra red WiFI, así que "WiFi" está desactivado .
He creado un hotspot e intento conectarme a él desde mi portátil, pero obtengo este error de los registros de NetworkManager (estoy usando GNU/Debian 11 Linux):
[user@sys-net ~]$ sudo journalctl -u NetworkManager -f
...
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7570] device (wls6): Activation: starting connection '<SSID_REDACTED>' (501ce9ff-854f-472a-81cd-5eb447c47379)
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7585] device (wls6): supplicant interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7585] device (p2p-dev-wls6): supplicant management interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7654] device (wls6): supplicant interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7655] device (p2p-dev-wls6): supplicant management interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7667] device (wls6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7675] manager: NetworkManager state is now CONNECTING
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.7840] device (wls6): set-hw-addr: set-cloned MAC address to <MAC_ADDRESS_REDACTED> (stable)
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8065] device (wls6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8087] device (wls6): Activation: (wifi) access point '<SSID_REDACTED>' has security, but secrets are required.
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8087] device (wls6): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8248] device (wls6): supplicant interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8248] device (p2p-dev-wls6): supplicant management interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8250] device (wls6): supplicant interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8250] device (p2p-dev-wls6): supplicant management interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8405] device (wls6): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8412] device (wls6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8461] device (wls6): Activation: (wifi) connection '<SSID_REDACTED>' has security, and secrets exist. No new secrets needed.
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8473] Config: added 'ssid' value '<SSID_REDACTED>'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8474] Config: added 'scan_ssid' value '1'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8474] Config: added 'bgscan' value 'simple:30:-70:86400'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8474] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8474] Config: added 'auth_alg' value 'OPEN'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.8475] Config: added 'psk' value '<hidden>'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9055] device (wls6): supplicant interface state: disconnected -> authenticating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9059] device (p2p-dev-wls6): supplicant management interface state: disconnected -> authenticating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9109] device (wls6): supplicant interface state: authenticating -> associating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9110] device (p2p-dev-wls6): supplicant management interface state: authenticating -> associating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9365] device (wls6): supplicant interface state: associating -> 4way_handshake
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9365] device (p2p-dev-wls6): supplicant management interface state: associating -> 4way_handshake
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9611] device (wls6): supplicant interface state: 4way_handshake -> completed
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9611] device (wls6): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "<SSID_REDACTED>"
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9611] device (p2p-dev-wls6): supplicant management interface state: 4way_handshake -> completed
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9616] device (wls6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info> [1649340924.9621] dhcp4 (wls6): activation: beginning transaction (timeout in 45 seconds)
...
... <here it got stuck waiting for an IP address before timing out>
...
Apr 07 16:16:10 sys-net NetworkManager[1446]: <warn> [1649340970.5783] dhcp4 (wls6): request timed out
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info> [1649340970.5783] dhcp4 (wls6): state changed unknown -> timeout
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info> [1649340970.5784] device (wls6): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info> [1649340970.5799] manager: NetworkManager state is now DISCONNECTED
¿Por qué mi dispositivo Android no proporciona una dirección IP a mi portátil? ¿Se debe a que mi Android no está conectado a otra red con un servidor DHCP? ¿Cómo puedo hacer que mi Android hotpsot proporcione una dirección IP DHCP a mi portátil cuando me conecto al hotspot de mi Android?