Wireless Info Script for Diagnosing wireless issues

When troubleshooting wireless, it’s important that your system is fully updated by opening a terminal, CTRL+ALT+T. Using a wired internet connection, please run:

sudo apt update sudo apt dist-upgrade
and reboot if necessary.

If the issues persist, it is recommended that you install pastebinit, by running:

sudo apt install pastebinit

This will enable the wireless script to, upon your approval, upload the obtained data to pastebin, creating at the same time a link to it in your terminal, permitting you to paste it to a support post in support and help with the tag networking_wireless.

Once that’s done, download and run the wireless info script, which will gather information to help diagnose your system. You can run it using this command:

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \ chmod +x wireless-info && \ ./wireless-info

It will create the file “wireless-info.txt” at the location it is run from, and depending on its size, an additional archive called “wireless-info.tar.gz”. If you prefer, you can post the file directly to pastebin yourself. Sensitive information like MAC addresses and WPA/WEP keys are masked automatically.

If you aren’t able to connect to the internet with the affected system, including via a wired connection download the script on another computer by right-clicking this link, and choose to “Save” the link target.

Copy the downloaded file to your Ubuntu Desktop (see “NOTE 2” below) and run it from there as follows -

Right-click the downloaded file > click “Properties” > go to “Permissions” tab > tick the “Execute” checkbox > close the box.

Double-click the file > select “Run” in the opened dialogue box. Provide your password when asked.

NOTE 1: If Ubuntu opens the Text Files in a text editor even if they are made executable. To change this:
Open any folder > go to Files > Preferences > Behavior tab > select “Ask each time” option under “Executable Text Files” section.

2) Double-click the file > select “Run” in the opened dialogue box. Provide your password when asked.

3) A fresh new file “wireless-info.txt” (or “wireless-info.txt.tar.gz” file, if the text file size exceeds 19.5 KB) will be created in the same directory where you have run the script from. Attach it or copy-paste its contents (as described above) in your next post.

It will give us all the info required to identify the problem and troubleshoot it accordingly.
If ‘Broadcom’ appears in the output next to ‘[0280]’, head over to the Broadcom guide.

Please choose a clear and informative title when creating your post:

Atheros ABC123 drops connection, Ubuntu 22.04", is an acceptable thread title, concise and informative.
“Help, wireless doesn’t work”, is to vague and will not help us help you.

Here is a list of supported wireless cards in the Community wiki - which includes PCI, miniPCI, PCMCIA, built-in, and USB. This list is maintained by the Ubuntu community, so please do think about contributing to it, following these guidelines.

Further details about the script are available here.

Create New Topic

2 Likes