Results 1 to 7 of 7

Thread: Re: RTL8812au problem in 22.04

  1. #1
    Join Date
    Sep 2024
    Beans
    4

    Re: RTL8812au problem in 22.04

    am trying to get the Lynksys WUSB300 802.11a/b/g/n/ac Wireless Adapter to work on Ubuntu 22.04. I thought I had deleted quippoth from past installation attempts, nd proceeded with Ok, lets ditch the rtl8812au-dkms, and proceeded with git clone https://github.com/aircrack-ng/rtl8812au.git. The program proceeded to install, but will not connect with the USB Linksys receiver. Is something getting in the way?


    The output from lsusb:<br>matt@Dreamfields6:~$ lsusb
    Bus 004 Device 002: ID 1058:25e1 Western Digital Technologies, Inc. My Passport (WD20NMVW)
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 005: ID 154b:00ee PNY USB 2.0 FD
    Bus 003 Device 006: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 003 Device 003: ID 0480:a004 Toshiba America Inc External USB HDD
    Bus 003 Device 002: ID 050d:0224 Belkin Components F5U224 USB 2.0 4-Port Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
    Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    mokutil --sb returns:
    matt@Dreamfields6:~$ mokutil --sb
    SecureBoot disabled
    Platform is in Setup Mode
    matt@Dreamfields6:~$

  2. #2
    Join Date
    May 2014
    Location
    /home
    Beans
    11,166
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: RTL8812au problem in 22.04

    See the wireless script link in my signature and post results

  3. #3
    Join Date
    Sep 2024
    Beans
    4

    Re: RTL8812au problem in 22.04

    This is the readout from the "pastebin" diagnostic program, run with a borrowed older modem:
    SCRIPTDATE="2024-8-27 3:55 -0700"
    FILEBASE="wireless-info"
    OUTPUTDIR="$PWD"
    OUTPUTDIRFB="/tmp"

    MODMATCHES="(air|ar5|at7|ath[^3]?|b43|bcma|brcm|carl|ipw|iwl|ndis|r(818|8192[eu]|871|92su)|8(188|189|192|723|812)[acde][esu]|rt[23567]|rtl|ssb|wl|rtw8|(cfg|mac)80211)"
    LSMODMATCHES="(wmi|(dell|ideapad)[-_]laptop)"
    IFACEMATCHES="(wlan[0-9]|eth[0-9])"
    DMESGMATCHES="(firmware|[nN]etwork|sdio|SDIO)"
    NMPROFMATCHES="\(\[connection\]\|id=\|type=\|permissions=\|autoconnect=\|\[802-11-wireless\]\|\[wifi\]\|ssid=\|bssid=\|mac-address\(-blacklist\)\?=\|mtu=\|\[802-1x\]\|[[:graph:]]*ca-certs\?=\|\[ipv[46]\]\|method=\)"

    DMESGEXCL="apparmor|(cfg|mac)80211"
    MODINFOINCL="filename|license|description|depends| retpoline|intree|name|vermagic|parm"
    MODPROBEXCL="(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nv idia|fbdev|bumblebee)"
    PMUTILSEXCL="/etc/pm/(power.d/(95hdparm-apm|intel-audio-powersave|sata_alpm)|sleep.d/(10_grub-common|10_unattended-upgrades.*|novatel_3g.*))"

    NETMGRNAMES=("NetworkManager" "Wicd" "ConnMan")
    NETMGRPATHS=("/usr/sbin/NetworkManager" "/usr/sbin/wicd" "/usr/sbin/connmand")
    DEC2BI=({0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1} {0..1})
    DEC2HEX=($(printf "%02x " {0..255}))

    export LANG="en_US.UTF-8"
    export LANGUAGE="en_US:en"
    export LC_ALL="en_US.UTF-8"

    if [ -t 0 ]; then
    DIALOGAPP="terminal"
    DIALOGBREAK=" "
    TERMOUT="yes"
    elif [ -x /usr/bin/zenity ]; then
    DIALOGAPP="zenity"
    DIALOGBREAK="\n"
    elif [ -x /usr/bin/kdialog ]; then
    DIALOGAPP="kdialog"
    DIALOGBREAK="\n"
    else
    exit 1
    fi

    if [ -t 0 ]; then
    SUDO="sudo"
    elif [ -x /usr/bin/pkexec ]; then
    SUDO="pkexec"
    elif [ -x /usr/bin/gksudo ]; then
    SUDO="gksudo"
    GKSUDO="yes"
    elif [ -x /usr/bin/kdesudo ]; then
    SUDO="kdesudo"
    KDESUDO="yes"
    KDESUDOCMT=" needs administrative privileges. Please enter your password."
    fi

    dialog_info () {
    case $DIALOGAPP in
    terminal)
    printf "%b\n" "$1"
    ;;
    zenity)
    zenity --info --text="$1"
    ;;
    kdialog)
    kdialog --msgbox "$1"
    ;;
    esac
    }

    dialog_error () {
    case $DIALOGAPP in
    terminal)
    printf "%b\n" "$1" >&2
    ;;
    zenity)
    zenity --error --text="$1"
    ;;
    kdialog)
    kdialog --error "$1"
    ;;
    esac
    }

    dialog_question () {
    case $DIALOGAPP in
    terminal)
    local INPUT
    read -r -p "$1 [Y/n]: " INPUT
    echo "${INPUT,,}"
    ;;
    zenity)
    zenity --question --text="$1" || echo "no"
    ;;
    kdialog)
    kdialog --yesno "$1" || echo "no"
    ;;
    esac
    }

    ip6-mac () {
    for MAC in "$@"; do
    OCT1BI=${DEC2BI[0x${MAC:0:2}]}
    OCT1BI7=$((${OCT1BI:6:1} - 1))
    OCT1BIM="${OCT1BI:0:6}${OCT1BI7#-}${OCT1BI:7}"
    IP6S+=${IP6S:+$'\n'}"${DEC2HEX[2#$OCT1BIM]}${MAC:3:2}:${MAC:6:2}ff:fe${MAC:9:2}:${MAC:12:2}$ {MAC:15:2}"
    done
    sed 's/\(^\|:\)0\+\([[:alnum:]]\)/\1\2/g;s/^\([0:]\+\)/\\(::\\|\1\\)/' <<< "$IP6S"
    }

    exec 3>&1 4>&2
    exec 1> "$OUTPUTDIR/$FILEBASE.txt" || {
    dialog_error "${TERMOUT+\n}Cannot write output file in \"$OUTPUTDIR\",${DIALOGBREAK}trying in \"$OUTPUTDIRFB\" instead.${TERMOUT+\n}"
    OUTPUTDIR="$OUTPUTDIRFB"
    exec 1> "$OUTPUTDIR/$FILEBASE.txt" || {
    dialog_error "${TERMOUT+\n}Cannot write output file in \"$OUTPUTDIR\" either, aborting.${TERMOUT+\n}"
    exit 1
    }
    }
    exec 2>&1

    printf "\n########## wireless info START ##########\n\n"
    REPORTDATE=$(date +"%d %b %Y %H:%M %Z %z")
    SCRIPTDATE=$(date -u -d "$SCRIPTDATE" +"%d %b %Y %H:%M %Z %z")
    LASTBOOTDT=$(last -FRn 1 reboot | sed -n 's/.*system boot[ ]\+\(.\+\) - .*/\1/p')
    LASTBOOTDT=$(date -d "$LASTBOOTDT" +"%d %b %Y %H:%M %Z %z")
    printf "Report from: %s\n\n" "$REPORTDATE"
    printf "Booted last: %s\n\n" "$LASTBOOTDT"
    printf "Script from: %s\n" "$SCRIPTDATE"

    printf "\n##### release ###########################\n\n"
    lsb_release -idrc

    printf "\n##### kernel ############################\n\n"
    uname -srvmpio
    echo
    sed 's/root=[^ ]*//;s/[ ]\+/, /g;s/^BOOT_IMAGE=[^ ]*/Parameters:/' /proc/cmdline

    printf "\n##### desktop ###########################\n\n"
    if [ -n "$DESKTOP_SESSION" ]; then
    DESKTOP="$DESKTOP_SESSION"
    else
    DESKTOP=$(sed -n 's/^Session=\(.\+\)$/\1/p' "$HOME/.dmrc")
    DESKDMRC=" (from ~/.dmrc)"
    fi
    if [ -n "$DESKTOP" ]; then
    if [ -f "/usr/share/xsessions/$DESKTOP.desktop" ]; then
    DESKTOP=$(sed -n 's/^Name=\(.\+\)$/\1/p' "/usr/share/xsessions/$DESKTOP.desktop")
    fi
    echo "${DESKTOP/ Session/}${DESKDMRC}"
    else
    printf "\nCould not be determined.\n"
    fi

    printf "\n##### lspci #############################\n\n"
    lspci -nnk | grep -iA 3 '^[^[:space:]].*net' | sed '/^--$/d; /^[^[:space:]]/ i\\'

    printf "\n##### lsusb #############################\n\n"
    lsusb

    printf "\n##### PCMCIA card info ##################\n\n"
    if [ -x /sbin/pccardctl ]; then
    pccardctl info
    else
    echo "'pccardctl' is not installed (package \"pcmciautils\")."
    fi

    printf "\n##### rfkill ############################\n\n"
    rfkill list all

    printf "\n##### secure boot #######################\n\n"
    if [ -x /usr/bin/mokutil ]; then
    mokutil --sb
    else
    echo "'mokutil' is not installed (package \"mokutil\")."
    fi

    printf "\n##### lsmod #############################\n\n"
    LSMOD=$(lsmod | egrep "(^|[[unct:] ])($MODMATCHES|$LSMODMATCHES)[^[unct:] ]*([[unct:] ]|$)")
    echo "$LSMOD"

    printf "\n##### dkms #############################\n\n"
    dkms status

    printf "\n##### interfaces ########################\n\n"
    for IFACESFILE in $(find /etc/network/interfaces{,.d} -type f 2> /dev/null | sort); do
    IFACESFLCNT=$(sed '/^#/d;s/^wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' $IFACESFILE)
    if [ -n "$IFACESFLCNT" ]; then
    printf "[%s]\n%s\n\n" "$IFACESFILE" "$IFACESFLCNT"
    fi
    done

    printf "\n##### ifconfig ##########################\n\n"
    if [ -x /bin/ip ]; then
    IFCONFIG=$(ip address show)
    elif [ -x /sbin/ifconfig ]; then
    IFCONFIG=$(ifconfig -a)
    else
    echo "'ip' is not installed (package \"iproute2\")."
    fi
    echo "$IFCONFIG"
    IFCONFIG=$(sed -n '1h; 1!H; ${g;s/\n /\\ /g;p}' <<< "$IFCONFIG")
    IFACESETH=($(sed -n 's#^[0-9]\+: \([^ :]\+\):.* link/ether.*#\1#p; s/^\([^ :]\+\):\?.* \(Link encap:Ethernet\|ether\).*/\1/p' <<< "$IFCONFIG"))
    if (( ${#IFACESETH[@]} > 0 )); then
    IFETHMATCHES=${IFACESETH[@]}
    IFACEMATCHES="($IFACEMATCHES|(${IFETHMATCHES// /|}))"
    fi

    printf "\n##### iwconfig ##########################\n\n"
    iwconfig

    printf "\n##### route #############################\n\n"
    if [ -x /bin/ip ]; then
    ip route show
    elif [ -x /sbin/route ]; then
    route -n
    else
    echo "'ip' is not installed (package \"iproute2\")."
    fi

    printf "\n##### resolv.conf #######################\n\n"
    stat -c "[%a %U %N]" /etc/resolv.conf
    grep -v '^#' /etc/resolv.conf

    printf "\n##### network managers ##################\n\n"
    printf "Installed:\n\n"
    for NETMGRNR in "${!NETMGRPATHS[@]}"; do
    if [ -f "${NETMGRPATHS[$NETMGRNR]}" ]; then
    NETMGRINST+=("${NETMGRNAMES[$NETMGRNR]}")
    fi
    done
    printf "\t%s\n" "${NETMGRINST[@]:-None found.}"
    NETMGRMATCHES=${NETMGRPATHS[@]/#*\//|}
    NETMGRMATCHES=${NETMGRMATCHES// |/|}
    NETMGRMATCHES="(${NETMGRMATCHES#|})"
    printf "\nRunning:\n\n"
    ps -ef | egrep "( |/)$NETMGRMATCHES($| )" || printf "\tNone found.\n"

    printf "\n##### NetworkManager info ###############\n\n"
    if [ -x /usr/bin/nm-tool ]; then
    nm-tool
    elif [ -x /usr/bin/nmcli ]; then
    nmcli -f all device show | sed '/^GENERAL.DEVICE:[ ]\+lo$/,/^$/d; /^AP\[[0-9]\+\]\./d'
    echo
    nmcli -f SSID,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURIT Y,ACTIVE,IN-USE device wifi list
    else
    echo "NetworkManager is not installed (package \"network-manager\")."
    fi

    printf "\n##### NetworkManager.state ##############\n\n"
    "$SUDO" cat -s /var/lib/NetworkManager/NetworkManager.state

    printf "\n##### NetworkManager config #############\n\n"
    for NMCONFFILE in $(find /{etc,usr/lib}/NetworkManager/{NetworkManager.conf,conf.d} -name "*.conf" 2> /dev/null | sort); do
    NMCONFCNT=$(egrep -v '^(#|$)' $NMCONFFILE)
    if [ -n "$NMCONFCNT" ]; then
    printf "[[%s]]\n%s\n\n" "$NMCONFFILE" "$NMCONFCNT"
    fi
    done

    printf "\n##### NetworkManager profiles ###########\n\n"
    if [ -d /etc/NetworkManager/system-connections ]; then
    if [ -n "$SUDO" ]; then
    trap "" 2 3
    NMPROFILES=$(find /etc/NetworkManager/system-connections -maxdepth 1 -type f -exec $SUDO${GKSUDO+ -D grep --}${KDESUDO+ -d --comment "<b>grep</b>$KDESUDOCMT" --} grep -vH '^$' {} +) && SUDOSUCCESS="yes" || SUDOSUCCESS="no"
    trap 2 3
    if [ "$SUDOSUCCESS" = "yes" ]; then
    ORIGIFS="$IFS"
    IFS=$'\n'
    for NMWLPRFFILE in $(sed -n 's/^\(.\+\):type=\(802-11-wireless\|wifi\).*$/\1/p' <<< "$NMPROFILES"); do
    NMWLPRFFLPERMS=$(stat -c "%a %U" "$NMWLPRFFILE")
    NMWLPROFILE=($(sed -n "s;^$NMWLPRFFILE:\($NMPROFMATCHES.*\)$;\1 |;p" <<< "$NMPROFILES"))
    NMWLPROFSOUT+="[[$NMWLPRFFILE]] ($NMWLPRFFLPERMS)"$'\n'"${NMWLPROFILE[@]}"$'\n\n'
    done
    IFS="$ORIGIFS"
    sed 's# | \[#\n\[#g;s#\] |#\]#g;s/ |$//' <<< "$NMWLPROFSOUT" | sed '/^\[[^]]*\]$/d'
    else
    printf "\nAcquisition of admin privileges failed.\n"
    fi
    else
    echo "No way to acquire admin privileges found."
    fi
    else
    echo "No NetworkManager profiles found."
    fi

    printf "\n##### Netplan config ####################\n\n"
    for NPLANFILE in $(find /{lib,etc,run}/netplan -name "*.yaml" 2> /dev/null | sort); do
    NPLANFLCNT=$(egrep -v '^(#|$)' $NPLANFILE)
    if [ -n "$NPLANFLCNT" ]; then
    printf "[%s]\n%s\n\n" "$NPLANFILE" "$NPLANFLCNT"| egrep -v "password|mac|MAC"
    fi
    done

    printf "\n##### iw reg get ########################\n\n"
    if [ -x /sbin/iw ]; then
    if IWREGGET=$(iw reg get 2>&1) && [ -f /etc/timezone ]; then
    REGION=$(cat /etc/timezone)
    printf "Region: %s (based on set time zone)\n\n" "$REGION"
    fi
    echo "$IWREGGET"
    else
    echo "'iw' is not installed (package \"iw\")."
    fi

    printf "\n##### iwlist channels ###################\n\n"
    if [ -x /sbin/iwlist ]; then
    iwlist chan
    else
    echo "'iwlist' is not installed (package \"wireless-tools\")."
    fi

    printf "\n##### iwlist scan #######################\n\n"
    if [ -x /sbin/iwlist ]; then
    if [ -n "$SUDO" ]; then
    trap "" 2 3
    IWLISTSCAN=$($SUDO${KDESUDO+ -d} iwlist scan) && SUDOSUCCESS="yes" || SUDOSUCCESS="no"
    trap 2 3
    if [ "$SUDOSUCCESS" = "yes" ]; then
    if [[ $IWLISTSCAN = *Frequency:* ]]; then
    printf "Channel occupancy:\n\n"
    grep '^[ ]*Frequency:' <<< "$IWLISTSCAN" | sort | uniq -c | sed 's/^[ ]\+\([ ][0-9]\+\)[ ]\+/ \1 APs on /'
    echo
    fi
    grep -v '^[ ]*IE: Unknown:' <<< "$IWLISTSCAN"
    else
    printf "\nAcquisition of admin privileges failed.\n"
    fi
    else
    echo "No way to acquire admin privileges found."
    fi
    else
    echo "'iwlist' is not installed (package \"wireless-tools\")."
    fi

    printf "\n##### module infos ######################\n\n"
    MODULES=$(egrep -o "^$MODMATCHES[^ ]*" <<< "$LSMOD")
    for MODULE in $MODULES; do
    MODINFO=$(modinfo $MODULE | egrep -i "^$MODINFOINCL:")
    printf "[%s]\n%s\n\n" "$MODULE" "$MODINFO"
    done

    printf "\n##### module parameters #################\n\n"
    for MODULE in $MODULES; do
    if [ -d /sys/module/$MODULE/parameters ]; then
    MODPARAMS=$(grep -H '^[[:graph:]]' /sys/module/$MODULE/parameters/* | sed 's#^.*/##;s/:/: /')
    printf "[%s]\n%s\n\n" "$MODULE" "$MODPARAMS"
    fi
    done

    printf "\n##### /etc/modules ######################\n\n"
    grep -v '^#' /etc/modules

    printf "\n##### modprobe options ##################\n\n"
    for MODPROBEFILE in $(find /etc/modprobe.{conf,d} -name "*.conf" -regextype posix-egrep -not -regex ".*$MODPROBEXCL.*" 2> /dev/null | sort); do
    MODPROBEOPTS=$(egrep -v '^(#|$)' $MODPROBEFILE)
    if [ -n "$MODPROBEOPTS" ]; then
    printf "[%s]\n%s\n\n" "$MODPROBEFILE" "$MODPROBEOPTS"
    fi
    done

    printf "\n##### rc.local ##########################\n\n"
    grep -v '^#' /etc/rc.local

    printf "\n##### pm-utils ##########################\n\n"
    for PMUTILSFILE in $(find /etc/pm/*.d \( -type f -o -type l \) -regextype posix-egrep -not -regex "$PMUTILSEXCL" | sort); do
    PMUTFLCONT=$(egrep -v '^(#|$)' $PMUTILSFILE)
    if [ -n "$PMUTFLCONT" ]; then
    PMUTFLPERMS=$(stat -c "%a %U" $PMUTILSFILE)
    printf "[%s] (%s)\n%s\n\n" "$PMUTILSFILE" "$PMUTFLPERMS" "$PMUTFLCONT"
    fi
    done

    printf "\n##### udev rules ########################\n\n"
    for UDEVRLFILE in $(find /etc/udev/rules.d -name "*net*.rules" | sort); do
    UDEVRULES=$(grep -B1 '^[^#]' $UDEVRLFILE | egrep -v '^(--)?$')
    if [ -n "$UDEVRULES" ]; then
    printf "[%s]\n%s\n\n" "$UDEVRLFILE" "$UDEVRULES"
    fi
    done

    printf "\n##### dmesg #############################\n\n"
    "$SUDO" dmesg | tail -n 100 | egrep "[[unct:] ]($MODMATCHES|$IFACEMATCHES|$DMESGMATCHES)[^[unct:] ]*[[unct:] ]" | egrep -v "$DMESGEXCL" | uniq -cf 2 | sed 's/^[ ]\+1[ ]\+//;s/^[ ]\+\([0-9]\+\)[ ]\+\(.\+\)$/\2 (repeated \1 times)/'

    printf "\n########## wireless info END ############\n\n"

    exec 2>&4 4>&-
    exec 1>&3 3>&-

    ##### MAC address masking #####

    RESULTS=$(cat -s "$OUTPUTDIR/$FILEBASE.txt")$'\n'

    ORIGIFS="$IFS"
    IFS=$'\n'

    IFACESIDS=($(sed -n "/\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}/ {/\(00:\)\{5\}00/! {s/^[0-9]\+: \([^ :]\+\):.*/'\1'/p; s/^\([^ :]\+\):\? .*/'\1'/p}}" <<< "$IFCONFIG"))
    IFACESMACS=($(sed -n '/\(00:\)\{5\}00/! s#.*\(HWaddr\|link/[^ ]\+\|ether\) \(\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}\).*#\2#p' <<< "$IFCONFIG"))
    IFACESIP6S=($(ip6-mac "${IFACESMACS[@]}"))

    WLAPSIWLIDS=($(sed -n "/^[ ]*Cell [0-9]\+/,/^[ ]*ESSID:/ {/^[ ]*Cell [0-9]\+/h; /^[ ]*ESSID:/ {H;g;s/^[ ]*Cell 0\?\([0-9]\+\).*ESSID:\"\(.*\)\"$/'\2' [AC\1]/p}}" <<< "$IWLISTSCAN"))
    WLAPSIWLMACS=($(sed -n 's/^[ ]*Cell [0-9]\+.*Address: \([^ ]\+\)/\1/p' <<< "$IWLISTSCAN"))
    WLAPSIWLIP6S=($(ip6-mac "${WLAPSIWLMACS[@]}"))

    WLAPSNMRAW=$(sed -n '/^##### NetworkManager info #####/,/^##### / {/^[ ]*Wireless Access Points/,/^$/ {/Wireless Access Points/d;s/^[ ]\+\*\?//;s/:[ ]\+/\t/;p}; /^SSID[ ]\+BSSID[ ]\+/,/^$/ {/^SSID[ ]\{2,\}BSSID[ ]\{2,\}/d;s/[ ]\{2,\}/\t/;p}}' <<< "$RESULTS")
    WLAPSNMIDS=($(awk -F '\t' '{print "'\''" $1 "'\''"}' <<< "$WLAPSNMRAW"))
    WLAPSNMMACS=($(grep -o '\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}' <<< "$WLAPSNMRAW"))
    WLAPSNMIP6S=($(ip6-mac "${WLAPSNMMACS[@]}"))

    IFS="$ORIGIFS"

    for IFACENR in "${!IFACESMACS[@]}"; do
    MACMASKSED+="s;${IFACESMACS[$IFACENR]};<MAC ${IFACESIDS[$IFACENR]} [IF$(($IFACENR + 1))]>;I;"
    MACMASKSED+=" /${IFACESIP6S[$IFACENR]}/ s;${IFACESIP6S[$IFACENR]/#\\(::/\(};<IP6 ${IFACESIDS[$IFACENR]} [IF$(($IFACENR + 1))]>;I;"
    IFACEMACC=${IFACESMACS[$IFACENR]//:/}
    if [[ ${IFACESIDS[$IFACENR],,} =~ ${IFACEMACC,,} ]]; then
    MACMASKSED+="s;\(${IFACESIDS[$IFACENR]:1:3}\)$IFACEMACC;\1<IF from MAC [IF$(($IFACENR + 1))]>;Ig;"
    fi
    done

    for WLAPIWLNR in "${!WLAPSIWLMACS[@]}"; do
    MACMASKSED+="s;${WLAPSIWLMACS[$WLAPIWLNR]};<MAC ${WLAPSIWLIDS[$WLAPIWLNR]}>;I;"
    MACMASKSED+=" /${WLAPSIWLIP6S[$WLAPIWLNR]}/ s;${WLAPSIWLIP6S[$WLAPIWLNR]/#\\(::/\(};<IP6 ${WLAPSIWLIDS[$WLAPIWLNR]}>;I;"
    done

    for WLAPNMNR in "${!WLAPSNMMACS[@]}"; do
    MACMASKSED+="s;${WLAPSNMMACS[$WLAPNMNR]};<MAC ${WLAPSNMIDS[$WLAPNMNR]} [AN$(($WLAPNMNR + 1))]>;I;"
    MACMASKSED+=" /${WLAPSNMIP6S[$WLAPNMNR]}/ s;${WLAPSNMIP6S[$WLAPNMNR]/#\\(::/\(};<IP6 ${WLAPSNMIDS[$WLAPNMNR]} [AN$(($WLAPNMNR + 1))]>;I;"
    done

    sed "$MACMASKSED /\([[:alnum:]]\{2\}:\)\{6,\}/! s/\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}/<MAC address>/g" <<< "$RESULTS" > "$OUTPUTDIR/$FILEBASE.txt"

    ##### The End #####

    dialog_info "${TERMOUT+\n}Results saved in \"$OUTPUTDIR/$FILEBASE.txt\".${TERMOUT+\n}"

    if (( $(stat -c %s "$OUTPUTDIR/$FILEBASE.txt") > 19968 )); then
    tar -czf "$OUTPUTDIR/$FILEBASE.tar.gz" -C "$OUTPUTDIR" "$FILEBASE.txt" && \
    dialog_info "Results also archived in \"$OUTPUTDIR/$FILEBASE.tar.gz\",${DIALOGBREAK}as they exceed the 19.5 kB size limit for \".txt\" attachments${DIALOGBREAK}on the Ubuntu Forums.${TERMOUT+\n}" || \
    dialog_error "Results exceed the 19.5 kB size limit for \".txt\" attachments${DIALOGBREAK}on the Ubuntu Forums, but archive could not be created.${TERMOUT+\n}"
    fi

    if [ -x /usr/bin/nc ] && ping -nc 3 -w 6 -i 0.2 termbin.com > /dev/null 2>&1; then
    PASTEBIN=$(dialog_question "Do you also want to post them${DIALOGBREAK}to your default 'pastebinit' provider?")
    if [[ ! $PASTEBIN =~ ^no?$ ]]; then
    PASTERESULT=$(cat "$OUTPUTDIR/$FILEBASE.txt"|nc termbin.com 9999) && PASTESUCCESS="yes"
    if [ "$PASTESUCCESS" = "yes" ]; then
    dialog_info "${TERMOUT+\n}Pastebin successful:\n\n${PASTERESULT}${TERMOUT+\n}"
    else
    if [ -n "$PASTERESULT" ]; then
    dialog_error "${TERMOUT+\n}Pastebin failed, error message is:\n\n${PASTERESULT}${TERMOUT+\n}"
    else
    dialog_error "${TERMOUT+\n}Pastebin failed, no error message given.${TERMOUT+\n}"
    fi
    fi
    else
    echo
    fi
    fi

  4. #4
    Join Date
    May 2014
    Location
    /home
    Beans
    11,166
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: RTL8812au problem in 22.04

    That is the script itself not the wireless-info.txt file with the results

  5. #5
    Join Date
    Sep 2024
    Beans
    4

    Re: RTL8812au problem in 22.04

    This is the wireless-info.text readout:
    ########## wireless info START ##########

    Report from: 18 Sep 2024 19:41 PDT -0700

    Booted last: 18 Sep 2024 00:00 PDT -0700

    Script from: 27 Aug 2024 10:55 UTC +0000

    ##### release ###########################

    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.5 LTS
    Release: 22.04
    Codename: jammy

    ##### kernel ############################

    Linux 5.15.0-121-generic #131-Ubuntu SMP Fri Aug 9 08:29:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

    Parameters: ro, quiet, splash, vt.handoff=7

    ##### desktop ###########################

    Ubuntu

    ##### lspci #############################

    25:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7a38]
    Kernel driver in use: r8169
    Kernel modules: r8169

    ##### lsusb #############################

    Bus 004 Device 002: ID 1058:25e1 Western Digital Technologies, Inc. My Passport (WD20NMVW)
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 006: ID 154b:00ee PNY USB 2.0 FD
    Bus 003 Device 026: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    Bus 003 Device 021: ID 154b:6545 PNY FD Device
    Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 003 Device 003: ID 0480:a004 Toshiba America Inc External USB HDD
    Bus 003 Device 002: ID 050d:0224 Belkin Components F5U224 USB 2.0 4-Port Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
    Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    ##### PCMCIA card info ##################

    ##### rfkill ############################

    9: phy10: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

    ##### secure boot #######################

    SecureBoot disabled
    Platform is in Setup Mode

    ##### lsmod #############################

    rt2800usb 32768 0
    rt2x00usb 24576 1 rt2800usb
    rt2800lib 139264 1 rt2800usb
    rt2x00lib 73728 3 rt2800usb,rt2x00usb,rt2800lib
    mac80211 1253376 3 rt2x00lib,rt2x00usb,rt2800lib
    libarc4 16384 1 mac80211
    cfg80211 974848 3 rt2x00lib,mac80211,88XXau
    wmi_bmof 16384 0
    wmi 32768 1 wmi_bmof

    ##### dkms #############################

    8812au/5.6.4.2_35491.20191025, 5.15.0-119-generic, x86_64: installed
    8812au/5.6.4.2_35491.20191025, 5.15.0-121-generic, x86_64: installed

    ##### interfaces ########################

    [/etc/network/interfaces]
    auto lo
    iface lo inet loopback

    ##### ifconfig ##########################

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp37s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether <MAC 'enp37s0' [IF1]> brd <MAC address>
    12: wlx<IF from MAC [IF2]>: <BROADCAST,MULTICAST> mtu 2312 qdisc mq state DOWN group default qlen 1000
    link/ether <MAC 'wlx<IF from MAC [IF2]>' [IF2]> brd <MAC address>

    ##### iwconfig ##########################

    lo no wireless extensions.

    enp37s0 no wireless extensions.

    wlx<IF from MAC [IF2]> unassociated ESSID:"" Nickname:"<WIFI@REALTEK>"
    Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
    Sensitivity:0/0
    Retryff RTS thrff Fragment thrff
    Power Managementff
    Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    ##### route #############################

    ##### resolv.conf #######################

    [777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

    nameserver 127.0.0.53
    options edns0 trust-ad
    search .

    ##### network managers ##################

    Installed:

    NetworkManager

    Running:

    root 1549 1 0 Sep12 ? 00:00:28 /usr/sbin/NetworkManager --no-daemon

    ##### NetworkManager info ###############

    GENERAL.DEVICE: enp37s0
    GENERAL.TYPE: ethernet
    GENERAL.NM-TYPE: NMDeviceEthernet
    GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/2
    GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
    GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    GENERAL.DRIVER: r8169
    GENERAL.DRIVER-VERSION: 5.15.0-121-generic
    GENERAL.FIRMWARE-VERSION: --
    GENERAL.HWADDR: <MAC 'enp37s0' [IF1]>
    GENERAL.MTU: 1500
    GENERAL.STATE: 20 (unavailable)
    GENERAL.REASON: 2 (Device is now managed)
    GENERAL.IP4-CONNECTIVITY: 1 (none)
    GENERAL.IP6-CONNECTIVITY: 1 (none)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.2/0000:12:00.2/0000:20:04.0/0000:25:00.0/net/enp37s0
    GENERAL.PATH: pci-0000:25:00.0
    GENERAL.IP-IFACE: --
    GENERAL.IS-SOFTWARE: no
    GENERAL.NM-MANAGED: yes
    GENERAL.AUTOCONNECT: yes
    GENERAL.FIRMWARE-MISSING: no
    GENERAL.NM-PLUGIN-MISSING: no
    GENERAL.PHYS-PORT-ID: --
    GENERAL.CONNECTION: --
    GENERAL.CON-UUID: --
    GENERAL.CON-PATH: --
    GENERAL.METERED: unknown
    CAPABILITIES.CARRIER-DETECT: yes
    CAPABILITIES.SPEED: unknown
    CAPABILITIES.IS-SOFTWARE: no
    CAPABILITIES.SRIOV: no
    INTERFACE-FLAGS.UP: yes
    INTERFACE-FLAGS.LOWER-UP: no
    INTERFACE-FLAGS.CARRIER: no
    INTERFACE-FLAGS.PROMISC: no
    WIRED-PROPERTIES.CARRIER: off
    IP4.GATEWAY: --
    IP6.GATEWAY: --
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

    GENERAL.DEVICE: wlx<IF from MAC [IF2]>
    GENERAL.TYPE: wifi
    GENERAL.NM-TYPE: NMDeviceWifi
    GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/12
    GENERAL.VENDOR: Linksys
    GENERAL.PRODUCT: WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    GENERAL.DRIVER: rtl88XXau
    GENERAL.DRIVER-VERSION: 5.15.0-121-generic
    GENERAL.FIRMWARE-VERSION: --
    GENERAL.HWADDR: <MAC 'wlx<IF from MAC [IF2]>' [IF2]>
    GENERAL.MTU: 2312
    GENERAL.STATE: 20 (unavailable)
    GENERAL.REASON: 0 (No reason given)
    GENERAL.IP4-CONNECTIVITY: 1 (none)
    GENERAL.IP6-CONNECTIVITY: 1 (none)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:08.1/0000:29:00.3/usb3/3-5/3-5.2/3-5.2:1.0/net/wlx<IF from MAC [IF2]>
    GENERAL.PATH: pci-0000:29:00.3-usb-0:5.2:1.0
    GENERAL.IP-IFACE: --
    GENERAL.IS-SOFTWARE: no
    GENERAL.NM-MANAGED: yes
    GENERAL.AUTOCONNECT: yes
    GENERAL.FIRMWARE-MISSING: no
    GENERAL.NM-PLUGIN-MISSING: no
    GENERAL.PHYS-PORT-ID: --
    GENERAL.CONNECTION: --
    GENERAL.CON-UUID: --
    GENERAL.CON-PATH: --
    GENERAL.METERED: unknown
    CAPABILITIES.CARRIER-DETECT: no
    CAPABILITIES.SPEED: unknown
    CAPABILITIES.IS-SOFTWARE: no
    CAPABILITIES.SRIOV: no
    INTERFACE-FLAGS.UP: no
    INTERFACE-FLAGS.LOWER-UP: no
    INTERFACE-FLAGS.CARRIER: no
    INTERFACE-FLAGS.PROMISC: no
    WIFI-PROPERTIES.WEP: yes
    WIFI-PROPERTIES.WPA: yes
    WIFI-PROPERTIES.WPA2: yes
    WIFI-PROPERTIES.TKIP: yes
    WIFI-PROPERTIES.CCMP: yes
    WIFI-PROPERTIES.AP: yes
    WIFI-PROPERTIES.ADHOC: yes
    WIFI-PROPERTIES.2GHZ: yes
    WIFI-PROPERTIES.5GHZ: yes
    WIFI-PROPERTIES.MESH: no
    WIFI-PROPERTIES.IBSS-RSN: no
    IP4.GATEWAY: --
    IP6.GATEWAY: --
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

    SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE

    ##### NetworkManager.state ##############

    [main]
    NetworkingEnabled=true
    WirelessEnabled=false
    WWANEnabled=true

    ##### NetworkManager config #############

    [[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
    [connection]
    wifi.powersave = 3

    [[/etc/NetworkManager/NetworkManager.conf]]
    [main]
    plugins=ifupdown,keyfile
    [ifupdown]
    managed=false
    [device]
    wifi.scan-rand-mac-address=no

    [[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
    [main]
    dns=systemd-resolved

    [[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
    [keyfile]
    unmanaged-devices=*,except:type:wifi,except:type:gsm,except: type:cdma

    [[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
    [connectivity]
    uri=http://connectivity-check.ubuntu.com./

    [[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
    [device-31-mac-addr-change]
    match-device=driver:eagle_sdio,driver:wl
    wifi.scan-rand-mac-address=no

    ##### NetworkManager profiles ###########

    [[/etc/NetworkManager/system-connections/cinnabear.nmconnection]] (600 root)
    [connection] id=cinnabear | type=wifi
    [wifi] ssid=cinnabear
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/CinnaBears_WIFI]] (600 root)
    [connection] id=CinnaBears_WIFI | type=wifi | permissions=
    [wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=CinnaBears_WIFI
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/Inappropriate Lesbians.nmconnection]] (600 root)
    [connection] id=Inappropriate Lesbians | type=wifi
    [wifi] ssid=Inappropriate Lesbians
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/cinnabears.nmconnection]] (600 root)
    [connection] id=cinnabears | type=wifi
    [wifi] ssid=cinnabears
    [ipv4] method=auto
    [ipv6] method=auto

    ##### Netplan config ####################

    [/etc/netplan/01-network-manager-all.yaml]
    network:
    version: 2
    renderer: NetworkManager

    ##### iw reg get ########################

    Region: America/Los_Angeles (based on set time zone)

    global
    country 00: DFS-UNSET
    (2402 - 2472 @ 40), (6, 20), (N/A)
    (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

    phy#10
    country 99: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), PASSIVE-SCAN
    (2474 - 2494 @ 40), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5140 - 5860 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN

    ##### iwlist channels ###################

    lo no frequency information.

    enp37s0 no frequency information.

    wlx<IF from MAC [IF2]> 32 channels in total; available frequencies :
    Channel 01 : 2.412 GHz
    Channel 02 : 2.417 GHz
    Channel 03 : 2.422 GHz
    Channel 04 : 2.427 GHz
    Channel 05 : 2.432 GHz
    Channel 06 : 2.437 GHz
    Channel 07 : 2.442 GHz
    Channel 08 : 2.447 GHz
    Channel 09 : 2.452 GHz
    Channel 10 : 2.457 GHz
    Channel 11 : 2.462 GHz
    Channel 36 : 5.18 GHz
    Channel 40 : 5.2 GHz
    Channel 44 : 5.22 GHz
    Channel 48 : 5.24 GHz
    Channel 52 : 5.26 GHz
    Channel 56 : 5.28 GHz
    Channel 60 : 5.3 GHz
    Channel 64 : 5.32 GHz
    Channel 100 : 5.5 GHz
    Channel 104 : 5.52 GHz
    Channel 108 : 5.54 GHz
    Channel 112 : 5.56 GHz
    Channel 116 : 5.58 GHz
    Channel 132 : 5.66 GHz
    Channel 136 : 5.68 GHz
    Channel 140 : 5.7 GHz
    Channel 149 : 5.745 GHz
    Channel 153 : 5.765 GHz
    Channel 157 : 5.785 GHz
    Channel 161 : 5.805 GHz
    Channel 165 : 5.825 GHz
    Current Frequency:2.412 GHz (Channel 1)

    ##### iwlist scan #######################

    lo Interface doesn't support scanning.

    enp37s0 Interface doesn't support scanning.

    wlx<IF from MAC [IF2]> Failed to read scan data : Resource temporarily unavailable

    ##### module infos ######################

    [rt2800usb]
    filename: /lib/modules/5.15.0-121-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
    license: GPL
    description: Ralink RT2800 USB Wireless LAN driver.
    depends: rt2x00lib,rt2800lib,rt2x00usb
    retpoline: Y
    intree: Y
    name: rt2800usb
    vermagic: 5.15.0-121-generic SMP mod_unload modversions
    parm: nohwcryptisable hardware encryption. (bool)

    [rt2x00usb]
    filename: /lib/modules/5.15.0-121-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
    license: GPL
    description: rt2x00 usb library
    depends: rt2x00lib,mac80211
    retpoline: Y
    intree: Y
    name: rt2x00usb
    vermagic: 5.15.0-121-generic SMP mod_unload modversions

    [rt2800lib]
    filename: /lib/modules/5.15.0-121-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
    license: GPL
    description: Ralink RT2800 library
    depends: rt2x00lib,mac80211
    retpoline: Y
    intree: Y
    name: rt2800lib
    vermagic: 5.15.0-121-generic SMP mod_unload modversions
    parm: watchdog:Enable watchdog to detect tx/rx hangs and reset hardware if detected (bool)

    [rt2x00lib]
    filename: /lib/modules/5.15.0-121-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
    license: GPL
    description: rt2x00 library
    depends: mac80211,cfg80211
    retpoline: Y
    intree: Y
    name: rt2x00lib
    vermagic: 5.15.0-121-generic SMP mod_unload modversions

    [mac80211]
    filename: /lib/modules/5.15.0-121-generic/kernel/net/mac80211/mac80211.ko
    license: GPL
    description: IEEE 802.11 subsystem
    depends: cfg80211,libarc4
    retpoline: Y
    intree: Y
    name: mac80211
    vermagic: 5.15.0-121-generic SMP mod_unload modversions
    parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
    parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
    parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
    parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
    parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
    parm: ieee80211_default_rc_algoefault rate control algorithm for mac80211 to use (charp)

    [cfg80211]
    filename: /lib/modules/5.15.0-121-generic/kernel/net/wireless/cfg80211.ko
    description: wireless configuration support
    license: GPL
    depends:
    retpoline: Y
    intree: Y
    name: cfg80211
    vermagic: 5.15.0-121-generic SMP mod_unload modversions
    parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
    parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
    parm: cfg80211_disable_40mhz_24ghzisable 40MHz support in the 2.4GHz band (bool)

    ##### module parameters #################

    [rt2800usb]
    nohwcrypt: N

    [rt2800lib]
    watchdog: N

    [mac80211]
    beacon_loss_count: 7
    ieee80211_default_rc_algo: minstrel_ht
    max_nullfunc_tries: 2
    max_probe_tries: 5
    minstrel_vht_only: Y
    probe_wait_ms: 500

    [cfg80211]
    bss_entries_limit: 1000
    cfg80211_disable_40mhz_24ghz: N
    ieee80211_regdom: 00

    ##### /etc/modules ######################

    ##### modprobe options ##################

    [/etc/modprobe.d/88x2bu.conf]
    blacklist rtw88_8822bu
    options 88x2bu rtw_switch_usb_mode=0 rtw_led_ctrl=1

    [/etc/modprobe.d/amd64-microcode-blacklist.conf]
    blacklist microcode

    [/etc/modprobe.d/blacklist-ath_pci.conf]
    blacklist ath_pci

    [/etc/modprobe.d/blacklist.conf]
    blacklist evbug
    blacklist usbmouse
    blacklist usbkbd
    blacklist eepro100
    blacklist de4x5
    blacklist eth1394
    blacklist snd_intel8x0m
    blacklist snd_aw2
    blacklist prism54
    blacklist bcm43xx
    blacklist garmin_gps
    blacklist asus_acpi
    blacklist snd_pcsp
    blacklist pcspkr
    blacklist amd76x_edac

    [/etc/modprobe.d/blacklist-rare-network.conf]
    alias net-pf-3 off
    alias net-pf-6 off
    alias net-pf-9 off
    alias net-pf-11 off
    alias net-pf-12 off
    alias net-pf-19 off
    alias net-pf-21 off
    alias net-pf-36 off

    [/etc/modprobe.d/intel-microcode-blacklist.conf]
    blacklist microcode

    [/etc/modprobe.d/iwlwifi.conf]
    remove iwlwifi \
    (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    && /sbin/modprobe -r mac80211

    [/etc/modprobe.d/rtw88_8822bu.conf]
    blacklist rtw88_8822bu

    ##### rc.local ##########################

    grep: /etc/rc.local: No such file or directory

    ##### pm-utils ##########################

    ##### udev rules ########################

    ##### dmesg #############################

    ########## wireless info END ############


  6. #6
    Join Date
    May 2014
    Location
    /home
    Beans
    11,166
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: RTL8812au problem in 22.04

    Your wifi is soft blocked
    Code:
    rfkill unblock all
    You also seem to have wifi disabled in system settings

  7. #7
    Join Date
    Sep 2024
    Beans
    4

    Re: RTL8812au problem in 22.04

    I executed rfkill unblock & rebooted. The soft block is unblocked, but the program is still not connecting to the wireless adapter. Here is the new readout from the wireless script program:
    ########## wireless info START ##########

    Report from: 21 Sep 2024 15:09 PDT -0700

    Booted last: 21 Sep 2024 00:00 PDT -0700

    Script from: 27 Aug 2024 10:55 UTC +0000

    ##### release ###########################

    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.5 LTS
    Release: 22.04
    Codename: jammy

    ##### kernel ############################

    Linux 5.15.0-121-generic #131-Ubuntu SMP Fri Aug 9 08:29:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

    Parameters: ro, quiet, splash, vt.handoff=7

    ##### desktop ###########################

    Ubuntu

    ##### lspci #############################

    25:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7a38]
    Kernel driver in use: r8169
    Kernel modules: r8169

    ##### lsusb #############################

    Bus 004 Device 002: ID 1058:25e1 Western Digital Technologies, Inc. My Passport (WD20NMVW)
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 007: ID 154b:00ee PNY USB 2.0 FD
    Bus 003 Device 006: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    Bus 003 Device 005: ID 154b:6545 PNY FD Device
    Bus 003 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 003 Device 003: ID 0480:a004 Toshiba America Inc External USB HDD
    Bus 003 Device 002: ID 050d:0224 Belkin Components F5U224 USB 2.0 4-Port Hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
    Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    ##### PCMCIA card info ##################

    ##### rfkill ############################

    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

    ##### secure boot #######################

    SecureBoot disabled
    Platform is in Setup Mode

    ##### lsmod #############################

    cfg80211 974848 1 88XXau
    wmi_bmof 16384 0
    wmi 32768 1 wmi_bmof

    ##### dkms #############################

    8812au/5.6.4.2_35491.20191025, 5.15.0-119-generic, x86_64: installed
    8812au/5.6.4.2_35491.20191025, 5.15.0-121-generic, x86_64: installed

    ##### interfaces ########################

    [/etc/network/interfaces]
    auto lo
    iface lo inet loopback

    ##### ifconfig ##########################

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp37s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether <MAC 'enp37s0' [IF1]> brd <MAC address>
    3: wlx<IF from MAC [IF2]>: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2312 qdisc mq state DORMANT group default qlen 1000
    link/ether <MAC 'wlx<IF from MAC [IF2]>' [IF2]> brd <MAC address>

    ##### iwconfig ##########################

    lo no wireless extensions.

    enp37s0 no wireless extensions.

    wlx<IF from MAC [IF2]> unassociated ESSID:"" Nickname:"<WIFI@REALTEK>"
    Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
    Sensitivity:0/0
    Retryff RTS thrff Fragment thrff
    Power Managementff
    Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    ##### route #############################

    ##### resolv.conf #######################

    [777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

    nameserver 127.0.0.53
    options edns0 trust-ad
    search .

    ##### network managers ##################

    Installed:

    NetworkManager

    Running:

    root 1723 1 0 15:04 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

    ##### NetworkManager info ###############

    GENERAL.DEVICE: wlx<IF from MAC [IF2]>
    GENERAL.TYPE: wifi
    GENERAL.NM-TYPE: NMDeviceWifi
    GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/3
    GENERAL.VENDOR: Linksys
    GENERAL.PRODUCT: WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
    GENERAL.DRIVER: rtl88XXau
    GENERAL.DRIVER-VERSION: 5.15.0-121-generic
    GENERAL.FIRMWARE-VERSION: --
    GENERAL.HWADDR: <MAC 'wlx<IF from MAC [IF2]>' [IF2]>
    GENERAL.MTU: 2312
    GENERAL.STATE: 30 (disconnected)
    GENERAL.REASON: 42 (The supplicant is now available)
    GENERAL.IP4-CONNECTIVITY: 1 (none)
    GENERAL.IP6-CONNECTIVITY: 1 (none)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:08.1/0000:29:00.3/usb3/3-5/3-5.2/3-5.2:1.0/net/wlx<IF from MAC [IF2]>
    GENERAL.PATH: pci-0000:29:00.3-usb-0:5.2:1.0
    GENERAL.IP-IFACE: --
    GENERAL.IS-SOFTWARE: no
    GENERAL.NM-MANAGED: yes
    GENERAL.AUTOCONNECT: yes
    GENERAL.FIRMWARE-MISSING: no
    GENERAL.NM-PLUGIN-MISSING: no
    GENERAL.PHYS-PORT-ID: --
    GENERAL.CONNECTION: --
    GENERAL.CON-UUID: --
    GENERAL.CON-PATH: --
    GENERAL.METERED: unknown
    CAPABILITIES.CARRIER-DETECT: no
    CAPABILITIES.SPEED: unknown
    CAPABILITIES.IS-SOFTWARE: no
    CAPABILITIES.SRIOV: no
    INTERFACE-FLAGS.UP: yes
    INTERFACE-FLAGS.LOWER-UP: yes
    INTERFACE-FLAGS.CARRIER: yes
    INTERFACE-FLAGS.PROMISC: no
    WIFI-PROPERTIES.WEP: yes
    WIFI-PROPERTIES.WPA: yes
    WIFI-PROPERTIES.WPA2: yes
    WIFI-PROPERTIES.TKIP: yes
    WIFI-PROPERTIES.CCMP: yes
    WIFI-PROPERTIES.AP: yes
    WIFI-PROPERTIES.ADHOC: yes
    WIFI-PROPERTIES.2GHZ: yes
    WIFI-PROPERTIES.5GHZ: yes
    WIFI-PROPERTIES.MESH: no
    WIFI-PROPERTIES.IBSS-RSN: no
    IP4.GATEWAY: --
    IP6.GATEWAY: --
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/1,/org/freedesktop/NetworkManager/Settings/4
    CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 08a545c8-ee2b-4449-b610-e5cbf694ba5f | cinnabear
    CONNECTIONS.AVAILABLE-CONNECTIONS[2]: 057a5b25-eb4d-4927-bfa6-21d1206542e1 | cinnabears

    GENERAL.DEVICE: enp37s0
    GENERAL.TYPE: ethernet
    GENERAL.NM-TYPE: NMDeviceEthernet
    GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/2
    GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
    GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    GENERAL.DRIVER: r8169
    GENERAL.DRIVER-VERSION: 5.15.0-121-generic
    GENERAL.FIRMWARE-VERSION: --
    GENERAL.HWADDR: <MAC 'enp37s0' [IF1]>
    GENERAL.MTU: 1500
    GENERAL.STATE: 20 (unavailable)
    GENERAL.REASON: 2 (Device is now managed)
    GENERAL.IP4-CONNECTIVITY: 1 (none)
    GENERAL.IP6-CONNECTIVITY: 1 (none)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:01.2/0000:12:00.2/0000:20:04.0/0000:25:00.0/net/enp37s0
    GENERAL.PATH: pci-0000:25:00.0
    GENERAL.IP-IFACE: --
    GENERAL.IS-SOFTWARE: no
    GENERAL.NM-MANAGED: yes
    GENERAL.AUTOCONNECT: yes
    GENERAL.FIRMWARE-MISSING: no
    GENERAL.NM-PLUGIN-MISSING: no
    GENERAL.PHYS-PORT-ID: --
    GENERAL.CONNECTION: --
    GENERAL.CON-UUID: --
    GENERAL.CON-PATH: --
    GENERAL.METERED: unknown
    CAPABILITIES.CARRIER-DETECT: yes
    CAPABILITIES.SPEED: unknown
    CAPABILITIES.IS-SOFTWARE: no
    CAPABILITIES.SRIOV: no
    INTERFACE-FLAGS.UP: yes
    INTERFACE-FLAGS.LOWER-UP: no
    INTERFACE-FLAGS.CARRIER: no
    INTERFACE-FLAGS.PROMISC: no
    WIRED-PROPERTIES.CARRIER: off
    IP4.GATEWAY: --
    IP6.GATEWAY: --
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

    SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE

    ##### NetworkManager.state ##############

    [main]
    NetworkingEnabled=true
    WirelessEnabled=true
    WWANEnabled=true

    ##### NetworkManager config #############

    [[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
    [connection]
    wifi.powersave = 3

    [[/etc/NetworkManager/NetworkManager.conf]]
    [main]
    plugins=ifupdown,keyfile
    [ifupdown]
    managed=false
    [device]
    wifi.scan-rand-mac-address=no

    [[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
    [main]
    dns=systemd-resolved

    [[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
    [keyfile]
    unmanaged-devices=*,except:type:wifi,except:type:gsm,except: type:cdma

    [[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
    [connectivity]
    uri=http://connectivity-check.ubuntu.com./

    [[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
    [device-31-mac-addr-change]
    match-device=driver:eagle_sdio,driver:wl
    wifi.scan-rand-mac-address=no

    ##### NetworkManager profiles ###########

    [[/etc/NetworkManager/system-connections/cinnabear.nmconnection]] (600 root)
    [connection] id=cinnabear | type=wifi
    [wifi] ssid=cinnabear
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/CinnaBears_WIFI]] (600 root)
    [connection] id=CinnaBears_WIFI | type=wifi | permissions=
    [wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=CinnaBears_WIFI
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/Inappropriate Lesbians.nmconnection]] (600 root)
    [connection] id=Inappropriate Lesbians | type=wifi
    [wifi] ssid=Inappropriate Lesbians
    [ipv4] method=auto
    [ipv6] method=auto

    [[/etc/NetworkManager/system-connections/cinnabears.nmconnection]] (600 root)
    [connection] id=cinnabears | type=wifi
    [wifi] ssid=cinnabears
    [ipv4] method=auto
    [ipv6] method=auto

    ##### Netplan config ####################

    [/etc/netplan/01-network-manager-all.yaml]
    network:
    version: 2
    renderer: NetworkManager

    ##### iw reg get ########################

    Region: America/Los_Angeles (based on set time zone)

    global
    country 00: DFS-UNSET
    (2402 - 2472 @ 40), (6, 20), (N/A)
    (2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

    phy#0
    country 99: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), PASSIVE-SCAN
    (2474 - 2494 @ 40), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5140 - 5860 @ 80), (N/A, 30), (N/A), PASSIVE-SCAN

    ##### iwlist channels ###################

    lo no frequency information.

    enp37s0 no frequency information.

    wlx<IF from MAC [IF2]> 32 channels in total; available frequencies :
    Channel 01 : 2.412 GHz
    Channel 02 : 2.417 GHz
    Channel 03 : 2.422 GHz
    Channel 04 : 2.427 GHz
    Channel 05 : 2.432 GHz
    Channel 06 : 2.437 GHz
    Channel 07 : 2.442 GHz
    Channel 08 : 2.447 GHz
    Channel 09 : 2.452 GHz
    Channel 10 : 2.457 GHz
    Channel 11 : 2.462 GHz
    Channel 36 : 5.18 GHz
    Channel 40 : 5.2 GHz
    Channel 44 : 5.22 GHz
    Channel 48 : 5.24 GHz
    Channel 52 : 5.26 GHz
    Channel 56 : 5.28 GHz
    Channel 60 : 5.3 GHz
    Channel 64 : 5.32 GHz
    Channel 100 : 5.5 GHz
    Channel 104 : 5.52 GHz
    Channel 108 : 5.54 GHz
    Channel 112 : 5.56 GHz
    Channel 116 : 5.58 GHz
    Channel 132 : 5.66 GHz
    Channel 136 : 5.68 GHz
    Channel 140 : 5.7 GHz
    Channel 149 : 5.745 GHz
    Channel 153 : 5.765 GHz
    Channel 157 : 5.785 GHz
    Channel 161 : 5.805 GHz
    Channel 165 : 5.825 GHz
    Current Frequency:2.412 GHz (Channel 1)

    ##### iwlist scan #######################

    lo Interface doesn't support scanning.

    enp37s0 Interface doesn't support scanning.

    wlx<IF from MAC [IF2]> Failed to read scan data : Resource temporarily unavailable

    ##### module infos ######################

    [cfg80211]
    filename: /lib/modules/5.15.0-121-generic/kernel/net/wireless/cfg80211.ko
    description: wireless configuration support
    license: GPL
    depends:
    retpoline: Y
    intree: Y
    name: cfg80211
    vermagic: 5.15.0-121-generic SMP mod_unload modversions
    parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
    parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
    parm: cfg80211_disable_40mhz_24ghzisable 40MHz support in the 2.4GHz band (bool)

    ##### module parameters #################

    [cfg80211]
    bss_entries_limit: 1000
    cfg80211_disable_40mhz_24ghz: N
    ieee80211_regdom: 00

    ##### /etc/modules ######################

    ##### modprobe options ##################

    [/etc/modprobe.d/88x2bu.conf]
    blacklist rtw88_8822bu
    options 88x2bu rtw_switch_usb_mode=0 rtw_led_ctrl=1

    [/etc/modprobe.d/amd64-microcode-blacklist.conf]
    blacklist microcode

    [/etc/modprobe.d/blacklist-ath_pci.conf]
    blacklist ath_pci

    [/etc/modprobe.d/blacklist.conf]
    blacklist evbug
    blacklist usbmouse
    blacklist usbkbd
    blacklist eepro100
    blacklist de4x5
    blacklist eth1394
    blacklist snd_intel8x0m
    blacklist snd_aw2
    blacklist prism54
    blacklist bcm43xx
    blacklist garmin_gps
    blacklist asus_acpi
    blacklist snd_pcsp
    blacklist pcspkr
    blacklist amd76x_edac

    [/etc/modprobe.d/blacklist-rare-network.conf]
    alias net-pf-3 off
    alias net-pf-6 off
    alias net-pf-9 off
    alias net-pf-11 off
    alias net-pf-12 off
    alias net-pf-19 off
    alias net-pf-21 off
    alias net-pf-36 off

    [/etc/modprobe.d/intel-microcode-blacklist.conf]
    blacklist microcode

    [/etc/modprobe.d/iwlwifi.conf]
    remove iwlwifi \
    (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    && /sbin/modprobe -r mac80211

    [/etc/modprobe.d/rtw88_8822bu.conf]
    blacklist rtw88_8822bu

    ##### rc.local ##########################

    grep: /etc/rc.local: No such file or directory

    ##### pm-utils ##########################

    ##### udev rules ########################

    ##### dmesg #############################

    [ 31.333475] rtl88XXau 3-5.2:1.0 wlx<IF from MAC [IF2]>: renamed from wlan0
    [ 67.500518] r8169 0000:25:00.0 enp37s0: Link is Down
    [ 230.387295] IPv6: ADDRCONF(NETDEV_CHANGE): wlx<IF from MAC [IF2]>: link becomes ready

    ########## wireless info END ############


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •