-->
Page 1 of 2

How to enumerate the esp module as wlan0 interface on linux

PostPosted: Wed Sep 16, 2020 6:09 am
by nikhilsahu
Hi,

I am using the esp-wroom-02u module integrated with the imx linux platform. I want to know how
can i control the module through AT commands from Linux. Is there a way so we can enumerate the wifi interface network on linux under “ifconfig -a” same like other network interfaces.

Thanks,
Nikhil

Re: How to enumerate the esp module as wlan0 interface on li

PostPosted: Thu Sep 17, 2020 4:37 am
by eriksl
You might get it working using a modified ppp daemon. But you'll have to modify it yourself, you can't use any wireless extensions (iwconfig...) and the interface will be called ppp0.

Re: How to enumerate the esp module as wlan0 interface on li

PostPosted: Wed Sep 23, 2020 1:01 am
by nikhilsahu
What do you mean by ppp0 model. please let me know the modification steps. as i mentioned my requirements are i want to see wifi network on linux machine same loke wlan0.

Also let me know if we need to enable the support in kernel to achieve this functionality.

Thanks,
Nikhil

Re: How to enumerate the esp module as wlan0 interface on li

PostPosted: Wed Sep 23, 2020 2:29 pm
by eriksl
There are two possible approaches here.

1) you learn what ppp is, what pppd is and you modify it yourself
2) you buy for one dollar more than an ESP8266 an USB WiFi stick.

This smells like just another "I want it as cheap as possible, but I don't want to spend any effort on it".