Accidentally installed wrong network drivers on Ubuntu Desktop - How to set to default settings?

I had a problem with the Bluetooth on my old Lenovo G500 and tried to install proper drivers for it.

I got to a point where I cannot connect to the wifi, I might have been too "adventurous" while trying too fix the Bluetooth issue.

Is there a way to restore wifi settings to the default ones as it was at the beginning?

Edit:

 potato@potato-Lenovo-G500:~$ dkms status bcmwl, 6.30.223.271+bdcom, 4.13.0-43-generic, x86_64: installed bcmwl, 6.30.223.271+bdcom, 4.13.0-45-generic, x86_64: installed btusb, 4.0, 4.13.0-45-generic, x86_64: installed rtlwifi-new, 0.10: added potato@potato-Lenovo-G500:~$ sudo lshw -class network *-network description: Ethernet interface product: AR8162 Fast Ethernet vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:01:00.0 logical name: enp1s0 version: 10 serial: 20:1a:06:1f:9f:29 capacity: 100Mbit/s width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair resources: irq:16 memory:e0500000-e053ffff ioport:2000(size=128) *-network UNCLAIMED description: Network controller product: BCM43142 802.11b/g/n vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:02:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:e0400000-e0407fff
3

1 Answer

Regarding the wi-fi drivers...

sudo dkms remove bcmwl/6.30.223.271+bdcom --all # remove this dkms driver
sudo dkms remove rtlwifi-new/0.10 --all # remove this dkms driver
See `man dkms` for command assistance, if need be.
sudo apt-get update # update the software database
sudo apt-get install broadcom-sta-dkms # install this dkms driver
dkms status # review current dkms status

Regarding the bluetooth drivers/problem...

Please describe if your bluetooth problem got resolved with the installation of the btusb driver. What were you trying to fix?

btusb, 4.0, 4.13.0-45-generic, x86_64: installed

Update #1:

btusb is not installed on your current kernel. You need to sudo dkms remove btusb/4.0 --all to get this old driver out of your system. Then find a current dkms driver and reinstall it on your current kernel.

Also, check this out here.

Update #2:

The user is now booting to the 4.13 kernel, but still has kernel drivers that are not needed, or are not fully installed.

The bcmwl driver needs replacement with the broadcom-sta-dkms driver, as per my previous instructions.

If you're using a Realtek USB wireless dongle, then rtlwifi-new driver needs to have its install completed, with...

sudo dkms install rtlwifi-new/0.10

otherwise, you should remove it, as per my previous instructions.

7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like