http://bugzilla.opensuse.org/show_bug.cgi?id=1032193 Bug ID: 1032193 Summary: NM fails to connect due to dhclient timeout Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fisiu@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Sometimes I need to setup my android phone as hotspot. Then I'm trying to connect from laptop with openSUSE Leap 42.2 (plasma 5 desktop, nm enabled) to this hotspot. However it's not possible due to dhclient time out. Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): Activation: starting connection 'Mi4c' (970bd06b-5f6c-49b6-bc70-7ddd46f9c180) Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Apr 03 22:37:37 vostro NetworkManager[910]: <info> NetworkManager state is now CONNECTING Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0] Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): Activation: (wifi) connection 'Mi4c' requires no security. No secrets needed. Apr 03 22:37:37 vostro NetworkManager[910]: <info> Config: added 'ssid' value 'Mi4c' Apr 03 22:37:37 vostro NetworkManager[910]: <info> Config: added 'scan_ssid' value '1' Apr 03 22:37:37 vostro NetworkManager[910]: <info> Config: added 'key_mgmt' value 'NONE' Apr 03 22:37:37 vostro NetworkManager[910]: <info> Config: set interface ap_scan to 1 Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): supplicant interface state: inactive -> scanning Apr 03 22:37:37 vostro kernel: wlan0: authenticate with 20:82:c0:70:57:c4 Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): supplicant interface state: scanning -> authenticating Apr 03 22:37:37 vostro kernel: wlan0: send auth to 20:82:c0:70:57:c4 (try 1/3) Apr 03 22:37:37 vostro kernel: wlan0: send auth to 20:82:c0:70:57:c4 (try 2/3) Apr 03 22:37:37 vostro kernel: wlan0: authenticated Apr 03 22:37:37 vostro kernel: wlan0: associate with 20:82:c0:70:57:c4 (try 1/3) Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): supplicant interface state: authenticating -> associating Apr 03 22:37:37 vostro kernel: wlan0: RX AssocResp from 20:82:c0:70:57:c4 (capab=0x421 status=0 aid=18) Apr 03 22:37:37 vostro kernel: wlan0: associated Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): supplicant interface state: associating -> completed Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Mi4c'. Apr 03 22:37:37 vostro NetworkManager[910]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0] Apr 03 22:37:37 vostro NetworkManager[910]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds) Apr 03 22:37:37 vostro NetworkManager[910]: <info> dhclient started with pid 2282 Apr 03 22:37:37 vostro NetworkManager[910]: <warn> Unable to detect kernel support for extended IFA_FLAGS. Assume no kernel support. Apr 03 22:37:37 vostro NetworkManager[910]: <warn> libnl and the kernel do not support extended IFA_FLAGS needed by NM for IPv6 private addresses. This feature is not Apr 03 22:37:39 vostro avahi-daemon[822]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::ae72:89ff:fe3e:71e6. Apr 03 22:37:39 vostro avahi-daemon[822]: New relevant interface wlan0.IPv6 for mDNS. Apr 03 22:37:39 vostro avahi-daemon[822]: Registering new address record for fe80::ae72:89ff:fe3e:71e6 on wlan0.*. Apr 03 22:38:23 vostro NetworkManager[910]: <warn> (wlan0): DHCPv4 request timed out. Apr 03 22:38:23 vostro NetworkManager[910]: <info> (wlan0): DHCPv4 state changed unknown -> timeout Apr 03 22:38:23 vostro NetworkManager[910]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2282 Apr 03 22:38:23 vostro NetworkManager[910]: <info> (wlan0): DHCPv4 state changed timeout -> done Apr 03 22:38:23 vostro NetworkManager[910]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] Apr 03 22:38:23 vostro NetworkManager[910]: <info> NetworkManager state is now DISCONNECTED I tried to track it down and it seems that issue is with /etc/dhclient.conf. When I remove it (to allow dhcp client use default values) then I'm able to connect to my android hotspot. I used wireshark to capture network packets. I'm attaching to files: * dhclient-fail.pcap.gz - captured when original /etc/dhclient.conf is available * dhclient-success.pcap.gz - captured when there is no /etc/dhclient.conf file Is there any incorrect/outdated option in /etc/dhclient.conf which blocks dhclient from receiving IP address? -- You are receiving this mail because: You are on the CC list for the bug.