【问题标题】:Poor WiFi signal in Ubuntu 18.04 LTSUbuntu 18.04 LTS 中的 WiFi 信号不佳
【发布时间】:2020-03-09 06:12:23
【问题描述】:

我只是从 Windows 转到 Ubuntu。安装 Ubuntu 后,出现“未找到 WiFi 适配器”问题。我关注了一个YouTube 视频,该视频修复并帮助连接了可用的 wifi,但现在我遇到了信号不佳的问题。我也试过https://connectwww.com/how-to-solve-realtek-rtl8723be-weak-wifi-signal-problem-in-ubuntu/4625/这个答案和来自YouTube的另外两个三个答案,但没有运气。我应该怎么做才能让我的 hp 笔记本电脑信号强?

【问题讨论】:

    标签: wifi ubuntu-18.04


    【解决方案1】:

    安装 wifi 驱动程序对我有用,我已经在许多 hp 笔记本电脑上尝试过,它在那里也能正常工作。

    https://github.com/kindlerprince/Wifi_Solution

    
    
    statuscheck()
    {
        if [ $1 -ne 0 ]
        then
            echo $2
            echo "Exiting...."
            exit 0
        fi
    }
    
    CURR=$(cd "$(dirname "$0")" ; pwd -P )
    echo $CURR
    echo -n "Enter the sudo password : "
    read -s password
    
    cmd=$(echo $password | sudo -S lshw -C network -short 2>/dev/null | grep Wireless | awk '{print $2 " " $4}')
    if sudo -n true ; then
            echo "I got the sudo password"
    else
            echo "Wrong sudo password"
            echo "Either replace the password in this script or give password via command line arguments"
            echo "Exiting...."
            exit 0
    fi
    
    #the return value is a single string having a space
    #splitting by space and storing in a array
    cmd=($cmd)
    echo "Wifi Interface: "${cmd[0]}
    echo "Wifi Driver: "${cmd[1]}
    
    if [ -d "rtlwifi_new" ]
    then
        rm -rf rtlwifi_new
    fi
    
    git clone https://github.com/kindlerprince/rtlwifi_new.git 
    statuscheck $? "Failed to cloned Repository"
    
    
    cd rtlwifi_new
    make
    statuscheck $? "Error occured in make"
    sudo make install
    statuscheck $? "Error occured in make"
    sudo modprobe -rv ${cmd[1]}
    sudo modprobe -v ${cmd[1]} ant_sel=2
    sudo ip link set ${cmd[0]} up
    sudo iw dev ${cmd[0]} scan
    make clean
    
    echo "Wifi Driver Installed Successfully"
    
    

    【讨论】:

      猜你喜欢
      • 2019-02-05
      • 2020-09-28
      • 1970-01-01
      • 2019-04-21
      • 1970-01-01
      • 2019-03-20
      • 2019-05-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多