Tag: wireless

Why does my phone not switch to mobile Internet for a long time (SOLVED)

A Wi-Fi connection is generally faster and more stable than a mobile Internet connection. Therefore, when possible, most users use Wi-Fi, which is usually free and unlimited. At home, at work, sometimes even on public transport, we connect to Wi-Fi and enjoy a good quality Internet connection.

When you disconnect from Wi-Fi, your phone is set to switch to mobile internet so you can stay online at all times. You may have noticed that if you are already quite far from the wireless Access Point (for example, you left the house), then the Wi-Fi connection icon will still be shown on the phone, albeit with a weak signal, but if you try to use the Internet, then it may turn out that the connection is actually missing.

In this article, you will learn how to turn on the hidden setting on Android phones to quickly disconnect from Wi-Fi when the signal is weak.

To find this setting, you need to enable Developer options.

To enable Developer options, open the Settings screen, scroll down and tap About Phone or About Tablet.

We need to find an item with information about the build number. Scroll down, you can probably see it right away. If not, look for items like “Software Information” and navigate to it.

Find “Build number”.

Tap the Build number box seven times to enable Developer options. Press a few times and you will see a countdown toast notification that says “You are now X steps away from the developer”.

When you are done, you will see the message “You are a developer now!” Congratulations. Don't let this newfound power hit you in the head.

Press the Back button and you'll see the Developer options menu just below or just above the About Phone section in Settings. This menu is now enabled on your device – you don't have to repeat this process until you've done a factory reset.

So, go to Developer options.

In the “Network” section, find the item "Aggressive Wi-Fi/cell handover”.

The comments to this point say: Switch from Wi-Fi to mobile networks more quickly when the Wi-Fi signal is weak.

That is, if the signal is really weak and the power of the phone's transmitter is simply not enough to deliver data to the router, then disconnection from Wi-Fi will be performed. This situation is not uncommon: the phone sees the signal from the router, but the router cannot receive the signal from the phone, since the router has a more powerful transmitter and, as a rule, external, larger antennas.

While using Wi-Fi, the phone is still connected to mobile networks to make calls and send or receive SMS. But the Internet connection on mobile networks is turned off. As a result, when disconnecting from Wi-Fi, the phone takes some time to establish an Internet connection on the mobile network. You can enable the “Keep mobile data turned on” setting.

A note to this option says: Keep mobile data turned on at all times, even while Wi-Fi is in use, to make it quicker to switch networks.

As a result, when you disconnect from Wi-Fi, you can immediately use the mobile Internet without delay in connecting to it.

Most likely, turning on the last setting (Keep mobile data turned on at all times) will lead to a small additional traffic consumption. And enabling the option to aggressively disconnect from Wi-Fi when the signal is weak can increase the number of disconnections if you often have a weak signal.

Therefore, experiment with these options – they may make communication more or less comfortable depending on your specific conditions. The final decision on their use you need to make after checking in practice how they suit you.

How to Update HackRF One Firmware (SOLVED)

To check the version of the installed software and HackRF firmware, run the command:

hackrf_info

As you can see, the version of the software installed on this computer is now 2021.03.1:

hackrf_info version: 2021.03.1
libhackrf version: 2021.03.1 (0.6)

And firmware version 2018.01.1:

Firmware Version: 2018.01.1 (API:1.02)

You can make sure that this is the latest software version on this page: https://github.com/mossmann/hackrf/releases/

In the same place, we learn that starting with release 2021.03.1, CPLD bitstreams are now included in the firmware and are automatically loaded with it during an update. You no longer need to update the CPLD separately.

This section will show you step by step how to upload the new firmware to the HackRF.

The firmware file comes with libhackrf and hackrf-tools. The name of specific packages can be different on different Linux distributions. See above How to Install Driver, HackRF Tools and SDR Utilities for details.

That is, you need to wait for these packages to be updated in the repositories of your distribution, or you can compile them yourself.

The file with the firmware is called hackrf_one_usb.bin, let's find the path to it in the system:

locate hackrf_one_usb.bin

In my case, this is /usr/share/hackrf/hackrf_one_usb.bin.

Although the updated libhackrf and hackrf-tools should mean that the firmware file is also new, check that the file has a fresh creation date.

ls -l /usr/share/hackrf/hackrf_one_usb.bin

To start the update process, use a command of the form:

hackrf_spiflash -w /PATH/TO/hackrf_one_usb.bin

For example:

hackrf_spiflash -w /usr/share/hackrf/hackrf_one_usb.bin

All is ready:

Turn HackRF off and on for changes to take effect (disconnect from USB cable).

Let's check the software version again:

hackrf_info

The HackRF firmware is now updated!

See also: How to start with HackRF and gqrx

How to fix ERR_NETWORK_CHANGED error (SOLVED)

What is the error ERR_NETWORK_CHANGED

The ERR_NETWORK_CHANGED error shows the Google Chrome web browser when it was unable to load the site page due to the change in network parameters. More specifically, the web browser initiated the connection and the remote host responded, but before the page was loaded, something changed on the network.

Your connection was interrupted
A network change was detected.
ERR_NETWORK_CHANGED

ERR_NETWORK_CHANGED means that changes have occurred in the your local network, as a result of which already established connections cannot be continued, that is, they are broken, but there are no obstacles to establishing new connections.

Examples of situations where ERR_NETWORK_CHANGED is the norm, that is, when the network is really changing:

  • reconnecting to a Wi-Fi hotspot
  • connecting to another Wi-Fi hotspot
  • VPN connection established
  • reconnection to another Cellular Network base station
  • switch from wired to wireless network connection or vice versa
  • changing the used network adapter – for example, the computer is connected to Wi-Fi, and then connects to a wired network, as a result, the wired network adapter starts to be used, it also becomes the default gateway
  • the computer's IP address has changed

That is, in these situations, ERR_NETWORK_CHANGED is inevitable if you continue to use the network when reconnecting. If at the time of reconnection you are not using the network, then you will not notice anything.

ERR_NETWORK_CHANGED error often occurs when connecting to Wi-Fi

But there is a strange situation when, without reconnections, when using the same Wi-Fi Access Point, the ERR_NETWORK_CHANGED error occurs.

The likely cause of the error is interference from other wireless access points. At 2.4 GHz, wireless routers can use 13 channels. Moreover, the router itself can choose the most suitable (that is, the least loaded) channel, or you can set the channel manually.

Routers of the same type can be configured to use the same channel by default, for example, channel 1, as a result, the frequencies of this channel are overloaded and Wi-Fi networks begin to interfere with each other. You can fix this problem by changing your router settings.

Go to the control panel of your router – to do this, open one of the following addresses in your web browser:

If none of the addresses worked, then refer to the documentation of your router.

Enter the username and password – if you have not changed it, then often this is the pair admin:admin, admin:password, if this does not work, then refer to the documentation of your router.

Find the Wi-Fi network settings section, find the channel settings:

And switch to another channel, or select “Auto”:

Save your settings. It may take a little time for the router to apply the settings. As for client devices (phones, computers), they do not need to configure anything – they will automatically determine the correct channel and switch to it.

The opposite situation is possible – the “network change” error appears due to the fact that the router in the automatic selection mode often changes channels. In this case, set a fixed channel. To do this, select the channel on which the connection is the fastest and most stable (this should be the least busy channel, but you will not be able to check this by conventional means).

Write in the comments if this method helped you to cope with the ERR_NETWORK_CHANGED error. If it doesn't help, then check if this error disappears if you use Wi-Fi closer to a wireless router – if it really helps, then due to insufficient signal strength (router or your device), you have an unstable connection. In this case, you can rearrange the router (or client device), or even replace the router with a more powerful one with external antennas.

Loading...
X