5

Wired connection from CLI with NetworkManager - "up" in elegant way

view full story
linux-howto

http://unix.stackexchange.com – Sometimes I need to do some operational work in text mode and I need to setup internet connection from command line (without any networkmanager applet). (Please note: that when I run Window Manager, I have network connection immediately, thanks to NetworkManager applet.) When I list my connections and look for wired one: # nmcli con | grep Wired New Wired Connection b15ffacf-a5c58-44af-b755-b30c6d52e53e 802-3-ethernet Thu Dec 27 21:31:21 2012 I get uuid and with it it's easy: nmcli con up uuid b15ffacf-a5c58-44af-b755-b30c6d52e53e eth0 If someone wants to automate stuff, it (HowTos)