How to Fix “Wi-Fi Doesn’t Have a Valid IP Configuration” Error

Last Updated on March 26, 2023 by itsubuntu

How to Fix “Wi-Fi Doesn’t Have a Valid IP Configuration” Error

If are you tired of coming across the “Wi-Fi doesn’t have a valid IP configuration” error message while diagnosing an inactive internet connection in Windows 10 or even in Windows 11 then this blog post is for you.

How to Fix “Wi-Fi Doesn’t Have a Valid IP Configuration” Error

There are multiple ways to fix the “Wi-Fi Doesn’t Have a Valid IP Configuration” Error. Let’s have a look at all of them.

1. Reset Wireless Network Adapter

One of the best ways to fix the “Wi-Fi Doesn’t Have a Valid IP Configuration” Error is by resetting your Wireless Network Adapter.

  1. Open the Run command.
  2. Type ncpa.cpl and select OK.
  3. Right-click the wireless network adapter in the Network and Sharing Center and select Disable.
  4. Wait up to 10 seconds.
  5. Right-click the Wi-Fi adapter again and select Enable

Sometimes, Disabling, and then re-enabling your PC’s wireless network adapter can also fix this issue.

2. Restart Your Router

This is probably the most fun way to solve any issues related to the Wifi network. Sometimes you can fix errors like “Wi-Fi doesn’t have a valid IP configuration” by simply restarting your router.

3. Renew Your PC’s IP Lease

This is another way to fix the “Wi-Fi doesn’t have a valid IP configuration” error. Go through the following steps to renew your PC’s IP lease.

  1. Press Windows+X and select Windows PowerShell.
  2. Run the commands below one after the other while pressing the Enter key:
  • ipconfig /release
  • ipconfig /flushdns 
  • ipconfig /renew

4. Reinstall the Wireless Network Adapter

  1. Press Windows+X and select Device Manager.
  2. Expand the Network adapters panel.
  3. Right-click your particular wireless network adapter and select Disable device.
  4. Select Yes.
  5. Right-click the wireless network adapter again and select Uninstall device.

5. Change the Router’s SSID and Password

Another way to fix the “Wi-Fi doesn’t have a valid IP configuration” error is to change the password along with the SSID of your router. You need to log in to your WiFi router admin panel. See the backside of your router to figure out the default gateway IP address that you can use to log in to the admin panel of your Wifi router from where you can change it.

 

Ubuntu 20.04.6 Released! Fix Secure Boot & Integrate Ubuntu Pro

The Ubuntu team announced the 6th point release for Ubuntu 20.04 LTS. According to the release note, Ubuntu 20.04.6 fixed the Secure Boot issue for the amd64 installer:

Unlike previous point releases, 20.04.6 is a refresh of the amd64 installer media after recent key revocations, re-enabling their usage on Secure Boot enabled systems.

The release also includes many security updates, and backports from Ubuntu 22.04 LTS. The “Software & Updates” has been updated to replace Livepatch tab with Ubuntu Pro.

Other changes include:

  • add meta package to improve support for Lenovo ThinkCentre M70t/M80t Gen 3, Lenovo ThinkPad P14s/T14 Gen 2a, Lenovo ThinkPad T14s/X13 Gen 2a, etc devices.
  • fix slow refresh rate with AMD GPU Screen output in reverse prime mode.
  • add GSettings power management keys for AD SYStem integration.
  • fix samba interoperability with Windows 22H2 client.
  • fix issue that starting a salted session fails when using an RSA key in FIPS mode
  • add support for open kernel module or driver in nvidia-515
  • support EM120/160 firmware update
  • add sdio firmware for qca9377 wifi module

See the changelog for more changes in Ubuntu 20.04.6.

Download Ubuntu 20.04.6

For earlier version of Ubuntu 20.04, just open Software Updater and install all available updates will bring you to the new Ubuntu 20.04.6. For the .iso image, just go to this page.

Multiple Ways To Fix “Error in Body Stream” on ChatGPT

Last Updated on March 23, 2023 by itsubuntu

Multiple Ways To Fix “Error in Body Stream” on ChatGPT

ChatGPT’s “error in body stream” means that ChatGPT is not able to generate any more answers or data for your queries.

How To Fix “Error in Body Stream” on ChatGPT

There are multiple ways to fix the “error in body stream” error on ChatGPT.

1. Check your internet connection

This is the most common reason for the “Error in body steam” error on ChatGPT.  If your internet is slow, ChatGPT may return an error instead of the required results. According to ChatGPT, If you want to use ChatGPT fluently then you need to have an internet speed of 5Mbps to 10Mbps.

2. Check the ChatGPT server status

One of the most common reasons for the ‘error in body stream” error on ChatGPT is the server issues. You can check the official server status at https://status.openai.com/. If the server is down, you’ll need to wait for a while as the team will resolve the issue. If ChatGPT is at capacity, you’ll need to try again later at a less busy time.

3. Reduce the input word count

This reason seems to be strange but yes sometime ChatGPT might throw an error message due to the word count in the question. Write shorter requests to avoid errors.

4. Clear your web browser cache

ChatGPT might be throwing an error due to a caching issue with your web browser. Clear the cache of your Internet browser and try using ChatGPT again.

5. Regenerate ChatGPT Response

Sometimes, all you need to do is to click the Regenerate response button and you will get the result of your query. You can also start a fresh chat session instead of regenerating the ChatGPT response. Resubmit your request in the new chat to see if the issue is fixed.

Let us know if you have any other solution for this error.

How To Fix /bin/rm: cannot execute [Argument list too long]

Last Updated on March 23, 2023 by itsubuntu

How to Fix /bin/rm: cannot execute [Argument list too long]

You might encounter this error while using the rm command in Linux. The rm command is used in Linux to delete files and directories.  Without any explanation, let’s have a look into the solution for this.

How To Fix /bin/rm: cannot execute [Argument list too long]

When you try to delete a large number of files, you will definitely come across this error. Don’t worry we have the solution for it too.

Use Find Command with ‘-exec’ Argument to Delete a large number of Files

Run the following command with the '-exec' parameter of ‘find‘ that will allow you to run any command over the output of find.

$ find . -maxdepth 1 -name "<filename_pattern>" -exec rm -r {} ;

Some of the basic rm commands in Linux:

Run the following command to remove a file named file1.txt in the current directory:

rm file1.txt

Run the following command to remove a file named file2.txt located in a specific directory:

rm /path/to/directory/file2.txt

Run the following command to remove multiple files at once:

rm file1.txt file2.txt file3.txt

Run the following command to  remove all files with a certain extension in the current directory:

rm *.txt

Run the following command to remove a directory named dir1 and all its contents:

rm -r dir1

Run the following command to force the removal of a file without prompting:

rm -f file1.txt

Run the following command to prompt for confirmation before removing a file:

rm -i file1.txt

Run the following command to remove a directory and all its contents without prompting:

rm -rf dir1

Run the following command to  remove a symbolic link (i.e., a shortcut to a file or directory):

rm link1

Run the following command to  remove empty directories:

rmdir dir1

Note: Be careful when using the rm command, as it permanently deletes files and directories, and they cannot be recovered.

Fix “Updating from such a repository can’t be done securely” Error In Linux

Last Updated on March 18, 2023 by itsubuntu

How to fix the “Updating from such a repository can’t be done securely” error in Linux

You might have encountered this error while trying to run the apt update or the apt upgrade command.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Along with the above error message, you will also come across the following error:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg

How To Fix “Updating from such a repository can’t be done securely” Error In Linux

Method 1:

Adding an unsigned repository with a flag in Linuz

If you are using an unsigned repository, you might be getting this error as Linux flags unsigned repositories as insecure. Go through the following steps to add an option to it in your sources.list file.

Open the sources.list file using a text editor:

sudo vi/etc/apt/sources.list

Add the following option to the source you are using:
[trusted=yes]

Save and exit using the ESC key then :wq!

Run a sudo apt-get update command and see if the problem is resolved.

Method 1:

Bypass the safeguard in Linux

You can bypass the authentication safety measures and allow the package to be installed without getting any errors.

--allow-unauthenticated

Method 3:

Disable the repositories that are causing trouble in Linu

Go through the following steps:

Open the software updater

Under the Other Software tab, find the concerned repositories and uncheck them

Close the software updater and run the following command:
sudo apt update

3 Ways To Fix “No Space Left on Device” Error In Linux

Last Updated on March 18, 2023 by itsubuntu

Fix “No Space Left on Device” Error In Linux

Are you going through an error like “No Space Left On Device” in Linux and getting frustrated with this then this blog post has a solution for you.

How To Fix “No Space Left on Device” Error In Linux

Make sure that your Linux has enough space in your Linux operating system. There are two Linux commands for getting information about disk space. You can do it with the du and df commands. .

Why Does Linux Show “No Space Left on Device” Despite Of Having Enough Space In Linux?

If you are seeing the “No Space Left on Device” error message despite having sufficient free space on your disk, there must something wrong with your Linux file system.

Fix 2:

Check Inodes On Linux

One of the common issues might be not having enough inodes. In Linux, inodes aren’t unlimited, and running out of inodes before the storage space can give you the “No space left on device” error.

You can easily check the availability of inodes by using the -i flag with the df command.

sudo df -i

This will clearly tell the total number of inodes present in the filesystem, along with the amount currently in use. If there are no free inodes left on your system, this is the source of the “No space left on device” error. Sadly, there is no way to generate or create more inodes. All you can do is delete the unnecessary files to free up inodes.

Fix 2:

Restart Processes Using Deleted Files

The most common reason for seeing this error is a recently deleted file. Even if a file is deleted, the respective process keeps using it, keeping the space reserved even though the file is already deleted. You just need to restart the process to free up the reserved storage.

Run the lsof and grep commands to find the problematic process and restart the affected process with the sudo systemctl restart service_name command or you can just reset them all with the sudo systemctl daemon-reload command.

Fix 3:

Manage Bad Blocks In Linux

Sometimes bad sectors can be the reason for space-related errors. There is no real way to fix this issue, The only thing you can do is mark the bad sectors so that they are no longer used by the file system. You need to configure the file system. Run the following command by booting through a Live CD. This will automatically detect all bad blocks on the drive and mark them as unusable.

sudo fsck -vcck /dev/sda

This replaces the /dev/sda with the path of the drive you want to repair.

Liferea News Reader 1.14.1 Released with A Critical Security Fix

For users of Liferea feed reader, new version 1.14.1 and 1.12.10 were released few days ago. All users are urged to upgrade due to an important security fix.

Liferea is a free open-source GTK3 feed reader that brings together all of the content from your favorite subscriptions into a simple interface. It can synchronizes with Reedah, TinyTinyRSS, and Google Reader API.

Just few days ago, it release new point releases for its 1.14 and 1.12 release series with an important security fix.

It’s CVE-2023-1350 Remote code execution on feed enrichment.

If you have enabled “Extract full content from HTML5 and Google AMP” for one or more of your feed subscriptions it is possible for a an attacker to inject a script command that would run any command on your system.

All users are recommended to upgrade to the new release with this bug-fix.

Without the upgrade, user can alternatively disable “Extract full content from HTML5 and Google AMP” for all the feeds via following steps:

  1. Close Liferea
  2. Open ~/.config/liferea/feedlist.opml in an editor
  3. Replace all occurences of html5Extract="true" with an empty string

How to Install Liferea 1.14.1 in Ubuntu:

For most Linux, Liferea is available to install as Flatpak package, that runs in sandbox.

Ubuntu users can also use the unofficial PPA, which so far supports for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, Linux Mint 20/21, and their based systems.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Type user password (no asterisk feedback) and hit Enter to continue.

2. Then, install the Liferea package by running command:

sudo apt install liferea

Linux Mint user may have to run sudo apt update first to update cache.

Uninstall:

The PPA also contains some other software packages, so you may remove it immediately after installed Liferea.

To do so, either run the command below in terminal, or remove the source line under “Other Software” tab in Software & Updates tool.

sudo add-apt-repository --remove ppa:ubuntuhandbook1/apps

To remove the feed reader package, simply run command:

sudo apt remove --autoremove liferea-data liferea

That’s all. Enjoy!

How To Fix “ng is not Recognized as Internal or External Command, Operable Program or Batch File?”

Last Updated on March 11, 2023 by itsubuntu

Fix “ng is not Recognized as Internal or External Command, Operable Program or Batch File?”

You might come across this error while using the ng directive on Command Prompt. There basically two reasons for the error “ng is not Recognized as Internal or External Command”. It may occur:

  • If the angular command line tool is not installed on the system
  • The ng Path variable is not added in Windows.

How To Fix “ng is not Recognized as Internal or External Command, Operable Program or Batch File?”

Let’s start with the first solution.

Install Angular Command Line Tool

Install the Angular CLI tool using the following command

> npm install -g @angular /cli
Now verify whether the error is fixed or not with the following command
ng version

Another Solution:

The error “ng is not Recognized as an Internal or an External Command” may occur if the ng path is not set in the Windows operating system. Run the following command using ‘where’ to find out where the ng is installed or where the “ng.exe” file exists. Choose and copy the Path where ng is installed

> where ng

Now, Launch environment variable settings by going to the environment variables set. You can access it by searching it in the “Startup” menu to set ng path to the Windows path. Go to the “Environment Variables”.  After that, select the “Path” property under “System variables” and then click the “Edit” button.  Next, in the “Edit environment variables” window, click “New” put the copied path of ng installation location here, and then click the “Ok“ option.

Now, run the following command to see whether the error has been solved or not.

ng version

 

How to Fix Error Code 0x0 0x0 In Windows 11

How to Fix Error Code 0x0 0x0 In Windows 11

Windows are full of errors and definitely, and it’s really frustrating to go through errors when you are in the middle of something important. In this post, we will discuss one particular issue on Windows 11. We are doing to discuss Error Code 0x0 0x0 In Windows 11 and its reason and also the solution for it.

How to Fix Error Code 0x0 0x0 In Windows 11

There are multiple reasons behind the error code 0x0 0x0 In Windows 11. Sometimes you might come across this error because of corrupted or missing system files in Windows, sometimes outdated device drivers might be causing this error and sometimes the external virus can be the reason for it.

No matter what can be the reason, In this post, we have a solution for “Error Code 0x0 0x0 In Windows 11“.

Solution 1:
Perform a Clean Boot:

A clean boot helps you to start your Windows 11 without any error as in this process, the system will avoid any third-party apps or software that might be creating issues during startup. Performing a clean boot can help to eliminate any third-party software interference and it also helps you to identify the source of the problem.

Go through the following steps to perform a clean boot on Windows 11.

  1. Press Win + R to open the Run command window or you can search Run from the search option in Windows 11.
  2. Type “msconfig” in the Run window and hit Enter.
  3. Once, msconfig window is open, you need to switch to the Services tab and enable Hide all Microsoft services at the bottom.
  4. Click on the Disable all button and then switch to the Startup tab. Select Open Task Manager and select each startup item one by one.
  5. Disable each and every app that starts during the startup of the system, close Task Manager, save changes, and restart your computer.
  6. If you are able to solve your problem, you can re-enable the Microsoft services and start enabling each startup item one by one to figure out the services or apps that might be causing the problem.

Solution 2:
Update Drivers:

Sometimes outdated drivers can be the reason behind error 0x0 0x0 on Windows 11. So, In this step, we will check our drive status. Open the device manager by going through the following steps:

  1. Right-click on the Start button and select the Device Manager option from the menu.
  2. You will see the different hardware and the required drivers installed in your system. In this section, you can also see the drivers having an issue with the yellow exclamation mark on it.
  3. Right-click on each driver and select Update driver from the menu.

Solution 3
Disable or Rollback Windows Update:

If you came across the error 0x0 0x0 after a recent Windows update then there might be conflicts with the latest updates and your system.  To fix this, you need to disable or roll back the update.

  1. Press Win + I to open Settings.
  2. Switch to the Windows Update tab and select the Update history option.
  3. Under the “Update history” Window, click on the Uninstall updates option.
  4. Here, you need to see the recent Windows updates and click Uninstall link to uninstall updates.
  5. Restart your computer and see whether you are able to solve your issue or not.

Solution 4:
End Simultaneously Running Programs:

In Windows, you might come across a strange situation while running two or more applications at the same time and this can be one of the reasons behind error 0x0 0x0 cause this error. Let’s try to fix this by ending all the applications running simultaneously. You can easily do it through the task manager.

  1. Press Ctr + Alt + Delete, and then select Task Manager from the menu or you can also select Task manager from the start menu ( You need to right-click on the start menu icon)
  2. Go to the “Processes” tab and select the program you want to end. Right-click on the process and select “End Task” to end the program.

Fix TypeCatcher (Google Fonts Installer) does not launch in Ubuntu 22.04

This simple tutorial shows how to fix the launching issue for TypeCatcher in Ubuntu 22.04 or other Linux with Python 3.9 & higher.

TypeCatcher is a simple GTK application to download and install Google webfonts for off-line use. The app is available to install in Ubuntu Software for all current Ubuntu releases. However, it does not launch in Ubuntu since 21.10.

TypeCatcher, download & install Google Fonts

When trying to launch it from command line, it outputs something like this:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/typecatcher_lib/Application.py”, line 30, in on_activate
self.window = TypeCatcherWindow.TypeCatcherWindow()
File “/usr/lib/python3/dist-packages/typecatcher_lib/Window.py”, line 47, in __new__
builder = get_builder(‘TypeCatcherWindow’)
File “/usr/lib/python3/dist-packages/typecatcher_lib/helpers.py”, line 44, in get_builder
builder.add_from_file(ui_filename)
File “/usr/lib/python3/dist-packages/typecatcher_lib/Builder.py”, line 86, in add_from_file
ele_widgets = tree.getiterator(“object”)
AttributeError: ‘ElementTree’ object has no attribute ‘getiterator’

The issue is because of the removal of getiterator() methods from xml.etree.ElementTree module in Python 3.9, which was deprecated since Python 3.2.

As the announcement indicates, simply use iter() method instead will fix the issue.

Methods getchildren() and getiterator() of classes ElementTree and Element in the ElementTree module have been removed. They were deprecated in Python 3.2. Use iter(x) or list(x) instead of x.getchildren() and x.iter() or list(x.iter()) instead of x.getiterator().

1. First, search for and open a terminal window from either start menu or ‘Activities’ overview depends on your desktop environment.

2. When terminal opens, run command to edit the file that contains the ‘getiterator()’ method (see the first screenshot). In the case, it’s “/usr/lib/python3/dist-packages/typecatcher_lib/Builder.py”.

sudo gedit /usr/lib/python3/dist-packages/typecatcher_lib/Builder.py

replace gedit to your favorite text editor, or use nano command line editor that works in most Linux.

3. When files opens, find out and replace tree.getiterator with tree.iter.

For Gedit text editor, just go to menu, click open ‘Find and Replace’ dialog. Finally, insert tree.getiterator as ‘Find’, and ‘tree.iter‘ as ‘Replace with’, then click on ‘Replace All’ button.

For nano text editor, press Alt+R when the file opens in terminal window. Then type tree.getiterator when it indicates ‘Search (to replace)’, hit Enter, and insert tree.iter when prompts ‘Replace with’. Finally, hit Enter and type y. Or, just use arrow keys to find and replace the keyword (there are 2) manually. And, press Ctrl+x, type y, and hit Enter to save changes.

After saving the file, try to launch it either from ‘Activities’ overview or command line, and enjoy!