On 5/8/23 17:02, debian-u...@howorth.org.uk wrote:
Marko Randjelovic <marko...@sbb.rs> wrote:
Both systems are fully updated Bullseye on a laptop. I have two
access points, let's call them A and B. When I connect to A, DHCP
does not work. When I connect to B, DHCP works, laptop gets an IP
address and internet works without problems. On the other hand, my
mobile phone can successfully connect to both. Both APs have enabled
DHCP server and I made sure the IP ranges do not overlap.
what does
$ journalctl | grep dhcp
show when it should be connecting to A?
Hi,
Your command does not output anything important. Here's a wider selection:
May 09 11:09:06 rus wpa_supplicant[2309]: Successfully initialized
wpa_supplicant
May 09 11:09:06 rus dhclient[2320]: Internet Systems Consortium DHCP
Client 4.4.1
May 09 11:09:06 rus dhclient[2320]: Copyright 2004-2018 Internet Systems
Consortium.
May 09 11:09:06 rus dhclient[2320]: All rights reserved.
May 09 11:09:06 rus dhclient[2320]: For info, please visit
https://www.isc.org/software/dhcp/
May 09 11:09:06 rus dhclient[2320]:
May 09 11:09:06 rus dhclient[2320]: Listening on
LPF/wlp3s0/yy:yy:yy:yy:yy:yy
May 09 11:09:06 rus dhclient[2320]: Sending on LPF/wlp3s0/yy:yy:yy:yy:yy:yy
May 09 11:09:06 rus dhclient[2320]: Sending on Socket/fallback
May 09 11:09:06 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 8
May 09 11:09:07 rus wpa_supplicant[2310]: wlp3s0:
CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
May 09 11:09:14 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 10
May 09 11:09:24 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 7
May 09 11:09:31 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 8
May 09 11:09:39 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 21
May 09 11:10:00 rus dhclient[2320]: DHCPDISCOVER on wlp3s0 to
255.255.255.255 port 67 interval 7
May 09 11:10:07 rus dhclient[2320]: No DHCPOFFERS received.
May 09 11:10:07 rus dhclient[2320]: No working leases in persistent
database - sleeping.
May 09 11:10:07 rus avahi-autoipd(wlp3s0)[2335]: Found user
'avahi-autoipd' (UID 104) and group 'avahi-autoipd' (GID 112).
May 09 11:10:07 rus avahi-autoipd(wlp3s0)[2335]: Successfully called
chroot().
May 09 11:10:07 rus avahi-autoipd(wlp3s0)[2335]: Successfully dropped
root privileges.
May 09 11:10:07 rus avahi-autoipd(wlp3s0)[2335]: Starting with address
169.254.12.207
May 09 11:10:12 rus avahi-autoipd(wlp3s0)[2335]: Callout BIND, address
169.254.12.207 on interface wlp3s0
May 09 11:10:16 rus avahi-autoipd(wlp3s0)[2335]: Successfully claimed IP
address 169.254.12.207