NetworkManager Failed to Get Dynamic IP from DHCP Server

Anyone ever seen these (or like, not exactly the same) log in syslog?

NetworkManager[1176]: <warn>  [1488945592.9428] sup-iface[0x26355b0,wlan0]: connection disconnected (reason -3) 
NetworkManager[1176]: <warn>  [1488945593.0107] dhcp-listener: dhcp-event: (pid 9536) unhandled DHCP event for interface wlan0 

Or your linux networkmanager difficult to connect to access point?

If yes, maybe your problem is like mine. My laptop use Slackware64-current with update March, 10 2017.
I faced this problem some day ago. I can't connect to some access point and when I saw the syslog, I found some line with text like above.

This problem appeared because the dhcp client can't get the IP address from DHCP client. How to solve this problem? here you are :
  1. open the terminal, or open file manager with root access, because we will edit NetworkManager configuration file.
  2. edit file /etc/NetworkManager/conf.d/00-dhcp-client.conf become (focus to the red text) :
    [main]
    # Choose a DHCP client below.  Upstream recommends dhclient, but results may vary.
    # dhcpcd is the DHCP client usually used by Slackware:
    #dhcp=dhcpcd
    # dhclient is the ISC reference DHCP client, part of the dhcp package:
    dhcp=dhclient
    # This is a simple DHCP client that is built into NetworkManager:
    #dhcp=internal

    Explanation  : we change the NetworkManager's dhcp client in Slackware from dhcpd to dhclient.
  3. After that, save the configuration file and restart NetworkManager (in Slackware, use /etc/rc.d/rc.networkmanager restart).

Okay, everything should be good now. I hope that this solution will work in other distro too. If you dont understand with this tutorial or this tutorial doesnt solve your problem or maybe you have any advice, please write in the comment.

Thanks.

Komentar

Postingan populer dari blog ini

Bagian-Bagian Motherboard(Mainboard) dan Fungsinya

[Termux] Nginx sebagai Load Balancer dan Web Server

[Termux] Install NGINX dan PHP-FPM