Error while running "dhclient wlan0" in WP8548 console


#1

Hi Everyone,

I am trying to connect to WiFi AP using RTL8188EU dongle with WP8548 MangOH green Board.

I have given all commands as follow :
ifconfig wlan0 up
iwlist scan (AP of wifi get detected )
iwconfig wlan0 essid
iwconfig wlan0 kay
iwconfig wlan0 channel 6
iwconfig wlan0 mode managed

but after that I have given
dhclient -v wlan0
then It gave me follwing error:

    root@swi-mdm9x15:~# dhclient -v  wlan0
    Internet Systems Consortium DHCP Client 4.3.0
    Copyright 2004-2014 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    can't create /var/lib/dhcp/dhclient.leases: No such file or directory
    Listening on LPF/wlan0/40:a5:ef:d9:76:41
    Sending on   LPF/wlan0/40:a5:ef:d9:76:41
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    root@swi-mdm9x15:~#

Can any one tell me solution of above error ?
I have stuck to this error for long time, please give me solution if any one is aware about it.


#2

Hi @rups,

is there some DHCP service offered on your WiFi AP?


#3

Hi CoRfr,

May be my Wifi driver is not supporting WPA connection.
When I tried to establish WEP connection without authentication key, then dhcp get connected and I am able to do “ping google.com