8

I have a laptop with Ubuntu 20.04. I can connect to my main WIFI signal, but cannot connect to TP Link WiFi extender. The same laptop with Windows 10 (dual boot) works fine. Other devices like tablets, ipads or phones are connected to this extender normally. Only in Ubuntu 20.04 is the problem. Thanks in advance for any suggestion.

Martin Lopez Funes
  • 841
  • 2
  • 7
  • 6

9 Answers9

10

Today I faced a similar problem after switching over to Linux from Windows 10. Windows, my phone, consoles, etc were all able to connect to my TP-Link extender, but my Linux installation couldn't. I found your thread and was dismayed to find it had no solution, but as I managed to fix the problem for myself, I thought I'd post what worked for me here.

After a while of searching, I decided to try changing the DHCP client. I installed the package dhcpcd5 (ref) from the repositories and then used a text editor to open the file /etc/NetworkManager/NetworkManager.conf.

Underneath the header [main], I added the line dhcp=dhcpd.

I ran sudo systemctl stop NetworkManager.service, then sudo systemctl start NetworkManager.service. I was then able to connect, and a speed test indicates the WiFi network is working properly.

Hope this helps!

4

I also faced the same problem. I checked /var/log/syslog and found there a suspicious warning dhcp4 (...): request timed out. So I tried the suggestion to add to /etc/NetworkManager/NetworkManager.conf the line dhcp=dhcpcd and it didn't work for me. But adding instead dhcp=dhclient did work.

Uf fish
  • 41
1

I also faced the same problem. In my case, the previous solution didn't work (installing dhcpd5 and adding the line in NetworkManager.conf).

On top of that, I did apply the steps suggested in this link (which ironically seems to get info from AskUbuntu) and that worked. I copy the steps here just in case they help somebody else:

git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
1

Thanks bimblesticks, the solution outlined by you works for me with Comfast wifi extender. I had restart the system to get working. And you have dhcpd in your comment that need to be replaced with dhcpcd as package name is dhcpcd5.

zwets
  • 12,770
  • 2
  • 37
  • 46
HMSZONE
  • 11
  • 1
0

I wanted to leave this as a comment on @bimblesticks answer but I don't have the necessary reputation.

Device is a TPLINK RE300, Operating System: Ubuntu 22.04.1 LTS, Kernel: Linux 5.17.0-1020-oem

When I had the question mark symbol, the results of ifconfig showed that I was getting assigned inet6 entries but no inet4.

After running sudo apt install dhcpd5 and restarting my machine, the question mark symbol was gone, and running ifconfig now showed both inet4 and inet6 entries.

Ziad S
  • 1
0

My God, I wasted so much time trying to fix this from the linux side. I had the same issue, and here's what solved it for me, in case it helps anybody else (I have a TP-Link RE550):

  • Use the Tether app to connect to the TP-Link device
  • Go to Tools > DHCP Settings
  • Change Auto to Enable
  • Tap SAVE

For whatever reason I had to change the start of the IP Address Pool to 192.168.1.180, because 192.168.1.200 is "Invalid format".

Zantier
  • 101
0
  1. Open Terminal:

    sudo nano /etc/NetworkManager/NetworkManager.conf

  2. Add dhcp=dhclient like mentioned below

    [main]
    dhcp=dhclient
    plugins=ifupdown,keyfile
    

    [ifupdown] managed=false

    [device] wifi.scan-rand-mac-address=no

  1. Ctrl+O and Crtl+X to save the file

  2. sudo systemctl restart NetworkManager.service

now connect the wifi it will connect!!!

Artur Meinild
  • 31,035
0

My solution to this issue with router TP-Link Archer C24:

  1. check if you have ping to 1.1.1.1
  2. if yes - go to the router settings
    1. List item Network->DHCP server and change DHCP servers to 1.1.1.1 and 8.8.8.8
  3. reboot the router and test

Original solution: https://community.tp-link.com/en/home/forum/topic/267194

Andrew
  • 1
0

I was looking for a solution in the last two weeks for my Netgear AC750 repeater (EX3110) under Mint 21.3. I am a beginner with Linux and there was no success till now. This version works excellent for me too:

"Thank you @uf-fish, it helped me a lot on my Ubuntu 20.04.6 LTS. So the process is in terminal: sudo apt install dhcpcd5,sudo nano /etc/NetworkManager/NetworkManager.conf, under main section added line dhcp=dhcpcd, save the file with CTRL+X and ENTER, run in terminal sudo systemctl stop NetworkManager.service && sudo systemctl start NetworkManager.service, retry to connect. – Matija Nov 23, 2023 at 18:25 "

Many many many Thanks for the posts here and special thanks for Matija for the steps explained. It works super! It has made may Sunday very happy! :)

Best regards