An error will be received that there is no such file or directory:
magick: unable to open image ''.\╨Ф╨╗╤П': No such file or directory @ error/blob.c/OpenBlob/3565.
magick: no decode delegate for this image format `' @ error/constitute.c/ReadImage/741.
You can see that non-Latin characters are used in the file name, so you might think that this is the problem – that is, the “magick” program does not support alphabets other than English.
But if you try to rename the file and run the following command:
magick 'test file.jpg' new.png
Then the same error will be received again:
magick: unable to open image ''test': No such file or directory @ error/blob.c/OpenBlob/3565.
magick: no decode delegate for this image format `' @ error/constitute.c/ReadImage/741.
How to fix “magick: unable to open image ''test': No such file or directory @ error/blob.c/OpenBlob/3565. magick: no decode delegate for this image format `' @ error/constitute.c/ReadImage/741.”
1. Use double quotes instead of single quotes
If the filename is enclosed in double quotes instead of single quotes, then the command works correctly:
magick ".\Для теста.jpg" test.png
That is, try putting the filename in double quotes. If the problem persists, then it is related to the encoding of the file name.
2. Use PowerShell instead of CMD
In Windows 11 and Windows 10, the default command prompt is PowerShell, not CMD.
If your Windows uses CMD by default, then either set it to use PowerShell in the settings, or run one of the following commands at the command prompt:
powershell
pwsh
In Windows 11 + Windows Terminal Preview + PowerShell 7 command
“./program < input.txt > output.txt” alternative for PowerShell
Consider the construction
./program < input.txt > output.txt
It means that the contents of the input.txt file are passed to the standard input of the “program” command, and the result of program execution is redirected to the output.txt file. But the above command will not work.
An analogue of the considered construction, which will work in PowerShell, is the following command:
mysqldump is a MySQL utility for creating database and table backups. Unlike phpMyAdmin, which, although it offers a web interface, is a slower tool due to the limitations of intermediates such as PHP and Apache, mysqldump is a much more efficient tool without limitations for backing up very large data.
But on Windows, mysqldump has some nuances. Due to the peculiarities of PowerShell for working with encodings, all non-Latin characters can be corrupted in exported databases. This issue is not seen in CMD, but recent versions of Windows use PowerShell by default, so the issue in question affects all users who run mysqldump to back up databases in Windows.
Creates a UTF-8 encoded all-databases_ps7.sql file into which all MySQL databases will be exported using mysqldump (for backup purposes). But in these databases all non-Latin characters will be irretrievably corrupted!
That is, instead of Cyrillic, it will be something like this:
Creates a UTF-16LE encoded all-databases_ps5.sql file into which all MySQL databases will be exported using mysqldump (for backup purposes). In these databases, ALL non-Latin characters will be irretrievably corrupted!
That is, instead of Cyrillic, it will be something like this:
Creates a UTF-8 encoded all-databases_ps7.sql file into which all MySQL databases will be exported using mysqldump (for backup purposes). But in these databases, ALL non-Latin characters will be irretrievably corrupted AGAIN!
That is, it would seem that the default encoding has changed to UTF-8, but the problem with completely corrupted database backups has not gone away.
How to save output from third-party programs in UTF-8 encoding in PowerShell
The above behavior, which corrupts the output of commands in PowerShell, is not acceptable. Let's look at how to ensure that output in PowerShell is saved in UTF-8 encoding.
How to save PowerShell output in UTF-8 encoding, use the Out-File cmdlet
As already shown above, it corrupts non-Latin characters due to incorrect encoding.
In some sources, as a solution to the problem, it is recommended to replace the “>” character with “Out-File”, and also specify the encoding using the “-Encoding UTF8” option. That is, use the following command:
In fact, both in PowerShell 7 and in PowerShell 5, this command changes little. First, the command is analogous to the output redirection symbol “>”. Secondly, by default, the Out-File cmdlet uses UTF-8 encoding, that is, it is not necessary to specify it specifically.
But the most important thing is that despite the fact that the data is saved to a file with UTF-8 encoding (in the previous command, this is the all-databases_fixed.sql file), non-Latin characters in this file are still corrupted! The thing is that the Out-File cmdlet initially processes the received data in the wrong encoding. Therefore, it no longer matters how exactly Out-File saves the data – the data is corrupted already at the time of receipt in this cmdlet.
The problem was solved by explicitly specifying the encoding for the received data:
In all previous commands, we redirected the output of the mysqldump utility to a file, or to the Out-File cmdlet. But the mysqldump utility has a --result-file option after which you can specify a filename to output. That is, as a result of using this option, you do not need to use output redirection or PowerShell cmdlets.
The following command will save the database in the correct encoding:
When I click on httpd.exe, a black window flickers and then disappears
Apache (httpd) is a command line utility. Strictly speaking, this is a service that is designed to run in the background without a graphical interface. That is, Apache does not have a graphical interface in the form of a familiar window. Therefore, Windows users may feel that the program starts in an unusual way.
To run the program, you need to open a Windows Terminal window (or PowerShell). To do this, press the key combination Win+x, and select Windows Terminal (Admin):
Then you can proceed in two ways.
The first option: you can simply drag and drop the executable file into the command line window. The executable is httpd.exe.
The second option: on the command line, you can change the current working directory to the one where the Apache executable files are located. For example, my program is located in the C:\Apache24\bin\ folder, to change the current working folder, the cd command is used, after which the folder to which you want to go is indicated, in my case the command looks like this:
cd C:\Apache24\bin\
As you can see from the screenshot, the C:\Users\MiAl folder has been changed to C:\Apache24\bin\.
Now, to run the program, it is enough to type the name of the executable file indicating the current folder. The current folder is indicated by a dot (.), then you need to put a backslash, it turns out like this:
.\httpd.exe
Apache is a network service, that is, a program that uses a computer network for its work. Specifically, Apache listens for incoming connections on port 80 (opens a port). For this reason, the Windows Firewall asks whether to allow access to the Apache HTTP Server program, select “Allow access”.
Already at this stage, the web server is running and you can open the address http://localhost/ in a web browser
To stop the service, press Ctrl+c.
Typically, command-line utilities support various options that can be specified with a space after the executable file name.
Also, utilities usually have built-in help on available options, which can be displayed using the -h option or the --help option.
For example:
.\httpd.exe -h
In addition to command line options, many services are configured using configuration files, which are text files with a specific syntax. For Apache in Windows this is the C:\Apache24\conf\httpd.conf file.
Is it possible to connect a TV or a second monitor to a computer in Linux
This guide will show you how to connect a TV or a second monitor to a computer in Windows 11. It will also talk about the available settings and solutions to common problems that arise when connecting a TV to a computer.
What you need to connect a TV or an additional monitor to a computer
To connect a TV or a second monitor to a computer or laptop, you need:
TV with HDMI connector (all modern models) or monitor with HDMI connector (all monitors released in the last two decades)
a computer with an HDMI connector – almost all computers and laptops will fit
HDMI cable
Choosing an HDMI cable
I approached the choice of HDMI cable quite simply – I chose the cheapest with the right length, which I found in the store. In subsequent use, this cable fully satisfied my needs.
Despite its cheapness, this HDMI cable supports:
UHD 4K@2160P / 4K@60Hz / 4K HDR
High Speed HDMI 2.0
Gold plated contacts
Cable length 1.8 meters.
Apparently, these are already the minimum characteristics – perhaps more expensive models support higher resolutions and data transfer at higher speeds.
What TV can be connected to a computer
Using an HDMI cable, you can connect any TV with an HDMI connector. This connector is present on all TVs and monitors released in the last decade.
Older TVs without an HDMI connector can also be connected to a computer, but instead of an HDMI cable, you will need a wire with an adapter.
As for the technical characteristics of the TV (diagonal size, screen resolution, screen refresh rate, aspect ratio), this is not critical. That is, you do not have to select a TV model with the same characteristics as your monitor. Modern video cards support a variety of modes (screen resolutions and refresh rates), including the video card will work with a TV if the screen resolution is different from the monitor.
That is, these are two very different devices, but at the same time I had no problems when they worked together.
How to connect HDMI cable to TV
Plug the HDMI cable into the connectors of the computer (laptop) and TV.
Both on the computer and on the TV, there may be several HDMI connectors – remember the number of the selected connector.
Turn on your computer and TV.
Note: The HDMI cable can be connected when the computer and TV are already on.
Use the remote control to select “HDMI” as the input source on the TV.
If, after selecting HDMI as the signal source on the TV, you see the message “No Input Signal”, then:
Select HDMI with a different number.
Move the wire, it may not be firmly connected to the computer or TV socket.
Make sure your computer is on.
The monitor on the computer should not be turned off due to inactivity.
How to use a TV connected to a computer
There are two main modes:
join displays
mirror (duplication) of images on both displays
When displays are combined, the total space expands. That is, if you connected another 1920×1080 display to a computer with one 1920×1080 display, then now the resolution of your virtual screen becomes 3840×1080, if there are three such displays, the resolution will become 5760×1080. You can drag program windows from one display to another. Some apps and games support these wide virtual screens.
When the image is repeated (Mirror), the same image will be shown on both displays.
Among the displays, Primary stands out. This is the one connected first. A feature of the main display is that it shows desktop shortcuts, although this can be changed in the settings.
In the next video, the TV is connected to the computer. To play a YouTube video on a TV, the web browser window is dragged from the monitor to the TV.
Where are the settings for the second display and TV
Open the “Settings” app by pressing Win+i.
Go to the “Display” section.
Here you will see the display settings.
Select the display (or TV) you want to customize.
At the top of the settings window, you'll see a display layout.
The “Multiple displays” settings area appears only if multiple monitors (TVs) are connected to the computer, it contains settings for the computer's behavior when working with multiple displays. To see these settings, click on the arrow icon on the right side.
The following are settings common to all displays.
Then at the bottom of the window are settings specific to each display.
Select a monitor to change its settings.
The following settings are individual for each monitor:
Scale
Display resolution
Display orientation
When you go to the “Advanced display” settings section, you will also be able to adjust the refresh rate for each of the displays.
How to set Main (Primary) Monitor
By default, desktop shortcuts are shown on the Main Display. You can change, i.e. choose a new primary monitor. For this:
1. Open the “Settings” application, this can be done by pressing Win+i.
2. Go to the “Display” section.
3. Select the display you want to make Primary.
4. Expand the “Multiple displays” settings area.
5. Check the “Make this my main display” checkbox.
How to turn off the display or TV in the settings, without physically disconnecting
You can disconnect the HDMI cable from your TV or computer at any time, but this is not always convenient. In addition, you may want to turn off the computer monitor or the laptop's built-in monitor.
To turn off any monitor or TV in Settings, open the “Settings” app by pressing Win+i.
Go to the “Display” section.
Below the monitor layout, you will see a drop-down list of the following items:
Duplicate these displays
Extend these displays
Show only on 1
Show only on 2
Selecting the “Show only on…” option will cause the image to be displayed on only one display (or TV), and all others will be disabled.
A disabled monitor will stop working (it will no longer receive an input signal), but the disabled monitor will still be available in the settings. You can turn it back on at any time. To enable all monitors, select one of the following options from the drop-down list above:
Duplicate these displays
Extend these displays
How to make the TV show the same thing as the monitor
Open the “Settings” app by pressing Win+i.
Go to the “Display” section.
Under the monitor layout, select “Duplicate these displays” from the drop-down list.
As a result, the resulting settings for both monitors at once will be shown.
Now the image on the monitor and TV is the same:
You may notice that the picture on the TV is slightly cropped.
This may be due to the aspect ratio or screen resolution.
In my case, both the aspect ratio and the screen resolution of the monitor built into the laptop and the TV are different. Changing the screen resolution to what the TV has somewhat reduced the problem with cut edges.
How to make the TV become an extension of the monitor
Open the “Settings” app by pressing Win+i.
Go to the “Display” section.
Under the monitor layout, select “Extend these displays” from the drop-down list.
In this case, one of the monitors will be considered the main one. In this case, each of the monitors will show its own desktop, which, in fact, is one.
Why can't I drag the program window to the second screen
If you see two displays in the settings, but you can’t drag the program window to the TV or the second display, then try dragging the window to the other side. That is, if you, for example, are trying to drag a program window to the left side, then try dragging it to the right side instead.
The fact is that the physical location of the second monitor (TV) and its location in the settings can be different. To fix this, swap the monitors in the settings.
In addition to the location of the monitors to the left and right of each other, other options are possible.
You can place one of the monitors (or TVs) above the other.
In this case, the screen resolution and desktop area will change accordingly.
If you have many monitors, you can place them however you want, not all monitors need to be in a straight line horizontally. You can arrange them, for example, as 3×2, that is, two rows of three monitors.
How to make the Taskbar only show on the Main monitor
If you want the taskbar to be shown only on the Main monitor, then follow the steps below.
Open the “Settings” app by pressing Win+i.
Go to “Personalization” → “Taskbar”.
Expand the “Taskbar behavior” section.
Uncheck the “Show my taskbar on all displays” setting.
How to make the taskbar show on all monitors
If you want the taskbar to be shown on all connected monitors and TVs, then follow these steps.
Open the “Settings” app by pressing Win+i.
Go to “Personalization” → “Taskbar”.
Expand the “Taskbar behavior” section.
Check the box next to “Show my taskbar on all displays”.
After that, the Taskbar will be shown on all monitors.
How to set different desktop wallpapers for monitor and TV
You can set a different desktop wallpaper for all connected monitors and TVs.
To do this, open the “Settings” application, this can be done by pressing Win+i.
Go to “Personalization” → “Background”.
Right click on the photo you want to set as your desktop wallpaper. From the pop-up menu, select the number of the monitor for which you want to set this desktop background.
Now the desktop wallpaper on the monitor and TV is different.
How to identify displays
If you have multiple monitors and you are confused about their settings, then you can enable the display of the number on the screen of each monitor.
Open the “Settings” app by pressing Win+i.
Go to the “Display” section.
Click the “Identify” button, which is located under the schematic image of the monitors.
After that, each monitor and TV will show squares with display numbers in the settings.
Why is the sound played through a computer (laptop) and not through a TV
An HDMI cable can carry both video and audio. But even after connecting the TV with an HDMI cable, sound is still output from the laptop speakers or computer speakers.
To change the audio output source, go to the audio settings. To do this, open the “Settings” application, this can be done by pressing Win+i.
Go to the “Sound” section.
In the “Output” section, select “Audio for Displays”.
You can also expand the settings for each sound source by clicking the arrow symbol to the right of the source name. In the window that opens, you can fine-tune each sound source.
Why did the sound disappear after turning off the TV on the laptop (computer)
To change the audio output source, go to the audio settings. To do this, open the “Settings” application, this can be done by pressing Win+i.
Go to the “Sound” section.
In the “Output” section, select “Speakers”.
Setting the action when closing the laptop lid when using a second monitor
If you are using a laptop, closing the laptop lid when additional monitors are connected to it may not be what you expect. For example, when you close the laptop lid, the computer goes into Sleep mode or shuts down, but you expect to be able to work on a second monitor or watch TV connected to the computer.
To control how the computer behaves when the laptop lid is closed, open the “Control Panel”.
In the Control Panel, go to “Category” → “Small icons”.
Open the “Power Options” section.
Click on the “Choose what closing the lid does” link.
You can also go to this setting by running the command:
control /name Microsoft.PowerOptions /page pageGlobalSettings
In the window that opens, note that all actions are configured for two modes:
On battery
Plugged in
For the action for “When I close the lid”, select “Do nothing”.
How to prevent the monitor from turning off
If there is no activity for some time (for example, 10 minutes), the monitors will be turned off. You can disable the setting to turn off displays.
To control when monitors turn off due to inactivity, open the “Control Panel”.
In the “Control Panel”, go to “Category” → “Small icons”.
Open the “Power Options” section.
Click on the “Choose when to turn off the display” (or “Change when the computer sleeps” link).
You can also go to this setting by running the command:
control /name Microsoft.PowerOptions /page pagePlanSettings
In the window that opens, note that all actions are configured for two modes:
On battery
Plugged in
Set longer time intervals before turning off the monitor and entering sleep mode, or select “Never”.
In this tutorial, you will learn how to set up an Internet connection via Bluetooth in Linux, as well as why the Internet speed via Bluetooth is slow.
How to connect my computer to the Internet through my phone via Bluetooth
Internet via Bluetooth is one of the options for using a mobile phone to access the Internet from a computer. Looking ahead, we note that this is not the best option because:
1) the connection speed will be quite slow,
2) the setup, although generally simple, is slightly more complicated than other connection options
As alternative methods for accessing the Internet from a computer via a mobile phone, the following are recommended:
If your computer does not have Wi-Fi and you do not have a USB data cable for connecting your phone by wire, then the method described in this article is suitable for you – accessing the Internet via the mobile phone's Bluetooth tethering.
The connection algorithm is as follows:
Pairing your phone and computer via Bluetooth
Turning on the Bluetooth tethering on the phone
Setting up a computer, which consists in connecting to the phone's Bluetooth tethering (selecting Bluetooth as the Access point)
So, let's look at how to connect a computer to the Internet through Bluetooth and your mobile phone in Linux.
Checking and starting the Bluetooth service
Connecting a mobile phone to a computer via Bluetooth is called pairing.
Check if the Bluetooth service is running on your computer – to do this, connect your Bluetooth device (if it is disconnected) and look for the Bluetooth icon next to the clock:
The Bluetooth service status can be checked on the command line:
systemctl status bluetooth
If the status of the service is other than “active (running)” and you do not see the Bluetooth tray icon, then you need to execute the following commands from this section. If the service is running, skip the following commands and skip directly to the next section to pair your phone with your computer.
Install required packages in Debian, Linux Mint, Ubuntu, Kali Linux and their derivatives:
sudo apt install bluez blueman
Install required packages in Arch Linux, Manjaro, BlackArch and their derivatives:
The following commands are the same for all distributions.
Start bluetooth service:
sudo systemctl start bluetooth
Adding it to startup:
sudo systemctl enable bluetooth
Connecting a mobile phone to a computer via Bluetooth (phone pairing)
Turn on Bluetooth on your mobile phone.
Both a mobile phone and a computer can initiate pairing.
On your mobile phone or computer, search for Bluetooth devices.
If the devices do not see each other, then start searching for devices at the same time on the computer and mobile phone.
When the desired device is found, click on it to start pairing.
A prompt will appear on your mobile phone to establish pairing – agree to this proposal.
After that, on the computer it will be proposed to pair with the phone – agree (“Confirm”). If you are prompted to connect by someone else's device, then reject the request (“Deny”).
Immediately after pairing, or at the next connection, an authentication request will be made – the options are “Always accept” and “Accept”. The “Deny” button means rejecting the request.
After pairing, and also if you have selected the “Always accept authentication” option, the devices will connect to each other automatically as soon as Bluetooth is enabled on them.
Turning on the Bluetooth tethering
Go to the settings of your phone, this can be done by unrolling the curtain from top to bottom and clicking the gear icon.
Further, the name of the settings items may differ on different phone models, but the essence will be the same everywhere.
Go to the “Connections” section.
Find the item “Mobile Hotspot and Tethering” there.
Turn on “Bluetooth tethering”.
Connect to a Bluetooth tethering on a computer
Your computer's network settings should now show an option for Bluetooth, Mobile broadband, or similar.
Activate this connection so that the computer starts using the Internet via Bluetooth.
You can turn on the Bluetooth connection directly on the computer, bypassing the steps to turn on the Bluetooth tethering on the phone as shown above – in this case, the phone will prompt you to Allow Bluetooth tethering.
Why is the Internet speed slow over Bluetooth
When successfully connecting to the Internet via Bluetooth, the first thing you may notice is the speed of the connection. On the most modern Bluetooth 5.* protocols, it is up to 1.4 megabits per second (2 megabits per second at the moment). As you can see from the screenshot, the speedtest.net Internet connection speed test showed a speed of 1.66 megabits per second.
This is 210-220 kilobytes per second, if these units are more familiar to you. This is very slow, and on Bluetooth versions 4.* the speed is only 800 kilobits per second, that is, 2 times slower.
Thus, if the speed of the Internet via Bluetooth is too slow for you, all you can do to increase the speed of the Internet via Bluetooth is to switch to the Bluetooth 5.* protocol (both devices – the phone and the computer – must support this protocol). If this speed is not enough for you, then use Wi-Fi or data transfer via USB:
In this tutorial, you will learn how to set up an Internet connection via Bluetooth in Windows, as well as why the Internet speed via Bluetooth is slow.
1. How to connect my computer to the Internet through my phone via Bluetooth
Internet via Bluetooth is one of the options for using a mobile phone to access the Internet from a computer. Looking ahead, we note that this is not the best option because:
1) the connection speed will be quite slow,
2) the setup, although generally simple, is slightly more complicated than other connection options
As alternative methods for accessing the Internet from a computer via a mobile phone, the following are recommended:
If your computer does not have Wi-Fi and you do not have a USB data cable for connecting your phone by wire, then the method described in this article is suitable for you – accessing the Internet via the mobile phone's Bluetooth tethering.
The connection algorithm is as follows:
Pairing your phone and computer via Bluetooth
Turning on the Bluetooth tethering on the phone
Setting up a computer, which consists in connecting to the phone's Bluetooth tethering (selecting Bluetooth as the Access point)
So, let's look at how to connect a computer to the Internet through Bluetooth and your mobile phone in Windows.
2. Connecting a mobile phone to a computer via Bluetooth (phone pairing)
Turn on Bluetooth in Windows if you haven't already. This can be done by clicking on the network connection button next to the clock.
In Windows, right-click on the Bluetooth icon and select “Go to Settings” from the context menu that opens.
Click the “Add device” button.
In the window that opens, select “Bluetooth”.
Turn on Bluetooth on your mobile phone.
Start Scan for Bluetooth devices.
If the devices do not see each other, then start searching for devices at the same time on the computer and mobile phone. If you don't succeed the first time, try again.
When the desired device is found, click on it to start pairing.
Do the same on the computer.
A prompt will appear on your mobile phone to establish pairing – agree to this proposal.
Do the same on the computer – click the “Yes” button.
Make sure the connection was successful.
If the connection fails, try again.
3. Turning on the Bluetooth tethering
Go to the settings of your phone, this can be done by unrolling the curtain from top to bottom and clicking the gear icon.
Further, the name of the settings items may differ on different phone models, but the essence will be the same everywhere.
Go to the “Connections” section.
Find the item “Mobile Hotspot and Tethering” there.
Turn on “Bluetooth tethering”.
4. Connect to a Bluetooth tethering on a computer
Right-click on the “Network” icon and select “Network and Internet settings” in the context menu that opens.
In the window that opens, select “Advanced network settings”.
Then select “More network adapter options”.
In the Network Connections window, find Bluetooth Network Connection, right-click it and select View Bluetooth Network Devices.
In the “Devices and Printers” window that opens, find the phone, right-click on it. In the context menu, select “Connect using” and select “Access point” in the list that opens.
After that, the computer will be connected to the Internet via the Bluetooth of the mobile phone.
5. How to Disconnect from a Bluetooth Connection
To turn off Bluetooth Internet on a computer
Right-click on the “Network” icon (next to the clock) → Advanced network settings → More network adapter options → Right-click on “Bluetooth Network Connection” → select “View Bluetooth Network Devices” from the context menu.
In the “Devices and Printers” window that opens, find the phone, right-click on it. Select “Disconnect from device network” from the context menu.
To turn off Bluetooth Internet on your mobile phone
Go to Settings → Connections → Bluetooth.
Click on the gear of the connection you are using.
Turn off “Internet connection sharing”.
6. “The connection with the Bluetooth network device failed” error
The connection with the Bluetooth network device failed. The device may already be connected to another computer, or it may need to be configured to accept connections from this computer. Consult your device documentation for further information.
On the phone, you will be prompted to “Allow Bluetooth tethering”, if you select “Allow”, then the reconnection will be successful.
7. Why is the Internet speed slow over Bluetooth
When successfully connecting to the Internet via Bluetooth, the first thing you may notice is the speed of the connection. On the most modern Bluetooth 5.* protocols, it is up to 1.4 megabits per second (2 megabits per second at the moment). As you can see from the screenshot, the speedtest.net Internet connection speed test showed a speed of 1.66 megabits per second.
This is 210-220 kilobytes per second, if these units are more familiar to you. This is very slow, and on Bluetooth versions 4.* the speed is only 800 kilobits per second, that is, 2 times slower.
Thus, if the speed of the Internet via Bluetooth is too slow for you, all you can do to increase the speed of the Internet via Bluetooth is to switch to the Bluetooth 5.* protocol (both devices – the phone and the computer – must support this protocol). If this speed is not enough for you, then use Wi-Fi or data transfer via USB:
In the article “How to share mobile Internet with other phones and computers”, we already talked about how to use a mobile phone as an Access Point, but what if the computer does not have a Wi-Fi adapter or drivers are not installed for it?
This article is devoted to the answer to this question – it tells how to connect a computer to the mobile Internet using a USB cable.
In fact, this method is even simpler than creating a mobile hotspot.
How to Use Android Phone as USB Tethering in Windows
As you can see in the screenshot, the computer does not have an Internet connection.
Start by connecting your phone to your computer with a USB cable.
Then go to the settings of your phone, this can be done by unrolling the curtain from top to bottom and clicking the gear icon.
Further, the name of the settings items may differ on different phone models, but the essence will be the same everywhere.
Go to the “Connections” section.
Find the item “Mobile Hotspot and Tethering” there.
Turn on “USB tethering”.
Everything is ready – now your computer is online and can connect to the Internet. You can install Wi-Fi drivers or perform other network actions that you need.
No additional configuration is required on the computer. Now the computer is connected to the network – the USB tethering connection has a wired connection icon.
What to do if the USB modem item is not active or missing
The USB modem item may be inactive in two cases:
The phone is not connected to the computer with a USB cable.
USB cable does not support data transfer
Try another USB cable – the one that came with the phone should support data transfer.
Things to remember when using a mobile phone for the Internet
Please note that if the phone is not connected to Wi-Fi, then mobile data will be used – if you do not have an unlimited data plan, then this will cost you money.
You can connect your phone to a Wi-Fi network and still use it as a USB modem. The result is that your computer is using Wi-Fi through your phone, and not mobile data.
If, when you turn on the USB modem, there is still no Internet access on the computer, then check if other network connections are disabled: for example, via Wi-Fi or by wire, the computer can be connected to a router that does not have Internet (disabled for non-payment or damaged cable).
If you disconnect the phone from the USB cable, and then connect it to the computer again, you will need to turn USB tethering on again in the phone each time
While the mobile phone is operating as a USB modem, you cannot send and receive files from it
How to enable file transfer between computer and phone
When the USB modem is enabled, it is not possible to exchange files between the computer and the phone.
In order to make it possible to copy files, you can disconnect the phone from the computer, and then reconnect and, when asked for permission to transfer files, provide it.
Another option is to disable the USB modem and enable data transfer (or only charging) in the phone settings without disconnecting it from the USB cable. To do this, open the curtain and expand the notification “USB tethering turned on”.
Click to configure the USB connection to the corresponding label.
Instead of “USB tethering” select “USB tethering” or “Charging phone only”.
To determine the Bluetooth version on a Windows computer, you need to open Device Manager.
This can be done in several ways at once:
1) Click on the start menu and start typing ‘Device Manager’, click on the suggested match.
2) OR open the ‘Power User Menu’ using the Win+x keyboard shortcuts and select ‘Device Manager’ there
3) OR press Win+r and type to execute:
devmgmt.msc
In Device Manager, find Bluetooth and expand the list:
Locate the Bluetooth adapter. Its name will vary depending on your specific hardware, but you should usually look for something like ‘Intel Wireless Bluetooth’ or ‘Bluetooth Adapter’.
The name itself may already indicate the version of the supported Bluetooth standard (as in the screenshot below). If so, you can ignore the next step since you have the answer!
If you're having trouble finding the right item in the list, one thing's for sure; the element you need to find in the list will not contain the word ‘Enumerator’, so ignore all such entries.
Double-click on the device name to open the properties of the device that you consider to be the primary Bluetooth adapter. You'll know right away if you're in the right element as you should see an ‘Advanced’ tab with content similar to the one shown below.
On this screen, you need to find the ‘Firmware Version’, i.e. HCI and LMP (Link Manager Protocol).
For example, on the screen you can see the version ‘10.256’. Now we need to convert the LMP version of the Bluetooth adapter to the actual supported Bluetooth version. Please note that your LMP version may be a decimal number. As you can see from the LMP table, any LMP number starting with 10 means that your adapter supports version 5.1 inclusive of the Bluetooth standard.
Link Manager Protocol Version (LMP)
Bluetooth Core Specification
LMP 0
Bluetooth Core Specification 1.0b (withdrawn)
LMP 1
Bluetooth Core Specification 1.1 (withdrawn)
LMP 2
Bluetooth Core Specification 1.2 (withdrawn)
LMP 3
Bluetooth Core Specification 2.0 + EDR (withdrawn)
LMP 4
Bluetooth Core Specification 2.1 + EDR (deprecated, to be withdrawn)
LMP 5
Bluetooth Core Specification 3.0 + HS (deprecated, to be withdrawn)
LMP 6
Bluetooth Core Specification 4.0
LMP 7
Bluetooth Core Specification 4.1
LMP 8
Bluetooth Core Specification 4.2
LMP 9
Bluetooth Core Specification 5.0
LMP 10
Bluetooth Core Specification 5.1
LMP 11
Bluetooth Core Specification 5.2
The latest Bluetooth versions at the moment are 5.2 and 5.3. Still current specs 4.0/4.1 and later. If your adapter is older, using a new Bluetooth adapter on your computer may help improve the quality of your Bluetooth connection. If you are using devices that send a lot of data, such as constantly streaming audio or video, you really need to make sure that both the adapter and the device are compatible with at least Bluetooth version 3.0 + HS, and preferably 4.0 and later.
For reference: in version 5.*, the data transfer rate is doubled compared to 4.*.