I want to change ip address of the wifi interface using python. How can I do it? You don’t have to tell me the code. Just point me out. I’ll hunt down. Thanks!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way would be to execute ifconfig from python and pass it the interface options like the
ipandbroadcastaddresses and so on, for example:Edit:
There’s also a python package that parses config files, you could use that to set the interface options, check this question
Is there any python package that could configure IP address of network interface?