I'm working on a simple web interface for an embedded computer. The computer will ship with a static default ip that will then need to be updated by the install tech who may not be tech/linux savvy.
Basicly I need to change the following system settings from a Django app.
I realize that I can could just overwrite the config files in linux but I was wondering if there is a more "Python" way of doing it.
Have a look at pynetlinux on Github:
https://github.com/rlisagor/pynetlinux
It is a good starting point and you can add the remaining functionality yourself quite easily I would imagine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.