Wifi hotspot failed to start

Arch Linux

I’ve been using my Arch install without any problems for a few months, but lately I’ve been having problems with setting up a wifi hotspot, which I use with my smartphone/laptop.
I use NetworkManager and until a few days ago, I’ve always been able to succesfully set up a hotspot through gnome settings.

When I set up the hotspot now, I get an error on my phone ‘password incorrect’ (double checked multiple times of course, same with scanning generated QR code), after which my desktop gives the error ‘Activation of network connection failed’ and the hotspot shuts down.

Any help would be much appreciated!

Last edited by NorthBound (2022-04-18 08:06:31)

#2 2022-04-15 14:51:47

Re: [SOLVED] Wifi hotspot not working: activition of connection failed

So I checked NetworkManager status when starting the hotspot, and got the following:

sudo systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/NetworkManager.service.d └─NetworkManager-ovs.conf Active: active (running) since Fri 2022-04-15 16:41:38 CEST; 1min 28s left Docs: man:NetworkManager(8) Main PID: 676 (NetworkManager) Tasks: 3 (limit: 18980) Memory: 19.0M CPU: 1.279s CGroup: /system.slice/NetworkManager.service └─676 /usr/bin/NetworkManager --no-daemon apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.2533] device (wlp4s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3501] dnsmasq-manager: starting dnsmasq. apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3506] device (wlp4s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') apr 15 16:40:08 OmenGT12 NetworkManager[2194]: dnsmasq: failed to create listening socket for 10.42.0.1: Address already in use apr 15 16:40:08 OmenGT12 dnsmasq[2194]: failed to create listening socket for 10.42.0.1: Address already in use apr 15 16:40:08 OmenGT12 dnsmasq[2194]: FAILED to start up apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3524] dnsmasq-manager: dnsmasq exited with error: Network access problem (address in use, permissions) (2) apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3561] device (wlp4s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3562] device (wlp4s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') apr 15 16:40:08 OmenGT12 NetworkManager[676]: [1650033608.3565] device (wlp4s0): Activation: successful, device activated.

After some searching, it found that the port dnsmasq is trying to use, is already used by another process. I tried changing the port via

sudo nano /etc/dnsmasq.conf port=5353 listen-address=127.0.0.1#5353 . 

After this, the status of NetworkManager.service does not show that dnsmasq failed, but I still cannot connect any devices to the hostpot. However, the hotspot itself does not shut down anymore.

sudo systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/NetworkManager.service.d └─NetworkManager-ovs.conf Active: active (running) since Fri 2022-04-15 16:49:50 CEST; 1min 17s left Docs: man:NetworkManager(8) Main PID: 603 (NetworkManager) Tasks: 4 (limit: 18980) Memory: 20.0M CPU: 1.197s CGroup: /system.slice/NetworkManager.service ├─ 603 /usr/bin/NetworkManager --no-daemon └─2662 /usr/bin/dnsmasq --conf-file=/dev/null --no-hosts --keep-in-foreground --bind-interfaces --except-interface=lo --clear-on-reload --strict-order --listen-address=10> apr 15 16:48:25 OmenGT12 dnsmasq[2662]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify> apr 15 16:48:25 OmenGT12 dnsmasq[2662]: chown of PID file /var/run/nm-dnsmasq-wlp4s0.pid failed: Operation not permitted apr 15 16:48:25 OmenGT12 dnsmasq-dhcp[2662]: DHCP, IP range 10.42.0.10 -- 10.42.0.254, lease time 1h apr 15 16:48:25 OmenGT12 dnsmasq[2662]: reading /etc/resolv.conf apr 15 16:48:25 OmenGT12 dnsmasq[2662]: using nameserver 192.168.1.1#53 apr 15 16:48:25 OmenGT12 dnsmasq[2662]: using nameserver fde8:541c:cc2e::1#53 apr 15 16:48:25 OmenGT12 dnsmasq[2662]: cleared cache apr 15 16:48:25 OmenGT12 NetworkManager[603]: [1650034105.6246] device (wlp4s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') apr 15 16:48:25 OmenGT12 NetworkManager[603]: [1650034105.6250] device (wlp4s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') apr 15 16:48:25 OmenGT12 NetworkManager[603]: [1650034105.6253] device (wlp4s0): Activation: successful, device activated.

Источник

Читайте также:  Контроллер sr 1009fa wifi

16 Ways To Solve Wifi hotspot, not Working Problem

wifi hotspot not working

One fine day you are watching Youtube or replying to your email, and suddenly you find out that your Wi-Fi hotspot is not working. You frantically check if you have exhausted your mobile data, only to find out that you still have any data left. So, what happened? Why are you left with no Wi-Fi hotspot? How to fix it?

You are not alone. Many people suddenly find out that their Android or iPhone WiFi hotspot stops working for no apparent reason. There can be multiple reasons behind the mobile hotspot stopping, and that’s why we are going to go 16 ways to fix your Wi-Fi problem.

Before we get started, let’s check out the things before you begin troubleshooting the problem. This checklist applies to cellular data providers as well.

  • Ensure that the device that you are connecting to is within 15 feet of the hotspot
  • Make sure that you can successfully connect to other Wi-Fi networks
  • Disable or close any background app that might be interfering with the application

16 Ways To Solve Wifi hotspot Not Working Problem

Now that we have done our precheck, it is time to go through how to solve the Wi-Fi hotspot not working problem. By the end of the article, you should be able to restore your network and internet via Wi-Fi hotspot connectivity.

Is your internet connection working?

The first most obvious thing to check is your internet connection. If you do not have any internet connection, the chances are that your hotspot will not work. Some Android devices do not enable hotspots if the device doesn’t have access to an internet connection. Check if your device has internet access or not before trying to turn on the hotspot.

Читайте также:  Переустановка windows пропал вай фай

Restart your phone to fix the hotspot that is not working.

The phone is a complex device. It uses advanced hardware with an operating system capable of doing almost everything — and that too in your hand. This means that things can go wrong, including configurations. It is also common for some services or components to stop working, leading to Wi-Fi hotspots not working.

Try toggling the WiFi option.

Another easy way to get the hotspot to work again is to turn off and on the Wi-fi option. This way, mobile hotspots can try to restart themselves. In case it still didn’t work, try out the next steps.

Power-save mode: Turn it off

If you are using an Android device, you should know that it comes with a power-saving mode to maximize battery life. That’s a good feature until it starts giving problems.

To turn off power-saving mode, you need to go battery option on your Android phone. From there, find the settings menu and turn off the power-saving mode.

Check if your phone has exhausted the daily data limit.

It is common for mobile carriers to have a daily data limit. In your case, you may find yourself left with no data as you reach your daily limit. It is common for the device to issue a warning when you get your limit on most Android phones. However, sometimes you miss it, or simply the phone does not provide a warning, leaving you with no internet.

In this case, your Wi-Fi hotspot might not work. The only way to solve it is to ensure that your Android or Windows phone has a proper data limit warning. You can also refill the data limit to make the hotspot work again. You may also try to take the internet from another device and bypass the limit barrier.

Recreate your Mobile hotspot

Sometimes hotspot creation can be buggy and do not initialize correctly. The best way to solve it is to recreate your hotspot. Unfortunately, recreating it also means that you use a new passcode.

Create an open network Wi-Fi hotspot without a password

Another nifty way to solve the problem is to create a network tethering on your Android or Windows phone. But, this time, you do it without a password. In other words, you create an open network. However, be wary that doing so means that your network can be used by anyone who is within the range of your device. To turn off password or security, you need to go to Network and Internet > then go to Hotspot and tethering and then finally to Wi-Fi hotspot. Now choose Security and select None when it comes to Security. You will have two options depending on your device, WPA2-Personal or none.

Create an open network hotspot and change the password

In this method, you create an available network hotspot and later change the password. You need to use the above method and then, after creation, set the security to WPA2-Personal and then change the password.

Читайте также:  Transformer prime wi fi

Disable automatic hotspot switching

Modern Android or Windows phones try to turn off the hotspot when not used. With a clear focus on battery life, this is a good option. But it can hamper the functionality, and if you have problems, it is best to turn it off. To do so, go to Wi-Fi hotspot network settings and then toggle Off the “Turn off hotspot automatically.”

Bandwidth check: 2.4 GHz or 5 GHz

If your phone comes with two bandwidths, then you want to use the alternate bandwidth to see if it works for you or not.

These are also known as AP Band. Changing AP bands should always be taken into account.

Check the device you are connected to.

Sometimes the problem can also be with the receiving device. Try to eliminate the issue by try connecting to another device.

Try out the safe mode.

If nothing works, then it is time for you to check your phone in safe mode. Safe mode provides a bare minimum functionality to check out different features or troubleshoot. This also eliminates problems caused by 3rd-party apps. For example, some apps may hamper the Wi-Fi network and not let the hotspot work.

Try Bluetooth tethering

Bluetooth tethering is also an effective way to get hotspot enabled in your Android device. This works similarly to the mobile network hotspot, and you should get internet access on your device.

Reset Settings: Bluetooth, Wi-Fi, and Mobile

If your mobile hotspot is still not working, resetting Wi-Fi, mobile, and Bluetooth options is an excellent time. In the settings app, go to the reset option and then see if your problem is solved.

Factory reset

Did nothing work? Then, it is time to factory reset. However, before you do it, be wary that it will remove all your data and apps. To do so, you need to go settings and then phone. From there, tap on factory reset to begin the progress.

Ask the service provider for help.

Lastly, if you still feel stuck, it is time to get help from an official service provider or repair center.

We hope your hotspot connection is working as intended, and the devices you are trying to connect can connect via a Wi-Fi hotspot.

Hedayat S

Hedayat is the new Editor-in-Chief of Rottenwifi and has been writing about computer networking since 2012. Hedayat’s strong background in computer science helped him cement his position in the ever-expanding tech blogging world. As a network engineer, systems administrator, and systems analyst during his decade-long career in Information Technology, he has a passion for the internet & technology in his DNA.

Blog.rottenwifi.com is a participant in the Amazon Services LLC Associates Program which means we may get paid commissions on editorially chosen products purchased through our links to retailer sites. All names, logos, brands, and images are trademarks or copyrighted materials of their respective owners. Amazon and the Amazon logo are trademarks of Amazon.com, Inc., or its affiliates.

Источник

Оцените статью
Adblock
detector