dhcp timeout during wifi connection
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ sudo hwinfo --netcard
[sudo] password for ravi:
14: PCI 200.0: 0282 WLAN controller
[Created at pci.386]
Unique ID: qru8.kOSB13gZvM0
Parent ID: aYFK.XZwpGIabNM5
SysFS ID: /devices/
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: "Realtek RTL8723BE PCIe Wireless Network Adapter"
Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
Device: pci 0xb723 "RTL8723BE PCIe Wireless Network Adapter"
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x804c
Driver: "rtl8723be"
Driver Modules: "rtl8723be"
Device File: wlp2s0
Features: WLAN
I/O Ports: 0x2000-0x2fff (rw)
Memory Range: 0xd0b00000-
IRQ: 41 (778740 events)
HW Address: 94:53:30:4d:84:27
Permanent HW Address: 94:53:30:4d:84:27
Link detected: yes
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v000010ECd
Driver Info #0:
Driver Status: rtl8723be is active
Driver Activation Cmd: "modprobe rtl8723be"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #16 (PCI bridge)
18: PCI 100.0: 0200 Ethernet controller
[Created at pci.386]
Unique ID: lkKU.ZcueftKbNdB
Parent ID: jDmU.XZwpGIabNM5
SysFS ID: /devices/
SysFS BusID: 0000:01:00.0
Hardware Class: network
Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
Device: pci 0x8168 "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x80ef
Revision: 0x15
Driver: "r8169"
Driver Modules: "r8169"
Device File: enp1s0
I/O Ports: 0x3000-0x3fff (rw)
Memory Range: 0xd0c04000-
Memory Range: 0xd0c00000-
IRQ: 36 (no events)
HW Address: 98:e7:f4:5f:35:25
Permanent HW Address: 98:e7:f4:5f:35:25
Link detected: no
Module Alias: "pci:v000010ECd
Driver Info #0:
Driver Status: r8169 is active
Driver Activation Cmd: "modprobe r8169"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #29 (PCI bridge)
$ cat /etc/modprobe.
options rtl8723be ant_sel=1 fwlps=0
Access point has no WPA enabled.
$ iwconfig wlp2s0
wlp2s0 IEEE 802.11 ESSID:"Starbucks WiFi"
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-38 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
$ nmcli dev wifi connect 'Starbucks WiFi'
Error: Connection activation failed: (5) IP configuration could not be reserved (no available address, timeout, etc.).
Related messages in /var/log/syslog which shows dhcp timeout:
Jul 27 19:48:06 voyager systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager kernel: [ 8691.973890] wlp2s0: authenticate with 18:64:72:6e:26:30
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager kernel: [ 8691.984104] wlp2s0: send auth to 18:64:72:6e:26:30 (try 1/3)
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager kernel: [ 8692.019327] wlp2s0: authenticated
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager kernel: [ 8692.021307] wlp2s0: associate with 18:64:72:6e:26:30 (try 1/3)
Jul 27 19:48:07 voyager kernel: [ 8692.051270] wlp2s0: RX AssocResp from 18:64:72:6e:26:30 (capab=0x421 status=0 aid=1)
Jul 27 19:48:07 voyager kernel: [ 8692.051466] wlp2s0: associated
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager wpa_supplicant[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager NetworkManager[
Jul 27 19:48:07 voyager avahi-daemon[866]: Joining mDNS multicast group on interface wlp2s0.IPv6 with address fe80::f917:
Jul 27 19:48:07 voyager avahi-daemon[866]: New relevant interface wlp2s0.IPv6 for mDNS.
Jul 27 19:48:07 voyager avahi-daemon[866]: Registering new address record for fe80::f917:
Jul 27 19:48:18 voyager systemd[1]: NetworkManager-
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager avahi-daemon[866]: Withdrawing address record for fe80::f917:
Jul 27 19:48:52 voyager avahi-daemon[866]: Leaving mDNS multicast group on interface wlp2s0.IPv6 with address fe80::f917:
Jul 27 19:48:52 voyager avahi-daemon[866]: Interface wlp2s0.IPv6 no longer relevant for mDNS.
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager kernel: [ 8736.930353] wlp2s0: deauthenticating from 18:64:72:6e:26:30 by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 27 19:48:52 voyager dbus-daemon[871]: [system] Activating via systemd: service name='org.
Jul 27 19:48:52 voyager wpa_supplicant[
Jul 27 19:48:52 voyager systemd[1]: Starting Network Manager Script Dispatcher Service...
Jul 27 19:48:52 voyager wpa_supplicant[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager NetworkManager[
Jul 27 19:48:52 voyager dbus-daemon[871]: [system] Successfully activated service 'org.freedeskto
Jul 27 19:48:52 voyager systemd[1]: Started Network Manager Script Dispatcher Service.
Jul 27 19:49:02 voyager systemd[1]: NetworkManager-
Wifi connectivity to same access point works fine from my cell phone.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: