0

I installed ubuntu 18.04 LTS this week. So at first, I had a problem with the wifi connection. It really was not stable; wifi was disconnected every 5 minutes. So I googled about it and tried this command:

sudo apt install wicd-gtk

Then, I somehow uninstalled network-manager

sudo apt remove network-manager-gnome network-manager

and I rebooted.

Unfortunately, that made it even worse as the settings menu disappeared. So basically I can't connect to wifi and I can't open the settings menu.

I have tried:

sudo apt install-gnome-control-center

and also many more commands. I'm kind of new to Ubuntu.

mchid
  • 43,546
  • 8
  • 97
  • 150

1 Answers1

0

You probably don't need to use wicd as the problem is probably with your network.

If you need to get to the network, run the following command:

wicd-gtk

If you get a permission error, run this instead:

sudo -i wicd-gtk

Once you have a network connection, reinstall network-manager:

sudo apt install network-manager-gnome network-manager

Now, start network-manager and uninstall wicd-gtk

sudo systemctl restart network-manager
sudo apt remove wicd-gtk

Finally, set your IP to a static IP address to prevent DHCP problems that cause your network to drop.

After you are connected to the network, click on the network settings and select "Connection information". Click on the network settings again and then "Edit connections" and select your network.

Select "IPv4 Settings" and under "Method:" select "Manual".

Now, you must enter the next three one-by-one and use the TAB key in between. If you mess up, click Cancel and start over.

  • For "Address" enter your "IP Address" listed on your connection information window and then press TAB.

  • For "Netmask" enter "255.255.255.0" and then press TAB.

  • For "Gateway" enter your "Default Route" listed on your connection information window and then press TAB.

Now, click on "DNS servers" and here you can either enter your "Default Route" or you can enter something like "8.8.8.8" to use google servers.

Then click the Save button.

Finally, run the following command to restart NetworkManager:

sudo systemctl restart network-manager

Also, to prevent your network from dropping, you should make sure your wifi router is not using the same channel as your neighbors. Additionally, you should set the static IP address for your Ubuntu device in your router settings as well.

If you are still having trouble, please ask a new question addressing the wireless dropping issue and follow these instructions to provide the relevant information.

mchid
  • 43,546
  • 8
  • 97
  • 150