Announcement

Collapse
No announcement yet.

kubuntu 16.0.4.1

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GreyGeek
    replied
    Originally posted by anonprivate View Post
    I am not a programmer, just a user.
    Running a CLI like "iwconfig wlan0 rate 54M" is not programming, it is using the command line interface, just like you would be doing if you opened a DOS shell on Windows and used similar commands. IOW, there is no source code being written, no compiling, etc...

    Originally posted by anonprivate View Post
    I have downloaded kubuntu 14.04.5 and am testing it as a live DVD. If it works well, I will install it.
    A train rolled into town one day and a passenger got off. He approached the man setting on a nearby bench and asked the person "How are the people in this town?" The man replied "How were they in the town you came from?" The passenger replied,"They were terrible!". The man replied "They are terrible here too". When the next train stopped a passenger got off and walked up to the same man setting on the bench and asked "How are the people in this town?". The man replied "How were they in the town you left?". The passenger replied "They were wonderful!". The man replied "They are the same here". Another person standing nearby witnessed both sets of conversations and asked the man on the bench how he could give two different replies to the same question. The man setting on the bench replied "One can not run away from his troubles, he brings them with him where ever he goes".

    It's like that with distros, too. In the last 18 years I've run more than a dozen distros. Some were, in one way or another, better than others, but all were good or great. Some worked better on my hardware than others. Some worked well at first, but subsequent upgrades changed that. Some worked poorly but got much better over time. Kubuntu 16.04 wasn't the best release Kubuntu has had, but it was usable from the get go. Since then it has improved to where it is the best distro I've ever run. (Prior to 16.04 I was running Mint KDE 17.3 for three months, not because 14.04 was bad, but for other reasons) Almost all of them worked better than Windows 95, NT4, 2000 or XP on the same machine at about the same time.

    So, depending on your hardware and your own mental abilities, your mileage with Kubuntu 16.04, or any other distro, may vary from that others are experiencing. Bottom line: use what ever distro you want that works the way you want it to. If you can find it. But remember, you are taking your own weaknesses and inabilities with you.

    Originally posted by anonprivate View Post
    I note that the video driver will need to be changed to nvidia, as the graphics problems remain. I expect these to abate after the correct driver is installed.

    So far, I am not having the connection problems which appear to be unique to ver 16 - at least on my machine.

    I will continue and hope that I remain connected.
    I hope you will also. Your network wifi chip won't change when you switch distros. The information Snowhog's script reported for your hardware revealed that your wifi chip is an rt61pci and that is the driver that was selected.. However, you reported the following:
    andrew@andrew-Dell-DM061:~$ sudo modprobe -r iwlwifi
    rmmod: ERROR: missing module name.
    modprobe: FATAL: Error running remove command for iwlwifi
    Did you notice the discrepancy? You attempted to remove the iwlwifi module. What prompted you to do that since your wifi connection was labeled wlp3s2 and used the rt61pci kernel module

    That's the kind of problems you'll be taking with you when you move from one distro to another.
    Last edited by GreyGeek; Aug 21, 2016, 04:53 PM.

    Leave a comment:


  • anonprivate
    replied
    Originally posted by GreyGeek View Post
    No! Read carefully what I wrote:

    Also, note my comment about setting the connect rate. [/COLOR]
    I am not a programmer, just a user.

    I have downloaded kubuntu 14.04.5 and am testing it as a live DVD. If it works well, I will install it.

    I note that the video driver will need to be changed to nvidia, as the graphics problems remain. I expect these to abate after the correct driver is installed.

    So far, I am not having the connection problems which appear to be unique to ver 16 - at least on my machine.

    I will continue and hope that I remain connected.

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by anonprivate View Post
    I have not got a mac80211.conf file in modprobe

    Are you saying that I should place a file with that name containing one line: max-nullfunc_tries=60

    Regarding part two.

    I could not get past the first command:

    andrew@andrew-Dell-DM061:~$ sudo modprobe -r iwlwifi
    rmmod: ERROR: missing module name.
    modprobe: FATAL: Error running remove command for iwlwifi
    No! Read carefully what I wrote:
    You can adjust those by assigning higher values. Create a mac80211.conf file under /etc/modprobe.d/ and use:

    options max_nullfunc_tries=someintergervalue
    etc...

    Then restart the network service.

    Also, note my comment about setting the connect rate.

    Leave a comment:


  • anonprivate
    replied
    Originally posted by GreyGeek View Post
    Because you think you have a problem and you've asked for help.
    Your wifi chip, an tr61pci has the following info


    The only adjustable param is "nohwcrypt", which is a boolean that is set to false, which is what I' would have set it to.
    Other than that your wifi is having transmission errors. Your mac80211 module has the following param:

    You can adjust those by assigning higher values. Create a mac80211.conf file under /etc/modprobe.d/ and use:

    options max_nullfunc_tries=someintergervalue
    etc...

    Then restart the network service.

    EDIT:
    I forgot to mention one thing I noticed:


    When my rtl8192ce wireless chip was giving me problems its bit rate was always 1Mb/s but no traffic was flowing. Here is an example of someone solving a similar problem.

    Your chip lists the following rates:

    You can set the rate manually using
    sudo iwconfig wlp3s2 rate 54M

    I have not got a mac80211.conf file in modprobe

    Are you saying that I should place a file with that name containing one line: max-nullfunc_tries=60

    Regarding part two.

    I could not get past the first command:

    andrew@andrew-Dell-DM061:~$ sudo modprobe -r iwlwifi
    rmmod: ERROR: missing module name.
    modprobe: FATAL: Error running remove command for iwlwifi

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by Snowhog View Post
    When I use Google, I usually start with something that was provided by an OP, especially when it's captured output from a process/command. Then I examine the likely results and often find something in them that helps further refine my inquiry. It's a process, but one that more often than not results in "an" answer if not "the" answer I'm looking for. The skill is in recognizing the trail of bread crumbs and following them.

    And, as in this case, I sometimes run across true gems, as was the case for this wireless information script.
    I use the same process, and usually leads in one article touching on the OP's problem have links leading to better solutions. But your "gem" is exactly that. I've been using Linux since 1998 and that CLI (or the script) is the best network analysis tool I've seen. It's going to replace all the lshw, lspci, ifconfig, iwconfig, rfkill and all the other one-off tools commonly used. That script include much more than those utilities include. All the OP has to do is cut and paste the results into a quote box. Love it!

    Leave a comment:


  • Snowhog
    replied
    Originally posted by GreyGeek View Post
    I've been buddies with Google for over a decade, but I would have never thought to google for "gethub wirelesss-info"
    When I use Google, I usually start with something that was provided by an OP, especially when it's captured output from a process/command. Then I examine the likely results and often find something in them that helps further refine my inquiry. It's a process, but one that more often than not results in "an" answer if not "the" answer I'm looking for. The skill is in recognizing the trail of bread crumbs and following them.

    And, as in this case, I sometimes run across true gems, as was the case for this wireless information script.

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by Snowhog View Post
    Google is your friend.
    I've been buddies with Google for over a decade, but I would have never thought to google for "gethub wirelesss-info"

    SnowHog's CLI version is nice but accesses the script remotgely. Here is the downloaded script, for those interested in using it locally:
    Code:
    #!/bin/bash
    #
    # Copyright (c) 2012
    #
    # Authors: Wild Man, Krytarik
    # Helpers: chili555
    #
    # This script gathers the infos necessary for troubleshooting a wireless
    # connection and saves them in a text file, wrapping it in an archive if it
    # exceeds the 19.5 kB size limit for ".txt" attachments on the Ubuntu Forums.
    #
    ##############################################################################
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    #
    
    SCRIPTDATE="2016-07-07 21:16 -0500"
    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|(cfg|mac)80211)"
    LSMODMATCHES="(wmi|(dell|ideapad)[-_]laptop)"
    IFACEMATCHES="(wlan[0-9]|eth[0-9])"
    DMESGMATCHES="(firmware|[nN]etwork)"
    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"
    MODINFOEXCL="alias"
    MODPROBEXCL="(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nvidia|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 2 '^[^[: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##### lsmod #############################\n\n"
    LSMOD=$(lsmod | egrep "(^|[[:punct:] ])($MODMATCHES|$LSMODMATCHES)[^[:punct:] ]*([[:punct:] ]|$)")
    echo "$LSMOD"
    
    printf "\n##### interfaces ########################\n\n"
    sed '/^#/d;s/^wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' /etc/network/interfaces
    
    printf "\n##### ifconfig ##########################\n\n"
    IFCONFIG=$(ifconfig -a)
    sed '/^lo /,/^$/d' <<< "$IFCONFIG"
    IFACESETH=($(sed -n 's/^\([^ ]\+\)[ ]\+Link encap:Ethernet.*/\1/p' <<< "$IFCONFIG"))
    if (( ${#IFACESETH[@]} > 0 )); then
        IFETHMATCHES=${IFACESETH[@]}
        IFACEMATCHES="($IFACEMATCHES|(${IFETHMATCHES// /|}))"
    fi
    
    printf "\n##### iwconfig ##########################\n\n"
    iwconfig
    
    printf "\n##### route #############################\n\n"
    route -n
    
    printf "\n##### resolv.conf #######################\n\n"
    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,SECURITY,ACTIVE,IN-USE device wifi list
    else
        echo "NetworkManager is not installed (package \"network-manager\")."
    fi
    
    printf "\n##### NetworkManager.state ##############\n\n"
    cat -s /var/lib/NetworkManager/NetworkManager.state
    
    printf "\n##### NetworkManager.conf ###############\n\n"
    grep -v '^#' /etc/NetworkManager/NetworkManager.conf
    if [ -f /etc/NetworkManager/nm-system-settings.conf ]; then
        printf "\nnm-system-settings.conf (used up to Ubuntu 10.04):\n\n"
        grep -v '^#' /etc/NetworkManager/nm-system-settings.conf
    fi
    
    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##### 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 -v "^$MODINFOEXCL:")
        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"
    dmesg | tail -n 100 | egrep "[[:punct:] ]($MODMATCHES|$IFACEMATCHES|$DMESGMATCHES)[^[:punct:] ]*[[:punct:] ]" | 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 "s/^\([^ ]\+\)[ ]\+.*HWaddr.*/'\1'/p" <<< "$IFCONFIG"))
    IFACESMACS=($(sed -n 's/^[^ ]\+[ ]\+.*HWaddr \([^ ]\+\)[ ]*/\1/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>/" <<< "$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/pastebinit ] && ping -nc 3 -w 6 -i 0.2 paste.ubuntu.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=$(pastebinit -i "$OUTPUTDIR/$FILEBASE.txt" -f text 2>&1) && 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
    Last edited by GreyGeek; Aug 20, 2016, 01:18 PM.

    Leave a comment:


  • GreyGeek
    replied
    Because you think you have a problem and you've asked for help.
    Your wifi chip, an tr61pci has the following info
    modinfo rt61pci
    filename: /lib/modules/4.4.0-36-generic/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
    license: GPL
    firmware: rt2661.bin
    firmware: rt2561s.bin
    firmware: rt2561.bin
    description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
    version: 2.3.0
    author: http://rt2x00.serialmonkey.com
    srcversion: 147116748700BC2C93D5888
    alias: pci:v00001814d00000401sv*sd*bc*sc*i*
    alias: pci:v00001814d00000302sv*sd*bc*sc*i*
    alias: pci:v00001814d00000301sv*sd*bc*sc*i*
    depends: rt2x00lib,rt2x00mmio,rt2x00pci,eeprom_93cx6,crc-itu-t
    intree: Y
    vermagic: 4.4.0-36-generic SMP mod_unload modversions
    parm: nohwcryptisable hardware encryption. (bool)
    The only adjustable param is "nohwcrypt", which is a boolean that is set to false, which is what I' would have set it to.
    Other than that your wifi is having transmission errors. Your mac80211 module has the following param:
    [rt61pci]
    nohwcrypt: 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
    You can adjust those by assigning higher values. Create a mac80211.conf file under /etc/modprobe.d/ and use:

    options max_nullfunc_tries=someintergervalue
    etc...

    Then restart the network service.

    EDIT:
    I forgot to mention one thing I noticed:
    wlp3s2 IEEE 802.11bg ESSID:"PlusnetWireless"
    Mode:Managed Frequency:2.462 GHz Access Point: <MAC 'PlusnetWireless' [AC1]>
    Bit Rate=1 Mb/s Tx-Power=20 dBm
    Retry short limit:7 RTS thrff Fragment thrff
    Power Managementn
    Link Quality=48/70 Signal level=-62 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:123 Invalid misc:503 Missed beacon:0
    When my rtl8192ce wireless chip was giving me problems its bit rate was always 1Mb/s but no traffic was flowing. Here is an example of someone solving a similar problem.

    Your chip lists the following rates:
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
    24 Mb/s; 36 Mb/s; 54 Mb/s
    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
    You can set the rate manually using
    sudo iwconfig wlp3s2 rate 54M
    Last edited by GreyGeek; Aug 20, 2016, 01:50 PM.

    Leave a comment:


  • anonprivate
    replied
    Originally posted by Snowhog View Post
    The report contains everything about wireless networking on your system. The information will/should/we hope help those more knowledgable than I, to identify the root cause and suggest a remedy to your problem in maintaining an active network connection.
    Thank you, I understand.

    Leave a comment:


  • Snowhog
    replied
    Originally posted by anonprivate View Post
    I am wondering why I posted these data
    The report contains everything about wireless networking on your system. The information will/should/we hope help those more knowledgable than I, to identify the root cause and suggest a remedy to your problem in maintaining an active network connection.

    Leave a comment:


  • Snowhog
    replied
    Originally posted by GreyGeek View Post
    WOW!
    [ATTACH=CONFIG]6660[/ATTACH]

    Where did you learn about that?
    Google is your friend.

    Leave a comment:


  • anonprivate
    replied
    I am wondering why I posted these data

    Leave a comment:


  • anonprivate
    replied
    Here are the data:

    ########## wireless info START ##########

    Report from: 16 Aug 2016 18:15 BST +0100

    Booted last: 16 Aug 2016 00:00 BST +0100

    Script from: 08 Jul 2016 02:16 UTC +0000

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

    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.1 LTS
    Release: 16.04
    Codename: xenial

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

    Linux 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:28 UTC 2016 i686 i686 i686 GNU/Linux

    Parameters: ro, quiet, splash

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

    /usr/share/xsessions/plasma

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

    00:19.0 Ethernet controller [0200]: Intel Corporation 82562V 10/100 Network Connection [8086:104c] (rev 02)
    Subsystem: Dell 82562V 10/100 Network Connection [1028:01dd]
    Kernel driver in use: e1000e

    03:02.0 Network controller [0280]: Ralink corp. RT2561/RT61 802.11g PCI [1814:0301]
    Subsystem: Edimax Computer Co. RT2561/RT61 802.11g PCI [1432:7128]
    Kernel driver in use: rt61pci

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

    Bus 002 Device 004: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
    Bus 006 Device 002: ID 2188:0ae1
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

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

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

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

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

    rt61pci 28672 0
    rt2x00pci 16384 1 rt61pci
    rt2x00mmio 16384 1 rt61pci
    rt2x00lib 49152 3 rt61pci,rt2x00pci,rt2x00mmio
    mac80211 659456 2 rt2x00lib,rt2x00pci
    cfg80211 499712 2 mac80211,rt2x00lib
    eeprom_93cx6 16384 1 rt61pci
    crc_itu_t 16384 1 rt61pci

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

    auto lo
    iface lo inet loopback

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

    enp0s25 Link encap:Ethernet HWaddr <MAC 'enp0s25' [IF1]>
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:21 Memory:dffe0000-e0000000

    wlp3s2 Link encap:Ethernet HWaddr <MAC 'wlp3s2' [IF2]>
    inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::<IP6 'wlp3s2' [IF2]>/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:6410 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7249 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4227159 (4.2 MB) TX bytes:1083110 (1.0 MB)

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

    enp0s25 no wireless extensions.

    lo no wireless extensions.

    wlp3s2 IEEE 802.11bg ESSID:"PlusnetWireless"
    Mode:Managed Frequency:2.462 GHz Access Point: <MAC 'PlusnetWireless' [AC1]>
    Bit Rate=1 Mb/s Tx-Power=20 dBm
    Retry short limit:7 RTS thrff Fragment thrff
    Power Managementn
    Link Quality=48/70 Signal level=-62 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:123 Invalid misc:503 Missed beacon:0

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

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.1.254 0.0.0.0 UG 600 0 0 wlp3s2
    169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s2
    192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s2

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

    nameserver 127.0.1.1
    search lan

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

    Installed:

    NetworkManager

    Running:

    root 1961 1 0 14:45 ? 00:00:11 /usr/sbin/NetworkManager --no-daemon

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

    GENERAL.DEVICE: wlp3s2
    GENERAL.TYPE: wifi
    GENERAL.NM-TYPE: NMDeviceWifi
    GENERAL.VENDOR: Ralink corp.
    GENERAL.PRODUCT: RT2561/RT61 802.11g PCI
    GENERAL.DRIVER: rt61pci
    GENERAL.DRIVER-VERSION: 4.4.0-34-generic
    GENERAL.FIRMWARE-VERSION: N/A
    GENERAL.HWADDR: <MAC 'wlp3s2' [IF2]>
    GENERAL.MTU: 0
    GENERAL.STATE: 100 (connected)
    GENERAL.REASON: 0 (No reason given)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1e.0/0000:03:02.0/net/wlp3s2
    GENERAL.IP-IFACE: wlp3s2
    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: PlusnetWireless
    GENERAL.CON-UUID: 227fc625-086b-4fb0-be24-5a3476cfd85d
    GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/43
    GENERAL.METERED: no (guessed)
    CAPABILITIES.CARRIER-DETECT: no
    CAPABILITIES.SPEED: 1 Mb/s
    CAPABILITIES.IS-SOFTWARE: 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: no
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0,1}
    CONNECTIONS.AVAILABLE-CONNECTIONS[1]: a9b1585f-5072-4d39-be9d-550e04664b79 | BTWifi-with-FON
    CONNECTIONS.AVAILABLE-CONNECTIONS[2]: 227fc625-086b-4fb0-be24-5a3476cfd85d | PlusnetWireless
    IP4.ADDRESS[1]: 192.168.1.64/24
    IP4.GATEWAY: 192.168.1.254
    IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
    IP4.DNS[1]: 192.168.1.254
    IP4.DOMAIN[1]: lan
    DHCP4.OPTION[1]: requested_routers = 1
    DHCP4.OPTION[2]: requested_domain_search = 1
    DHCP4.OPTION[3]: requested_time_offset = 1
    DHCP4.OPTION[4]: requested_domain_name = 1
    DHCP4.OPTION[5]: requested_rfc3442_classless_static_routes = 1
    DHCP4.OPTION[6]: requested_broadcast_address = 1
    DHCP4.OPTION[7]: requested_netbios_scope = 1
    DHCP4.OPTION[8]: requested_wpad = 1
    DHCP4.OPTION[9]: next_server = 0.0.0.0
    DHCP4.OPTION[10]: expiry = 1471453895
    DHCP4.OPTION[11]: requested_interface_mtu = 1
    DHCP4.OPTION[12]: requested_subnet_mask = 1
    DHCP4.OPTION[13]: routers = 192.168.1.254
    DHCP4.OPTION[14]: dhcp_message_type = 5
    DHCP4.OPTION[15]: ip_address = 192.168.1.64
    DHCP4.OPTION[16]: requested_static_routes = 1
    DHCP4.OPTION[17]: domain_name = lan
    DHCP4.OPTION[18]: requested_domain_name_servers = 1
    DHCP4.OPTION[19]: broadcast_address = 192.168.1.255
    DHCP4.OPTION[20]: requested_ntp_servers = 1
    DHCP4.OPTION[21]: requested_netbios_name_servers = 1
    DHCP4.OPTION[22]: dhcp_lease_time = 86400
    DHCP4.OPTION[23]: domain_name_servers = 192.168.1.254
    DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
    DHCP4.OPTION[25]: subnet_mask = 255.255.255.0
    DHCP4.OPTION[26]: network_number = 192.168.1.0
    DHCP4.OPTION[27]: requested_host_name = 1
    DHCP4.OPTION[28]: dhcp_server_identifier = 192.168.1.254
    IP6.ADDRESS[1]: fe80::<IP6 'wlp3s2' [IF2]>/64
    IP6.GATEWAY:

    GENERAL.DEVICE: enp0s25
    GENERAL.TYPE: ethernet
    GENERAL.NM-TYPE: NMDeviceEthernet
    GENERAL.VENDOR: Intel Corporation
    GENERAL.PRODUCT: 82562V 10/100 Network Connection
    GENERAL.DRIVER: e1000e
    GENERAL.DRIVER-VERSION: 3.2.6-k
    GENERAL.FIRMWARE-VERSION: 1.1-2
    GENERAL.HWADDR: <MAC 'enp0s25' [IF1]>
    GENERAL.MTU: 1500
    GENERAL.STATE: 20 (unavailable)
    GENERAL.REASON: 2 (Device is now managed)
    GENERAL.UDI: /sys/devices/pci0000:00/0000:00:19.0/net/enp0s25
    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
    WIRED-PROPERTIES.CARRIER: off
    CONNECTIONS.AVAILABLE-CONNECTION-PATHS:

    SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE *
    PlusnetWireless <MAC 'PlusnetWireless' [AC1]> Infra 11 2462 MHz 54 Mbit/s 60 ▂▄▆_ WPA1 WPA2 yes *
    BTWifi-X <MAC 'BTWifi-X' [AN2]> Infra 6 2437 MHz 54 Mbit/s 40 ▂▄__ WPA1 WPA2 802.1X no
    BTWifi-with-FON <MAC 'BTWifi-with-FON' [AC2]> Infra 6 2437 MHz 54 Mbit/s 30 ▂___ -- no

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

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

    ##### NetworkManager.conf ###############

    [main]
    plugins=ifupdown,keyfile,ofono
    dns=dnsmasq

    [ifupdown]
    managed=false

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

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

    [[/etc/NetworkManager/system-connections/BTWifi-with-FON]] (600 root)
    [connection] id=BTWifi-with-FON | type=wifi | permissions=user:andrew:;
    [wifi] mac-address=<MAC 'wlp3s2' [IF2]> | mac-address-blacklist= | ssid=BTWifi-with-FON
    [ipv4] method=auto
    [ipv6] method=auto

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

    Region: Europe/London (based on set time zone)

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

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

    enp0s25 no frequency information.

    lo no frequency information.

    wlp3s2 14 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 12 : 2.467 GHz
    Channel 13 : 2.472 GHz
    Channel 14 : 2.484 GHz
    Current Frequency=2.462 GHz (Channel 11)

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

    enp0s25 Interface doesn't support scanning.

    lo Interface doesn't support scanning.

    Channel occupancy:

    1 APs on Frequency:2.437 GHz (Channel 6)
    1 APs on Frequency:2.462 GHz (Channel 11)

    wlp3s2 Scan completed :
    Cell 01 - Address: <MAC 'PlusnetWireless' [AC1]>
    Channel:11
    Frequency:2.462 GHz (Channel 11)
    Quality=48/70 Signal level=-62 dBm
    Encryption keyn
    ESSID:"PlusnetWireless"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
    24 Mb/s; 36 Mb/s; 54 Mb/s
    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
    Mode:Master
    Extra:tsf=000000350629be86
    Extra: Last beacon: 3340ms ago
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (2) : CCMP TKIP
    Authentication Suites (1) : PSK
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (2) : CCMP TKIP
    Authentication Suites (1) : PSK
    Cell 02 - Address: <MAC 'BTWifi-with-FON' [AC2]>
    Channel:6
    Frequency:2.437 GHz (Channel 6)
    Quality=28/70 Signal level=-82 dBm
    Encryption keyff
    ESSID:"BTWifi-with-FON"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
    9 Mb/s; 12 Mb/s; 18 Mb/s
    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=00000016d80a7180
    Extra: Last beacon: 6768ms ago

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

    [rt61pci]
    filename: /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
    license: GPL
    firmware: rt2661.bin
    firmware: rt2561s.bin
    firmware: rt2561.bin
    description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
    version: 2.3.0
    author: http://rt2x00.serialmonkey.com
    srcversion: 147116748700BC2C93D5888
    depends: rt2x00lib,rt2x00mmio,rt2x00pci,eeprom_93cx6,crc-itu-t
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686
    parm: nohwcryptisable hardware encryption. (bool)

    [rt2x00pci]
    filename: /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
    license: GPL
    description: rt2x00 pci library
    version: 2.3.0
    author: http://rt2x00.serialmonkey.com
    srcversion: 543B84557258F153AC267F0
    depends: rt2x00lib,mac80211
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686

    [rt2x00mmio]
    filename: /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00mmio.ko
    license: GPL
    description: rt2x00 mmio library
    version: 2.3.0
    author: http://rt2x00.serialmonkey.com
    srcversion: ADBE279820CFD0A1081C682
    depends: rt2x00lib
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686

    [rt2x00lib]
    filename: /lib/modules/4.4.0-34-generic/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
    license: GPL
    description: rt2x00 library
    version: 2.3.0
    author: http://rt2x00.serialmonkey.com
    srcversion: 72E39180D883A5541F66494
    depends: mac80211,cfg80211
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686

    [mac80211]
    filename: /lib/modules/4.4.0-34-generic/kernel/net/mac80211/mac80211.ko
    license: GPL
    description: IEEE 802.11 subsystem
    srcversion: 2FFAEED0245CA1D97FE1E44
    depends: cfg80211
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686
    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/4.4.0-34-generic/kernel/net/wireless/cfg80211.ko
    description: wireless configuration support
    license: GPL
    author: Johannes Berg
    srcversion: 25A45701AAA64DAC1E47D9D
    depends:
    intree: Y
    vermagic: 4.4.0-34-generic SMP mod_unload modversions 686
    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 #################

    [rt61pci]
    nohwcrypt: 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]
    cfg80211_disable_40mhz_24ghz: N
    ieee80211_regdom: 00

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

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

    [/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 i2c_i801
    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/iwlwifi.conf]
    remove iwlwifi \
    (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    && /sbin/modprobe -r mac80211

    [/etc/modprobe.d/mlx4.conf]
    softdep mlx4_core post: mlx4_en

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

    exit 0

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

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

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

    [12388.396035] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush (repeated 6 times)
    [12429.336036] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush (repeated 5 times)
    [12431.668050] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush (repeated 6 times)
    [12434.116054] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12434.276040] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12434.436046] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12434.596036] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12435.028034] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12435.188051] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12435.348033] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12435.508194] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12435.992059] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12436.152048] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12436.312093] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12436.472098] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush (repeated 3 times)
    [12457.384031] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush (repeated 6 times)
    [12494.272068] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12494.432030] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12494.592066] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12495.024053] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12495.184056] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12495.344059] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12495.508062] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12495.940062] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12496.100032] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12496.260045] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12496.420060] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12496.852060] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12497.012029] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12497.172045] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12497.332077] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12497.764083] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12497.924031] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12498.084059] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12498.251561] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12498.684048] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12498.844050] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12499.004113] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12499.164033] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12499.596035] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12499.756030] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12499.916052] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12500.076048] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12500.572030] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12500.732026] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12500.892033] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12501.052034] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12501.536054] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12501.696024] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12501.856025] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12502.016026] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12502.500051] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12502.660028] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12502.820025] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
    [12502.980033] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
    [12511.572028] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush (repeated 24 times)

    ########## wireless info END ############
    Last edited by Snowhog; Aug 20, 2016, 09:35 PM.

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by Snowhog View Post
    Let's collect the needed wireless information about your system.

    Open a konsole. Copy and paste the following command:

    Code:
    wget -N -t 5 -T 10 [COLOR=#000000]https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info[/COLOR] && chmod +x wireless-info && ./wireless-info && chmod +x wireless-info && ./wireless-info && kate wireless-info.txt
    The resulting file will be opened in the Kate Editor. It may open 'read-only' due to encoding characters not recognized. That's okay, as you aren't going to do any editing on the file anyway. Just copy everything and paste it into your reply here.
    WOW!
    Click image for larger version

Name:	Bow_Down_smiley.gif
Views:	7
Size:	32.7 KB
ID:	643276

    Where did you learn about that?

    Leave a comment:


  • Snowhog
    replied
    Let's collect the needed wireless information about your system.

    Open a konsole. Copy and paste the following command:

    Code:
    wget -N -t 5 -T 10 [COLOR=#000000]https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info[/COLOR] && chmod +x wireless-info && ./wireless-info && chmod +x wireless-info && ./wireless-info && kate wireless-info.txt
    The resulting file will be opened in the Kate Editor. It may open 'read-only' due to encoding characters not recognized. That's okay, as you aren't going to do any editing on the file anyway. Just copy everything and paste it into your reply here.
    Last edited by Snowhog; Aug 16, 2016, 09:52 AM.

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X