On Thursday, October 12, 2017 at 1:08:55 AM UTC-7, T Obulesu wrote: > Hello all, I want to send some frames defined by me{Example, > [0x45,0x43,0x32]} to the raspberry pi from any macine(Desktop/Laptop/other > raspberry pi). But I want to send those frames over wifi or use wlan0 using > python Any suggestions?
Check out a Python library called scapy. It's used for raw packet forgery. But as others mentioned, that kind of activity will require you to run as root. Also, sending raw packets over Wifi specifically usually requires you to switch wlan0 to "monitor" mode, essentially making it unable to do anything else with it while your script is running. Also, not every Wifi adapter even supports entering monitor mode. -- https://mail.python.org/mailman/listinfo/python-list