Web lists-archives.com

wifi with no encryption: No DHCPOFFERS received




I get the following error when I try to connect to wifi hotspots with
no encryption. This is from the wicd log:

[...]
2018/12/11 18:44:15 :: Putting interface up...
2018/12/11 18:44:15 :: ifconfig wlp61s0 up
2018/12/11 18:44:17 :: enctype is None
2018/12/11 18:44:17 :: ['iwconfig', 'wlp61s0', 'essid', '--', 'invites']
2018/12/11 18:44:17 :: iwconfig wlp61s0 channel 11
2018/12/11 18:44:17 :: iwconfig wlp61s0 ap 00:26:CB:11:1A:82
2018/12/11 18:44:17 :: Running DHCP with NO hostname
2018/12/11 18:44:17 :: /sbin/dhclient -v -cf /var/lib/wicd/dhclient.conf  wlp61s0
2018/12/11 18:44:17 :: Internet Systems Consortium DHCP Client 4.3.5
2018/12/11 18:44:17 :: Copyright 2004-2016 Internet Systems Consortium.
2018/12/11 18:44:17 :: All rights reserved.
2018/12/11 18:44:17 :: For info, please visit https://www.isc.org/software/dhcp/
2018/12/11 18:44:17 :: 
2018/12/11 18:44:17 :: Listening on LPF/wlp61s0/cc:3d:82:a9:e3:ea
2018/12/11 18:44:17 :: Sending on   LPF/wlp61s0/cc:3d:82:a9:e3:ea
2018/12/11 18:44:17 :: Sending on   Socket/fallback
2018/12/11 18:44:17 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 8
2018/12/11 18:44:25 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 11
2018/12/11 18:44:36 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 9
2018/12/11 18:44:45 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 16
2018/12/11 18:45:01 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 10
2018/12/11 18:45:11 :: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 7
2018/12/11 18:45:18 :: No DHCPOFFERS received.
2018/12/11 18:45:18 :: No working leases in persistent database - sleeping.
2018/12/11 18:45:28 :: DHCP connection failed
[...]

journalctl shows:

Dec 11 18:44:15 zira kernel: IPv6: ADDRCONF(NETDEV_UP): wlp61s0: link is not ready
Dec 11 18:44:17 zira dhclient[21331]: Internet Systems Consortium DHCP Client 4.3.5
Dec 11 18:44:17 zira dhclient[21331]: Copyright 2004-2016 Internet Systems Consortium.
Dec 11 18:44:17 zira dhclient[21331]: All rights reserved.
Dec 11 18:44:17 zira dhclient[21331]: For info, please visit https://www.isc.org/software/dhcp/
Dec 11 18:44:17 zira dhclient[21331]: 
Dec 11 18:44:17 zira root[21338]: /etc/dhcp/dhclient-enter-hooks.d/google-tcp-dns with reason=PREINIT
Dec 11 18:44:17 zira root[21341]: /etc/dhcp/dhclient-exit-hooks.d/0google-tcp-dns with reason=PREINIT
Dec 11 18:44:17 zira dhclient[21331]: Listening on LPF/wlp61s0/cc:3d:82:a9:e3:ea
Dec 11 18:44:17 zira dhclient[21331]: Sending on   LPF/wlp61s0/cc:3d:82:a9:e3:ea
Dec 11 18:44:17 zira dhclient[21331]: Sending on   Socket/fallback
Dec 11 18:44:17 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 8
Dec 11 18:44:25 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 11
Dec 11 18:44:36 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 9
Dec 11 18:44:45 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 16
Dec 11 18:45:01 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 10
Dec 11 18:45:11 zira dhclient[21331]: DHCPDISCOVER on wlp61s0 to 255.255.255.255 port 67 interval 7
Dec 11 18:45:18 zira dhclient[21331]: No DHCPOFFERS received.
Dec 11 18:45:18 zira dhclient[21331]: No working leases in persistent database - sleeping.
Dec 11 18:45:18 zira root[21382]: /etc/dhcp/dhclient-enter-hooks.d/google-tcp-dns with reason=FAIL
Dec 11 18:45:18 zira root[21384]: /etc/dhcp/dhclient-exit-hooks.d/0google-tcp-dns with reason=FAIL
Dec 11 18:45:18 zira avahi-autoipd(wlp61s0)[21391]: Found user 'avahi-autoipd' (UID 107) and group 'avahi-autoipd' (GID 113)
Dec 11 18:45:18 zira avahi-autoipd(wlp61s0)[21391]: Successfully called chroot().
Dec 11 18:45:18 zira avahi-autoipd(wlp61s0)[21391]: Successfully dropped root privileges.
Dec 11 18:45:18 zira avahi-autoipd(wlp61s0)[21391]: Starting with address 169.254.12.91
Dec 11 18:45:24 zira avahi-autoipd(wlp61s0)[21391]: Callout BIND, address 169.254.12.91 on interface wlp61s0
Dec 11 18:45:24 zira avahi-daemon[782]: Joining mDNS multicast group on interface wlp61s0.IPv4 with address 169.254.12.91.
Dec 11 18:45:24 zira avahi-daemon[782]: New relevant interface wlp61s0.IPv4 for mDNS.
Dec 11 18:45:24 zira avahi-daemon[782]: Registering new address record for 169.254.12.91 on wlp61s0.IPv4.
Dec 11 18:45:28 zira avahi-autoipd(wlp61s0)[21391]: Successfully claimed IP address 169.254.12.91

There are no issues when I connect to this hotspot with my phone
under Android.

Any idea?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)