GN Latest News

How do I connect my server wirelessly? (Not Recommended)

There are currently 34 “Frequently Asked Questions”
Post Reply
Rob Swan
Site Admin
Posts: 73
Joined: Tue Oct 31, 2017 3:03 pm
Location: UK

How do I connect my server wirelessly? (Not Recommended)

Post by Rob Swan »

I highly recommend that you connect your server via a cable to your router, however it is possible to connect it wirelessly.

By far the easiest way to connect your server wirelessly, is to use the Network Manager software which as always is free. You will first need to connect via a wire, just to download any updates and the Network Manager software.

Ok, so let’s get this done.

First off, temporarily connect your server to your router VIA a wire.

Next make sure you have all the latest Ubuntu server updates. Now at this point you won’t be able to use PuTTY for installing the updates, so you will have to type the commands in directly on your server, rather than copy and paste. So, follow THIS post but, just enter the commands directly into your server.

For this post we are working directly on your server rather than remotely from your PC.

Issue this command.
sudo apt install network-manager


Next press Y (enter) to install the software.

Disconnect the Wired connection and reboot you server with this command.
sudo shutdown -r now

Rebooting may take longer than normal as your server will be looking for the network connection.

When the server has rebooted, login and issue this command to load the network manager software.
sudo nmtui

When network manager has loaded, press the down arrow on your keyboard to select “Activate a connection”. Press the TAB key so that OK is highlighted.


Press enter.

Select the wireless network you wish to connect to and then press enter.


Type your password into the box that appears, then press the Tab key to highlight the OK, the press enter.




Once your server has connected, using the TAB key select back, and press enter.


When you get back to the main menu, press the down arrow to highlight “quit” followed by enter.


That should be it, all connected wirelessly.

When you get back to the server prompt, a good way to test the wireless connection is to see if we can see, we can do this by entering this command.

sudo ping -c 1

If all it well, you should get a result something like this.


I am not going to pretend all will be well with your wireless connection, because it won’t.
Expect it to be unstable, like I said wireless on a server is bad idea.

On a final note, if you need to turn off your server completely, for example if you are moving it to another room the shutdown command is this.
sudo shutdown now
Post Reply