Using NetworkManager in shell script
- From: Aniket Oak <an eagle o gmail com>
- To: networkmanager-list gnome org
- Subject: Using NetworkManager in shell script
- Date: Thu, 24 Mar 2011 23:12:33 +0530
I use Fedora 13 and generally use only GUI. I have configured my adsl connection through NetworkManager.
I want to write a script that starts broadband connection over ethernet. I generally do that using NetworkManager UI. Is it possible to use NetworkManager in the script to start the configured connection?
I am a bit reluctant to use command line alternatives like pppoe-setup and pppoe-start OR ifup ppp0 because my connections are properly configured in NetworkManager.
Even if I have to invoke UI in script, its not a problem, just want the connection done :-)
Any help will be greatly appreciated.
] [Thread Prev