3

i have some problems, i just installed Ubuntu minimal with i3wm, but i cant figure out how to connect to the wireless network. I already have installed network-manager package. Also i added exec --no-startup-id nm-applet to my ~/.config/i3 but apt-get cannot find network-manager-applet to install. Im stuck here, what can i do? Thanks a lot.

  • make sure that you have nm-applet installed running: apt install network-manager – desgua Apr 19 at 12:48
8

I use (and would recommend) nmtui, a curses based TUI that will allow you to edit and activate connections.

It should already be installed on your system, but if not, you can get it by running sudo apt install network-manager.

  • Is it possible to set it connect to wifi when log in using i3? – Fan Apr 28 at 6:10
7

You can use Network Manager's command line tool called nmcli.

1. Use nmcli dev wifi to locate the access point(AP) name.
2. Use nmcli device wifi connect APname password

0

I think the applet should be in the network-manager-gnome package. If you don't have it run:

sudo apt-get install network-manager-gnome

Also make sure the network manager service is running. You can check with:

systemctl list-units NetworkManager.service

If it's not loaded you should either start it with:

sudo systemctl start NetworkManager.service

or enable so it will also be there after restarting with:

sudo systemctl enable NetworkManager.service
  • Thanks for the answer, i did have the network-manager-gnome installed, but the i3 status bar doesnt show any icon, also im having the same problem with dropbox. Any other suggestion? Thanks. – Vorsek Mar 23 '17 at 20:55
  • Can you try running nm-applet from a terminal to see if gives any errors? – Vincent. Mar 23 '17 at 21:15
  • nm-applet doesnt give any error or message when i run it from the console, what can it be? – Vorsek Mar 23 '17 at 23:00
  • To be honest I don't really know either at this point. You could try connecting to a network through the command line to see if the problem lies with NetworkManager or the applet. Check out instructions here link. Or maybe the problem is with the i3 tray, check out the user guide for it here link – Vincent. Mar 24 '17 at 9:28
  • I connected to the network via the command line, i cant fix the tray problem with i3, no idea what can it be. Thanks a lot for your help. – Vorsek Mar 24 '17 at 10:39
0

If you don't have NetworkManager, install it:

$: sudo apt -y install network-manager-gnome

Set up your connection:

$: nm-connection-editor

This way your connection will be persistent on restart.

0

Use dmenu ($mod+d by default) and type gnome-control-center then Network → Wireless.

On some older Ubuntu versions you'll need to do unity-control-center instead.

protected by Community Dec 22 '18 at 10:03

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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