I want to do network management on the command line

Colin Law clanlaw at googlemail.com
Thu Nov 24 21:08:59 UTC 2011


On 24 November 2011 20:44, Kevin O'Gorman <kogorman at gmail.com> wrote:
> Because I use live disks and static IPs a lot, I want a way to script
> the network setup.  As it is, the GUI interface through
> System->Preferences->Network Connections is slow and when done a lot
> it's error-prone.  I'd much prefer a way to do it in a script that I
> could, for instance, invoke from a USB drive.
>
> I know some commands that do the trick.  The problem is that the
> network management stuff cancels my work within a minute or so.  I
> tried disabling a few things, but have not come up with a procedure
> that's reliable. I also have not found where the Network Manager's
> configuration files are kept, if they're on disk at all.

I think you can just uninstall network manager if you want to remove
it from the equation.  I have certainly done that in order to install
wicd and my system did not fall apart.  Though the first time I did it
I forgot to download wicd before removing NM which was a bit
embarrassing.  For reference I believe it is no longer necessary to
remove NM to install wicd, but that is not relevant to your problem.

Colin




More information about the ubuntu-users mailing list