Tool/software: TI C/C++ Compiler
Hi , I am using a WiFi module of RT5390, using the driver by kernel : rt2800usb , but it can not obtain a ip from dhcp server.
I can ensure the wifi module and anta is working well , because the module can work well at another platform .
Here is some infomation about the issue:
TI SDK : 04.03.00.05
# lsusb
Bus 002 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
#dmesg
[ 13.254200] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0503 detected
[ 13.298069] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 13.328275] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.332709] usbcore: registered new interface driver rt2800usb
# uname -a
Linux ecu1251 4.9.69-g9ce43c71ae #1 PREEMPT Fri Aug 30 15:45:59 CST 2019 armv7l GNU/Linux
# wpa_supplicant -v
wpa_supplicant v2.9
Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> and contributors
Here is my tests:
(1)always failed : can not obtain a ip
cut off the power and then power on :
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
# ifup wlan0
(2)always failed : can not obtain a ip
cut off the power and then power on :
# wpa_supplicant -B -Dnl80211 -i wlan0 -c /etc/wpa_supplicant.conf
# ifup wlan0
(2)success : can obtain a ip
cut off the power and then power on :
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
# killall wpa_supplicant
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf (or wpa_supplicant -B -Dnl80211,wext -i wlan0 -c /etc/wpa_supplicant.conf )
# ifup wlan0
please help me find why I can not get ip from dhcp server , thanks a lot .