I have a server with Ubuntu Server 16.04 operating system. I need to connect it to the wifi network using usb wifi adapter.

When I plug in usb wifi adapter and run ifconfig -a I can see this information:

wlx000e0008833e Link encap:Ethernet  HWaddr 00:0e:00:08:83:3e  
                BROADCAST MULTICAST  MTU:1500  Metric:1
                RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000 
                RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Wifi configuration:

  • network name (ssid): developer-modem
  • password: qwer
  • security: WPA/WPA2
  • IPv4 address:


How to configure wifi connection in Ubuntu Server 16.04 (from terminal)?

Thanks for the help


To configure the wireless networks from the terminal you can use (nmcli)

sudo nmcli --help

man nmcli

You can also use (nm)

sudo nm-connection-editor --help


| improve this answer | |
  • nmcli and nm-connection-editor actually worked for Ubuntu Desktop 16.04. But there is an issue using them on Ubuntu Server 16.4, cause these commands are not installed automatically. Is there any pre-installed command that works on Ubuntu Server 16.04? – Max Mikhalchuk Aug 3 '18 at 12:53
  • i didn't use Server OS before always im using workstation, Check here for more details askubuntu.com/questions/461825/… – user643653 Aug 4 '18 at 1:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.